]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add struct scratch_buffer and its internal helper functions
[thirdparty/glibc.git] / ChangeLog
CommitLineData
cfcfd461
FW
12015-04-07 Florian Weimer <fweimer@redhat.com>
2
3 * include/scratch_buffer.h: New file.
4 * malloc/scratch_buffer_grow.c: Likewise.
5 * malloc/scratch_buffer_grow_preserve.c: Likewise.
6 * malloc/scratch_buffer_set_array_size.c: Likewise.
7 * malloc/tst-scratch_buffer.c: Likewise.
8 * malloc/Makefile (routines): Add scratch_buffer_grow.
9 (tests): Add test case.
10 * malloc/Versions (GLIBC_PRIVATE): Export
11 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
12 __libc_scratch_buffer_set_array_size.
13
cc47c824
RH
142015-04-06 Richard Henderson <rth@redhat.com>
15
16 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 17 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 18
9e8c0381
RH
19 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
20 unsigned int before printing.
21
9781a370
OB
222015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23
24 [BZ #17596]
25 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
26 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27
37d60d97
FW
282015-04-02 Florian Weimer <fweimer@redhat.com>
29
30 * include/libc-internal.h (libc_max_align_t): Define.
31
b763f6ae
AS
322015-04-02 Andreas Schwab <schwab@suse.de>
33
34 [BZ #16850]
35 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
36
c26efef9
MG
372015-04-02 Mel Gorman <mgorman@suse.de>
38
39 [BZ #17195]
40 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
41 as well as the main arena.
42
a3d9ab50
L
432015-03-31 H.J. Lu <hongjiu.lu@intel.com>
44
45 [BZ #18185]
46 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
47 sharing L2 cache to 2 for Silvermont/Knights Landing.
48
83569fb8
L
492015-03-31 H.J. Lu <hongjiu.lu@intel.com>
50
51 [BZ #17711]
52 * config.make.in (have-protected-data): New.
53 * configure.ac: Check linker support for protected data symbol.
54 * configure: Regenerated.
55 * elf/Makefile (modules-names): Add tst-protected1moda and
56 tst-protected1modb if $(have-protected-data) is yes.
57 (tests): Add tst-protected1a and tst-protected1b if
58 $(have-protected-data) is yes.
59 ($(objpfx)tst-protected1a): New.
60 ($(objpfx)tst-protected1b): Likewise.
61 (tst-protected1modb.so-no-z-defs): Likewise.
62 * elf/tst-protected1a.c: New file.
63 * elf/tst-protected1b.c: Likewise.
64 * elf/tst-protected1mod.h: Likewise.
65 * elf/tst-protected1moda.c: Likewise.
66 * elf/tst-protected1modb.c: Likewise.
67
62da1e3b
L
682015-03-31 H.J. Lu <hongjiu.lu@intel.com>
69
70 [BZ #17711]
71 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
72 indicates it is called from do_lookup_x on relocation against
73 protected data, skip the data definion in the executable from
74 copy reloc.
75 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
76 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
77 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
78 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
79 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
80 otherwise to 0.
81 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
82 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
83 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
84 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
85 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
86 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
87
675ddb71
MG
882015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
89
90 * sysdeps/nptl/pthread.h: Remove duplicate definition of
91 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
92
4d611e12
MG
932015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
94
95 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
96 THREAD_SETMEM_NC.
97 * sysdeps/x86_64/nptl/tls.h: Ditto.
98
7285eb53
RM
992015-03-27 Roland McGrath <roland@hack.frob.com>
100
101 * dlfcn/tststatic.c (main): Converted to ...
102 (do_test): ... this.
103 (TEST_FUNCTION): New macro.
104 Include test-skeleton.c.
105
19a6a3ac
AM
1062015-03-26 Alan Modra <amodra@gmail.com>
107
108 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
109 Don't segfault if ifunc resolver returns a NULL. Do set plt to
110 zero for undefined weak.
111 (elf_machine_plt_conflict): Similarly.
112
a9fe4c5a
JM
1132015-03-25 Joseph Myers <joseph@codesourcery.com>
114
efd5b641
JM
115 * math/auto-libm-test-in: Add more tests of acosh, asinh and
116 atanh.
117 * math/auto-libm-test-out: Regenerated.
118 * sysdeps/i386/fpu/libm-test-ulps: Update.
119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
120
e9b10151
JM
121 * math/auto-libm-test-in: Add another test of asin.
122 * math/auto-libm-test-out: Regenerated.
123 * sysdeps/i386/fpu/libm-test-ulps: Update.
124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
125
9fa55373
JM
126 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
127 Remove macro.
128 (LLL_EBX_REG): Likewise.
129 (LLL_ENTER_KERNEL): Likewise.
130
38755f14
JM
131 * math/auto-libm-test-in: Add more tests of asin.
132 * math/auto-libm-test-out: Regenerated.
133 * sysdeps/i386/fpu/libm-test-ulps: Update.
134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
135
a9fe4c5a
JM
136 [BZ #18138]
137 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
138 libc_do_syscall_args): New structure.
139 (INTERNAL_SYSCALL_MAIN_0): New macro.
140 (INTERNAL_SYSCALL_MAIN_1): Likewise.
141 (INTERNAL_SYSCALL_MAIN_2): Likewise.
142 (INTERNAL_SYSCALL_MAIN_3): Likewise.
143 (INTERNAL_SYSCALL_MAIN_4): Likewise.
144 (INTERNAL_SYSCALL_MAIN_5): Likewise.
145 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
146 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
147 Replace conditional definitions by conditional definitions of ....
148 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
149 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
150 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
151 (libpthread-sysdep_routines): Add libc-do-syscall.
152 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
153 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
154 to __NR_futex not 240.
155
afcd9480
AM
1562015-03-25 Alan Modra <amodra@gmail.com>
157
158 * NEWS: Advertise TLS optimization.
159 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
160 (DT_PPC_NUM): Increment.
161 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
162 (CHECK_STATIC_TLS): Use here.
163 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
164 TLS descriptors.
165 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
166 * sysdeps/powerpc/dl-tls.c: New file.
167 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
168 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
169 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
170 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
174
da9f3334
AM
1752015-03-25 Alan Modra <amodra@gmail.com>
176
177 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
178 for overlapping .opd entries" to "support...".
179 * sysdeps/powerpc/powerpc64/configure: Regenerate
180
bc899ea0
JM
1812015-03-25 Joseph Myers <joseph@codesourcery.com>
182
8d643971
JM
183 * math/auto-libm-test-in: Add more tests of acos.
184 * math/auto-libm-test-out: Regenerated.
185 * sysdeps/i386/fpu/libm-test-ulps: Update.
186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
187
bc899ea0
JM
188 * math/auto-libm-test-in: Add more tests of expm1.
189 * math/auto-libm-test-out: Regenerated.
190 * sysdeps/i386/fpu/libm-test-ulps: Update.
191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
192
7c84a504
JM
1932015-03-24 Joseph Myers <joseph@codesourcery.com>
194
239ed6f3
JM
195 * math/auto-libm-test-in: Add more tests of cosh and sinh.
196 * math/auto-libm-test-out: Regenerated.
197 * sysdeps/i386/fpu/libm-test-ulps: Update.
198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
199
a737e826
JM
200 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
202
7c84a504
JM
203 * math/auto-libm-test-in: Add more tests of log2.
204 * math/auto-libm-test-out: Regenerated.
205 * sysdeps/i386/fpu/libm-test-ulps: Update.
206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
207
7e9c7b9b
RM
2082015-03-23 Roland McGrath <roland@hack.frob.com>
209
210 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
211 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
212 _IO_IS_APPENDING bit in READ_WRITE instead.
213
98734cc5
FW
2142015-03-23 Florian Weimer <fweimer@redhat.com>
215
216 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
217 (__determine_cpumask_size): Replace extend_alloca with a
218 variable-length array. Do not treat res == 0 as an error.
219
2b028564
FW
2202015-03-23 Florian Weimer <fweimer@redhat.com>
221
222 [BZ #18100]
223 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
224 and integer overflow.
225 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
226 (main): Add integer overflow tests.
227 * manual/pattern.texi (Calling Wordexp): Document additional use
228 for WRDE_SYNTAX.
229
59261ad3
AM
2302015-03-23 Alan Modra <amodra@gmail.com>
231
232 * config.h.in: Remove HAVE_ASM_PPC_REL16.
233 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
234 and false branch of conditional.
235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
236 Likewise.
237
d583531a
ST
2382015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
239
240 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
241 libc-modules.h
868df0f9
ST
242 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
243 unused declaration of _hurd_intr_rpc_msg_in_trap.
244 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
245 defined instead of whether it is non-zero.
246 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
247 input constraint instead of both input and output constraint. Use ecx
248 clobber instead of %ecx.
249 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
250 mutex_unlock): Use a statement expression instead of an expression list.
251 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
252 type to vm_size_t instead of vm_address_t.
253 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
254 defined instead of whether it is non-zero.
255 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
256 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
257 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
258 comparisons with mapaddr.
259 * nscd/nscd-client.h: Include <time.h>.
260 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
261 9th parameter to __vm_region instead of int.
661a7dba 262 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
263 * scripts/check-local-headers.sh (exclude): Add device/,
264 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
265 cthreads.h.
d583531a 266
298e5d56
RM
2672015-03-19 Roland McGrath <roland@hack.frob.com>
268
269 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
270 to account for alignment padding.
271 * sysdeps/arm/memmove.S: Likewise.
272
becb26b8
CM
2732015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
274
275 * sysdeps/unix/sysv/linux/generic/README: New file.
276
c2f5813a
JM
2772015-03-18 Joseph Myers <joseph@codesourcery.com>
278
279 [BZ #18138]
280 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
281 (futex_abstimed_wait)
282 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
283 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
284 of lll_futex_timed_wait.
285
ed6b0fe7
BH
2862015-03-18 Brad Hubbard <bhubbard@redhat.com>
287
288 [BZ #17542]
289 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
290
f8aeae34
AO
2912015-03-17 Alexandre Oliva <aoliva@redhat.com>
292
293 [BZ #17090]
294 [BZ #17620]
295 [BZ #17621]
296 [BZ #17628]
297 * NEWS: Update.
298 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
299 entries with Static TLS too. Skip entries past the end of the
300 allocated DTV, from Alan Modra.
301 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
302 Static TLS DTV entry set up from...
303 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
304 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
305 * nptl/allocatestack.c (init_one_static_tls): ... and here...
306 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
307 for Static TLS.
308 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
309 that the slot we find is associated with the given map before
310 using its generation count.
311 * nptl_db/db_info.c: Include ldsodefs.h.
312 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
313 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
314 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
315 (link_map::l_tls_offset): New struct field.
316 (dtv_t::counter): Likewise.
317 (rtld_global): New struct.
318 (_rtld_global): New rtld variable.
319 (dl_tls_dtv_slotinfo_list): New rtld global field.
320 (dtv_slotinfo_list): New struct.
321 (dtv_slotinfo): Likewise.
322 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
323 (td_lookup): Rename to...
324 (td_mod_lookup): ... this. Use new mod parameter instead of
325 LIBPTHREAD_SO.
326 * nptl_db/td_thr_tlsbase.c: Include link.h.
327 (dtv_slotinfo_list, dtv_slotinfo): New functions.
328 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
329 addresses even if the DTV is out of date or missing them.
330 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
331 index zero-length arrays.
332 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
333 (td_lookup): Make it a macro implemented in terms of...
334 (td_mod_lookup): ... this declaration.
335 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
336 (DB_MAIN_VARIABLE): Likewise.
337
b97eb2bd
L
3382015-03-16 H.J. Lu <hongjiu.lu@intel.com>
339
340 [BZ #18134]
341 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
342
cb219290
PE
3432015-03-15 Paul Eggert <eggert@cs.ucla.edu>
344
345 * stdlib/setenv.c (__add_to_environ): Revert previous change.
346
a3905fd9
AS
3472015-03-14 Andreas Schwab <schwab@linux-m68k.org>
348
349 [BZ #18128]
350 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
351 (atomic_add, atomic_increment_and_test)
352 (atomic_decrement_and_test): Fix 64-bit arithmetic.
353
2ecccaed
PE
3542015-03-13 Paul Eggert <eggert@cs.ucla.edu>
355
356 * stdlib/setenv.c (__add_to_environ):
357 Dump core quickly if setenv (..., NULL, ...) is called.
358
cdaf79d0
RM
3592015-03-13 Roland McGrath <roland@hack.frob.com>
360
361 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
362 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
363 all the necessary asm magic in one place.
364 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
365 using those.
366
cf9313e7
CD
3672015-03-13 Carlos O'Donell <carlos@redhat.com>
368
369 [BZ #14906]
370 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
371 traced file mtime. Use consistent log message.
372 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
373 (register_traced_file): Call install_watches. Always set mtime.
374 (invalidate_cache): Iterate over all trace files. Call install_watches.
375 (inotify_check_files): Don't inline. Handle watching parent
376 directories and configuration file movement in and out.
377 (handle_inotify_events): New function.
378 (main_loop_poll): Call handle_inotify_events.
379 (main_loop_epoll): Likewise.
380 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
381 (struct traced_file): Use array of inotify fds. Add parent directory,
382 and basename.
383 (struct database_dyn): Remove unused file_mtime.
384 (init_traced_file): New inline function.
385 (define_traced_file): New macro.
386 * nss/nss_db/db-init.c: Use define_traced_file.
387 (_nss_db_init): Use init_traced_file.
388 * nss/nss_files/files-init.c: Use define_traced_file.
389 (_nss_files_init): Use init_traced_file.
390
7d67a196
JM
3912015-03-12 Joseph Myers <joseph@codesourcery.com>
392
393 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
394 [_LIBC]: Do not include <stdlib.h>.
395 [!_LIBC] (abort): Remove declaration.
396 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
397 _FP_STATIC_ASSERT instead of conditionally calling abort.
398 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
399 (_FP_EXTEND_CNAN): Likewise.
400 (FP_TRUNC): Likewise.
401 (__FP_CLZ): Likewise.
402 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
403
af85ebcd
YS
4042015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
405
406 * manual/string.texi (XPG basename): Fix prototype.
407
2e807f29
SL
4082015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
409
410 [BZ #18080]
411 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
412 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
413 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
414 (__setcontext): Likewise.
415 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
416 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
417 Call rt_sigprocmask syscall one time to set new signal mask
418 and retrieve the current signal mask instead of two calls.
419 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
420 (__swapcontext): Likewise.
421 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
422 * stdlib/tst-setcontext2.c: New file.
423
1b2bebe6
SL
4242015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
425
426 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
427
6a1cf708
AJ
4282015-03-11 Aurelien Jarno <aurelien@aurel32.net>
429
430 [BZ #18093]
431 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
432 the wrong size.
433
a2d4cf72
PP
4342015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
435
436 [BZ #18043]
437 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
438
5ca10a0c
AZ
4392015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
440
441 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
442 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
443 Remove define.
444 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
445 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
446 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
447 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
448 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
449 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
450 define.
451 * nptl_db/td_symbol_list.c (td_lookup): Remove
452 HAVE_ASM_GLOBAL_DOT_NAME code.
453 * sysdeps/powerpc/powerpc64/configure.ac: Remove
454 HAVE_ASM_GLOBAL_DOT_NAME check.
455 * sysdeps/powerpc/powerpc64/configure: Regenerate.
456 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
457 (DOT_LABEL): Remove define.
458 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
459 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
460 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
461 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
462 (__TLS_GET_ADDR): Likewise.
463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
464 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
465
e4363cfb
CD
4662015-03-11 Carlos O'Donell <carlos@redhat.com>
467
468 [BZ #18111]
469 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
470 (_FPU_SETCW): Initialize cw from fpsr before storing.
471 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
472 (fesetexceptflag): Rewrite using fpu_control.h.
473 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
474
fae1aa8d
JDA
4752015-03-11 John David Anglin <danglin@gcc.gnu.org>
476
477 [BZ #18110]
478 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
479 asms.
480 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
481
068a6274
JM
4822015-03-11 Joseph Myers <joseph@codesourcery.com>
483
484 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
485 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
486 abort.
487 (_FP_FMA): Likewise.
488 (_FP_DIV): Likewise.
489
d3821ab0
RM
4902015-03-10 Roland McGrath <roland@hack.frob.com>
491
44a6213c
RM
492 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
493 with 0 in that case.
494 * Makefile (summarize-tests): New canned sequence, factored out of
495 commands for targets tests and xtests. Display summary lines that
496 don't start with PASS: or XFAIL: rather than ones that do start with
497 ERROR: or FAIL:. Make the commands fail if any summary lines fail
498 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
499 do start with ERROR: or FAIL:.
500 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
501 (except for [$(build-shared) = yes]).
502 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
503 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
504 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
505 * nptl/Makefile: Revert 2015-03-04 changes.
506 [$(CXX) empty] (tests-unsupported): New variable.
507 * debug/Makefile: Likewise.
508
d3821ab0
RM
509 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
510 gnulib file. Replace __attribute with __attribute__ throughout.
511
85ca85ae
CD
5122015-03-10 Carlos O'Donell <carlos@redhat.com>
513
514 * sysdeps/hppa/fpu/libm-test-ulps: Update.
515
6411f81d
JM
5162015-03-10 Joseph Myers <joseph@codesourcery.com>
517
518 [BZ #18104]
519 * math/auto-libm-test-in: Add another test of pow.
520 * math/auto-libm-test-out: Regenerated.
521
d421868b
AZ
5222015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
523
524 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
525 $(config-cflags-nofma).
526
a2f8be9c
JM
5272015-03-10 Joseph Myers <joseph@codesourcery.com>
528
529 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
530 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
531 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
532 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
533 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
534 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
535 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
536 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
537 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
538 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
539 Add comment on closing #endif.
540
01d032e0
PP
5412015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
542
543 * posix/wordexp.c (CHAR_IN_SET): New macro.
544 (parse_param): Use it.
545
d439bc56
AZ
5462015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
547
548 * sysdeps/powerpc/fpu/libm-test-ulps: update.
549
5f85a4bf
PP
5502015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
551
552 [BZ #18043]
553 * posix/wordexp.c (parse_param): Fix buffer overflow.
554 * posix/wordexp-test.c (test_case): Add test case.
555
f8ba70e9
PP
5562015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
557
558 [BZ #18042]
559 * posix/wordexp.c (parse_backtick): Fix off-by-one.
560 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
561
36103ba2
PP
5622015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
563
564 [BZ #18043]
565 * posix/wordexp-test.c (test_case): Add test for BZ #18043
566 (do_bz18043): Delete.
567 (at_page_end): New.
568 (testit): Refactor to have words at the edge of unreadable page.
569
18d26750
PP
5702015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
571
572 [BZ #16734]
573 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
574 Cleanup read-only streams as well.
575 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
576
9f95dc5d
ST
5772015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
578
579 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
580 <bits/libc-lockP.h>
581
b838844b
JM
5822015-03-07 Joseph Myers <joseph@codesourcery.com>
583
584 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
585 on [__KERNEL__].
586 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
587 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
588 * soft-fp/op-common.h (_FP_DECL): Likewise.
589
e0ed2fb4
L
5902015-03-06 H.J. Lu <hongjiu.lu@intel.com>
591
592 * elf/ifuncdep2.c (global): Replace
593 __attribute__((visibility("protected"))) with
594 asm (".protected global").
595 * elf/ifuncmod1.c (global): Likewise.
596 * elf/ifuncmod5.c (global): Likewise.
597
fa9dda64
JM
5982015-03-06 Joseph Myers <joseph@codesourcery.com>
599
600 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
601 <asm/sfp-machine.h> instead of <sfp-machine.h>.
602
4acc27ed
RM
6032015-03-06 Roland McGrath <roland@hack.frob.com>
604
605 * manual/install.texi (Configuring and compiling):
606 Document test-wrapper-env-only.
607 * INSTALL: Regenerated.
608
895c30cb
PP
6092015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
610
611 [BZ #18043]
612 * posix/wordexp.c (parse_param): Fix buffer overflow.
613 * posix/wordexp-test.c (do_bz18043): Add test case.
614
5df56c7e
VB
6152015-03-06 Vincent Bernat <vincent@bernat.im>
616
617 * time/tst-strptime2.c (do_test): Ensure failing tests are
618 reported correctly.
619 * time/tst-strptime3.c (do_test): Likewise.
620
1cdf2ea1
ST
6212015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
622
623 Fix aio_error thread-safety.
1cdf2ea1
ST
624 * sysdeps/pthread/aio_error.c: New file
625 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
626 synchronization.
627
d176a41a
FW
6282015-03-06 Florian Weimer <fweimer@redhat.com>
629
630 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
631 (group_number, vfprintf): Use it.
1597b744
FW
632 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
633 (JUMP, REF): Use it.
634 (WORK_BUFFER_SIZE): New enum constant.
635 (process_arg, vfprintf): Use it.
d176a41a 636
7e7af349
RJ
6372015-03-06 Rical Jasan <ricaljasan@pacific.net>
638
639 * manual/errno.texi (Error Messages): Complete example function
640 by adding missing #define.
641 (program_invocation_name): Add statement indicating GNU
642 extension and reference which header file declares the variable.
643 (program_invocation_short_name): Likewise.
644
4ca8ddfb
MF
6452015-03-06 Mike Frysinger <vapier@gentoo.org>
646
647 * manual/errno.texi (Error Messages): Delete strerror ISO C89
648 compatibility note.
649
9162c01d
RM
6502015-03-05 Roland McGrath <roland@hack.frob.com>
651
652 * Makeconfig (test-wrapper-env-only): New variable.
653 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
654 then use that with $(test-wrapper-env-only) rather than using
655 $(test-wrapper-env) $(run-program-env) $($*-ENV).
656
209826bc
L
6572015-03-05 H.J. Lu <hongjiu.lu@intel.com>
658
659 [BZ #18082]
660 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
661 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
662 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
663 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
664 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
665 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
666 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
667 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
668 Likewise.
669 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
670 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
671 Likewise.
672 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
673 Likewise.
674 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
675 Likewise.
676 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
677 Likewise.
678 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
679 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
680 Likewise.
681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
682 Likewise.
683 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
684 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
685
2cfe32bc
RM
6862015-03-04 Roland McGrath <roland@hack.frob.com>
687
8bff5aab
RM
688 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
689 (ETH_ALEN): New macro.
690 (struct ether_addr): Use it for length of ether_addr_octet.
691
2752f338
RM
692 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
693 (setdb): Don't call __nss_configure_lookup for "rpc".
694 (do_test): Don't call test_rpc.
695 (output_rpcent, test_rpc): Functions moved ...
696 * sunrpc/test-rpcent.c: ... to this new file.
697 * sunrpc/Makefile (tests): Add it.
698
2cfe32bc
RM
699 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
700 __xpg_sigpause.
701 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
702 * nptl/tst-signal6.c: Likewise.
703 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
704 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
705
e4693aa7
RM
706 * configure.ac (libc_cv_cxx_link_ok): New check.
707 Reset CXX to empty if it fails to link.
708 * configure: Regenerated.
709 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
710 bug-atexit3-lib only if $(CXX) is nonempty.
711 * nptl/Makefile (tests): Likewise for tst-cancel24.
712 (tests, tests-static): Likewise for tst-cancel24-static.
713 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
714 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
715 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
716 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 717
8e2e833a
AS
7182015-03-04 Andreas Schwab <schwab@suse.de>
719
720 [BZ #17631]
721 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
722 for non-GCC compilers.
723 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
724 Likewise.
725
85b29045
AZ
7262015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
727
728 [BZ #17776]
729 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
730 integer before bitwise and assembly operations.
731 (feclearexcept): Likewise.
732 * math/test-fenvinline.c: New file.
733 * math/Makefile: Add test-fenvinline test.
734
a0af371c
AM
7352015-03-03 Alan Modra <amodra@gmail.com>
736
737 [BZ #16512]
738 * scripts/localplt.awk: Strip off symbol version.
739 * NEWS: Mention bug fix.
740
47465629
RM
7412015-03-02 Roland McGrath <roland@hack.frob.com>
742
743 * sysdeps/pthread/timer_routines.c
744 (timer_free_list, thread_free_list, thread_active_list): Make static.
745
6d08b022
JM
7462015-03-02 Joseph Myers <joseph@codesourcery.com>
747
748 [BZ #17779]
749 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
750 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
751 Undefine.
752 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
753 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
754 Likewise.
755 * sysdeps/unix/sysv/linux/sh/kernel-features.h
756 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
757 Likewise.
758
c2c6d39f
PP
7592015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
760
761 [BZ #18036]
762 * posix/fnmatch_loop.c (END): Detect invalid pattern.
763 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
764
e8b6be00
AS
7652015-03-02 Andreas Schwab <schwab@suse.de>
766
767 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
768 variable name.
769
1a2d98af
FW
7702015-03-02 Florian Weimer <fweimer@redhat.com>
771
772 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
773 Return error status.
774
e7f07af5
AO
7752015-02-27 Alexandre Oliva <aoliva@redhat.com>
776
777 [BZ #15969]
778 * locale/findlocale.c (_nl_find_locale): Introduce const
779 version of loc_name and drop unsafe type casts.
780
c7b19ca9
RM
7812015-02-27 Roland McGrath <roland@hack.frob.com>
782
783 * dlfcn/tststatic2.c (main): Converted to ...
784 (do_test): ... this.
785 (TEST_FUNCTION): New macro.
786 Include test-skeleton.c.
787
ef4ad06f
L
7882015-02-27 H.J. Lu <hongjiu.lu@intel.com>
789
790 [BZ #17711]
791 * elf/Makefile (tests): Add vismain only if PIE is enabled.
792 (tests-pie): Add vismain.
793 (CFLAGS-vismain.c): New.
794 * elf/vismain.c: Add comments for PIE requirement.
795
2ca725c5
JM
7962015-02-27 Joseph Myers <joseph@codesourcery.com>
797
798 [BZ #18046]
799 [BZ #18047]
800 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
801 0x1p-56L as threshold for just returning the argument.
802 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
803 0x1p-32L as threshold for just returning the argument.
804 * math/auto-libm-test-in: Add more tests of atanh.
805 * math/auto-libm-test-out: Regenerated.
806 * sysdeps/i386/fpu/libm-test-ulps: Update.
807 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
808
af96be34
WD
8092015-02-27 Wilco Dijkstra wdijkstr@arm.com
810
811 * string/bcopy.c (bcopy): Call memmove for performance.
812
ddcf6798
WD
8132015-02-27 Wilco Dijkstra wdijkstr@arm.com
814
815 * string/bzero.c (__bzero): Call memset for performance.
816
49f476f4
JDA
8172015-02-27 John David Anglin <dave.anglin@bell.net>
818
b42e14ff 819 [BZ #18068]
49f476f4
JDA
820 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
821 to 00100000.
822
f8ab5d38
JM
8232015-02-27 Joseph Myers <joseph@codesourcery.com>
824
825 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
826
380bd0fd
JM
8272015-02-26 Joseph Myers <joseph@codesourcery.com>
828
31331a07
JM
829 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
830 (__kernel_standard): Use CSTR macro when setting exc.name.
831 * sysdeps/ieee754/Makefile [$(subdir) = math]
832 (CFLAGS-k_standard.c): Remove variable.
833
09220e66
JM
834 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
835 setting p and q from "else if" to "else".
836 (qzero): Likewise.
837 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
838 (qone): Likewise.
839 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
840 (qzerof): Likewise.
841 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
842 (qonef): Likewise.
843 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
844 (qzero): Likewise.
845 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
846 (qone): Likewise.
847
1d9ab20c
JM
848 [BZ #18038]
849 [BZ #18039]
850 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
851 return pi/2 for arguments below 0x1p-113L.
852 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
853 return pi/2 for arguments below 0x1p-106L.
854 * math/auto-libm-test-in: Add more tests of acos.
855 * math/auto-libm-test-out: Regenerated.
856
ec0ce0d3
JM
857 [BZ #16351]
858 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
859 (MO): New macro.
860 (__ieee754_asin): Force underflow exception for results with small
861 absolute value.
862 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
863 (MO): New macro.
864 (__ieee754_asinf): Force underflow exception for results with
865 small absolute value.
866 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
867 (__ieee754_asin): Force underflow exception for results with small
868 absolute value.
869 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
870 (__ieee754_asinf): Force underflow exception for results with
871 small absolute value.
872 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
873 (__ieee754_asinl): Force underflow exception for results with
874 small absolute value.
875 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
876 (__ieee754_asinl): Force underflow exception for results with
877 small absolute value.
878 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
879 (__ieee754_asinl): Force underflow exception for results with
880 small absolute value.
881 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
882 Include <math.h>.
883 * math/auto-libm-test-in: Do not mark underflow exceptions as
884 possibly missing for bug 16351.
885 * math/auto-libm-test-out: Regenerated.
886
380bd0fd
JM
887 [BZ #18030]
888 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
889 of power of 2 down when low part has opposite sign.
890 * math/libm-test.inc (logb_test_data): Add more tests.
891
4a28f4d5
AS
8922015-02-26 Andreas Schwab <schwab@suse.de>
893
894 [BZ #18032]
895 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
896 over collating symbol inside a bracket expression. Minor cleanup.
897 * posix/tst-fnmatch3.c (do_test): Add test case.
898
524ae9ea
JM
8992015-02-26 Joseph Myers <joseph@codesourcery.com>
900
901 [BZ #18029]
902 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
903 Adjust exponent of power of 2 down when low part has opposite
904 sign.
905 * math/libm-test.inc (ilogb_test_data): Add more tests.
906
23d43090
AO
9072015-02-26 Alexandre Oliva <aoliva@redhat.com>
908
909 [BZ #15969]
910 * locale/findlocale.c (_nl_find_locale): Fix constness error in
911 the previous change.
0d822a01
AO
912
913 [BZ #15969]
914 * locale/findlocale.c (_nl_find_locale): Retry archive search
915 after alias expansion.
916
d19df6ac
RM
9172015-02-25 Roland McGrath <roland@hack.frob.com>
918
ca681b7b
RM
919 * iconv/tst-iconv3.c (main): Converted to ...
920 (do_test): ... this.
921 (TEST_FUNCTION): New macro.
922 Include test-skeleton.c.
923
fd1f2f1c
RM
924 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
925 (convert): Make function static.
926 (test_unalign): Likewise. Add const to argument pointee types.
927 (main): Replace with static function do_test.
928 Print "Succeeded." only if RET is zero.
929 (TEST_FUNCTION): New macro.
930 Include test-skeleton.c.
931
d19df6ac
RM
932 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
933 returns a null pointer.
934
115e0de7
AZ
9352015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
936
937 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
938 to __memcpy_ppc only for static builds.
939
137cef7d
JM
9402015-02-25 Joseph Myers <joseph@codesourcery.com>
941
942 [BZ #18020]
943 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
944 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
945 * math/auto-libm-test-in: Add more tests of asinh.
946 * math/auto-libm-test-out: Regenerated.
947 * sysdeps/i386/fpu/libm-test-ulps: Update.
948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
949
cb43bb0d
CW
9502015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
951
952 [BZ #15850]
953 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
954 and ip6_mtuinfo definitions here.
955 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
956 in this define too. Update comment.
957
9be1052b
BS
9582015-02-24 Benno Schulenberg <bensberg@justemail.net>
959
960 * elf/sprof.c (load_shobj): Tweak error message to match others.
961
6807b1db
KE
9622015-02-24 Kevin Easton <kevin@guarana.org>
963
964 [BZ #16145] (partial fix)
965 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
966 to reduce lock contention.
967
b433df00
ML
9682015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
969
970 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
971 (struct timex): Update time comment.
972 (ADJ_SETOFFSET): Define.
973
440169d6
JM
9742015-02-24 Joseph Myers <joseph@codesourcery.com>
975
976 [BZ #18019]
977 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
978 2**56 not 2**28 as threshold for log (2x) formula.
979 * math/auto-libm-test-in: Add more tests of acosh.
980 * math/auto-libm-test-out: Regenerated.
981 * sysdeps/i386/fpu/libm-test-ulps: Update.
982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
983
ba7d2c54
MF
9842015-02-24 Mike Frysinger <vapier@gentoo.org>
985
986 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
987 parenthesis around the buf assignment.
988 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
989
9438b237
JM
9902015-02-24 Joseph Myers <joseph@codesourcery.com>
991
992 [BZ #16783]
993 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
994 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
995 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
996 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
997 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
998 * math/libm-test.inc (scalb_test_data): Add more tests.
999
6909d276
PP
10002015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1001
1002 [BZ #17916]
1003 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1004 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1005
65f6f938
ER
10062015-02-24 Eric Rannaud <e@nanocritical.com>
1007
1008 [BZ #17523]
1009 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1010 * io/bits/fcntl2.h (open): Use it.
1011 (openat): Likewise.
1012 * io/open.c (__libc_open): Likewise.
1013 * io/open64.c (__libc_open64): Likewise.
1014 * io/open64_2.c (__open64_2): Likewise.
1015 * io/open_2.c (__open_2): Likewise.
1016 * io/openat.c (__openat): Likewise.
1017 * io/openat64.c (__openat64): Likewise.
1018 * io/openat64_2.c (__openat64_2): Likewise.
1019 * io/openat_2.c (__openat_2): Likewise.
1020 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1021 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1022 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1023 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1024 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1025 (__open_nocancel): Likewise.
1026 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1027 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1028 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1029
3e3002ff
SP
10302015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1031
1032 [BZ #14841]
1033 * resolv/gethnamaddr.c (getanswer): Skip logging if
1034 RES_USE_DNSSEC is set.
1035 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1036
9813dd58
MF
10372015-02-24 Mike Frysinger <vapier@gentoo.org>
1038
1039 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1040
7b1ec6a0
AO
10412015-02-23 Alexandre Oliva <aoliva@redhat.com>
1042
1043 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1044 201304L, for Unicode 7.
1045
d49499c1
L
10462015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1047
1048 [BZ #17836]
1049 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1050 shared library. Add gmon-start.os otherwise.
1051 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1052 $(objpfx)gmon-start.os if builing shared library.
1053 ($(objpfx)g$(static-start-installed-name)): Likewise.
1054
51225803
AS
10552015-02-23 Andreas Schwab <schwab@suse.de>
1056
1057 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1058
bdf1ff05
PP
10592015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1060
1061 [BZ #17269]
1062 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1063 (enlarge_userbuf): Likewise.
1064
95296112
CLT
10652015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1066
1067 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1068 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1069 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1070 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1071
e4a399dc
JM
10722015-02-20 Joseph Myers <joseph@codesourcery.com>
1073
1074 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1075 expression inside statement expression.
1076
7133957f
SL
10772015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1078
1079 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1080 <sysdeps/nptl/lowlevellock.h> and remove macros and
1081 functions that are now defined there.
1082 (SYS_futex): Remove.
1083 (lll_compare_and_swap): Remove.
1084 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1085
40176158
JM
10862015-02-19 Joseph Myers <joseph@codesourcery.com>
1087
1088 [BZ #17999]
1089 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1090 instead of scandirat.
1091 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1092 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1093 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1094 __scandirat.
1095 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1096 (__scandirat): Declare. Use libc_hidden_proto.
1097 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1098 Remove variable.
1099 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1100
4629c866
JM
11012015-02-18 Joseph Myers <joseph@codesourcery.com>
1102
1103 [BZ #15319]
1104 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1105 (MO): New macro.
1106 (__ieee754_atan2): For results with small absolute value, force
1107 underflow exception and remove excess range and precision from
1108 return value.
1109 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1110 (MO): New macro.
1111 (__ieee754_atan2f): For results with small absolute value, force
1112 underflow exception and remove excess range and precision from
1113 return value.
1114 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1115 (MO): New macro.
1116 (__atan): For results with small absolute value, force underflow
1117 exception and remove excess range and precision from return value.
1118 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1119 (MO): New macro.
1120 (__atanf): For results with small absolute value, force underflow
1121 exception and remove excess range and precision from return value.
1122 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1123 <math.h>.
1124 (__ieee754_atan2): Force underflow exception for results with
1125 small absolute value.
1126 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1127 <math_private.h>.
1128 (atan): Force underflow exception for results with small absolute
1129 value.
1130 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1131 (__atanf): Force underflow exception for results with small
1132 absolute value.
1133 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1134 <math.h>.
1135 (__atanl): Force underflow exception for results with small
1136 absolute value.
1137 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1138 (__atanl): Force underflow exception for results with small
1139 absolute value.
1140 * sysdeps/x86/fpu/bits/mathinline.h
1141 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1142 (__ieee754_atan2): Only define inline for long double.
1143 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1144 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1145 * math/auto-libm-test-in: Do not mark underflow exceptions as
1146 possibly missing for bug 15319. Add more tests of atan2.
1147 * math/auto-libm-test-out: Regenerated.
1148 * math/libm-test.inc (casin_test_data): Do not mark underflow
1149 exceptions as possibly missing for bug 15319.
1150 (casinh_test_data): Likewise.
1151 * sysdeps/i386/fpu/libm-test-ulps: Update.
1152
9ee16d8b
SE
11532015-02-18 Steve Ellcey <sellcey@imgtec.com>
1154
1155 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1156 * sysdeps/mips/bits/endian.h: Fix comments.
1157
4ffb1771
JM
11582015-02-18 Joseph Myers <joseph@codesourcery.com>
1159
1160 [BZ #17996]
1161 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1162 (hdestroy_r): Likewise.
1163 (hsearch_r): Likewise.
1164 (__hcreate_r): Declare and use libc_hidden_proto.
1165 (__hdestroy_r): Likewise.
1166 (__hsearch_r): Likewise.
1167 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1168 (hcreate): Call __hcreate_r instead of hcreate_r.
1169 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1170 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1171 as weak alias of __hcreate_r.
1172 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1173 __hdestroy_r.
1174 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1175 __hsearch_r.
1176 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1177 Remove variable.
1178 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1179 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1180 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1181 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1182
94c5a52a
SP
11832015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1184
1185 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1186 arena_lock into a single arena_get.
1187
8a35c3fe
CD
11882015-02-17 Carlos O'Donell <carlos@redhat.com>
1189
1190 * dl-reloc.c: Inlucde libc-internal.h.
1191 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1192 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1193 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1194 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1195 (grow_heap): Likewise.
1196 * malloc/malloc.c: Include libc-internal.h.
1197 (do_check_malloc): Call powerof2.
1198 (sysmalloc): Use pagesize. Call ALIGN_UP.
1199 (systrim): Use pagesize.
1200 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1201 (__libc_valloc): Use pagesize.
1202 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1203
1a2325c0
JM
12042015-02-17 Joseph Myers <joseph@codesourcery.com>
1205
1206 [BZ #17991]
1207 * include/sys/resource.h (__getrlimit64): Declare. Use
1208 libc_hidden_proto.
1209 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1210 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1211 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1212 getrlimit64.
1213 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1214 __getrlimit64.
1215 [!getrlimit64] (getrlimit64): Define as weak alias of
1216 __getrlimit64. Use libc_hidden_weak.
1217 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1218 using __getrlimit64 not __new_getrlimit64.
1219 (__GI_getrlimit64): Likewise.
1220 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1221 Likewise.
1222 (__GI_getrlimit64): Likewise.
1223 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1225 (getrlimit): Add __getrlimit64 alias.
1226 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1227 Likewise.
1228 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1229 Remove variable.
1230 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1231 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1232
8ae4bb5a
PP
12332015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1234
1235 * libio/fileops.c: Add missing sys/mman.h
1236 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1237
18a218b7
JM
12382015-02-17 Joseph Myers <joseph@codesourcery.com>
1239
1240 * manual/math.texi (Errors in Math Functions): Clarify goals
1241 regarding inexact and underflow exceptions.
1242
e72ad0ef
SE
12432015-02-17 Steve Ellcey <sellcey@imgtec.com>
1244
1245 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1246 * sysdeps/mips/memset.S: Ditto.
1247
2caa4099
SE
12482015-02-17 Steve Ellcey <sellcey@imgtec.com>
1249
1250 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1251
f20bfc9b
SL
12522015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1253
1254 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1255 (__v1longjmp): Remove versioned symbol.
1256 (__v1siglongjmp): Remove alias and versioned symbol.
1257 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1258 (__v2siglongjmp): Likewise.
1259
71c06b69
TR
12602015-02-16 Torvald Riegel <triegel@redhat.com>
1261
1262 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1263
a9a05adb
MF
12642015-02-16 Mike Frysinger <vapier@gentoo.org>
1265
1266 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1267
ce8fc784
JM
12682015-02-16 Joseph Myers <joseph@codesourcery.com>
1269
1270 [BZ #17987]
1271 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1272 zero result does not depend on the sign resulting from
1273 subtraction.
1274 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1275 Likewise.
1276 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1277 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1278 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1279 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1280 * math/libm-test.inc (remquo_test_data): Add more tests.
1281
0d7036bd
PE
12822015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1283
1284 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1285 Problem reported by J William Piggott.
1286
86c56b16
JM
12872015-02-16 Joseph Myers <joseph@codesourcery.com>
1288
a820f9b3
JM
1289 [BZ #17978]
1290 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1291 products 4 * y and 2 * y where those would overflow.
1292 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1293 Likewise.
1294 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1295 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1296 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1297 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1298 * math/libm-test.inc (remquo_test_data): Add more tests.
1299
be802953
JM
1300 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1301
e5e72fe9
JM
1302 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1303 [defined _COMPILING_NEWLIB].
1304 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1305 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1306
86c56b16
JM
1307 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1308 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1309
35264d14
TR
13102015-02-16 Torvald Riegel <triegel@redhat.com>
1311
1312 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1313 acquired.
1314
6f49e32a
MF
13152015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1316
1317 [BZ #17792]
1318 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1319 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1320 HOST_STACK_END_ADDR): Likewise.
1321
e525154e
SE
13222015-02-13 Steve Ellcey <sellcey@imgtec.com>
1323
1324 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1325 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1326 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1327
4ab770b7
RM
13282015-02-13 Roland McGrath <roland@hack.frob.com>
1329
1330 * sysdeps/generic/c++-types.data: New file.
1331 * sysdeps/generic/ld.abilist: New file.
1332 * sysdeps/generic/libBrokenLocale.abilist: New file.
1333 * sysdeps/generic/libanl.abilist: New file.
1334 * sysdeps/generic/libc.abilist: New file.
1335 * sysdeps/generic/libcrypt.abilist: New file.
1336 * sysdeps/generic/libdl.abilist: New file.
1337 * sysdeps/generic/libm.abilist: New file.
1338 * sysdeps/generic/libpthread.abilist: New file.
1339 * sysdeps/generic/libresolv.abilist: New file.
1340 * sysdeps/generic/librt.abilist: New file.
1341
d9afe48d
JM
13422015-02-13 Joseph Myers <joseph@codesourcery.com>
1343
1344 [BZ #17569]
1345 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1346 Compute absolute value of x as modified by fmod, not original
1347 value of x.
1348 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1349 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1350 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1351 RUN_TEST_ffI_f1_mod8.
1352 (remquo_test_data): Add more tests.
1353
3846188b
RM
13542015-02-13 Roland McGrath <roland@hack.frob.com>
1355
1356 * sysdeps/init_array/pt-crti.S: New file.
1357
95c26233
JM
13582015-02-13 Joseph Myers <joseph@codesourcery.com>
1359
1360 [BZ #17967]
1361 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1362 __builtin_fmaf instead of relying on contraction of a * b + c.
1363
3f293d61
WP
13642015-02-12 J William Piggott <elseifthen@gmx.com>
1365
1366 [BZ #17969]
1367 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1368 node.
1369
e8bd5286
JM
13702015-02-12 Joseph Myers <joseph@codesourcery.com>
1371
1372 [BZ #17964]
1373 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1374 __builtin_fma instead of relying on contraction of a * b + c.
1375
04f5a636
RM
13762015-02-12 Roland McGrath <roland@hack.frob.com>
1377
96a15749
RM
1378 * Makeconfig (ASFLAGS): Add -Werror=undef.
1379 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1380 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1381 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1382
04f5a636
RM
1383 * Makeconfig (after-link): New variable.
1384 (+link-pie, +link-pie-tests): Use it.
1385 (+link-static, +link-static-tests): Likewise.
1386 (+link, +link-tests): Likewise.
1387 * Makerules (build-module, build-module-asneeded): Likewise.
1388 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1389 Likewise.
1390 * elf/Makefile ($(objpfx)ld.so): Likewise.
1391
87a629c5
RS
13922015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1393
1394 [BZ #17965]
1395 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1396 both struct timeval and struct timespec.
1397
03d95bd4
JM
13982015-02-12 Joseph Myers <joseph@codesourcery.com>
1399
1400 [BZ #16560]
1401 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1402 and redefine.
1403 (__ieee754_exp2l): Do not multiply small fractional parts by
1404 M_LN2l.
1405 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1406 small argument.
1407 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1408 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1409 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1410 * math/auto-libm-test-in: Add more tests of exp2.
1411 * math/auto-libm-test-out: Regenerated.
1412
98408b95
RS
14132015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1414
1415 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1416 unaligned path.
1417
6f741503
AZ
14182015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1419
1420 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1421 little endian.
1422
2868e070
AS
14232015-02-12 Andreas Schwab <schwab@suse.de>
1424
1425 [BZ #15790]
1426 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1427 Filter out elision flags from value returned in kind.
1428 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1429 * nptl/tst-pthread-mutexattr.c: New file.
1430
ebf27d12
ST
14312015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1432
1433 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1434 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1435 into gnu-gnu, and update comment to refer to abi-tags.
1436
d435569c
JM
14372015-02-11 Joseph Myers <joseph@codesourcery.com>
1438
1439 [BZ #15467]
1440 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1441 (__sincos): Set errno to EDOM for infinite argument.
1442 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1443 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1444 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1445 (__sincosl): Set errno to EDOM for infinite argument.
1446 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1447 (__sincosl): Set errno to EDOM for infinite argument.
1448 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1449 (__sincosl): Set errno to EDOM for infinite argument.
1450 * math/libm-test.inc (sincos_test_data): Test errno setting.
1451
d35273f2
LH
14522015-02-11 Leonhard Holz <leonhard.holz@web.de>
1453
1454 * string/strxfrm_l.c: Remove #define STRCMP.
1455 * string/strcoll_l.c: Remove #define STRLEN.
1456 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1457 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1458
306bc0d1
JM
14592015-02-10 Joseph Myers <joseph@codesourcery.com>
1460
1461 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1462 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1463 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1464 * sysdeps/mips/mips64/Makefile: ... here.
1465 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1466 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1467 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1468 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1469 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1470 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1471 * sysdeps/mips/mips64/n64/Implies: Likewise.
1472
92b67e8d
RM
14732015-02-10 Roland McGrath <roland@hack.frob.com>
1474
1475 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1476 <sys/time.h>, <string.h>, and <errno.h>.
1477 (dest_offset, dest_address, value, zero): Remove unused variables.
1478 (ldouble): Remove typedef.
1479 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1480 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1481 1). Fix code style.
1482 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1483 (check): Function removed.
1484 (CHECK): New macro.
1485 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1486 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1487 Don't call set_sigaction_FP and remove_sigaction_FP here.
1488 (ldouble_test): Just use 'long double' as macro argument, no need for
1489 the 'ldouble' typedef.
1490 (do_test): Set up SIGFPE handler at start, using plain signal rather
1491 than sigaction. Fix code style.
1492
132a1328
EF
14932015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1494
1495 [BZ #17949]
1496 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1497 jump label.
1498
3001e54c
AZ
14992015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1500
bc0cdc49
AZ
1501 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1502 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1503
83658961
AZ
1504 * sysdeps/powerpc/configure.ac: Remove file.
1505 * sysdeps/powerpc/configure: Likewise.
1506
10169938
AZ
1507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1508 [sysdep_routines]: Remove wordcopy-power6 object.
1509 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1510 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1511 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1512 (__memmove_ppc32): Likewise.
1513 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1514 file.
1515 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1516 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1517 Remove preprocessor.
1518
8548a53d
AZ
1519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1520 [sysdep_routines]: Remove wide chars objects.
1521 [wcsmbs]: New rule for wide char objects.
1522
b2692114
AZ
1523 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1524 Remove wordcopy-power6 obejct.
1525 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1526 Use local call for wordcopy and memcpy symbols.
1527 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1528 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1529 implementation for loader.
1530 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1531
18e270aa
AZ
1532 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1533 Remove wordcopy-power7 object.
1534 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1535 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1536 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1537 (_wordcopy_fwd_dest_aligned): Likewise.
1538 (_wordcopy_bwd_aligned): Likewise.
1539 (_wordcopy_bwd_dest_aligned): Likewise.
1540
6f0993a6
AZ
1541 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1542 Rewrite to call __memmove_ppc instead of include default
1543 implementation.
1544
3001e54c
AZ
1545 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1546 Remove wide chars objects.
1547 [wcsmbs]: New rule for wide char objects.
1548
59b61c82
AS
15492015-02-09 Andreas Schwab <schwab@suse.de>
1550
1551 [BZ #17912]
1552 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1553 in terms of __O_DIRECTORY.
1554
ebd7aede
ST
15552015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1556
1557 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1558 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1559 call PTR_MANGLE.
1560 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1561 PTR_DEMANGLE.
ebd7aede 1562
3999d26e
PE
15632015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1564
1565 Add ersatz _Static_assert on older C hosts
1566 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1567 pre-C11 C platform that is not known to support _Static_assert.
1568
e9a5bc1c
ST
15692015-02-07 Richard Braun <rbraun@sceen.net>
1570
1571 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1572 sigstate.
e86c5b64 1573 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1574
e2049d17
ST
15752015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1576
1577 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1578 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1579 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1580 instead of int.
1581 * misc/fchflags.c (fchflags): Likewise.
1582 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1583 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1584 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1585 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1586 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1587 Declare macros.
1588 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1589 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1590 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1591 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1592 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1593 45.
a9a002fb
ST
1594 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1595 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1596 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1597 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1598 * hurd/hurd/signal.h (_hurd_self_sigstate,
1599 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1600 Explicit casts from void *.
4fc81a77 1601 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1602 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1603
f05826f0
ST
1604 [BZ #4719]
1605 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1606 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1607 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1608 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1609 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1610 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1611
a5eb23de
ST
1612 [BZ #17944]
1613 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1614 duplicates ADDR->sun_path with sockaddr LEN limitation.
1615 * sysdeps/mach/hurd/connect.c: Include <string.h>
1616 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1617 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1618 * sysdeps/mach/hurd/sendto.c: Likewise.
1619 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1620 implementing it by hand.
1621
ac9e0e5e
RM
16222015-02-06 Roland McGrath <roland@hack.frob.com>
1623
f8d1bb4c
RM
1624 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1625 Use sfi_breg on ldr.
1626 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1627 Likewise.
1628
022f4812
RM
1629 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1630 it's defined.
1631 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1632 Test SIGSETXID only if it's defined.
1633
1ac074e6
RM
1634 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1635
f50ad78b
RM
1636 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1637 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1638
9e7265f4
RM
1639 * nptl/tst-align2.c: Moved ...
1640 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1641 * nptl/Makefile (tests): Remove tst-align2.
1642 * sysdeps/unix/sysv/linux/Makefile
1643 [$(subdir) = nptl] (tests): Add tst-align-clone.
1644 * nptl/tst-getpid1.c: Moved ...
1645 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1646 * nptl/tst-getpid2.c: Moved ...
1647 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1648 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1649 * sysdeps/unix/sysv/linux/Makefile
1650 [$(subdir) = nptl] (tests): ... here.
1651 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1652 * sysdeps/unix/sysv/linux/Makefile
1653 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1654
62ad2abc
RM
1655 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1656 Drop trailing \n from perror argument. Use return rather than exit.
1657
cfa69b0b
RM
1658 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1659 on [SA_SIGINFO].
1660 * nptl/tst-cancel21.c (do_test): Likewise.
1661 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1662 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1663 [!SA_SIGINFO]: Make it a stub test.
1664
82727806
RM
1665 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1666 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1667
da3a1594
RM
1668 * posix/tst-getlogin.c: Move to ...
1669 * login/tst-getlogin.c: ... here.
1670 * posix/Makefile (tests): Move tst-getlogin to ...
1671 * login/Makefile (tests): ... here.
1672
b65c0ff9
RM
1673 * libio/tst-atime.c (do_test): Move local variables SV and E
1674 inside [ST_NOATIME] conditional.
1675
56606ab3
RM
1676 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1677
ebf7d6ee
RM
1678 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1679
ca0e0675
RM
1680 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1681 (wait_code): New function replaces macro.
1682 Call nanosleep rather than syscall.
1683
8c28bbc6
RM
1684 * nptl/pt-system.c: Rewritten. Put everything under
1685 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1686 Use IFUNC to redirect when possible.
1687
ec2a88b3
RM
1688 * nptl/pt-longjmp.c: Rewritten. Put everything under
1689 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1690 Use IFUNC to redirect when possible.
1691
beff1d13
RM
1692 * nptl/pt-fork.c: Rewritten. Put everything under
1693 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1694 Use IFUNC to redirect when possible.
1695 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1696
ea02c6b8
RM
1697 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1698 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1699 unconditionally nowadays. This included the only reference to
1700 __vdso_clock_gettime that appears outside libc proper.
1701 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1702 Remove version set (containing only __vdso_clock_gettime).
1703 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1704 Add attribute_hidden.
1705 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1706 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1707 libc_hidden_data_def.
1708 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1709 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1710
a1309c2b
RM
1711 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1712 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1713 setrpcent, and getrpcport to ...
1714 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1715 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1716 getrpcbynumber_r, and getrpcent_r to ...
1717 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1718 * inet/getrpcbyname.c: Moved ...
1719 * sunrpc/getrpcbyname.c: ... here.
1720 * inet/getrpcbyname_r.c: Moved ...
1721 * sunrpc/getrpcbyname_r.c: ... here.
1722 * inet/getrpcbynumber.c: Moved ...
1723 * sunrpc/getrpcbynumber.c: ... here.
1724 * inet/getrpcbynumber_r.c: Moved ...
1725 * sunrpc/getrpcbynumber_r.c: ... here.
1726 * inet/getrpcent.c: Moved ...
1727 * sunrpc/getrpcent.c: ... here.
1728 * inet/getrpcent_r.c: Moved ...
1729 * sunrpc/getrpcent_r.c: ... here.
1730 * inet/Makefile (routines): Move those to ...
1731 * sunrpc/Makefile (routines): ... here.
1732 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1733 the $(subdirs) list.
1734 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1735 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1736 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1737 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1738
ac9e0e5e
RM
1739 * elf/Makefile (routines): Include $(all-dl-routines), not just
1740 $(dl-routines).
1741 (rtld-routines): Likewise. Use = rather than :=.
1742 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1743 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1744 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1745 * sysdeps/arm/Makefile: Likewise.
1746 * sysdeps/i386/Makefile: Likewise.
1747 * sysdeps/x86_64/Makefile: Likewise.
1748 * sysdeps/hppa/Makefile [$(subdir) = elf]
1749 (sysdep_routines, sysdep-rtld-routines): Don't add
1750 $(sysdep-dl-routines) to these.
1751 * sysdeps/ia64/Makefile: Likewise.
1752 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1753 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1754 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1755 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1756 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1757 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1758 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1759 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1760 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1761 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1762 these; sysdep-dl-routines alone is enough.
1763
639e42eb
JM
17642015-02-06 Joseph Myers <joseph@codesourcery.com>
1765
1c7a4a51
JM
1766 [BZ #17932]
1767 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1768 where multiplication results in zero and third argument is finite
1769 and nonzero.
1770 * math/auto-libm-test-in: Add more tests of fma.
1771 * math/auto-libm-test-out: Regenerated.
1772
61f006c1
JM
1773 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1774 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1775 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1776 (_FP_CMP_EQ): Likewise.
1777 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1778
639e42eb
JM
1779 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1780 extra argument CHECK_NAN. Redefine as wrapper around
1781 _FP_EXTEND_CNAN.
1782
3c0c543b
CD
17832015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1784
4e42b5b8
CD
1785 * version.h (RELEASE): Set to "stable".
1786 (VERSION): Set to "2.21"
1787 * include/features.h (__GLIBC_MINOR__): Set to 21.
1788
3c0c543b
CD
1789 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1790
5bd80bfe 17912015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1792 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1793
1794 [BZ #16618]
1795 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1796 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1797 size in bytes. Store needed elements in wpmax. Use needed size
1798 in bytes for extend_alloca.
1799
3f823f48
CD
18002015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1801
04cb913d
CD
1802 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1803 binutls 2.25, and texinfo 5.2.
1804 * INSTALL: Regenerate.
1805 * sysdeps/nios2/configure: Regenerate.
1806 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1807 * manual/contrib.texi: Update.
1808 * po/be.po: Update.
1809 * po/bg.po: Update.
1810 * po/ca.po: Update.
1811 * po/cs.po: Update.
1812 * po/da.po: Update.
1813 * po/de.po: Update.
1814 * po/el.po: Update.
1815 * po/eo.po: Update.
1816 * po/es.po: Update.
1817 * po/fi.po: Update.
1818 * po/fr.po: Update.
1819 * po/gl.po: Update.
1820 * po/hr.po: Update.
1821 * po/hu.po: Update.
1822 * po/ia.po: Update.
1823 * po/id.po: Update.
1824 * po/it.po: Update.
1825 * po/ja.po: Update.
1826 * po/ko.po: Update.
1827 * po/lt.po: Update.
1828 * po/nb.po: Update.
1829 * po/nl.po: Update.
1830 * po/pl.po: Update.
1831 * po/pt_BR.po: Update.
1832 * po/ru.po: Update.
1833 * po/rw.po: Update.
1834 * po/sk.po: Update.
1835 * po/sl.po: Update.
1836 * po/sv.po: Update.
1837 * po/tr.po: Update.
1838 * po/uk.po: Update.
1839 * po/vi.po: Update.
1840 * po/zh_CN.po: Update.
1841 * po/zh_TW.po: Update.
1842
3f823f48
CD
1843 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1844 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1845 * sysdeps/hppa/dl-irel.h: Remove #warning.
1846 * sysdeps/hppa/entry.h: Provide prototype for
1847 __canonicalize_funcptr_for_compare and cast argument.
1848 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1849 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1850 * sysdeps/hppa/sotruss-lib.c: New file.
1851 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1852 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1853 (atomic_compare_and_exchange_bool_acq): Likewise.
1854 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1855 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1856
1857 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1858 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1859 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1860
34c56048
CLT
18612015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1862
1863 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1864 called function in non-PIC case.
1865
d4abeca5
DM
18662015-01-31 David S. Miller <davem@davemloft.net>
1867
edac0a60
DM
1868 * sysdeps/sparc/sparc32/bits/atomic.h
1869 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1870 unlock not after it.
1871 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1872 volatile register usage warnings from the compiler.
1873
d4abeca5
DM
1874 * sysdeps/sparc/nptl/sem_init.c: Delete.
1875 * sysdeps/sparc/nptl/sem_post.c: Delete.
1876 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1877 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1878 * sysdeps/sparc/sparc32/sem_init.c: New file.
1879 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1880 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1881 padding explicitly initialized.
1882 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1883 padding for in-semaphore spinlock.
1884 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1885 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1886 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1887 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1888 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1889 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1890 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1891 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1892 version.
1893 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1894 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1895
5f3d0b78
L
18962015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1897
1898 [BZ #17801]
1899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1900 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1901 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1902 New.
1903 (index_AVX_Fast_Unaligned_Load): Likewise.
1904 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1905 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1906 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1907 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1908 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1909 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1910 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1911 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1912 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1913
b658fdd8
AS
19142015-01-29 Andreas Schwab <schwab@suse.de>
1915
1916 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1917
3cb26316
SP
19182015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1919
1920 [BZ #17892]
1921 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1922
527de9e4
MS
19232015-01-28 Martin Sebor <msebor@redhat.com>
1924
1925 * math/README.libm-test: Clarify. Add "How to read the test output."
1926
06991eb8
CM
19272015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1928
1929 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1930 Define to 0.
1931
df341342
JM
19322015-01-28 Joseph Myers <joseph@codesourcery.com>
1933
1934 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1935 (__HAVE_64B_ATOMICS): Define to 0.
1936
08cee2a4
AZ
19372015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1938
d4d0ecb2
AZ
1939 [BZ #17885]
1940 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1941 value to set as new flag.
1942
08cee2a4
AZ
1943 [BZ #16576]
1944 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1945 and use _ARCH_PPCSQ instead.
1946 (__ieee754_sqrt): Likewise.
1947 (__ieee754_sqrtf): Likewise.
1948 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1949 _ARCH_PPCSQ is defined.
1950 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1951 fsqrt instruction.
1952 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1953 _ARCH_PPCSQ is defined.
1954 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1955 fsqrts instruction.
1956 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1957
5fe8e359
AK
19582015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1959
1960 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1961 bug (GCC BZ #64739).
1962
24bb7432
AS
19632015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1964
fa20da31
AS
1965 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1966 Mark _retval as used.
1967 (lll_futex_wake_unlock): Likewise.
1968 (lll_futex_timed_wait_requeue_pi): Likewise.
1969
45819cbc
AS
1970 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1971 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1972 register variables.
1973
403cc231
AS
1974 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1975 libm_hidden_def.
1976
24bb7432
AS
1977 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1978 (__bswap_64): Mark as __always_inline.
1979
9317ea65
B
19802015-01-25 Bram <bug_rh@spam.wizbit.be>
1981
1982 [BZ #15378]
1983 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1984 when none of the search directories exist.
1985
0e87343e
AZ
19862015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1987
bea58013
AZ
1988 [BZ #17869]
1989 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1990 power8 in .machine directive.
1991
0e87343e
AZ
1992 [BZ #17868]
1993 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1994 set dependency from opd value.
1995
ede0236c
L
19962015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1997
1998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1999 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2000 architecture.
ede0236c 2001
22971c35
L
20022015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2003
2004 [BZ #17870]
2005 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2006 with uint64_t.
2007 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2008 (uint64_t) 1.
e0da28a1 2009 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
2010 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2011 Replace 1UL with (uint64_t) 1.
2012 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2013 int with uint64_t.
2014
da5bf245
RM
20152015-01-23 Roland McGrath <roland@hack.frob.com>
2016
2ec2d703
RM
2017 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2018 (if_freenameindex): Likewise.
2019
da5bf245
RM
2020 * resource/getrlimit64.c: Add missing libc_hidden_def.
2021
d7423856
JM
20222015-01-22 Joseph Myers <joseph@codesourcery.com>
2023
2024 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2025 __label__.
2026 (_FP_FMA): Likewise.
2027 (_FP_TO_INT_ROUND): Likewise.
2028 (_FP_FROM_INT): Likewise.
2029
6b2ba95b
AZ
20302015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2031
2032 [BZ #16418]
2033 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2034 Make code racy and cancel safe.
2035
ccdb048d
CD
20362015-01-21 Carlos O'Donell <carlos@redhat.com>
2037
191220b3
CD
2038 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2039 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2040 attribution.
2041
0897c551
CD
2042 * pwd/tst-getpw.c: Rewrite.
2043
ccdb048d
CD
2044 [BZ #17702]
2045 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2046 (modules-names): Add moddummy1 and moddummy2.
2047 ($(objpfx)tst-rec-dlopen): Define.
2048 * dlfcn/moddummy1.c: New file.
2049 * dlfcn/moddummy2.c: New file.
2050 * dlfcn/tst-rec-dlopen.c: New file.
2051 * elf/dl-cache.c (_dl_load_cache_lookup):
2052 Return char*. Copy result with alloca/strcpy/strdup.
2053 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2054 returns char*. Free cached. If not saving realname
2055 free cached.
2056 * elf/dl-open.c (dl_open_worker): Do not assert that
2057 _r_debug->r_state is RT_CONSISTENT.
2058 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2059 returns char*.
2060
042e1521
CD
20612015-01-21 Torvald Riegel <triegel@redhat.com>
2062 Carlos O'Donell <carlos@redhat.com>
2063
2064 [BZ #12674]
2065 * nptl/sem_waitcommon.c: New file.
2066 * nptl/sem_wait.c: Include sem_waitcommon.c.
2067 (__sem_wait_cleanup, do_futex_wait): Remove.
2068 (__new_sem_wait): Adapt.
2069 (__new_sem_trywait): New function.
2070 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2071 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2072 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2073 (sem_timedwait): Adapt.
2074 * nptl/sem_post.c (__new_sem_post): Adapt.
2075 (futex_wake): New function.
2076 (__old_sem_post): Add release MO fence.
2077 * nptl/sem_open.c (sem_open): Adapt.
2078 * nptl/sem_init.c (__new_sem_init): Adapt.
2079 (futex_private_if_supported): New function.
2080 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2081 (__old_sem_getvalue): Add using previous code.
2082 * sysdeps/nptl/internaltypes.h: Adapt.
2083 * nptl/tst-sem13.c (do_test): Adapt.
2084 * nptl/tst-sem11.c (main): Adapt.
2085 * nptl/sem_trywait.c: Remove.
2086 * nptl/DESIGN-sem.txt: Remove.
2087 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2088 (gen-as-const-headers): Remove structsem.sym.
2089 * nptl/structsem.sym: Remove.
2090 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2091 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2092 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2093 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2094 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2095 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2096 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2097 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2098 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2099 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2100 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2101 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2102 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2103 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2104 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2105 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2106 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2107 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2108 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2109 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2110 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2111 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2112
fe0e85af
CD
21132015-01-20 Carlos O'Donell <carlos@redhat.com>
2114
a8db092e
CD
2115 * INSTALL: Regenerated.
2116
fe0e85af
CD
2117 * po/libc.pot: Regenerated.
2118
522e6ee3
CLT
21192015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2120 Sandra Loosemore <sandra@codesourcery.com>
2121 Andrew Jenner <andrew@codesourcery.com>
2122 Joseph Myers <joseph@codesourcery.com>
2123 Nathan Sidwell <nathan@codesourcery.com>
2124
2125 * NEWS: Mention new Nios II port.
2126 * sysdeps/nios2/Implies: New file.
2127 * sysdeps/nios2/Makefile: New file.
2128 * sysdeps/nios2/Subdirs: New file.
2129 * sysdeps/nios2/Versions: New file.
2130 * sysdeps/nios2/__longjmp.S: New file.
2131 * sysdeps/nios2/abort-instr.h: New file.
2132 * sysdeps/nios2/backtrace.c: New file.
2133 * sysdeps/nios2/bits/endian.h: New file.
2134 * sysdeps/nios2/bits/fenv.h: New file.
2135 * sysdeps/nios2/bits/link.h: New file.
2136 * sysdeps/nios2/bits/setjmp.h: New file.
2137 * sysdeps/nios2/bsd-_setjmp.S: New file.
2138 * sysdeps/nios2/bsd-setjmp.S: New file.
2139 * sysdeps/nios2/configure: New generated file.
2140 * sysdeps/nios2/configure.ac: New file.
2141 * sysdeps/nios2/crti.S: New file.
2142 * sysdeps/nios2/crtn.S: New file.
2143 * sysdeps/nios2/dl-init.c: New file.
2144 * sysdeps/nios2/dl-machine.h: New file.
2145 * sysdeps/nios2/dl-sysdep.h: New file.
2146 * sysdeps/nios2/dl-tls.h: New file.
2147 * sysdeps/nios2/dl-trampoline.S: New file.
2148 * sysdeps/nios2/gccframe.h: New file.
2149 * sysdeps/nios2/gmp-mparam.h: New file.
2150 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2151 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2152 * sysdeps/nios2/ldsodefs.h: New file.
2153 * sysdeps/nios2/libc-tls.c: New file.
2154 * sysdeps/nios2/libm-test-ulps: New file.
2155 * sysdeps/nios2/machine-gmon.h: New file.
2156 * sysdeps/nios2/math-tests.h: New file.
2157 * sysdeps/nios2/math_private.h: New file.
2158 * sysdeps/nios2/memusage.h: New file.
2159 * sysdeps/nios2/nptl/Makefile: New file.
2160 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2161 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2162 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2163 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2164 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2165 * sysdeps/nios2/nptl/tls.h: New file.
2166 * sysdeps/nios2/preconfigure: New file.
2167 * sysdeps/nios2/s_fma.c: New file.
2168 * sysdeps/nios2/s_fmaf.c: New file.
2169 * sysdeps/nios2/setjmp.S: New file.
2170 * sysdeps/nios2/sfp-machine.h: New file.
2171 * sysdeps/nios2/sotruss-lib.c: New file.
2172 * sysdeps/nios2/stackguard-macros.h: New file.
2173 * sysdeps/nios2/stackinfo.h: New file.
2174 * sysdeps/nios2/start.S: New file.
2175 * sysdeps/nios2/sysdep.h: New file.
2176 * sysdeps/nios2/tls-macros.h: New file.
2177 * sysdeps/nios2/tst-audit.h: New file.
2178 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2179 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2180 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2181 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2182 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2183 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2184 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2185 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2186 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2187 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2188 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2189 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2190 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2191 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2192 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2193 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2194 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2195 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2196 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2197 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2198 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2199 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2200 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2201 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2202 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2203 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2204 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2205 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2206 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2207 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2208 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2209 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2210 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2211 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2212 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2213 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2214 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2215 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2216 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2217 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2218 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2219 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2220 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2221 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2222
026eb207
SL
22232015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2224
2225 [BZ #17844]
2226 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2227 (getutent): Use weak_alias in non SHARED case
2228 and default_symbol_version in SHARED case.
2229 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2230 (getutent_r, pututline): Likewise.
2231 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2232 (getutid): Likewise.
2233 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2234 (getutid_r): Likewise.
2235 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2236 (getutline): Likewise.
2237 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2238 (getutline_r): Likewise.
2239 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2240 (updwtmp): Likewise.
2241
1d532483
SL
22422015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2243
2244 [BZ #17848]
2245 * sysdeps/s390/s390-32/memcmp.S
2246 (memcmp_g5): Rename to __memcmp_g5.
2247 * sysdeps/s390/s390-32/memcpy.S
2248 (memcpy_g5): Rename to __memcpy_g5.
2249 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2250 (memcpy_mvcle) Rename to __memcpy_mvcle.
2251 * sysdeps/s390/s390-32/memset.S
2252 (memset_g5): Rename to __memset_g5.
2253 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2254 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2255 and use prefixed functions.
2256 * sysdeps/s390/s390-32/multiarch/memcmp.S
2257 (memcmp_z196): Rename to __memcmp_z196.
2258 (memcmp_z10): Rename to __memcmp_z10.
2259 (memcmp): Set alias to __memcmp_g5.
2260 (bcmp): Set alias to __memcmp_g5.
2261 * sysdeps/s390/s390-32/multiarch/memcpy.S
2262 (memcpy_z196): Rename to __memcpy_z196.
2263 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2264 (memcpy_z10): Rename to __memcpy_z10.
2265 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2266 (memcpy): Set alias to __memcpy_g5.
2267 * sysdeps/s390/s390-32/multiarch/memset.S
2268 (memset_z196): Rename to __memset_z196.
2269 Jump to __memset_mvcle instead of memset_mvcle.
2270 (memset_z10): Rename to __memset_z10.
2271 Jump to __memset_mvcle instead of memset_mvcle.
2272 (memset_mvcle) Rename to __memset_mvcle.
2273 (memset): Set alias to __memset_g5.
2274 * sysdeps/s390/s390-64/memcmp.S
2275 (memcmp_z900): Rename to __memcmp_z900.
2276 * sysdeps/s390/s390-64/memcpy.S
2277 (memcpy_z900): Rename to __memcpy_z900.
2278 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2279 (memcpy_mvcle) Rename to __memcpy_mvcle.
2280 * sysdeps/s390/s390-64/memset.S
2281 (memset_z900): Rename to __memset_z900.
2282 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2283 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2284 and use prefixed functions.
2285 * sysdeps/s390/s390-64/multiarch/memcmp.S
2286 (memcmp_z196): Rename to __memcmp_z196.
2287 (memcmp_z10): Rename to __memcmp_z10.
2288 (memcmp): Set alias to __memcmp_z900.
2289 (bcmp): Set alias to __memcmp_z900.
2290 * sysdeps/s390/s390-64/multiarch/memcpy.S
2291 (memcpy_z196): Rename to __memcpy_z196.
2292 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2293 (memcpy_z10): Rename to __memcpy_z10.
2294 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2295 (memcpy): Set alias to __memcpy_z900.
2296 * sysdeps/s390/s390-64/multiarch/memset.S
2297 (memset_z196): Rename to __memset_z196.
2298 Jump to __memset_mvcle instead of memset_mvcle.
2299 (memset_z10): Rename to __memset_z10.
2300 Jump to __memset_mvcle instead of memset_mvcle.
2301 (memset_mvcle) Rename to __memset_mvcle.
2302 (memset): Set alias to __memset_z900.
2303
53fbd169
JM
23042015-01-14 Joseph Myers <joseph@codesourcery.com>
2305
2306 [BZ #17748]
2307 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2308 __fesetenv instead of fesetenv.
2309
d639a363
SP
23102015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2311
2312 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2313 macro.
2314
d3b00f46
AZ
23152015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2316
ce6615c9
AZ
2317 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2318 regression on LE.
2319
d3b00f46
AZ
2320 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2321 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2322 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2323 strncmp-power8 object.
2324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2325 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2326 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2327 * NEWS: Update.
2328
72607db0
RS
23292015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2330 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2331
2332 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2333 trailing byte check.
2334
54dc5461
DM
23352015-01-13 David S. Miller <davem@davemloft.net>
2336
2337 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2338
1c6e6f23
RM
23392015-01-13 Roland McGrath <roland@hack.frob.com>
2340
2341 * login/logout.c (logout): Use memset rather than bzero.
2342 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2343 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2344 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2345 (_gethtbyaddr): Likewise.
2346 * locale/programs/simple-hash.c (bcopy): Macro removed.
2347
96d6fd6c
AZ
23482015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2349
8bedcb5f
AZ
2350 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2351 Add strcmp-power8 object.
2352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2353 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2354 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2355 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2356 __strcmp_power8 implementation.
2357 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2358 * NEWS: Update.
2359
f06a4faf
AZ
2360 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2361 Add strncpy-power8 and stpncpy-power8 objects.
2362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2363 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2364 implementations.
2365 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2366 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2367 __stpncpy_power8 implementation.
2368 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2369 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2370 __strncpy_power8 implementation.
2371 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2372 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2373 * NEWS: Update.
2374
9f2f36e5
AZ
2375 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2376 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2377 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2378
96d6fd6c 2379 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2380 strncat-power8 object.
2381 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2382 __strcat_power8 implementation.
2383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2384 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2385 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2386 optimized strcat for power8.
2387
2388 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2389 strcpy-power8 and stpcpy-power8 objects.
2390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2391 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2392 implementations.
2393 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2394 multiarch stpcpy implementation for POWER8.
2395 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2396 multiarch strcpy implementation for POWER8.
2397 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2398 __strcpy_power8 function.
2399 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2400 stpcpy for POWER8.
2401 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2402 strcpy for POWER8.
2403 * NEWS: Update.
2404
0f9e5854
LH
24052015-01-13 Leonhard Holz <leonhard.holz@web.de>
2406
2407 [BZ #16009]
2408 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2409 weights and rules. Use do_xfrm_cached if data fits in cache,
2410 do_xfrm otherwise. Moved former main loop to...
2411 * (do_xfrm_cached): New function.
2412 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2413 find_idx, find_position and stack_push.
2414 * (find_idx): New function.
2415 * (find_position): Likewise.
2416 * localedata/sort-test.sh: Added test run for do_xfrm.
2417 * localedata/xfrm-test.c (main): Added command line option
2418 -nocache to run the test with strings that are too large for
2419 the STRXFRM cache.
2420
c60ec0e0
TR
24212015-01-13 Torvald Riegel <triegel@redhat.com>
2422
2423 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2424 variable to lll_futex_wake call, not the value itself.
2425
34e93d6c
JM
24262015-01-12 Joseph Myers <joseph@codesourcery.com>
2427
5a9e4c09
JM
2428 [BZ #17803]
2429 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2430 twom64. Adjust value to 0x1p-64L.
2431 (__scalblnl): Only return standard underflowing result for K <=
2432 -64 not K <= -63; adjust exponent for underflowing result by 64
2433 not 63.
2434 * math/libm-test.inc (scalbn_test_data): Add more tests.
2435 (scalbln_test_data): Likewise.
2436
34e93d6c
JM
2437 [BZ #17834]
2438 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2439 0x1p63L.
2440 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2441 not HX.
2442 * math/libm-test.inc (scalbn_test_data): Add more tests.
2443 (scalbln_test_data): Likewise.
2444
ca677d3c
AZ
24452015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2446 Stefani Seibold <stefani@seibold.net>
2447
2448 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2449 (sysdep_routines): Add dl-vdso here, ...
2450 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2451 (sysdep_routines): ... not here.
2452 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2453 fallback when vDSO is not presented.
2454 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2455 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2456 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2457 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2458 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2459 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2460 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2461 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2462 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2463 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2464 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2465 fallback configurable symbol when vDSO is not available.
2466 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2467 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2468 be able to redefine fallback symbol when vDSO is not available.
2469 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2470 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2471
49a9f6ab 24722015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2473
56cf2763
AZ
2474 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2475 (TLS_INIT_TP): Add tm_capable initialization.
2476 (TLS_DEFINE_INIT_TP): Likewise.
2477 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2478 TCB.
2479 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2480 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2481 calculation.
2482 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2483 transactoion is lock elision is built and TCB tm_capable is set.
2484 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2486 (INTERNAL_SYSCALL_NCS): Likewise.
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2488 (INTERNAL_SYSCALL_NCS): Likewise.
2489 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2490
4b45943a
AZ
2491 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2492 for powerpc.
2493 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2494 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2495 and remove it for 32 bits case.
2496 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2497 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2498 initialization.
2499 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2500 Disable lock elision with rdlocks if elision is not available.
2501
8d2c0a59
AZ
2502 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2503 (sysdep_routines): Add lock elision objects.
2504 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2505 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2506 [pthread_mutex_t] (__elision): Add field.
2507 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2508 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2509 elision definitions for powerpc.
2510 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2511 implementation of lock elision for powerpc.
2512 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2513 implementation of timed lock elision for powerpc.
2514 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2515 implementation of trylock with lock elision for powerpc.
2516 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2517 implementaion of unlock for lock elision for powerpc.
2518 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2519 automatic enable lock elision for mutexes.
2520 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2521 transaction execution definitions for powerpc.
2522 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2523 definitions.
2524 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2525 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2526 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2527 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2528 * NEWS: Update.
2529
bc0ed9f7
RM
25302015-01-09 Roland McGrath <roland@hack.frob.com>
2531
2532 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2533 for #include of <shm-directory.h>.
2534
585d9c18
CLT
25352015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2536
2537 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2538 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2539
aee6626c
MF
25402015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2541
2542 [BZ #17791]
2543 * NEWS: Mention bug fix.
2544 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2545 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2546 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2547
9e560f48
TR
25482015-01-09 Torvald Riegel <triegel@redhat.com>
2549
2550 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2551
e1cfbd0c
TR
25522015-01-09 Torvald Riegel <triegel@redhat.com>
2553
2554 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2555
cf71e44f
DH
25562015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2557
2558 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2559 pointer and cast to uintptr_t.
2560
b360ee62
DH
25612015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2562
2563 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2564 removed.
2565 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2566
caff764e
DH
25672015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2568
2569 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2570 of 0.
2571
59ff172f
RM
25722015-01-08 Roland McGrath <roland@hack.frob.com>
2573
c97d27f1
RM
2574 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2575 <nptl/pthreadP.h> instead.
2576 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2577
08734ccd
RM
2578 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2579 already defined.
2580 [__SIGRTMIN] (init): Function removed.
2581 [__SIGRTMIN] (initialized): Variable removed.
2582 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2583 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2584 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2585 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2586 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2587 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2588 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2589 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2590 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2591 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2592 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2593 * sysdeps/nptl/allocrtsig.c: New file.
2594 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2595 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2596 * sysdeps/generic/testrtsig.h: File removed.
2597
7b052e33
RM
2598 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2599 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2600
cc40d25e
RM
2601 * nptl/nptl-init.c (pthread_functions): Conditionalize
2602 .ptr__nptl_setxid initialization on [SIGSETXID].
2603
9287adf0
RM
2604 * sysdeps/nptl/sys/procfs.h: New file.
2605 * nptl_db/Makefile (headers): Add it.
2606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2607
59ff172f
RM
2608 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2609 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2610 * nptl/pthread_attr_setaffinity.c: Include it.
2611 * nptl/pthread_setattr_default_np.c: Likewise.
2612 * nptl/check-cpuset.h: New file.
2613
b9205857
RH
26142015-01-08 Richard Henderson <rth@redhat.com>
2615
2616 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2617 (CFLAGS-tst-execstack-prog.c): Likewise.
2618 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2619
1a0a8d15
CLT
26202015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2621 Sandra Loosemore <sandra@codesourcery.com>
2622 Andrew Jenner <andrew@codesourcery.com>
2623 Joseph Myers <joseph@codesourcery.com>
2624 Nathan Sidwell <nathan@codesourcery.com>
2625
2626 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2627 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2628 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2629 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2630 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2631 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2632 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2633 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2634 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2635 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2636 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2637 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2638 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2639 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2640 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2641 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2642 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2643
dd6e8af6
AZ
26442015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2645
2646 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2647 timespec struct member in syscall macro.
2648 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2649 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2650 first timeval struct member in syscall macro.
2651 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2652
8116321f
JM
26532015-01-07 Joseph Myers <joseph@codesourcery.com>
2654
2655 [BZ #17748]
2656 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2657 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2658 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2659 __feupdateenv and define as weak alias of __feupdateenv. Use
2660 libm_hidden_weak.
2661 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2662 libm_hidden_def.
2663 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2664 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2665 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2666 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2667 libm_hidden_def.
2668 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2669 __feupdateenv and define as weak alias of __feupdateenv. Use
2670 libm_hidden_weak.
2671 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2672 libm_hidden_def.
2673 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2674 __feupdateenv and define as weak alias of __feupdateenv. Use
2675 libm_hidden_weak.
2676 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2677 libm_hidden_def.
2678 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2679 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2680 (__feupdateenv): Likewise.
2681 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2682 __feupdateenv and define as weak alias of __feupdateenv. Use
2683 libm_hidden_weak.
2684 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2685 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2686 libm_hidden_def.
2687 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2688 function.
2689 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2690 libm_hidden_def.
2691 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2692 __feupdateenv instead of feupdateenv.
2693 (default_libc_feupdateenv_test): Likewise.
2694 (libc_feresetround_ctx): Likewise.
2695
882dfe18
AZ
26962015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2697
2698 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2699 prototype.
2700
39a12f8d
CM
27012015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2702
2703 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2704 COLL_SYM in a couple of places to avoid uninitialized variable
2705 wanings on tilegx gcc 4.8.2.
2706
dc400d7b
RE
27072015-01-07 Richard Earnshaw <rearnsha@arm.com>
2708
2709 * sysdeps/aarch64/strcpy.S: New file.
2710 * sysdeps/aarch64/stpcpy.S: New file.
2711 * NEWS: Updated.
2712
ec582ca0
RE
27132015-01-07 Richard Earnshaw <rearnsha@arm.com>
2714
2715 * sysdeps/aarch64/strrchr.S: New file.
2716 * NEWS: Updated.
2717
d5b1c5ed
EB
27182015-01-07 Eric Biggers <ebiggers3@gmail.com>
2719
2720 [BZ #17658]
2721 * stdlib/setenv.c: Fix memory leak when setting large,
2722 duplicate string.
2723
fb87ee96
VN
27242015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2725
60f046a8 2726 [BZ #17273]
fb87ee96
VN
2727 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2728 and tabs from buffer before parsing fstab entry.
2729 * misc/tst-mntent.c (main): Add test for mount entry with
2730 trailing spaces and tabs.
2731
cd42798a
JM
27322015-01-06 Joseph Myers <joseph@codesourcery.com>
2733
01238691
JM
2734 [BZ #17748]
2735 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2736 * math/fesetround.c (fesetround): Rename to __fesetround and
2737 define as weak alias of __fesetround. Use libm_hidden_weak.
2738 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2739 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2740 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2741 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2742 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2743 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2744 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2745 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2746 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2747 __fesetround_inline.
2748 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2749 __fesetround_inline instead of __fesetround.
2750 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2751 __fesetround and define as weak alias of __fesetround. Use
2752 libm_hidden_weak. Call __fesetround_inline instead of
2753 __fesetround.
2754 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2755 __fesetround and define as weak alias of __fesetround. Use
2756 libm_hidden_weak.
2757 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2758 Likewise.
2759 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2760 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2761 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2762 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2763 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2764 __fesetround and define as weak alias of __fesetround. Use
2765 libm_hidden_weak.
2766 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2767 __fesetround instead of fesetround.
2768 (default_libc_feholdexcept_setround): Likewise.
2769 (libc_feholdsetround_ctx): Likewise.
2770 (libc_feholdsetround_noex_ctx): Likewise.
2771
cd42798a
JM
2772 [BZ #17748]
2773 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2774 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2775 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2776 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2777 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2778 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2779 define as weak alias of __fesetenv. Use libm_hidden_weak.
2780 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2781 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2782 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2783 define as weak alias of __fesetenv. Use libm_hidden_weak.
2784 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2785 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2786 define as weak alias of __fesetenv. Use libm_hidden_weak.
2787 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2788 libm_hidden_def.
2789 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2790 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2791 Likewise.
2792 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2793 define as weak alias of __fesetenv. Use libm_hidden_weak.
2794 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2795 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2796 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2797 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2798 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2799 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2800 __fesetenv instead of fesetenv.
2801 (libc_feresetround_noex_ctx): Likewise.
2802 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2803 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2804 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2805 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2806 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2807 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2808 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2809 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2810 (__feupdateenv): Likewise.
2811 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2812 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2813 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2814 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2815
38949026
AJ
28162015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2817
1cf98e27 2818 [BZ #17806]
38949026
AJ
2819 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2820 addresses have been freed.
2821
5fe55e9c
AJ
28222015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2823
2824 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2825 and nservall.
2826
dc8ab018
OB
28272015-01-06 Ondřej Bílka <neleai@seznam.cz>
2828
2829 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2830 Clean up check_pf allocation pattern. addresses
2831
14bb4e57
AZ
28322015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2833
2834 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2835 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2836 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2837 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2838 * nptl/pthread_join.c (pthread_join): Likewise.
2839 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2840 * sysdeps/posix/waitid.c (__waitid): Likewise.
2841 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2842 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2843 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2844 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2845 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2846 Likewise.
2847 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2848 (__libc_pread64): Likewise.
2849 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2850 (__libc_pwrite): Likewise.
2851 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2852 (__libc_pwrite64): Likewsie.
2853 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2854 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2855 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2856 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2857 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2858 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2859 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2861 Likewise.
2862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2863 (__libc_pread64): Likewise.
2864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2865 Likewise.
2866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2867 (__libc_pwrite64): Likewise.
2868 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2869 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2870 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2871 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2872 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2873 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2874 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2875 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2876 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2877 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2878 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2879 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2880 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2881 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2882 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2883 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2884 Likewise.
2885
10a5e112
AS
28862015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2887
2888 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2889 (CFLAGS-test-double.c): Likewise.
2890 (CFLAGS-test-ldouble.c): Likewise.
2891 (CPPFLAGS-test-ifloat.c): Likewise.
2892 (CPPFLAGS-test-idouble.c): Likewise.
2893 (CPPFLAGS-test-ildoubl.c): Likewise.
2894 (CFLAGS-test-test-fenv.c): Remove variable.
2895 (CFLAGS-test-misc.c): Likewise.
2896
57ada0e7
L
28972015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2898
2899 [BZ #17797]
2900 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2901 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2902 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2903 CLOCKS_PER_SEC == 1000000.
2904 * time/clocktest.c (main): Replace %ld with %jd and cast to
2905 intmax_t.
2906
46abb64d
RM
29072015-01-05 Roland McGrath <roland@hack.frob.com>
2908
2909 * sysdeps/generic/unwind-resume.h: New file.
2910 * sysdeps/gnu/unwind-resume.c: Include it.
2911 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2912 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2913 argument list.
2914 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2915 global rather than static.
2916 (_Unwind_Resume): Update user.
2917 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2918 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2919 rather than static. Add __attribute__ ((cold)).
2920 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2921 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2922 * sysdeps/arm/arm-unwind-resume.S: New file.
2923 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2924 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2925 * sysdeps/arm/Makefile [$(subdir) = csu]
2926 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2927 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2928 Add rt-arm-unwind-resume.
2929 [$(subdir) = nptl]
2930 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2931 Add pt-arm-unwind-resume.
2932 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2933 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2934
ef9faf13
JM
29352015-01-05 Joseph Myers <joseph@codesourcery.com>
2936
2937 [BZ #17748]
2938 * include/fenv.h (__feholdexcept): Declare. Use
2939 libm_hidden_proto.
2940 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2941 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2942 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2943 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2944 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2945 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2946 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2947 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2948 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2949 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2950 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2951 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2952 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2953 (feholdexcept): Likewise.
2954 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2955 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2956 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2957 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2958 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2959 __feholdexcept instead of feholdexcept.
2960 (default_libc_feholdexcept_setround): Likewise.
2961
295a453e
SE
29622015-01-05 Steve Ellcey <sellcey@imgtec.com>
2963
2964 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2965 to avoid using stl/str to align destination.
2966
882c4b9f
SE
29672015-01-05 Steve Ellcey <sellcey@imgtec.com>
2968
2969 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2970
ac4c11f5
JM
29712015-01-05 Joseph Myers <joseph@codesourcery.com>
2972
2973 [BZ #17796]
2974 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2975 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2976 Define as weak alias not strong alias.
2977
03403e30
SE
29782015-01-05 Steve Ellcey <sellcey@imgtec.com>
2979
2980 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2981 bltzal with addiupc.
2982 (RTLD_START): Ditto.
2983
1dca195e
CM
29842015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2985
00b8b9ba
SP
2986 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2987 for __vdso_* functions in declarations.
2988 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2989 definitions.
2990 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2991 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2992
1dca195e
CM
2993 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2994 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2995 function with cast from llround().
2996 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2997 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2998 Define.
2999
a287953a
JM
30002015-01-05 Joseph Myers <joseph@codesourcery.com>
3001
ab70da77
JM
3002 [BZ #17793]
3003 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3004 Define as weak alias not strong alias.
3005
b8986484
JM
3006 [BZ #17635]
3007 * ctype/ctype-c99.c: New file. isblank implementation moved from
3008 ...
3009 * ctype/ctype-extn.c: ... here.
3010 (__isblank_l): Move to ...
3011 * ctype/ctype-c99_l.c: ... here. New file.
3012 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3013 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3014 Remove variable.
3015 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3016 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3017 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3018 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3019 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3020
a287953a
JM
3021 [BZ #17777]
3022 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3023 (posix_fadvise64): Define as weak alias not strong alias.
3024 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3025 (posix_fallocate64): Likewise.
3026 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3027 Remove variable.
3028 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3029 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3030 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3031 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3032 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3033
b1efe3bb
MF
30342015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3035
3036 [BZ #16191]
3037 * NEWS: Mention bug fix.
3038 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3039 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3040 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3041 (HOST_STACK_END_ADDR): Likewise.
3042
9706dc5f
JM
30432015-01-02 Joseph Myers <joseph@codesourcery.com>
3044
b93c2205
JM
3045 [BZ #17748]
3046 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3047 * math/fegetround.c (fegetround): Rename to __fegetround and
3048 define as weak alias of __fegetround. Use libm_hidden_weak.
3049 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3050 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3051 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3052 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3053 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3054 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3055 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3056 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3057 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3058 Undefine after rather than before function definition; use
3059 parentheses around function name in definition.
3060 (__fegetround): Also undefine macro after function definition.
3061 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3062 __fegetround and define as weak alias of __fegetround. Use
3063 libm_hidden_weak. Do not undefine as macro.
3064 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3065 Likewise.
3066 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3067 __fegetround and define as weak alias of __fegetround. Use
3068 libm_hidden_weak.
3069 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3070 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3071 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3072 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3073 __fegetround and define as weak alias of __fegetround. Use
3074 libm_hidden_weak.
3075 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3076 __fegetround instead of fegetround.
3077
253a59cc
JM
3078 [BZ #17782]
3079 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3080 Condition macro definition on [__USE_MISC].
3081
27dae011
JM
3082 [BZ #17781]
3083 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3084 (struct sigaction): Change type of sa_flags field to int.
3085
172019c0
JM
3086 [BZ #17780]
3087 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3088 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3089 __glibc_reserved0.
3090
522ad1d6
JM
3091 * nptl/version.c (banner): Use single year in copyright notice.
3092
9706dc5f
JM
3093 * NEWS: Update copyright dates.
3094 * catgets/gencat.c (print_version): Likewise.
3095 * csu/version.c (banner): Likewise.
3096 * debug/catchsegv.sh: Likewise.
3097 * debug/pcprofiledump.c (print_version): Likewise.
3098 * debug/xtrace.sh (do_version): Likewise.
3099 * elf/ldconfig.c (print_version): Likewise.
3100 * elf/ldd.bash.in: Likewise.
3101 * elf/pldd.c (print_version): Likewise.
3102 * elf/sotruss.sh: Likewise.
3103 * elf/sprof.c (print_version): Likewise.
3104 * iconv/iconv_prog.c (print_version): Likewise.
3105 * iconv/iconvconfig.c (print_version): Likewise.
3106 * locale/programs/locale.c (print_version): Likewise.
3107 * locale/programs/localedef.c (print_version): Likewise.
3108 * login/programs/pt_chown.c (print_version): Likewise.
3109 * malloc/memusage.sh (do_version): Likewise.
3110 * malloc/memusagestat.c (print_version): Likewise.
3111 * malloc/mtrace.pl: Likewise.
3112 * manual/libc.texinfo: Likewise.
3113 * nptl/version.c (banner): Likewise.
3114 * nscd/nscd.c (print_version): Likewise.
3115 * nss/getent.c (print_version): Likewise.
3116 * nss/makedb.c (print_version): Likewise.
3117 * posix/getconf.c (main): Likewise.
3118 * scripts/test-installation.pl: Likewise.
3119 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3120
b8607aac
WN
31212015-01-02 Will Newton <will.newton@linaro.org>
3122
3123 * sysdeps/arm/armv7/configure: Removed.
3124 * sysdeps/arm/armv7/configure.ac: Likewise.
3125
b168057a
JM
31262015-01-02 Joseph Myers <joseph@codesourcery.com>
3127
3128 * All files with FSF copyright notices: Update copyright dates
3129 using scripts/update-copyrights.
3130 * intl/plural.c: Regenerated.
3131 * locale/programs/charmap-kw.h: Likewise.
3132 * locale/programs/locfile-kw.h: Likewise.
3133
b217c15f
SP
31342015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3135
3136 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3137
73a268c7
JM
31382014-12-31 Joseph Myers <joseph@codesourcery.com>
3139
3140 [BZ #17748]
3141 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3142 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3143 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3144 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3145 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3146 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3147 define as weak alias of __fegetenv. Use libm_hidden_weak.
3148 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3149 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3150 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3151 define as weak alias of __fegetenv. Use libm_hidden_weak.
3152 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3153 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3154 define as weak alias of __fegetenv. Use libm_hidden_weak.
3155 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3156 libm_hidden_def.
3157 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3158 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3159 Likewise.
3160 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3161 define as weak alias of __fegetenv. Use libm_hidden_weak.
3162 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3163 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3164 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3165 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3166 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3167 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3168 __fegetenv instead of fegetenv.
3169 (libc_feholdsetround_noex_ctx): Likewise.
3170
0bd95672
MF
31712014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3172
3173 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3174 (Elf_MIPS_ABIFlags_v0): New structure.
3175 (EF_MIPS_FP64): Define.
3176 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3177 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3178 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3179 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3180 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3181 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3182 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3183 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3184 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3185 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3186 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3187 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3188 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3189 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3190 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3191 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3192 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3193 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3194 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3195 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3196 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3197 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3198 field.
3199 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3200 EF_MIPS_FP64.
3201 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3202 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3203 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3204 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3205 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3206 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3207 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3208 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3209 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3210 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3211 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3212 record the current FP ABI extension.
3213 (mips-mode-switch): Define to show if kernel headers support mode
3214 switching.
3215 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3216 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3217 supported SYSV ABI version to 3.
3218 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3219 feature.
3220
f59ad976
RS
32212014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3222 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3223
3224 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3225 path.
3226 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3227
4a3d3999
JM
32282014-12-31 Joseph Myers <joseph@codesourcery.com>
3229
3230 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3231 __fegetround and redefine to call __fegetround. Remove condition
3232 on [!__NO_MATH_INLINES].
3233 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3234 function.
3235 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3236 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3237 Remove macro.
3238 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3239 instead of <fenv_libc.h>.
3240 (__llrintl): Call fegetround instead of __fegetround.
3241 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3242 instead of <fenv_libc.h>.
3243 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3244 (__lrintl): Call fegetround instead of __fegetround.
3245 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3246 instead of <fenv_libc.h>.
3247 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3248 (__rintl): Call fegetround instead of __fegetround.
3249
195f3afc
SP
32502014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3251
3252 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3253 arrays.
3254
7062bd42
L
32552014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3256
3257 [BZ #17775]
3258 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3259 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3260 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3261
07256e18
AS
32622014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3263
3264 * sysdeps/i386/tls-macros.h: Include <features.h>.
3265 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3266 (TLS_IE): Likewise.
3267 (TLS_LD): Likewise.
3268 (TLS_GD): Likewise.
3269 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3270 define for GCC >= 5.0.
3271
1ff950ad
CM
32722014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3273
3274 * math/test-fenv.c (test_single_exception, set_single_exc,
3275 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3276 feexcp_mask_test, feenable_test, fe_single_test): Add
3277 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3278 case where they are not used.
3279 * math/libm-test.inc: Likewise.
3280 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3281 unused in the absence of FP rounding/exception support.
3282 * stdio-common/tst-printf-round.c: Likewise.
3283 * stdlib/tst-strtod-round.c: Likewise.
3284 * stdlib/tst-strtod-underflow.c: Likewise.
3285
0747f818
JM
32862014-12-30 Joseph Myers <joseph@codesourcery.com>
3287
3288 [BZ #17723]
3289 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3290 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3291 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3292 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3293 libm_hidden_weak.
3294 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3295 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3296 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3297 libm_hidden_def.
3298 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3299 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3300 libm_hidden_weak.
3301 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3302 Likewise.
3303 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3304 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3305 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3306 libm_hidden_weak.
3307 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3308 libm_hidden_def.
3309 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3310 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3311 (__feraiseexcept): Likewise.
3312 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3313 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3314 libm_hidden_weak.
3315 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3316 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3317 libm_hidden_def.
3318 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3319 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3320 Use libm_hidden_def.
3321 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3322 libm_hidden_def.
3323 (feraiseexcept): Define as weak not strong alias. Use
3324 libm_hidden_weak.
3325 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3326 New inline function. Factored out of ...
3327 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3328 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3329 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3330 feraiseexcept.
3331 * math/w_acos.c (__acos): Likewise.
3332 * math/w_asin.c (__asin): Likewise.
3333 * math/w_ilogb.c (__ilogb): Likewise.
3334 * math/w_j0.c (y0): Likewise.
3335 * math/w_j1.c (y1): Likewise.
3336 * math/w_jn.c (yn): Likewise.
3337 * math/w_log.c (__log): Likewise.
3338 * math/w_log10.c (__log10): Likewise.
3339 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3340 * sysdeps/aarch64/fpu/math_private.h
3341 (libc_feupdateenv_test_aarch64): Likewise.
3342 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3343 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3344 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3345 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3346 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3347 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3348 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3349 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3350 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3351 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3352
8d2b2763
L
33532014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3354
3355 [BZ #17732]
3356 * io/test-utime.c (main): Replace %ld with %jd and cast to
3357 intmax_t.
41fad830 3358 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3359 * nptl/tst-mutex5.c: Include <stdint.h>.
3360 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3361 * posix/tst-regex.c (run_test): Likewise.
3362 (run_test_backwards): Likewise.
5d619de4
L
3363 * rt/tst-clock.c: Include <stdint.h>.
3364 (clock_test): Replace %ld with %jd and cast to intmax_t.
3365 * rt/tst-cpuclock1.c: Include <stdint.h>.
3366 (do_test): Replace %lu with %ju and cast to uintmax_t.
3367 * rt/tst-cpuclock2.c: Include <stdint.h>.
3368 (do_test): Replace %lu with %ju and cast to uintmax_t.
3369 * rt/tst-mqueue1.c: Include <stdint.h>.
3370 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3371 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3372 intmax_t.
3373 * rt/tst-mqueue4.c (do_test): Likewise.
3374 * rt/tst-timer4.c: Include <stdint.h>.
3375 (check_ts): Replace %ld with %jd and cast to intmax_t.
3376 (do_test): Likewise.
ad86fbc3
L
3377 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3378 and cast to intmax_t.
37f46900 3379 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3380 * time/clocktest.c (main): Likewise.
3381 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3382 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3383
8b4416d8
AS
33842014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3385 H.J. Lu <hongjiu.lu@intel.com>
3386
3387 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3388 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3389 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3390 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3391 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3392 version if bit_Fast_Unaligned_Load is set.
3393 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3394 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3395 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3396 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3397 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3398 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3400 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3401 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3402 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3403 to 4.
3404 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3405 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3406 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3407 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3408
e47b8d3b
CM
34092014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3410
6d6d7fde
CM
3411 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3412 instead of #if to avoid a Wundef warning.
3413 * stdlib/tst-limits.c (do_test): Likewise.
3414
cd2c37c9
CM
3415 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3416 parallel other exception macros.
3417 (fegetenv): Convert from macro to extern inline so that it applies
3418 retroactively to inline functions already seen by the compiler.
3419 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3420
e47b8d3b
CM
3421 * posix/Makefile (before-compile): Use $(objpfx) for
3422 posix-conf-vars-def.h.
3423
4a6aca7b
SP
34242014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3425
7910c2ae
SP
3426 * posix/getconf.c (main): Use size_t for type of I.
3427 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3428 NSPEC.
3429
50cbbaa9
SP
3430 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3431 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3432 * posix/posix-envs.def: Likewise.
3433 * sysdeps/posix/sysconf.c: Likewise.
3434 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3435 (specs): Remove array.
3436 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3437 array.
3438
3b566046
SP
3439 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3440 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3441 (__sysconf): Use CONF_IS_* macros.
3442
4a6aca7b
SP
3443 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3444 ($(objpfx)posix-conf-vars-def.h): New target.
3445 * posix/posix-conf-vars.list: New file.
3446 * posix/posix-conf-vars.h: New file.
3447 * posix/confstr.c: Include posix-conf-vars.h.
3448 (confstr): Use CONF_IS_* macros.
3449 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3450 CONF_IS_* macros.
3451 * scripts/gen-posix-conf-vars.awk: New file.
3452
7c1395a7
CM
34532014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3454
0025b4cc
CM
3455 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3456 fegetround): Add no-op macros to avoid linknamespace issues.
3457
d8aaf74b
CM
3458 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3459 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3460
5d24aa60
CM
3461 * sysdeps/unix/sysv/linux/tile/sysdep.h
3462 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3463 assembly-specific section to avoid a redefinition warning.
3464
7c1395a7
CM
3465 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3466 long before casting to pointer to avoid a cast warning.
3467
3c87c616
CM
34682014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3469
3470 * sysdeps/tile/tilegx/Implies: New file.
3471
f559d8cf
RE
34722014-12-23 Richard Earnshaw <rearnsha@arm.com>
3473
3474 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3475
7d81e8d6
FW
34762014-12-23 Florian Weimer <fweimer@redhat.com>
3477
3478 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3479
90aa3d09
JM
34802014-12-22 Joseph Myers <joseph@codesourcery.com>
3481
3482 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3483 not define.
3484 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3485 <kernel-features.h>.
3486 (__utimes) [__NR_utimes]: Make code unconditional.
3487 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3488 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3489 (__ASSUME_UTIMES): Do not undefine.
3490 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3491 (__ASSUME_UTIMES): Likewise.
3492 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3493 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3494 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3495 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3496
4c0c0e2a
SE
34972014-12-22 Steve Ellcey <sellcey@imgtec.com>
3498
3499 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3500
0dacd7a3
CM
35012014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3502
b638f96a
CM
3503 [BZ #17747]
3504 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3505 alias to weak alias for j0l, y0l.
3506 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3507 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3508
0dacd7a3
CM
3509 [BZ #17746]
3510 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3511 conversion.
3512
528479c4
SE
35132014-12-22 Steve Ellcey <sellcey@imgtec.com>
3514
3515 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3516 to zero if not already defined.
3517
f56f9124
JM
35182014-12-22 Joseph Myers <joseph@codesourcery.com>
3519
3520 [BZ #17724]
3521 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3522 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3523 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3524 (char *) casts added.
3525 * sysdeps/ieee754/k_standardf.c: New file.
3526 * sysdeps/ieee754/k_standardl.c: Likewise.
3527 * math/Makefile (libm-support): Remove k_standard.
3528 (libm-calls): Add k_standard.
3529
8622d556
WD
35302014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3531
3532 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3533 Optimize to avoid an unnecessary FPCR read.
3534
f3806bdb
WD
35352014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3536
3537 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3538 Optimize to reduce FPCR/FPSR accesses.
3539
9b47df58
WD
35402014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3541
3542 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3543 Call libc_fetestexcept_aarch64.
3544
97be3cac
WD
35452014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3546
3547 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3548 Call libc_fesetround_aarch64.
3549
935ab817
JM
35502014-12-22 Joseph Myers <joseph@codesourcery.com>
3551
3552 [BZ #17733]
3553 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3554 (__bind): Do not define as weak alias.
3555 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3556 define.
3557 (__getsockname): Do not define as weak alias.
3558
cc8623f1
WN
35592014-12-22 Will Newton <will.newton@linaro.org>
3560
3561 * manual/install.texi: Document that we require bison 2.7
3562 or above.
3563 * INSTALL: Regenerate.
3564 * configure.ac: Use AC_CHECK_PROG_VER instead of
3565 AC_PATH_PROG when checking for bison and check for
3566 version 2.7 or above.
3567 * configure: Regenerate.
3568
a19ca65a
CM
35692014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3570
92901170 3571 [BZ #17745]
e969965a
CM
3572 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3573 * sysdeps/tile/ffsll.c (ffsll): To here.
3574
a19ca65a
CM
3575 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3576
050f7298
L
35772014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3578
3579 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3580 if not defined.
3581 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3582 definition.
3583 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3584 hidden ___tls_get_addr.
3585 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3586 hidden __tls_get_addr.
3587 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3588 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3589 Likewise.
3590
6df5547e
AS
35912014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3592
3593 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3594 _dl_init call.
3595
7432d613
L
35962014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3597
3598 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3599 from "call _dl_init@PLT".
3600 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3601
98fe149e
AK
36022014-12-21 Anders Kaseorg <andersk@mit.edu>
3603
3604 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3605 guarantees.
3606
d12455f5
CM
36072014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3608
3609 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3610
95dee05f
CM
36112014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3612
92901170 3613 [BZ #17744]
95dee05f
CM
3614 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3615 strnlen.
3616
2ef4b74a
SE
36172014-12-19 Steve Ellcey <sellcey@imgtec.com>
3618
3619 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3620 of multu on MIPSr6.
3621 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3622 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3623 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3624 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3625 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3626
36272014-12-19 Steve Ellcey <sellcey@imgtec.com>
3628
3629 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3630 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3631 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3632 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3633 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3634 mips32r6/mips64r6.
3635 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3636
3eb38795
OB
36372014-12-19 Ondřej Bílka <neleai@seznam.cz>
3638
3639 * string/strncat.c (STRNCAT): Simplify implementation.
3640
6d4188dd
DM
36412014-12-19 David S. Miller <davem@davemloft.net>
3642
0d4ba8be
DM
3643 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3644 access the quad as both a long double and as a series of 4 words.
3645
6d4188dd
DM
3646 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3647 link_map->l_info array access.
3648
4ef91cdc
CM
36492014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3650
804c54f7
CM
3651 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3652
4ef91cdc
CM
3653 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3654 * math/atest-exp2.c (TIMEOUT): Likewise.
3655 * math/atest-sincos.c (TIMEOUT): Likewise.
3656
afd176d6
L
36572014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3658
3659 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3660 -Wno-error with -fno-builtin-lround.
3661
a4a43a90
TR
36622014-12-19 Torvald Riegel <triegel@redhat.com>
3663
3664 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3665 Contains futex constants and functions moved over from ...
3666 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3667 <lowlevellock-futex.h>.
3668 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3669 (lll_timedwait_tid): Add comments and parentheses around macro
3670 arguments.
3671
76f71081
TR
36722014-12-19 Torvald Riegel <triegel@redhat.com>
3673
3674 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3675 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3676 (__lll_private_flag): Remove.
3677 (lll_futex_wait): Likewise.
3678 (lll_futex_timed_wait): Likewise.
3679 (lll_futex_wake): Likewise.
3680 (lll_futex_requeue): Likewise.
3681 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3682 (__lll_timedwait_tid): Spell out argument names.
3683 (lll_timedwait_tid): Add comments and parentheses around macro
3684 arguments.
3685 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3686 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3687
6b814909
TR
36882014-12-19 Torvald Riegel <triegel@redhat.com>
3689
3690 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3691 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3692 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3693 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3694 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3695 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3696 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3697 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3698 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3699 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3700 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3701 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3702 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3703 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3704 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3705 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3706 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3707 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3708 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3709
9cd4d4ab
L
37102014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3711
3712 * sysdeps/x86_64/x32/Makefile: New file.
3713
c9c1a2d0
L
37142014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3715
3716 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3717 1L with (mp_limb_t) 1.
3718
af102d95
RM
37192014-12-17 Roland McGrath <roland@hack.frob.com>
3720
dd690454
RM
3721 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3722 * nptl/libc_pthread_init.c: ... here.
3723 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3724 * nptl/register-atfork.c: ... here.
3725
74eb826c
RM
3726 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3727 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3728 Use assert_perror to check its return value.
3729 (__gai_create_helper_thread): Likewise.
3730
c9ce306b
RM
3731 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3732
af102d95
RM
3733 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3734
8ac5a76a
JM
37352014-12-17 Joseph Myers <joseph@codesourcery.com>
3736
ea41469b
JM
3737 [BZ #17725]
3738 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3739 __profil_counter.
3740 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3741 Likewise.
3742 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3743 Likewise.
3744 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3745 Likewise.
3746 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3747 (profil_counter): Likewise.
3748 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3749 (profil_counter): Likewise.
3750 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3751 Likewise.
3752 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3753 Likewise.
3754 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3755 (profil_counter): Likewise.
3756 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3757 Likewise.
3758 [!__profil_counter] (profil_counter): Define as weak alias of
3759 __profil_counter.
3760 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3761 (profil_counter): Rename to __profil_counter.
3762 [!__profil_counter] (profil_counter): Define as weak alias of
3763 __profil_counter.
3764 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3765 (profil_counter): Rename to __profil_counter.
3766 [!__profil_counter] (profil_counter): Define as weak alias of
3767 __profil_counter.
3768 * sysdeps/posix/profil.c: Update comment referring to
3769 profil_counter.
3770 (__profil): Use __profil_counter instead of profil_counter.
3771 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3772 __profil_counter. Use __profil_counter_ushort and
3773 __profil_counter_uint in definitions.
3774 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3775 instead of profil_counter_uint and profil_counter_ushort.
3776
8ac5a76a
JM
3777 [BZ #17722]
3778 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3779 define as weak alias of __inet_makeaddr.
3780 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3781 as weak alias of __inet_addr.
3782 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3783 as weak alias of __inet_pton. Use libc_hidden_weak.
3784 * include/arpa/inet.h (__inet_pton): Declare. Use
3785 libc_hidden_proto.
3786 (inet_makeaddr): Don't use libc_hidden_proto.
3787 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3788 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3789 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3790 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3791 Remove variable.
3792 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3793 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3794
66ce3cb1
SE
37952014-12-17 Steve Ellcey <sellcey@imgtec.com>
3796
3797 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3798
d22ce01b
SL
37992014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3800
3801 * stdio-common/bug-vfprintf-nargs.c (do_test):
3802 Cast value to intptr_t to avoid format warning
3803 for usage with PRIdPTR printing macro.
3804
eca2772b
SL
38052014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3806
3807 * libio/tst-widetext.c (do_test):
3808 Use format type %td instead of %Zd for ptrdiff_t
3809 in order to avoid format warning.
3810
bdf079da
AS
38112014-12-17 Andreas Schwab <schwab@suse.de>
3812
3813 * nscd/mem.c (gc): Add size_t cast to match printf format.
3814
3eb5d2fc
RM
38152014-12-16 Roland McGrath <roland@hack.frob.com>
3816
3817 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3818 (init): Apply PTR_MANGLE to pointers before storing them.
3819 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3820 before using them.
3821
d003ada2
JM
38222014-12-16 Joseph Myers <joseph@codesourcery.com>
3823
380292ba
JM
3824 [BZ #17719]
3825 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3826 define as weak alias of __memrchr.
3827 (__memrchr): Do not define as strong alias of memrchr.
3828 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3829 Remove variable.
3830 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3831 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3832 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3833
9a44d530
JM
3834 [BZ #17717]
3835 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3836 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3837 (if_indextoname): Rename to __if_indextoname and define as weak
3838 alias of __if_indextoname. Use libc_hidden_weak.
3839 (if_freenameindex): Rename to __if_freenameindex and define as
3840 weak alias of __if_freenameindex.
3841 (if_nameindex): Rename to __if_nameindex and define as weak alias
3842 of __if_nameindex.
3843 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3844 __if_nametoindex and define as weak alias of __if_nametoindex.
3845 Use libc_hidden_weak.
3846 (if_freenameindex): Rename to __if_freenameindex and define as
3847 weak alias of __if_freenameindex.
3848 (if_nameindex): Rename to __if_nameindex and define as weak alias
3849 of __if_nameindex.
3850 (if_indextoname): Rename to __if_indextoname and define as weak
3851 alias of __if_indextoname. Use libc_hidden_weak.
3852 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3853 __if_nametoindex and define as weak alias of __if_nametoindex.
3854 Use libc_hidden_weak.
3855 (if_freenameindex): Rename to __if_freenameindex and define as
3856 weak alias of __if_freenameindex. Use libc_hidden_weak.
3857 (if_nameindex_netlink): Use __if_freenameindex instead of
3858 if_freenameindex.
3859 (if_nameindex): Rename to __if_nameindex and define as weak alias
3860 of __if_nameindex. Use libc_hidden_weak.
3861 (if_indextoname): Rename to __if_indextoname and define as weak
3862 alias of __if_indextoname. Use libc_hidden_weak.
3863 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3864 libc_hidden_proto.
3865 [!_ISOMAC] (__if_freenameindex): Likewise.
3866 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3867 if_nametoindex.
3868 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3869 variable.
3870 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3871 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3872 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3873 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3874 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3875 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3876 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3877
d003ada2
JM
3878 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3879 Remove variable.
3880 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3881 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3882
a0d424ef
SP
38832014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3884
0cd85520
SP
3885 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3886 subscript above bounds'
3887
a0d424ef
SP
3888 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3889 bounds.
3890
0e426475
AS
38912014-12-16 Arjun Shankar <arjun.is@lostca.se>
3892
8b460906
AS
3893 * libio/tst-fopenloc.c: Use test-skeleton.c.
3894
fa13e15b
AS
3895 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3896 (entry): Rename to ITEM.
3897 (do_test, comp): Adjust.
3898
0e426475
AS
3899 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3900
4f646bce
TR
39012014-12-16 Torvald Riegel <triegel@redhat.com>
3902
3903 * string/tester.c: Include <libc-internal.h>.
3904 (test_memset): Ignore -Wmemset-transposed-args.
3905
a07c4427
TR
39062014-12-16 Torvald Riegel <triegel@redhat.com>
3907
3908 * misc/tst-mntent2.c (do_test): Fix warning.
3909
1469f466
TR
39102014-12-16 Torvald Riegel <triegel@redhat.com>
3911
3912 * elf/tst-unique4lib.cc(a): Mark as used.
3913
11e3417a
FW
39142014-12-16 Florian Weimer <fweimer@redhat.com>
3915
3916 [BZ #17630]
3917 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3918 names.
3919
ae61fc7b
AM
39202014-12-16 Allan McRae <allan@archlinux.org>
3921
3922 * stdio-common/Makefile (tests): Re-add bug26.
3923
363a9899
OB
39242014-12-15 Ondřej Bílka <neleai@seznam.cz>
3925
3926 [BZ #17657]
3927 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3928 static array.
3929
d52c62df
TR
39302014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3931
3932 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3933 (__lll_lock_wait): Likewise.
3934 (__lll_timedlock_wait): Likewise.
3935 (__lll_timedwait_tid): Likewise.
3936 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3937 (__lll_robust_timedlock_wait): Likewise.
3938 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3939 (lll_cond_trylock): Likewise.
3940 (__lll_lock): Likewise.
3941 (__lll_robust_lock): Likewise.
3942 (__lll_cond_lock): Likewise.
3943 (lll_robust_cond_lock): Likewise.
3944 (__lll_timedlock): Likewise.
3945 (__lll_robust_timedlock): Likewise.
3946 (__lll_unlock): Likewise.
3947 (__lll_robust_unlock): Likewise.
3948 (lll_wait_tid): Likewise.
3949 (lll_timedwait_tid): Likewise.
3950
045a6bcd
TR
39512014-12-15 Torvald Riegel <triegel@redhat.com>
3952
3953 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3954
7f786dc1
TR
39552014-12-15 Torvald Riegel <triegel@redhat.com>
3956
3957 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3958
e7e21cba
AZ
39592014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3960
3961 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3962 * stdio-common/tst-sprintf.c: Likewise.
3963
bc89c0fc
TR
39642014-12-15 Torvald Riegel <triegel@redhat.com>
3965
3966 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3967
a5357b7c
JL
39682014-12-15 Jeff Law <law@redhat.com>
3969
3970 [BZ #16617]
3971 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3972 on the heap. (CVE-2012-3406)
3973 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3974 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3975 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3976
3a12c70f
WN
39772014-12-15 Will Newton <will.newton@linaro.org>
3978
3979 * manual/install.texi: Bump required version of texinfo
3980 to 4.7 from 4.5.
3981 * INSTALL: Regenerated.
3982 * configure.ac: Check for makeinfo version 4.7 and above.
3983 * configure: Regenerated.
3984
e4f639e4
RM
39852014-12-12 Roland McGrath <roland@hack.frob.com>
3986
3987 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3988 PREFIX, string constant to insert between directory and name.
3989 * sysdeps/posix/shm_open.c: Update caller.
3990 * sysdeps/posix/shm_unlink.c: Likewise.
3991 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3992 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3993 (SEM_SHM_PREFIX): New macro.
3994 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3995 [$(have-thread-library) = no].
3996 * nptl/Makefile (libpthread-routines): Add shm-directory.
3997 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3998 * sysdeps/nptl/shm-directory.h: New file.
3999 * sysdeps/posix/shm-directory.c
4000 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4001 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4002 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4003 INTERNAL_SYSCALL.
4004 (__where_is_shmfs): Function removed.
4005 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4006 Variables removed.
4007 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4008 Use SHM_GET_NAME.
4009 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4010
4011 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4012 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4013 unconditional for use inside libpthread.
4014 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4015
439c43f6
RM
40162014-12-12 Roland McGrath <roland@hack.frob.com>
4017
c76d1ff5
RM
4018 * nptl/pthread_getaffinity.c: New file.
4019 * nptl/pthread_setaffinity.c: New file.
4020 * nptl/pthread_getname.c: New file.
4021 * nptl/pthread_setname.c: New file.
4022
439c43f6
RM
4023 * nptl/pthread_create.c (START_THREAD_DEFN)
4024 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4025
48e435cd
SL
40262014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4027 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4028
4029 * resolv/res_send.c (send_vc): Disable warning resplen may
4030 be used uninitialized.
4031
9d9c0019
SL
40322014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4033
4034 * nptl/tst-mutex6.c
4035 (ATTR_NULL): New define checks ATTR against NULL.
4036 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4037 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4038
9173840b
JL
40392014-12-11 James Lemke <jwlemke@codesourcery.com>
4040
4041 [BZ #17581]
4042 * malloc/hooks.c
4043 (mem2mem_check): Revert my previous change.
4044 (malloc_check_get_size): Revert my previous change.
4045 (mem2chunk_check): Revert my previous change.
4046
78e21c5d
RM
40472014-12-11 Roland McGrath <roland@hack.frob.com>
4048
4049 * sysdeps/posix/shm-directory.c: New file.
4050 * sysdeps/posix/shm-directory.h: New file.
4051 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4052 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4053 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4054 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4055 Transmute EPERM to EACCES.
4056 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4057 from ...
4058 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4059 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4060
f82c43af
KK
40612014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4062
4063 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4064 pointer and cast to uintptr_t.
4065 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4066 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4067 Add cast to avoid warning.
4068 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4069
fc00cf7b
JM
40702014-12-11 Joseph Myers <joseph@codesourcery.com>
4071
4072 * nptl/semaphore.h: Move to ...
4073 * sysdeps/pthread/semaphore.h: ... here.
4074 * Makefile (installed-headers): Change nptl/semaphore.h to
4075 sysdeps/pthread/semaphore.h.
4076
1c4053db
RM
40772014-12-11 Roland McGrath <roland@hack.frob.com>
4078
73b0c1a1
RM
4079 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4080 generated error format strings.
4081
1c4053db
RM
4082 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4083 -Wformat-extra-args warnings for scanf formats.
4084 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4085 test of zero-length format (duh).
4086 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4087 corner-case scanf format test.
4088 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4089 generated fprintf format string.
4090 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4091 corner-case sprintf format tests.
4092 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4093 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4094 -Wformat-extra-args warnings throughout.
4095 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4096 (CFLAGS-scanf4.c): Likewise.
4097 (CFLAGS-scanf7.c): Likewise.
4098 (CFLAGS-tst-sprintf.c): Likewise.
4099 (CFLAGS-tst-printf.c): Likewise.
4100 (CFLAGS-tst-printfsz.c): Likewise.
4101
47d51f4f
JM
41022014-12-11 Joseph Myers <joseph@codesourcery.com>
4103
a1edbf3c
JM
4104 * include/cpio.h: New file.
4105 * include/fmtmsg.h: Likewise.
4106
47d51f4f
JM
4107 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4108 corresponding format argument to size_t.
4109 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4110 arguments.
4111 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4112 corresponding format argument to size_t.
4113 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4114 arguments.
4115 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4116 corresponding format argument to size_t.
4117 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4118 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4119 (CFLAGS-tst-mbswcs2.c): Likewise.
4120 (CFLAGS-tst-mbswcs3.c): Likewise.
4121 (CFLAGS-tst-mbswcs4.c): Likewise.
4122 (CFLAGS-tst-mbswcs5.c): Likewise.
4123 (CFLAGS-tst-trans.c): Likewise
4124
e9813cfb
RM
41252014-12-11 Roland McGrath <roland@hack.frob.com>
4126
4127 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4128 rather than assuming they won't contain any '%'s.
4129
f627ca82
CM
41302014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4131
4132 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4133 inhibit_loop_to_libcall to avoid recursive calls.
4134 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4135 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4136
7f296942
AZ
41372014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4138
4139 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4140 prototype.
4141
d0276e18
SE
41422014-12-11 Steve Ellcey <sellcey@imgtec.com>
4143
4144 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4145 integer value instead of boolean.
4146
fc56e970
SE
41472014-12-11 Steve Ellcey <sellcey@imgtec.com>
4148
4149 * malloc/malloc.c: Fix powerof2 check.
4150
40e53917
SL
41512014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4152
4153 * locale/programs/locfile.h (maybe_swap_uint32):
4154 Remove inline and add unused attribute.
4155
1ea166df
SL
41562014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4157
9d9c0019 4158 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
4159 Truncating assembler expression to a .long expression.
4160
acf869f4
AS
41612014-12-11 Andreas Schwab <schwab@suse.de>
4162
4163 * elf/rtld.c (struct map_args): Constify str member.
4164 (do_preload): Constify fname argument.
4165
9d969099
AZ
41662014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4167
4168 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4169 constants definition.
4170
da5bcaa4
AS
41712014-12-11 Andreas Schwab <schwab@suse.de>
4172
b0a3c164
AS
4173 [BZ #16657]
4174 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4175 FORCE_ELISION instead of DO_ELISION.
4176 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4177 Remove.
4178 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4179 Likewise.
4180
da5bcaa4
AS
4181 * iconvdata/gconv-modules: Remove duplicate entry.
4182
6d248857
WN
41832014-12-11 Will Newton <will.newton@linaro.org>
4184
4185 Merge gettext 0.19.3 into intl/.
4186
4187 This involves a number of cosmetic changes to comments
4188 and ANSI function definitions and prototypes throughout
4189 all the files. The gettext copyright header is used but
4190 with the date ranges taken from the glibc copy.
4191
4192 * NEWS: Add gettext merge to 2.21.
4193 * intl/bindtextdom.c: Switch to gettext copyright.
4194 Use ANSI definitions and prototypes.
4195 Use gl_* locking primitives rather than __libc_* ones.
4196 Use __builtin_expect rather than __glibc_likely/unlikely.
4197 * intl/dcgettext.c: Switch to gettext copyright.
4198 Use ANSI definitions and prototypes.
4199 * intl/dcigettext.c: Switch to gettext copyright.
4200 Use ANSI definitions and prototypes.
4201 (INTDIV0_RAISES_SIGFPE): New define.
4202 Use gl_* locking primitives rather than __libc_* ones.
4203 Include eval-plural.h instead of plural-eval.c.
4204 Use __builtin_expect rather than __glibc_likely/unlikely.
4205 * intl/dcngettext.c: Switch to gettext copyright.
4206 Use ANSI definitions and prototypes.
4207 * intl/dgettext.c: Likewise.
4208 * intl/dngettext.c: Likewise.
4209 * intl/plural-eval.c: Renamed to...
4210 * intl/eval-plural.h: ...this.
4211 * intl/explodename.c: Switch to gettext copyright.
4212 Use ANSI definitions and prototypes.
4213 (_nl_explode_name): Use strchr instead of __rawmemchr.
4214 * intl/finddomain.c: Switch to gettext copyright.
4215 Use ANSI definitions and prototypes.
4216 Use gl_* locking primitives rather than __libc_* ones.
4217 (_nl_find_domain): Use malloc rather than alloca for
4218 allocation of temporary locale name.
4219 * intl/gettext.c: Switch to gettext copyright.
4220 Use ANSI definitions and prototypes.
4221 * intl/gettextP.h: Switch to gettext copyright.
4222 Use ANSI definitions and prototypes.
4223 Use gl_* locking primitives rather than __libc_* ones.
4224 * intl/gmo.h: Switch to gettext copyright.
4225 (struct sysdep_string): Move struct segment_pair outside of
4226 struct definition.
4227 * intl/hash-string.c: Use ANSI definitions and prototypes.
4228 * intl/hash-string.h: Switch to gettext copyright.
4229 Use ANSI definitions and prototypes.
4230 * intl/l10nflist.c: Switch to gettext copyright.
4231 Use ANSI definitions and prototypes.
4232 (_nl_normalize_codeset): Avoid integer overflow.
4233 * intl/loadinfo.h: Switch to gettext copyright.
4234 Use ANSI definitions and prototypes.
4235 (LIBINTL_DLL_EXPORTED): New define.
4236 (PATH_SEPARATOR): New define.
4237 * intl/loadmsgcat.c: Switch to gettext copyright.
4238 * intl/localealias.c: Switch to gettext copyright.
4239 Use ANSI definitions and prototypes.
4240 (_nl_expand_alias): Use PATH_SEPARATOR.
4241 * intl/ngettext.c: Switch to gettext copyright.
4242 Use ANSI definitions and prototypes.
4243 * intl/plural-exp.c: Likewise.
4244 * intl/plural-exp.h: Switch to gettext copyright.
4245 Use ANSI definitions and prototypes.
4246 (struct expression): Move definition of enum operator outside
4247 of struct definition.
4248 * intl/plural.c: Regenerate.
4249 * intl/plural.y: Switch to gettext copyright.
4250 Use ANSI definitions and prototypes.
4251 Port to bison 3.0.
4252 * intl/textdomain.c: Switch to gettext copyright.
4253 Use ANSI definitions and prototypes.
4254 Use gl_* locking primitives rather than __libc_* ones.
4255
48c43298
SE
42562014-12-10 Steve Ellcey <sellcey@imgtec.com>
4257
4258 * debug/warning-nop.c: Add used atrribute.
4259
2b89bce9
JM
42602014-12-10 Joseph Myers <joseph@codesourcery.com>
4261
c153ac9f
JM
4262 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4263
2b89bce9
JM
4264 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4265 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4266 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4267
2cfbdb9a
JM
42682014-12-10 Joseph Myers <joseph@codesourcery.com>
4269 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4270
4271 [BZ #17634]
4272 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4273 Undefine after defining function. Define as weak alias of
4274 __wcschr. Use libc_hidden_weak.
4275 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4276 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4277 (libc_hidden_def): Also define __GI___wcschr alias.
4278 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4279 __wcschr and define as weak alias of __wcschr.
4280 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4281 __wcschr.
4282 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4283 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4284 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4285 libc_hidden_weak. Do not use libc_hidden_def.
4286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4287 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4288 __GI___wcschr alias.
4289 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4290 [IS_IN (libc)] (wcschr): Define as macro expanding to
4291 __redirect_wcschr.
4292 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4293 [IS_IN (libc)] (__wcschr_power6): Likewise.
4294 [IS_IN (libc)] (__wcschr_power7): Likewise.
4295 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4296 instead of wcschr.
4297 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4298 __libc_wcschr.
4299 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4300 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4301 __wcschr and define as weak alias of __wcschr. Use
4302 libc_hidden_builtin_def.
4303 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4304 as weak alias of __wcschr. Use libc_hidden_weak.
4305 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4306 wcschr.
4307 * time/era.c (_nl_init_era_entries): Likewise.
4308 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4309 variable.
4310 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4311 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4312
1b8bf351
JM
43132014-12-10 Joseph Myers <joseph@codesourcery.com>
4314
4315 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4316 format for long int variable.
4317
f5f46d51
AK
43182014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4319
4320 [BZ #10672]
07008f7d 4321 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4322 qsort stable.
4323
217a74a8
AS
43242014-12-10 Andreas Schwab <schwab@suse.de>
4325
4326 [BZ #12847]
4327 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4328 user-controlled locks.
4329
aa76a5c7
RE
43302014-12-10 Richard Earnshaw <rearnsha@arm.com>
4331
4332 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4333 register.
4334
2084e7ca
JM
43352014-12-10 Joseph Myers <joseph@codesourcery.com>
4336
a4ecc9eb
JM
4337 * configure.ac (--disable-werror): New configure option.
4338 (enable_werror): New AC_SUBST.
4339 * configure: Regenerated.
4340 * config.make.in (enable-werror): New variable.
4341 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4342 -Wno-error=undef.
4343 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4344 * manual/install.texi (Configuring and compiling): Document
4345 --disable-werror.
4346 * INSTALL: Regenerated.
4347 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4348 (CFLAGS-tst-chk2.c): Likewise.
4349 (CFLAGS-tst-chk3.c): Likewise.
4350 (CFLAGS-tst-chk4.cc): Likewise.
4351 (CFLAGS-tst-chk5.cc): Likewise.
4352 (CFLAGS-tst-chk6.cc): Likewise.
4353 (CFLAGS-tst-lfschk1.c): Likewise.
4354 (CFLAGS-tst-lfschk2.c): Likewise.
4355 (CFLAGS-tst-lfschk3.c): Likewise.
4356 (CFLAGS-tst-lfschk4.cc): Likewise.
4357 (CFLAGS-tst-lfschk5.cc): Likewise.
4358 (CFLAGS-tst-lfschk6.cc): Likewise.
4359
0f88636c
JM
4360 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4361 (main): Disable -Wdeprecated-declarations around calls to
4362 register_printf_function.
4363
c81e9deb
JM
4364 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4365 (do_test): Disable -Wdiv-by-zero around some calls to
4366 fwrite_unlocked and fread_unlocked.
4367
2084e7ca
JM
4368 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4369 (DIAG_POP_NEEDS_COMMENT): Likewise.
4370 (_DIAG_STR1): Likewise.
4371 (_DIAG_STR): Likewise.
4372 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4373 * stdio-common/bug21.c: Include <libc-internal.h>.
4374 (do_test): Disable -Wformat around call to sscanf.
4375 * stdio-common/scanf14.c: Include <libc-internal.h>.
4376 (main): Disable -Wformat around some calls to scanf functions.
4377
df7ecc6b
TR
43782014-12-09 Torvald Riegel <triegel@redhat.com>
4379
4380 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4381
2aa3862e
AZ
43822014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4383
4384 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4385 stack variable alignment.
4386
c5c2b7c3
JM
43872014-12-06 Joseph Myers <joseph@codesourcery.com>
4388
4389 [BZ #17682]
4390 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4391 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4392 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4393 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4394 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4395 __getrlimit instead of getrlimit.
4396 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4397 __gettimeofday instead of gettimeofday.
4398 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4399 Likewise.
4400 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4401 Likewise.
4402 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4403 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4404 Remove variable.
4405 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4406 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4407
9752c3cd
AZ
44082014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4409
4410 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4411 for wide-character tests.
4412
4bee4cd9
RM
44132014-12-04 Roland McGrath <roland@hack.frob.com>
4414
4415 * io/openat64.c: #include <libc-internal.h>
4416 (__openat64): Prototypify. Use ignore_value on MODE.
4417 * io/openat.c: Likewise.
4418 * misc/reboot.c: #include <libc-internal.h>
4419 (reboot): Prototypify. Use ignore_value on HOWTO.
4420 * misc/ptrace.c: #include <libc-internal.h>
4421 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4422
84dbedb6
JM
44232014-12-04 Joseph Myers <joseph@codesourcery.com>
4424
4425 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4426 XPG4, UNIX98 and XOPEN2K.
4427 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4428 Remove variable.
4429 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4430
b7a3e1c4 44312014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4432
af50dfc1 4433 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4434 * libio/iofopen.c: Likewise.
4435 * libio/wfileops.c: Likewise.
4436
fe8b4d98
SP
4437 [BZ #17653]
4438 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4439 offset on EOF.
4440 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4441 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4442 (fgets_func): Function pointer to fgets and fgetws.
4443 (do_ftell_test): Add test to verify ftell value after read
4444 EOF.
4445 (do_test): Set fgets_func.
4446
61b4f792
SP
4447 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4448 O_TRUNC flag for w and w+ modes.
4449 (do_rewind_test): Likewise.
4450 (do_ftell_test): Likewise.
4451 (do_write_test): Likewise.
4452
be349d70
SP
4453 [BZ #17647]
4454 * libio/fileops.c (do_ftell): Seek only when there are
4455 unflushed writes.
4456 * libio/wfileops.c (do_ftell_wide): Likewise.
4457 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4458 test case.
4459 (do_one_test): Call it.
4460
e3d6dba5
JM
44612014-12-03 Joseph Myers <joseph@codesourcery.com>
4462
4463 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4464 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4465 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4466 Remove variable.
4467 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4468 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4469 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4470
7f994279
JM
44712014-12-02 Joseph Myers <joseph@codesourcery.com>
4472
28a91e8f
JM
4473 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4474 Remove variable.
4475 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4476
7f994279
JM
4477 [BZ #17668]
4478 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4479 as weak alias of __getifaddrs. Use libc_hidden_weak.
4480 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4481 __freeifaddrs. Use libc_hidden_weak.
4482 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4483 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4484 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4485 __freeifaddrs. Use libc_hidden_weak.
4486 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4487 __getifaddrs and define as weak alias of __getifaddrs. Use
4488 libc_hidden_weak.
4489 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4490 __freeifaddrs. Use libc_hidden_weak.
4491 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4492 Remove variable.
4493 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4494 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4495
bbe4c142
PJ
44962014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4497
4498 [BZ #17601]
4499 * sysdeps/mips/start.S (__start): Use indirect jump to call
4500 __libc_start_main.
4501
66cadc05
JM
45022014-12-02 Joseph Myers <joseph@codesourcery.com>
4503
909e16d9
JM
4504 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4505
4e0b9016
JM
4506 * nptl/tst-mutex1.c: Include <stdbool.h>.
4507 [!ATTR] (ATTR_NULL): New macro.
4508 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4509 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4510 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4511
b1aff6a4
JM
4512 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4513 to char *.
4514
266865c0
JM
4515 [BZ #17665]
4516 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4517 Change conditional to [__USE_MISC].
4518
84e5e756
JM
4519 [BZ #17664]
4520 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4521 fgets_unlocked.
4522 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4523 __fgets_unlocked.
4524 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4525 fgets_unlocked.
4526 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4527 Remove variable.
4528 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4529 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4530 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4531 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4532 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4533 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4534 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4535 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4536 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4537
66cadc05
JM
4538 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4539
2e8a2de2 45402014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
4541
4542 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4543 Remove strpbrk objects.
4544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4545 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4546 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4547 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4548 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4549 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4550
bb2542e0
AZ
4551 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4552 Remove strcspn objects.
4553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4554 (__libc_ifunc_impl_list): Remove strcspn implementation.
4555 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4556 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4557 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4558 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4559
4560 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4561 Remove strspn objetcs.
4562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4563 (__libc_ifunc_impl_list): Remove strspn implementation.
4564 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4565 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4566 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4567 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4568
08f1e1d2
JL
45692014-12-01 James Lemke <jwlemke@codesourcery.com>
4570
4571 [BZ #17581]
4572 * malloc/hooks.c
4573 (mem2mem_check): Add a terminator to the chain of checking blocks.
4574 (malloc_check_get_size): Use it here.
4575 (mem2chunk_check): Ditto.
4576
a8a7d7d2
RS
45772014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4578
4579 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4580 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4581
97114a38
CD
45822014-11-29 Carlos O'Donell <carlos@redhat.com>
4583
c8dc1727
CD
4584 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4585
6d03458e
CD
4586 * nptl/nptl-init.c: Include libc-internal.h.
4587 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4588
97114a38
CD
4589 * elf/ldconfig.c (search_dir): Expand comment.
4590
0e7e69ba
JM
45912014-11-29 Joseph Myers <joseph@codesourcery.com>
4592
4593 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4594 variable.
4595 (linknamespace-symlist-stdlibs-tests): Likewise.
4596 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4597 instead of $(objpfx)symlist-stdlibs.
4598 (linknamespace-libs-isoc): New variable.
4599 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4600 (linknamespace-libs-ISO): New variable.
4601 (linknamespace-libs-ISO99): Likewise.
4602 (linknamespace-libs-ISO11): Likewise.
4603 (linknamespace-libs-XPG3): Likewise.
4604 (linknamespace-libs-XPG4): Likewise.
4605 (linknamespace-libs-POSIX): Likewise.
4606 (linknamespace-libs-UNIX98): Likewise.
4607 (linknamespace-libs-XOPEN2K): Likewise.
4608 (linknamespace-libs-POSIX2008): Likewise.
4609 (linknamespace-libs-XOPEN2K8): Likewise.
4610 ($(objpfx)symlist-stdlibs): Replace by
4611 $(linknamespace-symlist-stdlibs-tests). Use
4612 $(linknamespace-libs-$*) as set of libraries.
4613 ($(linknamespace-header-tests)): Update dependencies. Use
4614 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4615 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4616 * conform/linknamespace.pl: Remove comment about considering
4617 definitions of symbols from irrelevant libraries.
4618
d8dd0080
L
46192014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4620
4621 [BZ #13862]
4622 * elf/dl-tls.c: Include <atomic.h>.
4623 (oom): Remove #ifdef SHARED/#endif.
4624 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4625 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4626 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4627 big enough.
4628 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4629 * nptl/Makefile (tests): Add tst-stack4.
4630 (modules-names): Add tst-stack4mod.
4631 ($(objpfx)tst-stack4): New.
4632 (tst-stack4mod.sos): Likewise.
4633 ($(objpfx)tst-stack4.out): Likewise.
4634 ($(tst-stack4mod.sos)): Likewise.
4635 (clean): Likewise.
4636 * nptl/tst-stack4.c: New file.
4637 * nptl/tst-stack4mod.c: Likewise.
4638
167da422
B
46392014-11-27 J. Brown <jb999@gmx.de>
4640
4641 * sysdeps/x86/bits/string.h: Add recent CPUs.
4642
9114625b
JM
46432014-11-27 Joseph Myers <joseph@codesourcery.com>
4644
6b5189eb
JM
4645 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4646 sigblock.
4647
49051f8e
JM
4648 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4649 feof.
4650
9114625b
JM
4651 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4652 variable.
4653
e7300fef
SL
46542014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4655
4656 * nscd/connections.c: Include libc-internal.h because of macro
4657 usage ignore_value.
4658
1721f0a4
SP
46592014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4660
4661 * string/bits/string3.h (__warn_memset_zero_len): Don't
4662 declare for gcc newer than 5.0.
4663 (memset): Don't test for zero-length __LEN for gcc newer than
4664 5.0.
4665
be970916
JM
46662014-11-27 Joseph Myers <joseph@codesourcery.com>
4667
d88548f4
JM
4668 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4669 size_t for %zu format.
4670
be970916
JM
4671 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4672 difference, not %ju.
4673
3b20fd5c
JM
46742014-11-26 Joseph Myers <joseph@codesourcery.com>
4675
8915eace
JM
4676 * include/libc-internal.h (ignore_value): New macro.
4677 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4678 with ignore_value.
4679
f1a5a0e3
JM
4680 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4681 definition.
4682
59ef1715
JM
4683 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4684 pthread_cleanup_push to void *.
4685
a6f3079b
JM
4686 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4687 Undefine.
4688
706688aa
JM
4689 [BZ #16619]
4690 [BZ #16740]
4691 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4692 instead of 1L << 52.
4693
12da14a5
JM
4694 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4695 * libio/bug-rewind2.c (do_test): Likewise.
4696
bd5dadac
JM
4697 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4698 * debug/test-strcpy_chk-ifunc.c: Likewise.
4699 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4700 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4701 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4702 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4703 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4704 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4705 * Rules [$(multi-arch) = no] (tests): Do not filter out
4706 $(tests-ifunc).
4707 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4708 * debug/Makefile (tests-ifunc): Remove variable.
4709 (tests): Do not add $(tests-ifunc).
4710 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4711 (tests): Do not add $(tests-ifunc).
4712 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4713 [TEST_IFUNC]: Remove conditionals.
4714 * string/test-string.h (TEST_IFUNC): Remove macro.
4715 [TEST_IFUNC]: Remove conditionals.
4716
3b20fd5c
JM
4717 * string/test-strchr.c [!WIDE] (L): New macro.
4718 [WIDE] (L): Likewise.
4719 (check1): Use CHAR instead of char. Use L on string and character
4720 constants.
4721
704f7947
AZ
47222014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4723
4724 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4725 tests.
4726 * sysdeps/powerpc/bits/atomic.h
4727 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4728 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4729 (atomic_exchange_and_add_acq): Likewise.
4730 (atomic_exchange_and_add_rel): Likewise.
4731 * sysdeps/powerpc/powerpc32/bits/atomic.h
4732 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4733 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4734 * sysdeps/powerpc/powerpc64/bits/atomic.h
4735 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4736 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4737
cdcb42d7
TR
47382014-11-26 Torvald Riegel <triegel@redhat.com>
4739
4740 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4741 Change synchronization of __sched_fifo_min_prio and
4742 __sched_fifo_max_prio.
4743 * nptl/pthread_mutexattr_getprioceiling.c
4744 (pthread_mutexattr_getprioceiling): Likewise.
4745 * nptl/pthread_mutexattr_setprioceiling.c
4746 (pthread_mutexattr_setprioceiling): Likewise.
4747 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4748 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4749 Likewise.
4750
c82f5c0c
JM
47512014-11-26 Joseph Myers <joseph@codesourcery.com>
4752
4753 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4754 void.
4755
439e1ad6
JM
47562014-11-25 Joseph Myers <joseph@codesourcery.com>
4757
4758 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4759 third argument const.
4760
b1eda10e
PE
47612014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4762
4763 fnmatch: work around GCC compiler warning bug with uninit var
4764 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4765 This works around a bug with x86-64 GCC 4.9.2 and earlier
4766 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4767 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4768 used uninitialized in this function [-Wmaybe-uninitialized]".
4769
bde2667a
JM
47702014-11-25 Joseph Myers <joseph@codesourcery.com>
4771
4772 * posix/bug-regex31.c (main): Return RES not 0.
4773
5fbb5691
AB
47742014-11-25 Anton Blanchard <anton@samba.org>
4775
4776 * sysdeps/powerpc/bits/atomic.h
4777 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4778
467fec0b
BM
47792014-11-24 Sterling Augustine <saugustine@google.com>
4780
4781 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4782
e9ff8efb
RC
47832014-11-24 Ryan Cumming <etaoins@gmail.com>
4784
4785 [BZ #17608]
4786 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4787
9744496f
JM
47882014-11-24 Joseph Myers <joseph@codesourcery.com>
4789
4790 [BZ #17633]
4791 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4792 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4793 variable.
4794 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4795 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4796
6423d475
WD
47972014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4798
4799 * string/strncpy.c (strncpy): Improve performance by using memset.
4800
48012014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4802
4803 * string/strcpy.c (strcpy):
4804 Improve performance by using strlen and memcpy.
4805
5d178c37
LH
48062014-11-24 Leonhard Holz <leonhard.holz@web.de>
4807
4808 * string/strcoll_l.c (get_next_seq): __always_inline.
4809 * string/strcoll_l.c (do_compare): __always_inline.
4810
279bc5b3
SP
48112014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4812
7a9ebfa1
SP
4813 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4814 defined.
4815 * include/mqueue.h: Likewise.
4816 * include/stdlib.h: Likewise.
4817
4f41c682
SP
4818 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4819 (get_null_defines): Adjust.
4820 * sunrpc/Makefile: Adjust comment.
4821 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4822 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4823 (CFLAGS-interp.c): Likewise.
4824 (CFLAGS-ldconfig.c): Likewise.
4825 (CPPFLAGS-.os): Likewise.
4826 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4827 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4828 * extra-modules.mk (extra-modules.mk): Likewise.
4829 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4830 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4831 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4832 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4833 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4834 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4835 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4836 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4837 * iconvdata/Makefile (CPPFLAGS): Likewise.
4838 (cpp-srcs-left): Add libof for all iconvdata routines.
4839 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4840 * include/assert.h: Likewise.
4841 * include/ctype.h: Likewise.
4842 * include/errno.h: Likewise.
4843 * include/libc-symbols.h: Likewise.
4844 * include/math.h: Likewise.
4845 * include/netdb.h: Likewise.
4846 * include/resolv.h: Likewise.
4847 * include/stdio.h: Likewise.
4848 * include/stdlib.h: Likewise.
4849 * include/string.h: Likewise.
4850 * include/sys/stat.h: Likewise.
4851 * include/wctype.h: Likewise.
4852 * intl/l10nflist.c: Likewise.
4853 * libidn/idn-stub.c: Likewise.
4854 * libio/libioP.h: Likewise.
4855 * nptl/libc_multiple_threads.c: Likewise.
4856 * nptl/pthreadP.h: Likewise.
4857 * posix/regex_internal.h: Likewise.
4858 * resolv/res_hconf.c: Likewise.
4859 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4860 * sysdeps/arm/memmove.S: Likewise.
4861 * sysdeps/arm/sysdep.h: Likewise.
4862 * sysdeps/generic/_itoa.h: Likewise.
4863 * sysdeps/generic/symbol-hacks.h: Likewise.
4864 * sysdeps/gnu/errlist.awk: Likewise.
4865 * sysdeps/gnu/errlist.c: Likewise.
4866 * sysdeps/i386/i586/memcpy.S: Likewise.
4867 * sysdeps/i386/i586/memset.S: Likewise.
4868 * sysdeps/i386/i686/memcpy.S: Likewise.
4869 * sysdeps/i386/i686/memmove.S: Likewise.
4870 * sysdeps/i386/i686/mempcpy.S: Likewise.
4871 * sysdeps/i386/i686/memset.S: Likewise.
4872 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4873 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4874 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4875 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4876 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4877 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4878 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4879 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4880 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4881 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4882 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4883 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4884 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4885 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4886 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4887 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4888 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4889 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4890 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4891 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4892 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4893 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4894 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4895 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4896 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4897 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4898 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4899 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4900 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4901 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4902 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4903 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4904 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4905 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4906 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4907 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4908 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4909 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4910 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4911 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4912 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4913 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4914 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4915 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4916 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4917 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4918 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4919 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4920 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4921 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4922 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4923 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4924 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4925 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4926 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4927 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4928 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4929 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4930 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4931 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4932 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4933 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4934 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4935 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4936 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4937 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4938 * sysdeps/posix/closedir.c: Likewise.
4939 * sysdeps/posix/opendir.c: Likewise.
4940 * sysdeps/posix/readdir.c: Likewise.
4941 * sysdeps/posix/rewinddir.c: Likewise.
4942 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4943 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4944 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4945 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4946 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4947 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4948 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4949 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4950 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4951 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4952 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4953 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4954 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4955 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4956 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4957 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4958 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4959 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4960 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4961 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4962 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4963 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4964 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4965 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4966 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4967 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4968 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4969 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4970 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4971 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4972 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4973 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4974 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4975 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4976 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4977 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4978 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4979 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4980 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4981 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4982 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4983 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4984 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4985 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4986 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4987 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4988 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4989 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4990 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4991 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4992 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4993 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4994 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4995 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4996 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4997 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4998 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4999 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5000 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5001 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5002 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5003 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5004 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5005 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5006 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5007 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5008 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5009 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5010 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5011 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5012 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5013 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5014 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5015 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5016 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5017 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5018 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5019 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5020 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5021 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5022 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5023 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5024 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5025 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5026 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5027 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5028 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5029 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5030 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5031 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5032 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5033 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5034 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5035 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5036 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5037 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5038 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5039 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5040 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5041 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5042 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5043 * sysdeps/unix/alpha/sysdep.S: Likewise.
5044 * sysdeps/unix/alpha/sysdep.h: Likewise.
5045 * sysdeps/unix/make-syscalls.sh: Likewise.
5046 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5047 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5048 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5049 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5050 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5051 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5052 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5053 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5054 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5055 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5056 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5057 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5059 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5060 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5061 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5062 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5063 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5064 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5065 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5066 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5067 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5068 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5069 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5070 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5071 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5072 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5075 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5076 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5077 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5078 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5079 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5080 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5081 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5082 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5083 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5084 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5085 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5086 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5087 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5088 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5089 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5090 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5091 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5092 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5093 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5094 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5095 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5096 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5097 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5098 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5099 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5100 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5101 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5102 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5104 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5105 * sysdeps/x86_64/memcpy.S: Likewise.
5106 * sysdeps/x86_64/memmove.c: Likewise.
5107 * sysdeps/x86_64/memset.S: Likewise.
5108 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5109 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5110 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5111 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5112 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5113 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5114 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5115 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5116 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5117 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5118 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5119 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5120 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5121 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5122 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5123 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5124 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5125 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5126 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5127 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5128 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5129 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5130 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5131 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5132 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5133 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5134 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5135 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5136 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5137 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5138 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5139 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5140 * sysdeps/x86_64/strcmp.S: Likewise.
5141
76ca86a5
SP
5142 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5143
a3848485
SP
5144 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5145 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5146 * elf/rtld-Rules: Likewise.
5147 * elf/setup-vdso.h: Likewise.
5148 * include/assert.h: Likewise.
5149 * include/bits/stdlib-float.h: Likewise.
5150 * include/errno.h: Likewise.
5151 * include/sys/stat.h: Likewise.
5152 * include/unistd.h: Likewise.
5153 * sysdeps/aarch64/setjmp.S: Likewise.
5154 * sysdeps/alpha/setjmp.S: Likewise.
5155 * sysdeps/arm/__longjmp.S: Likewise.
5156 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5157 * sysdeps/arm/setjmp.S: Likewise.
5158 * sysdeps/arm/sysdep.h: Likewise.
5159 * sysdeps/generic/_itoa.h: Likewise.
5160 * sysdeps/generic/dl-sysdep.h: Likewise.
5161 * sysdeps/generic/ldsodefs.h: Likewise.
5162 * sysdeps/i386/dl-tls.h: Likewise.
5163 * sysdeps/i386/setjmp.S: Likewise.
5164 * sysdeps/m68k/setjmp.c: Likewise.
5165 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5166 * sysdeps/mach/hurd/opendir.c: Likewise.
5167 * sysdeps/posix/getcwd.c: Likewise.
5168 * sysdeps/posix/opendir.c: Likewise.
5169 * sysdeps/posix/profil.c: Likewise.
5170 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5171 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5172 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5173 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5174 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5175 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5176 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5177 * sysdeps/s390/dl-tls.h: Likewise.
5178 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5179 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5180 * sysdeps/sh/sh3/setjmp.S: Likewise.
5181 * sysdeps/sh/sh4/setjmp.S: Likewise.
5182 * sysdeps/unix/alpha/sysdep.h: Likewise.
5183 * sysdeps/unix/arm/sysdep.S: Likewise.
5184 * sysdeps/unix/i386/sysdep.S: Likewise.
5185 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5186 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5187 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5188 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5189 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5190 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5191 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5192 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5193 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5194 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5195 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5196 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5197 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5200 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5201 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5202 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5203 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5204 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5205 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5206 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5207 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5208 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5209 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5210 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5211 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5212 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5213 * sysdeps/x86_64/setjmp.S: Likewise.
5214
a109996e
SP
5215 * include/math.h: Use IS_IN instead of IS_IN_libm.
5216 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5217 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5226 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5228 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5231 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5232 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5236 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5237 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5238 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5239 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5240 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5241 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5242 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5243 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5244 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5245 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5246 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5247 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5248 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5250 Likewise.
5251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5252 Likewise.
5253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5254 Likewise.
5255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5256 Likewise.
5257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5258 Likewise.
5259 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5260 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5261 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5262 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5263 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5264 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5270 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5271 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5272 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5273 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5274 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5275 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5276 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5277 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5278 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5279 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5280 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5281 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5282 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5283 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5285 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5286
ce9f10f7
SP
5287 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5288 * nptl/pthreadP.h: Likewise.
5289 * nptl_db/structs.def: Likewise.
5290 * sysdeps/arm/sysdep.h: Likewise.
5291 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5292 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5293 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5294 * sysdeps/unix/alpha/sysdep.h: Likewise.
5295 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5296 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5297 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5298 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5299 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5300 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5301 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5302 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5303 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5304 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5305 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5306 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5307 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5308 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5311 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5312 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5313 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5314 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5315 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5316 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5317 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5318 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5319 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5320 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5321
016afc75
SP
5322 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5323 * nptl/pthreadP.h: Likewise.
5324 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.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/ia64/sysdep-cancel.h: Likewise.
5330 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5331 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5332 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5333 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5334 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5335 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5337 Likewise.
5338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5339 Likewise.
5340 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5341 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5342 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5343 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5345 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5346 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5347 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5348
9b42a0b3
SP
5349 * dlfcn/dladdr.c: Use IS_IN.
5350 * dlfcn/dladdr1.c: Likewise.
5351 * dlfcn/dlclose.c: Likewise.
5352 * dlfcn/dlerror.c: Likewise.
5353 * dlfcn/dlinfo.c: Likewise.
5354 * dlfcn/dlmopen.c: Likewise.
5355 * dlfcn/dlopen.c: Likewise.
5356 * dlfcn/dlsym.c: Likewise.
5357 * dlfcn/dlvsym.c: Likewise.
5358
85f36372
SP
5359 * include/ifaddrs.h: Use IS_IN.
5360 * inet/check_pf.c: Likewise.
5361 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5362 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5363
fb6784e3
SP
5364 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5365 IS_IN_ldconfig.
5366 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5367 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5368
2886d2d1
SP
5369 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5370 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5371 IS_IN (libc).
5372
9a484857
SP
5373 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5374
a10178bd
SP
5375 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5376 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5377 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5378 * include/libc-symbols.h (IS_IN_LIB): New macro.
5379 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5380 * include/netdb.h: Likewise.
5381 * include/stap-probe.h: Remove all uses of IN_LIB.
5382
279bc5b3
SP
5383 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5384 instead of IN_MODULE.
5385 * include/libc-symbols.h (IN_MODULE): Define using
5386 MODULE_NAME.
5387 (PASTE_NAME, PASTE_NAME1): New macros.
5388 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5389 of IN_LIB.
5390 (STAP_PROBE_ASM): Likewise.
5391
e0cfa510
ST
53922014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5393
5394 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5395 __mach_init in dlopened libc.
5396
34d97d87
MF
53972014-11-22 Mike Frysinger <vapier@gentoo.org>
5398
5399 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5400 * sysdeps/arm/preconfigure: Regenerate.
5401
33cd1f74
RM
54022014-11-21 Roland McGrath <roland@hack.frob.com>
5403
5404 * nptl/pthread_create.c (__pthread_create_2_1): Set
5405 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5406 when copying values from IATTR into PD.
5407
8c230039
WN
54082014-11-21 Will Newton <will.newton@linaro.org>
5409 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5410
6d3db89b
AP
5411 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5412 Refactor inline-asm. Also add comment.
5413
01194ba1
WN
5414 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5415 ElfW macro instead of hardcoded Elf64 types.
5416 (la_aarch64_gnu_pltenter): Likewise.
5417 * sysdeps/aarch64/dl-machine.h
5418 (elf_machine_runtime_setup): Use ElfW(Addr).
5419
8c230039
WN
5420 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5421 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5422 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5423 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5424 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5425 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5426 (R_AARCH64_TLS_DTPMOD): This.
5427 (R_AARCH64_TLS_DTPREL64): Rename to ...
5428 (R_AARCH64_TLS_DTPREL): This.
5429 (R_AARCH64_TLS_TPREL64): Rename to ...
5430 (R_AARCH64_TLS_TPREL): This.
5431 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5432 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5433 R_AARCH64_TLS_TPREL64.
5434 (elf_machine_rela): Likewise.
5435
0d79fa53
TR
54362014-11-21 Torvald Riegel <triegel@redhat.com>
5437
5438 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5439 by setting it to 0. 64b atomics are not supported currently.
5440
b59d114b
AO
54412014-11-21 Alexandre Oliva <aoliva@redhat.com>
5442
5443 [BZ #16469]
5444 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5445 search domain names.
5446
f3d945d5
AO
54472014-11-21 Alexandre Oliva <aoliva@redhat.com>
5448
5449 [BZ #16469]
5450 * NEWS: Update.
5451 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5452 trailing dot.
5453 * posix/tst-getaddrinfo5.c: New.
5454 * posix/Makefile (tests): Add it.
5455
49698902
AO
54562014-11-21 Alexandre Oliva <aoliva@redhat.com>
5457
5458 [BZ #14498]
5459 * NEWS: Fixed.
5460 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5461 after parsing line but before break_if_match.
5462 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5463 if there is a protocol mismatch.
5464
81959214
MS
54652014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5466
5467 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5468 because the potential race is on the user-supplied stream.
5469
7729e0e9
AO
54702014-11-21 Alexandre Oliva <aoliva@redhat.com>
5471
5472 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5473 string literal if not passed a buffer.
5474 * manual/job.texi (ctermid): Update reasoning, note deviation
5475 from posix, suggest mtasurace when not passed a buffer, for
5476 future non-preliminary safety notes.
5477
a4ea5e28
AO
54782014-11-21 Alexandre Oliva <aoliva@redhat.com>
5479
5480 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5481 of not passing it a buffer.
5482 Reported by Peng Haitao.
5483
a2b581cb
AO
54842014-11-21 Alexandre Oliva <aoliva@redhat.com>
5485
5486 * manual/Makefile ($(objpfx)stamp-summary): Require
5487 check-safety.sh to pass.
5488 * manual/check-safety.sh: Wish for verification that every
5489 @deftypefn and @deftypefun is followed by a @safety remark.
5490
f214ff74
RM
54912014-11-20 Roland McGrath <roland@hack.frob.com>
5492
7f0dfae0
RM
5493 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5494
2f531bbb
RM
5495 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5496 PTHREAD_CANCEL_ASYNCHRONOUS.
5497 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5498 send SIGCANCEL.
5499
f214ff74
RM
5500 * nptl/default-sched.h: New file.
5501 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5502 * nptl/pthread_create.c: Include it.
5503 (__pthread_create_2_1): Use collect_default_sched instead of making
5504 Linux syscalls here directly.
5505
e37c91d4
TR
55062014-11-20 Torvald Riegel <triegel@redhat.com>
5507
5508 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5509 __pthread_once): Use C11 atomics.
5510
1eccfecd
TR
55112014-11-20 Torvald Riegel <triegel@redhat.com>
5512
5513 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5514
ff871426
TR
55152014-11-20 Torvald Riegel <triegel@redhat.com>
5516
5517 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5518 atomic_thread_fence_acquire, atomic_thread_fence_release,
5519 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5520 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5521 atomic_compare_exchange_weak_relaxed,
5522 atomic_compare_exchange_weak_acquire,
5523 atomic_compare_exchange_weak_release,
5524 atomic_exchange_acquire, atomic_exchange_release,
5525 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5526 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5527 atomic_fetch_and_acquire,
5528 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5529
1ea339b6
TR
55302014-11-20 Torvald Riegel <triegel@redhat.com>
5531
5532 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5533 USE_ATOMIC_COMPILER_BUILTINS): Define.
5534 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5535 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5536 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5537 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5538 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5539 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5540 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5541 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5542 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5543 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5544 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5545 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5546 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5547 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5548 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5549 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5550 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5551 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5552 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5553 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5554 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5555 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5556 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5557 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5558 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5559 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5560 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5561 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5562 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5563 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5564 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5565 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5566 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5567 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5568 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5569 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5570 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5571 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5572 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5573 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5574
cbd463e2
RM
55752014-11-19 Roland McGrath <roland@hack.frob.com>
5576
d960211f
RM
5577 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5578 the sched_priority value here. It was already checked when the user
5579 called pthread_attr_setschedparam.
5580
cbd463e2
RM
5581 * nptl/tst-bad-schedattr.c: New file.
5582 * nptl/Makefile (tests): Add it.
5583
a39208bd
CD
55842014-11-19 Carlos O'Donell <carlos@redhat.com>
5585 Florian Weimer <fweimer@redhat.com>
5586 Joseph Myers <joseph@codesourcery.com>
5587 Adam Conrad <adconrad@0c3.net>
5588 Andreas Schwab <schwab@suse.de>
5589 Brooks <bmoses@google.com>
5590
5591 [BZ #17625]
5592 * wordexp-test.c (__dso_handle): Add prototype.
5593 (__register_atfork): Likewise.
5594 (__app_register_atfork): New function.
5595 (registered_forks): New global.
5596 (register_fork): New function.
5597 (test_case): Add 3 new tests for WRDE_CMDSUB.
5598 (main): Call __app_register_atfork.
5599 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5600 fork count is non-zero fail the test.
5601 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5602 is set.
5603 (parse_dollars): Remove check for WRDE_NOCMD.
5604 (parse_dquote): Likewise.
5605
9cd47470
SP
56062014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5607
130ac68c
SP
5608 * Makeconfig (built-modules): List non-library modules to be
5609 built.
5610 (module-cppflags): Include libc-modules.h for
5611 everything except shlib-versions.v.i.
5612 (CPPFLAGS): Use it.
5613 (before-compile): Add libc-modules.h.
5614 ($(common-objpfx)libc-modules.h,
5615 $(common-objpfx)libc-modules.stmp): New targets.
5616 (common-generated): Add libc-modules.h and libc-modules.stmp.
5617 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5618 * include/libc-symbols.h: Don't include libc-modules.h.
5619 * include/libc-modules.h: Remove file.
5620 * scripts/gen-libc-modules.awk: New script to generate
5621 libc-modules.h.
5622 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5623 Depend on libc-modules.stmp.
5624
286663c3
SP
5625 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5626
9cd47470
SP
5627 * Makeconfig (in-module): Get value of libof set for the
5628 translation unit.
5629 (CPPFLAGS): Use $(in-module).
5630 * Makerules: Don't suffix routine names for nonlib.
5631 * include/libc-modules.h: New file.
5632 * include/libc-symbols.h: Include libc-modules.h
5633 (IS_IN): New macro to replace IS_IN_* macros.
5634 * elf/Makefile: Set libof-* for each routine.
5635 * elf/rtld-Rules: Likewise.
5636 * extra-modules.mk: Likewise.
5637 * iconv/Makefile: Likewise.
5638 * iconvdata/Makefile: Likewise.
5639 * locale/Makefile: Likewise.
5640 * malloc/Makefile: Likewise.
5641 * nss/Makefile: Likewise.
5642 * sysdeps/gnu/Makefile: Likewise.
5643 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5644 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5645 * sysdeps/s390/s390-64/Makefile: Likewise.
5646 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5647 CPPFLAGS for nscd instead of nonlib.
5648
32fed10f
RM
56492014-11-18 Roland McGrath <roland@hack.frob.com>
5650
d71035bd
RM
5651 * nptl/createthread.c: New file.
5652
6540b991
RM
5653 * nptl/createthread.c: Moved ...
5654 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5655
32fed10f
RM
5656 * nptl/createthread.c: Add proper top-line comment.
5657 (do_clone): Folded into ...
5658 (create_thread): ... here. Take new arguments STOPPED_START and
5659 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5660 increment __nptl_threads, do event-reporting logic, do
5661 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5662 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5663 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5664 just send SIGCANCEL.
5665 * nptl/pthread_create.c: Forward-declare create_thread before
5666 including createthread.c.
5667 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5668 declaration, and new macro START_THREAD_SELF to replace argument.
5669 Remove return statement.
5670 (report_thread_creation): New function.
5671 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5672 synchronization logic, and __nptl_nthreads increment here, around
5673 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5674 PD->parent_cancelhandling here, before create_thread. When
5675 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5676 __deallocate_stack, and ENOMEM translation here.
5677
107a5bf0
JM
56782014-11-18 Joseph Myers <joseph@codesourcery.com>
5679
5680 [BZ #17616]
5681 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5682 (mptwo): Rename to __mptwo.
5683 (__inv): Use __mptwo instead of mptwo.
5684 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5685 (mptwo): Rename to __mptwo.
5686 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5687 of mpone and __mptwo instead of mptwo.
5688 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5689 instead of mpone.
5690 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5691 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5692 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5693 of mpone and __mptwo instead of mptwo.
5694 (__mpranred): Use __mpone instead of mpone.
5695 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5696 variable.
5697 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5698 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5699 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5700 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5701 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5702 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5703 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5704 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5705 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5706 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5707 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5708 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5709 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5710 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5711 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5712 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5713 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5714 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5715 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5716
3b679ab3
TV
57172014-11-18 Tom de Vries <tom@codesoucery.com>
5718
5719 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5720 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5721
57222014-11-17 Richard Henderson <rth@redhat.com>
5723
5724 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5725 (_FP_PACK_RAW_2): Remove.
5726 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5727 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5728 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5729 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5730 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5731 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5732 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5733 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5734 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5735 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5736 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5737 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5738 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5739 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5740 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5741 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5742
0781a777
RM
57432014-11-14 Roland McGrath <roland@hack.frob.com>
5744
5745 * signal/signal.h [__USE_MISC]
5746 (struct sigvec): Remove type.
5747 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5748 (sigvec): Remove declaration.
5749 * sysdeps/posix/sigvec.c: Moved ...
5750 * signal/sigvec.c: ... here, replacing old file.
5751 (struct sigvec): New type, copied from old signal.h definition.
5752 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5753 (__sigvec): Convert definition to prototype.
5754 (sigvec): Replace weak_alias with compat_symbol.
5755 * signal/Versions (libc: GLIBC_2.21): New version set.
5756 * include/signal.h: Remove __sigvec declaration.
5757 * sysdeps/unix/bsd/sigvec.c: Remove file.
5758 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5759 * manual/signal.texi (BSD Handler): Remove subsection.
5760 Move siginterrupt up to ...
5761 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5762 (Blocking in BSD): Fold subsection into its parent.
5763 * NEWS: Mention sigvec removal.
5764
a4733812
JM
57652014-11-14 Joseph Myers <joseph@codesourcery.com>
5766
5ae4fe60
JM
5767 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5768 (DLA_FMS): Make definition conditional only on [__FMA4__].
5769 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5770 definition.
5771
6a0dd472
JM
5772 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5773 Make definition conditional only on [PROF].
5774 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5775 definition.
5776 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5777 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5778
a4733812
JM
5779 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5780 !__GNUC__].
5781 * include/signal.h (__sigpause): Move declaration above call to
5782 libc_hidden_proto.
5783 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5784 variable.
5785 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5786 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5787
cf7246dd
DM
57882014-11-14 David S. Miller <davem@davemloft.net>
5789
5790 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5791 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5792
c1b0aadc
JM
57932014-11-14 Joseph Myers <joseph@codesourcery.com>
5794
4863355a
JM
5795 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5796 * configure: Regenerated.
5797 * manual/install.texi (Tools for Compilation): Document a
5798 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5799 compiler verified to work.
5800 * INSTALL: Regenerated.
5801
c1b0aadc
JM
5802 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5803 redeclare with asm name.
5804 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5805 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5806 including <string.h>.
5807 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5808 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5809 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5810 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5811 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5812 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5813 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5814
2a1cfd94
JM
58152014-11-13 Joseph Myers <joseph@codesourcery.com>
5816
bf438382
JM
5817 * stdlib/strtol.c (__strtol): Use prototype definition.
5818
2a1cfd94
JM
5819 [BZ #17594]
5820 * stdlib/strtol.c (SYM__): New macro.
5821 (SYM__1): Likewise.
5822 (__strtol): Likewise.
5823 (strtol): Rename to __strtol and define as weak alias of
5824 __strtol. Use libc_hidden_weak.
5825
20ed0d26
SL
58262014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5827
5828 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5829 Use numbered labels in inline assembly.
5830
53244a4e
SL
58312014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5832
5833 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5834 Add setjmp LIBC_PROBE.
5835 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5836 Likewise.
5837 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5838 Add longjmp, longjmp_target LIBC_PROBE.
5839 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5840 Likewise.
5841
47df8251
SL
58422014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5843
5844 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5845 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5846 to get rid of unused variable warning.
5847
618cebef
SL
58482014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5849
5850 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5851 Check for unwind_backtrace == NULL only in SHARED case.
5852 (__backchain_backtrace): Compile only in SHARED case.
5853 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5854 Likewise.
5855 (__backchain_backtrace): Declare as static.
5856
c6aab2cb
RM
58572014-11-12 Roland McGrath <roland@hack.frob.com>
5858
5859 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5860 (__libc_multiple_threads_ptr): Variable moved ...
5861 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5862
5a6fa4d7
JM
58632014-11-12 Joseph Myers <joseph@codesourcery.com>
5864
24f4f825
JM
5865 * conform/GlibcConform.pm: New file.
5866 * conform/conformtest.pl: Use GlibcConform module.
5867 * conform/linknamespace.pl: New file.
5868 * conform/list-header-symbols.pl: Likewise.
5869 * conform/Makefile (linknamespace-symlists-base): New variable.
5870 (linknamespace-symlists-tests): Likewise.
5871 (linknamespace-header-base): Likewise.
5872 (linknamespace-header-tests): Likewise.
5873 (tests-special): Add new tests.
5874 ($(linknamespace-symlists-tests)): New rule.
5875 (linknamespace-libs): New variable.
5876 ($(objpfx)symlist-stdlibs): New rule.
5877 ($(linknamespace-header-tests)): Likewise.
5878 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5879 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5880 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5881 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5882 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5883 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5884 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5885 (test-xfail-ISO/math.h/linknamespace): Likewise.
5886 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5887 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5888 (test-xfail-ISO/time.h/linknamespace): Likewise.
5889 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5890 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5891 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5892 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5893 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5894 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5895 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5896 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5897 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5898 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5899 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5900 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5901 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5902 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5903 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5904 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5905 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5906 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5907 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5908 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5909 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5910 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5911 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5912 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5913 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5914 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5915 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5916 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5917 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5918 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5919 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5920 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5921 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5922 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5923 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5924 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5925 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5926 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5927 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5928 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5929 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5930 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5931 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5932 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5933 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5934 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5935 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5936 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5937 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5938 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5939 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5940 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5941 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5942 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5943 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5944 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5945 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5946 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5947 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5948 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5949 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5950 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5951 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5952 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5953 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5954 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5955 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5956 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5957 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5958 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5959 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5960 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5961 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5962 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5963 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5964 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5965 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5966 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5967 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5968 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5969 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5970 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5971 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5972 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5973 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5974 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5975 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5976 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5977 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5978 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5979 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5980 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5981 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5982 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5983 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5984 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5985 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5986 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5987 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5988 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5989 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5990 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5991 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5992 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5993 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5994 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5995 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5996 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5997 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5998 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5999 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6000 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6001 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6002 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6003 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6004 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6005 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6006 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6007 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6008 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6009 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6010 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6011 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6012 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6013 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6014 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6015 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6016 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6017 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6018 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6019 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6020 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6021 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6022 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6023 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6024 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6025 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6026 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6027 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6028 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6029 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6030 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6031 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6032 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6033 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6034 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6035 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6036 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6037 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6038 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6039
cc67478e
JM
6040 [BZ #17589]
6041 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6042 of fgets_unlocked.
6043
9975e3d3
JM
6044 [BZ #17585]
6045 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6046 (memmem): Rename to __memmem and define as weak alias of
6047 __memmem. Use libc_hidden_weak.
6048 (__memmem): Use libc_hidden_def.
6049 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6050 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6051 memmem.
6052
c4eae752
JM
6053 [BZ #17582]
6054 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6055 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6056 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6057 and define as weak alias of __fgets_unlocked. Use
6058 libc_hidden_weak.
6059 (__fgets_unlocked): Use libc_hidden_def.
6060 * include/stdio.h (__fgets_unlocked): Declare. Use
6061 libc_hidden_proto.
6062 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6063 __fgets_unlocked instead of fgets_unlocked.
6064 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6065 (GET_NPROCS_CONF_PARSER): Likewise.
6066 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6067 (GET_NPROCS_CONF_PARSER): Likewise.
6068
01cad84e
JM
6069 [BZ #17574]
6070 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6071 weak alias of __wmemset. Use libc_hidden_weak.
6072 (__wmemset): Use libc_hidden_def.
6073 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6074 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6075 of wmemset.
6076
939da411
JM
6077 [BZ #17573]
6078 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6079 with asm name __mempcpy.
6080 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6081
293d9a41
JM
6082 [BZ #17572]
6083 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6084 and define as weak alias of __rawmemchr.
6085 (__rawmemchr): Do not define as strong alias of rawmemchr.
6086
bef8fd60
JM
6087 [BZ #17571]
6088 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6089 alias of __qsort_r.
6090 (qsort): Call __qsort_r instead of qsort_r.
6091 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6092 (__qsort_r): Declare. Call libc_hidden_proto.
6093 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6094 instead of qsort_r.
6095 * nscd/gai.c (__qsort_r): Define to qsort_r.
6096 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6097 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6098 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6099
c52ff39e
JM
6100 [BZ #17570]
6101 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6102 define as weak alias of __malloc_info.
6103
2f5c1b00
JM
6104 [BZ #17584]
6105 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6106 as weak alias of __rewinddir. Don't use libc_hidden_def.
6107 (__rewinddir): Use libc_hidden_def.
6108 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6109 as weak alias of __rewinddir. Don't use libc_hidden_def.
6110 (__rewinddir): Use libc_hidden_def.
6111 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6112 weak alias of __rewinddir. Don't use libc_hidden_def.
6113 (__rewinddir): Use libc_hidden_def.
6114 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6115 (__rewinddir): Use libc_hidden_proto.
6116 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6117 rewinddir.
6118 (__getcwd): Use __rewinddir instead of rewinddir.
6119
5a6fa4d7
JM
6120 [BZ #17583]
6121 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6122 alias of __fileno. Use libc_hidden_weak.
6123 (__fileno): Use libc_hidden_def.
6124 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6125 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6126 alias of __ftello.
6127 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6128 __ftello.
6129 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6130 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6131 libc_hidden_def.
6132 (fread_unlocked): Don't use libc_hidden_ver.
6133 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6134 and define as weak alias of __fread_unlocked. Don't use
6135 libc_hidden_def.
6136 (__fread_unlocked): Use libc_hidden_def.
6137 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6138 (ftello): Don't use libc_hidden_proto.
6139 (__ftello): Declare. Use libc_hidden_proto.
6140 (fread_unlocked): Don't use libc_hidden_proto.
6141 (__fread_unlocked): Declare. Use libc_hidden_proto.
6142 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6143 and __ftello instead of fileno, fread_unlocked and ftello.
6144
2581b98e
SP
61452012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6146
6147 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6148 GOT12.
6149 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6150 Likewise.
6151 (_dl_start_user): Likewise.
6152 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6153
533bb7c2
SP
61542014-11-12 Carlos O'Donell <carlos@redhat.com>
6155 Siddhesh Poyarekar <siddhesh@redhat.com>
6156
6157 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6158 Move argv and envp down instead of moving argc up.
6159 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6160
fffa1cf8
LH
61612014-11-12 Leonhard Holz <leonhard.holz@web.de>
6162
6163 [BZ #17506]
6164 * test-skeleton.c (main): Return successful if one of
6165 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6166 * string/tst-strcoll-overflow.c: Define expected status.
6167
fb89b46d
TU
61682014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6169
6170 [BZ #17475]
6171 * locale/iso-639.def: Define Bhili and Tulu language codes.
6172
5c40c3ba
AH
61732014-11-11 Alan Hayward <alan.hayward@arm.com>
6174
6175 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6176
b17fe01b 61772014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
6178
6179 [BZ #17555]
6180 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6181
bd805071
AS
61822014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6183
6184 * configure.ac: Updated check of minimal required version to
6185 2.22.
6186 * manual/install.texi (Tools for Compilation): Updated version
6187 number.
6188 * configure: Regenerated.
6189 * INSTALL: Likewise.
6190
1400983e
AS
61912014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6192
6193 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6194 __tls_get_addr.
6195
2c46a66a
JM
61962014-11-07 Joseph Myers <joseph@codesourcery.com>
6197
6198 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6199 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6200 (__waitpid): Don't define as alias. Use libc_hidden_def not
6201 libc_hidden_weak.
6202 (waitpid): Define as alias of __waitpid.
6203 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6204 __waitpid.
6205 (__waitpid): Don't define as alias. Use libc_hidden_def not
6206 libc_hidden_weak.
6207 (waitpid): Define as alias of __waitpid.
6208 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6209 __libc_waitpid alias.
6210 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6211 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6212 Likewise.
6213 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6214 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6215 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6216 alias.
6217 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6218 __waitpid.
6219 (__waitpid): Don't define as alias. Use libc_hidden_def not
6220 libc_hidden_weak.
6221 (waitpid): Define as alias of __waitpid.
6222
da53d6db
CD
62232014-11-06 Carlos O'Donell <carlos@redhat.com>
6224
a2887bdb
CD
6225 * manual/llio.texi: Add comment that write safety has been
6226 fixed in Linux.
6227
da53d6db
CD
6228 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6229 (localplt-build-dso): Add elf/ld.so.
6230 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6231 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6232 and free for ld.so.
6233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6234 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6236 Likewise.
6237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6238 Likewise.
6239 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6240 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6241 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6242 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6243 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6244 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6245 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6246 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6247 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6248 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6249 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6250
9cf27b8d
JM
62512014-11-05 Joseph Myers <joseph@codesourcery.com>
6252
6253 [BZ #14132]
6254 * include/libc-symbols.h (INTUSE): Remove macro.
6255 (INTDEF): Likewise.
6256 (INTVARDEF): Likewise.
6257 (_INTVARDEF): Likewise.
6258 (INTDEF2): Likewise.
6259 (INTVARDEF2): Likewise.
6260 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6261 rtld_hidden_def instead of INTVARDEF.
6262 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6263 (_dl_starting_up_internal): Remove declaration.
6264 (_dl_starting_up): Use rtld_hidden_proto.
6265 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6266 declaration.
6267 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6268 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6269 _dl_starting_up.
6270 * elf/dl-writev.h (_dl_writev): Likewise.
6271 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6272 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6273 _dl_starting_up_internal.
6274
af83568d
AZ
62752014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6276
6277 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6278 test-skeleton.c.
6279
b01ee67c
WN
62802014-11-05 Will Newton <will.newton@linaro.org>
6281
6282 * benchtests/Makefile: (bench-malloc): Add malloc thread
6283 scalability benchmark.
6284 * benchtests/bench-malloc-threads.c: New file.
6285
be9d4ccc
RE
62862014-11-05 Richard Earnshaw <rearnsha@arm.com>
6287
6288 * sysdeps/aarch64/strchrnul.S: New file.
6289
7110166d
AZ
62902014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6291
6292 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6293 definition.
6294 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6295 Likwise.
6296 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6297 Likewise.
6298 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6299 Likewise.
6300 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6301 Likewise.
6302 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6303 Likewise.
6304
63052014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6306
6307 * catgets/test-gencat.c: Use test-skeleton.c.
6308 * catgets/tst-catgets.c: Likewise.
6309 * csu/tst-empty.c: Likewise.
6310 * elf/tst-audit2.c: Likewise.
6311 * elf/tst-global1.c: Likewise.
6312 * elf/tst-pathopt.c: Likewise.
6313 * elf/tst-piemod1.c: Likewise.
6314 * elf/tst-tls10.c: Likewise.
6315 * elf/tst-tls11.c: Likewise.
6316 * elf/tst-tls12.c: Likewise.
6317 * gnulib/tst-gcc.c: Likewise.
6318 * iconvdata/tst-e2big.c: Likewise.
6319 * iconvdata/tst-loading.c: Likewise.
6320 * iconv/tst-iconv1.c: Likewise.
6321 * iconv/tst-iconv2.c: Likewise.
6322 * inet/test-inet6_opt.c: Likewise.
6323 * inet/tst-gethnm.c: Likewise.
6324 * inet/tst-network.c: Likewise.
6325 * inet/tst-ntoa.c: Likewise.
6326 * intl/tst-codeset.c: Likewise.
6327 * intl/tst-gettext2.c: Likewise.
6328 * intl/tst-gettext3.c: Likewise.
6329 * intl/tst-ngettext.c: Likewise.
6330 * intl/tst-translit.c: Likewise.
6331 * io/test-stat.c: Likewise.
6332 * libio/test-fmemopen.c: Likewise.
6333 * libio/tst-freopen.c: Likewise.
6334 * libio/tst-sscanf.c: Likewise.
6335 * libio/tst-ungetwc1.c: Likewise.
6336 * libio/tst-ungetwc2.c: Likewise.
6337 * libio/tst-widetext.c: Likewise.
6338 * localedata/tst-ctype.c: Likewise.
6339 * localedata/tst-digits.c: Likewise.
6340 * localedata/tst-leaks.c: Likewise.
6341 * localedata/tst-mbswcs1.c: Likewise.
6342 * localedata/tst-mbswcs2.c: Likewise.
6343 * localedata/tst-mbswcs3.c: Likewise.
6344 * localedata/tst-mbswcs4.c: Likewise.
6345 * localedata/tst-mbswcs5.c: Likewise.
6346 * localedata/tst-setlocale.c: Likewise.
6347 * localedata/tst-trans.c: Likewise.
6348 * localedata/tst-wctype.c: Likewise.
6349 * localedata/tst-xlocale1.c: Likewise.
6350 * login/tst-grantpt.c: Likewise.
6351 * malloc/tst-calloc.c: Likewise.
6352 * malloc/tst-malloc.c: Likewise.
6353 * malloc/tst-mallocstate.c: Likewise.
6354 * malloc/tst-mcheck.c: Likewise.
6355 * malloc/tst-mtrace.c: Likewise.
6356 * malloc/tst-obstack.c: Likewise.
6357 * math/atest-exp2.c: Likewise.
6358 * math/atest-exp.c: Likewise.
6359 * math/atest-sincos.c: Likewise.
6360 * math/test-matherr.c: Likewise.
6361 * math/test-misc.c: Likewise.
6362 * math/test-powl.c: Likewise.
6363 * math/tst-definitions.c: Likewise.
6364 * misc/tst-dirname.c: Likewise.
6365 * misc/tst-efgcvt.c: Likewise.
6366 * misc/tst-fdset.c: Likewise.
6367 * misc/tst-hsearch.c: Likewise.
6368 * misc/tst-mntent2.c: Likewise.
6369 * nptl/tst-sem7.c: Likewise.
6370 * nptl/tst-sem8.c: Likewise.
6371 * nptl/tst-sem9.c: Likewise.
6372 * nss/test-netdb.c: Likewise.
6373 * posix/tst-fnmatch.c: Likewise.
6374 * posix/tst-getlogin.c: Likewise.
6375 * posix/tst-gnuglob.c: Likewise.
6376 * posix/tst-mmap.c: Likewise.
6377 * pwd/tst-getpw.c: Likewise.
6378 * resolv/tst-inet_ntop.c: Likewise.
6379 * rt/tst-timer.c: Likewise.
6380 * stdio-common/test-fseek.c: Likewise.
6381 * stdio-common/test-popen.c: Likewise.
6382 * stdio-common/test-vfprintf.c: Likewise.
6383 * stdio-common/tst-cookie.c: Likewise.
6384 * stdio-common/tst-fileno.c: Likewise.
6385 * stdio-common/tst-gets.c: Likewise.
6386 * stdio-common/tst-obprintf.c: Likewise.
6387 * stdio-common/tst-perror.c: Likewise.
6388 * stdio-common/tst-sprintf2.c: Likewise.
6389 * stdio-common/tst-sprintf3.c: Likewise.
6390 * stdio-common/tst-sprintf.c: Likewise.
6391 * stdio-common/tst-swprintf.c: Likewise.
6392 * stdio-common/tst-tmpnam.c: Likewise.
6393 * stdio-common/tst-unbputc.c: Likewise.
6394 * stdio-common/tst-wc-printf.c: Likewise.
6395 * stdlib/tst-environ.c: Likewise.
6396 * stdlib/tst-fmtmsg.c: Likewise.
6397 * stdlib/tst-limits.c: Likewise.
6398 * stdlib/tst-rand48-2.c: Likewise.
6399 * stdlib/tst-rand48.c: Likewise.
6400 * stdlib/tst-random2.c: Likewise.
6401 * stdlib/tst-random.c: Likewise.
6402 * stdlib/tst-strtol.c: Likewise.
6403 * stdlib/tst-strtoll.c: Likewise.
6404 * stdlib/tst-tls-atexit.c: Likewise.
6405 * stdlib/tst-xpg-basename.c: Likewise.
6406 * string/test-ffs.c: Likewise.
6407 * string/tst-bswap.c: Likewise.
6408 * string/tst-inlcall.c: Likewise.
6409 * string/tst-strtok.c: Likewise.
6410 * string/tst-strxfrm.c: Likewise.
6411 * sysdeps/x86_64/tst-audit10.c: Likewise.
6412 * sysdeps/x86_64/tst-audit3.c: Likewise.
6413 * sysdeps/x86_64/tst-audit4.c: Likewise.
6414 * sysdeps/x86_64/tst-audit5.c: Likewise.
6415 * time/tst-ftime_l.c: Likewise.
6416 * time/tst-getdate.c: Likewise.
6417 * time/tst-mktime3.c: Likewise.
6418 * time/tst-mktime.c: Likewise.
6419 * time/tst-posixtz.c: Likewise.
6420 * time/tst-strptime2.c: Likewise.
6421 * time/tst-strptime3.c: Likewise.
6422 * wcsmbs/tst-btowc.c: Likewise.
6423 * wcsmbs/tst-mbrtowc.c: Likewise.
6424 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6425 * wcsmbs/tst-wchar-h.c: Likewise.
6426 * wcsmbs/tst-wcpncpy.c: Likewise.
6427 * wcsmbs/tst-wcrtomb.c: Likewise.
6428 * wcsmbs/tst-wcsnlen.c: Likewise.
6429 * wcsmbs/tst-wcstof.c: Likewise.
6430
2004e7fb
JM
64312014-11-04 Joseph Myers <joseph@codesourcery.com>
6432
ab97ee8f
JM
6433 [BZ #14132]
6434 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6435 INTDEF.
6436 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6437 declaration.
6438 (_dl_mcount): Use rtld_hidden_proto.
6439 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6440 _dl_mcount.
6441 * elf/rtld.c (_rtld_global_ro): Likewise.
6442
c5684fdb
JM
6443 [BZ #14132]
6444 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6445 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6446 of _dl_init_internal.
6447 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6448 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6449 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6450 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6451 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6452 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6453 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6454 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6455 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6456 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6457 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6458 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6459 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6460 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6461 * sysdeps/tile/dl-start.S (_start): Likewise.
6462 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6463 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6464
4243cbea
JM
6465 [BZ #14132]
6466 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6467 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6468 (rtld_progname): Make macro definition unconditional.
6469 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6470 INTDEF.
6471 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6472 (dl_main): Likewise.
6473 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6474 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6475 instead of _dl_argv_internal.
6476 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6477 __GI__dl_argv instead of INTUSE(_dl_argv).
6478 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6479 __GI__dl_argv instead of _dl_argv_internal.
6480
2004e7fb
JM
6481 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6482 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6483 macro.
6484 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6485 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6486 New macro.
6487 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6488 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6489 macro.
6490 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6491 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6492
97827bfc
AS
64932014-11-04 Andreas Schwab <schwab@suse.de>
6494
6495 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6496
5e4df284
AZ
64972014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6498
6499 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6500 mtvsrd instruction in binary form.
6501
04b76b5a
AS
65022014-11-03 Andreas Schwab <schwab@suse.de>
6503
6504 [BZ #17522]
6505 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6506 for less than MB_LEN_MAX use a local buffer of that size.
6507 * libio/tst-fputws.c: New file.
6508 * libio/Makefile (tests): Add tst-fputws.
6509
4c6da7da
JM
65102014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6511
6512 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6513 the size of the fpu_fr.fpu_dregs[] array.
6514
1679ba8e
JM
65152014-11-01 Joseph Myers <joseph@codesourcery.com>
6516
6517 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6518 (__nanosleep): Do not define as alias.
6519 (nanosleep): Define as alias of __nanosleep.
6520 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6521 __libc_nanosleep name.
6522
2626c183
JM
65232014-10-31 Joseph Myers <joseph@codesourcery.com>
6524
6525 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6526 install.texi in comment.
6527
7f981fc2
TR
65282014-10-31 Torvald Riegel <triegel@redhat.com>
6529
6530 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6531 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6532 ... add here and use lwsync or sync ...
6533 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6534 ... and add here using lwsync.
6535
d6f373d2
MF
65362014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6537
6538 * elf/dl-machine-reject-phdr.h: New file.
6539 * elf/dl-load.c: #include that.
6540 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6541 if that returned true.
6542
67c37987
RM
65432014-10-31 Roland McGrath <roland@hack.frob.com>
6544
6545 [BZ #17496]
6546 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6547 gen-as-const-headers chunk. Add a big scare comment after the last
6548 safe place to touch before-compile.
6549
94a42455 65502014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6551
f3f5d895
JM
6552 * manual/install.texi (Tools for Compilation): Update autoconf
6553 version requirements.
6554 * INSTALL: Regenerated.
6555
f62ff286
JM
6556 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6557 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6558 (__libc_pselect): Likewise.
94a42455
JM
6559
6560 [BZ #14138]
6561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6565
ff9dbdc0
TR
65662014-10-31 Torvald Riegel <triegel@redhat.com>
6567
6568 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6569 correct barrier instruction.
6570 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6571 Likewise.
6572 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6573 Likewise.
6574
b4f66884
RM
65752014-10-30 Roland McGrath <roland@hack.frob.com>
6576
6577 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6578 after defining inlines. Instead, just use parens to defeat macro
6579 expansion of __isctype in its declaration.
6580
e19c95fd
JM
65812014-10-30 Joseph Myers <joseph@codesourcery.com>
6582
6583 * include/sys/uio.h (__libc_readv): Remove declaration.
6584 (__libc_writev): Likewise.
6585 * misc/readv.c (__libc_readv): Rename to __readv.
6586 (__readv): Do not define as alias.
6587 (readv): Define as alias of __readv.
6588 * misc/writev.c (__libc_writev): Rename to __writev.
6589 (__writev): Do not define as alias.
6590 (writev): Define as alias of __writev.
6591 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6592 (__readv): Do not define as alias.
6593 (readv): Define unconditionally as alias of __readv.
6594 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6595 (__writev): Do not define as alias.
6596 (writev): Define unconditionally as alias of __writev.
6597 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6598 name.
6599 (writev): Do not define __libc_writev name.
6600
65b00b6c
RM
66012014-10-30 Roland McGrath <roland@hack.frob.com>
6602
6603 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6604 (convert_charseq): New function, broken out of ...
6605 (use_from_charmap): ... here. Call it.
6606 (use_to_charmap): Use convert_charseq and free instead of duplicating
6607 its code with a variable-length stack struct.
6608
d4e157aa
JM
66092014-10-30 Joseph Myers <joseph@codesourcery.com>
6610
6611 * include/fcntl.h (__libc_creat): Remove declaration.
6612 * io/creat.c (__libc_creat): Rename to creat.
6613 (creat): Do not define as alias.
6614 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6615 of creat instead of __libc_creat.
6616 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6617 to creat.
6618 (creat): Do not define as alias.
6619 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6620 __libc_creat.
6621 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6622 __libc_creat name.
6623 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6624 Likewise.
6625
0c6891a0
CD
66262014-10-29 Carlos O'Donell <carlos@redhat.com>
6627
6628 * manual/llio.texi: Add comments discussing why write() may be
6629 considered MT-unsafe on Linux.
6630
cc00cece
CD
66312014-10-28 Carlos O'Donell <carlos@redhat.com>
6632
6633 * dl-load.c (local_strdup): Remove.
6634 (expand_dynamic_string_token): Use __strdup.
6635 (decompose_rpath): Likewise.
6636 (_dl_map_object): Likewise.
6637
51e623f2
JM
66382014-10-28 Joseph Myers <joseph@codesourcery.com>
6639
6640 [BZ #14132]
6641 * sysdeps/generic/unwind-dw2-fde.c
6642 (__register_frame_info_bases_internal): Do not declare.
6643 (__register_frame_info_table_bases_internal): Likewise.
6644 (__deregister_frame_info_bases_internal): Likewise.
6645 (__register_frame_info_bases): Declare and use hidden_proto before
6646 definition. Use hidden_def instead of INTDEF.
6647 (__register_frame_info_table_bases): Likewise.
6648 (__deregister_frame_info_bases): Likewise.
6649 (__register_frame_info): Do not use INTUSE.
6650 (__register_frame): Likewise.
6651 (__register_frame_info_table): Likewise.
6652 (__register_frame_table): Likewise.
6653 (__deregister_frame_info): Likewise.
6654 (__deregister_frame): Likewise.
6655
03d41216
GC
66562014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6657
6658 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6659 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6660 not undefine.
6661 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6662 Likewise.
6663 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6664 Likewise.
6665
a4b3624d
JM
66662014-10-27 Joseph Myers <joseph@codesourcery.com>
6667
6668 [BZ #14138]
6669 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6670 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6671 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6672 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6673 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6674 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6675 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6676 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6677 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6678 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6679 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6680 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6681 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6682 syscall.
6683 (setfsuid): Likewise.
6684 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6685 (setfsuid): Likewise.
6686 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6687 (setfsuid): Likewise.
6688 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6689 Likewise.
6690 (setfsuid): Likewise.
6691 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6692 (setfsuid): Likewise.
6693 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6694 Likewise.
6695 (setfsuid): Likewise.
6696
3574f2fd
AS
66972014-10-27 Andreas Schwab <schwab@suse.de>
6698
6699 [BZ #17501]
6700 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6701 check for Slow_SSE4_2 feature bit.
6702 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6703 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6704 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6705 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6706
70996a37
RM
67072014-10-24 Roland McGrath <roland@hack.frob.com>
6708
461a7b1e
RM
6709 * configure.ac: Validate compiler version with a empirical test of
6710 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6711 $CC -v output.
6712 * configure: Regenerated.
6713
70996a37
RM
6714 * inet/htons.c (htons): Prototypify.
6715 * inet/htonl.c (htonl): Likewise.
6716
e80514b5
WD
67172014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6718
6719 * string/strncat.c (strncat): Improve performance by using strlen.
6720
6e46de42
WD
67212014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6722
6723 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6724
6a9ad2fa
WD
67252014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6726
6727 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6728 Call libc_fetestexcept_aarch64.
6729
1c8810ed
WD
67302014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6731
6732 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6733 Call libc_feholdexcept_aarch64.
6734
8b1af712
WD
67352014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6736
6737 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6738 Call get_rounding_mode.
6739
a7b00c11
WD
67402014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6741
6742 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6743 Simplify logic.
6744
3a84f1a6
WD
67452014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6746
6747 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6748 Simplify logic.
6749
48eb7a94
JM
67502014-10-24 Joseph Myers <joseph@codesourcery.com>
6751
c8bc4038
JM
6752 [BZ #14138]
6753 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6754 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6755 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6756 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6757 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6758 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6759 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6760 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6761 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6762 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6763 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6764 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6765 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6766 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6767 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6768 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6769 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6770 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6771 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6772 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6773 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6774 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6775 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6776 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6777 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6778 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6779 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6780 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6781 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6782 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6783 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6784 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6785 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6786 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6787 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6788 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6789 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6790 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6791 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6792 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6793 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6794 syscall.
6795 (geteuid): Likewise.
6796 (getgid): Likewise.
6797 (getuid): Likewise.
6798 (getresgid): Likewise.
6799 (getresuid): Likewise.
6800 (getgroups): Likewise.
6801 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6802 (geteuid): Likewise.
6803 (getgid): Likewise.
6804 (getuid): Likewise.
6805 (getresgid): Likewise.
6806 (getresuid): Likewise.
6807 (getgroups): Likewise.
6808 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6809 (geteuid): Likewise.
6810 (getgid): Likewise.
6811 (getuid): Likewise.
6812 (getresgid): Likewise.
6813 (getresuid): Likewise.
6814 (getgroups): Likewise.
6815 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6816 Likewise.
6817 (geteuid): Likewise.
6818 (getgid): Likewise.
6819 (getuid): Likewise.
6820 (getresgid): Likewise.
6821 (getresuid): Likewise.
6822 (getgroups): Likewise.
6823 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6824 (geteuid): Likewise.
6825 (getgid): Likewise.
6826 (getuid): Likewise.
6827 (getresgid): Likewise.
6828 (getresuid): Likewise.
6829 (getgroups): Likewise.
6830 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6831 Likewise.
6832 (geteuid): Likewise.
6833 (getgid): Likewise.
6834 (getuid): Likewise.
6835 (getgroups): Likewise.
6836
48eb7a94
JM
6837 [BZ #14138]
6838 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6839 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6840 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6841 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6842 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6843 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6844 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6845 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6846 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6847 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6848 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6849 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6850 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6851 __chown.
6852 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6853 (lchown): Likewise.
6854 (fchown): Likewise.
6855 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6856 Likewise.
6857 (lchown): Likewise.
6858 (fchown): Likewise.
6859 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6860 (lchown): Likewise.
6861 (fchown): Likewise.
6862 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6863 Likewise.
6864 (lchown): Likewise.
6865 (fchown): Likewise.
6866
ea9a7c8b
WD
68672014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6868
6869 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6870 Simplify logic.
6871
e226de33
WD
68722014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6873
6874 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6875 Cleanup logic.
6876
6e3d8ed3
WD
68772014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6878
6879 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6880 Remove unused include.
6881
eb04247d
WD
68822014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6883
6884 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6885 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6886 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6887 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6888
13d84554
CD
68892014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6890 Helge Deller <deller@gmx.de>
6891
6892 [BZ #17508]
6893 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6894 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6895 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6896
15f9c5df
JM
68972014-10-23 Joseph Myers <joseph@codesourcery.com>
6898
6899 [BZ #14132]
6900 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6901 Remove macro definition.
6902 (__ashrdi3_v_glibc20): Likewise.
6903 (__lshrdi3_v_glibc20): Likewise.
6904 (__cmpdi2_v_glibc20): Likewise.
6905 (__ucmpdi2_v_glibc20): Likewise.
6906 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6907 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6908 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6909 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6910 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6911 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6912
c6dfed24
RM
69132014-10-22 Roland McGrath <roland@hack.frob.com>
6914
6915 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6916 old GNU extension [0] syntax.
6917 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6918 alloca rather than an array member with variable length.
6919 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6920 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6921 (parse_opt): ... here. Likewise use alloca there.
6922 Validate the -i argument before checking for rootness.
6923 (send_shutdown): New function, broken out of ...
6924 (parse_opt): ... here.
6925
8c2b1ed8
RM
69262014-10-22 Roland McGrath <roland@hack.frob.com>
6927
6928 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6929 macro to get at the _rt_local_ro field.
6930 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6931 ([PIC] case) or _dl_hwcap ([!PIC] case).
6932 * sysdeps/arm/setjmp.S: Likewise.
6933
6934 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6935 * sysdeps/arm/configure.ac: New check to define it.
6936 * sysdeps/arm/configure: Regenerated.
6937 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6938 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6939 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6940 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6941 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6942 Use move/movt pair instead of a load.
6943 (LDST_GLOBAL): Macro removed.
6944 (LDR_GLOBAL): New macro replaces it.
6945 (LDR_HIDDEN): New macro.
6946 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6947 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6948
6949 * setjmp/tst-setjmp-static.c: New file.
6950 * setjmp/Makefile (tests): Add it.
6951 (tests-static): New variable.
6952
b5af9297
MR
69532014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6954
6955 [BZ #17485]
6956 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6957
a13d0d74
JM
69582014-10-21 Joseph Myers <joseph@codesourcery.com>
6959
6960 [BZ #14132]
6961 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6962
f05e73f6
RM
69632014-10-21 Roland McGrath <roland@hack.frob.com>
6964
6965 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6966
6ab1d1ea
RM
69672014-10-20 Roland McGrath <roland@hack.frob.com>
6968
6969 * io/fts.c (dirent_not_directory): New function.
6970 (fts_build): Call it.
6971
ab49e763
RM
69722014-10-20 Roland McGrath <roland@hack.frob.com>
6973
e436eb79
RM
6974 * nptl/version.c (__nptl_main): Use normal __write rather than
6975 INTERNAL_SYSCALL.
6976 (banner): Update copyright years.
6977
6af246cf
RM
6978 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6979 gettimeofday.
6980 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6981 * nptl/pthread_cond_timedwait.c: Likewise.
6982 * nptl/pthread_mutex_timedlock.c: Likewise.
6983 * nptl/sem_timedwait.c: Likewise.
6984
ab49e763
RM
6985 * sysdeps/nptl/bits/libc-lock.h
6986 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6987 (__libc_lock_init_recursive): Return void, not 0.
6988 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6989 (__libc_rwlock_init): Likewise.
6990 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6991
f50277c1
TR
69922014-10-20 Torvald Riegel <triegel@redhat.com>
6993
6994 [BZ #15215]
6995 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6996 (__pthread_once_slow): ... here.
6997 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6998 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6999
63668b70
TR
70002014-10-20 Torvald Riegel <triegel@redhat.com>
7001
7002 [BZ #15215]
7003 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7004 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7005 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7006 * nptl/pthread_once.c (__pthread_once): Likewise.
7007 Update comments.
7008
42b7f5d4
JM
70092014-10-20 Joseph Myers <joseph@codesourcery.com>
7010
7011 [BZ #14138]
7012 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7013 name.
7014 (writev): Use __libc_writev as strong name.
7015 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7016 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7017
b0643088
RM
70182014-10-17 Roland McGrath <roland@hack.frob.com>
7019
114c4e09
RM
7020 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7021
674b8978
RM
7022 * sysdeps/i386/nptl/tls.h
7023 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7024 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7025 New macros.
7026 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7027 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7028 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7029 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7030 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7031 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7032
184ee940
RM
7033 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7034 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7035 on [__NR_futex].
7036 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7037 broken out of ...
7038 (__pthread_mutex_init): ... here. Call it.
7039 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7040 Conditionalize PI cases on [__NR_futex].
7041 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7042 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7043 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7044
327ae257
RM
7045 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7046 conditional on [SIGSETXID].
7047 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7048 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7049 is defined. Likewise for SIGSETXID.
7050 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7051 Conditionalize definitions on [SIGSETXID].
7052 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7053 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7054 unblocking on [SIGCANCEL].
7055
b0643088
RM
7056 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7057 [__NR_set_robust_list].
7058
33cc770b
SP
70592014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7060
7061 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7062 (do_compare): Likewise.
7063
0742aef6
LH
70642014-10-17 Leonhard Holz <leonhard.holz@web.de>
7065
7066 [BZ #15884]
7067 * string/strcoll_l.c: Don't include stdio.h.
7068 (coll_seq): Remove members idxarr and rulearr.
7069 (get_next_seq_cached): Remove function.
7070 (get_next_seq): Likewise.
7071 (get_next_seq_nocache): Rename to get_next_seq.
7072 (do_compare): Remove function.
7073 (do_compare_nocache): Rename to do_compare.
7074 (STRCOLL): Remove weight and rules cache.
7075
ee54ce44
RM
70762014-10-16 Roland McGrath <roland@hack.frob.com>
7077
7078 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7079 * sysdeps/arm/sfp-machine.h: ... to here.
7080 * sysdeps/arm/Implies: Remove arm/soft-fp.
7081
a75d3b02
JM
70822014-10-14 Joseph Myers <joseph@codesourcery.com>
7083
7084 * conform/data/sys/utsname.h-data (*_t): Allow.
7085 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7086 [POSIX] (WEXITED): Do not expect constant.
7087 [POSIX] (WSTOPPED): Likewise.
7088 [POSIX] (WNOHANG): Likewise.
7089 [POSIX] (WNOWAIT): Likewise.
7090 [POSIX] (siginfo_t): Do not expect type or elements.
7091 [POSIX] (pid_t): Do not expect type.
7092 [POSIX] (signal.h): Do not allow header.
7093 [POSIX] (sys/resource.h): Likewise.
7094 [POSIX] (si_*): Do not allow pattern.
7095 [POSIX] (W*): Likewise.
7096 [POSIX] (P_*): Likewise.
7097 [POSIX] (BUS_*): Likewise.
7098 [POSIX] (CLD_*): Likewise.
7099 [POSIX] (FPE_*): Likewise.
7100 [POSIX] (ILL_*): Likewise.
7101 [POSIX] (POLL_*): Likewise.
7102 [POSIX] (SEGV_*): Likewise.
7103 [POSIX] (SI_*): Likewise.
7104 [POSIX] (TRAP_*): Likewise.
7105 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7106 variable.
7107
fda389c8
SP
71082014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7109
7110 [BZ #12926]
7111 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7112 infinite loop when __recvmsg returns 0.
7113
6bc6bd3b
JM
71142014-10-10 Joseph Myers <joseph@codesourcery.com>
7115
fcb32af1
JM
7116 * CANCEL-FCT-WAIVE: Remove file.
7117 * CANCEL-FILE-WAIVE: Likewise.
7118
6bc6bd3b
JM
7119 [BZ #14132]
7120 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7121 instead of INTVARDEF.
7122 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7123 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7124 rtld_hidden_data_def instead of INTVARDEF.
7125 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7126 * elf/dl-deps.c (expand_dst): Likewise.
7127 * elf/dl-load.c (_dl_dst_count): Likewise.
7128 (_dl_dst_substitute): Likewise.
7129 (decompose_rpath): Likewise.
7130 (_dl_init_paths): Likewise.
7131 (open_path): Likewise.
7132 (_dl_map_object): Likewise.
7133 * elf/rtld.c (dl_main): Likewise.
7134 (process_dl_audit): Likewise.
7135 (process_envvars): Likewise.
7136 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7137 Remove declaration.
7138 (__libc_enable_secure): Use rtld_hidden_proto.
7139
b8c80a7e
KS
71402014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7141
7142 * elf/dl-load.c
7143 (add_path): New function broken out of _dl_rtld_di_serinfo.
7144 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7145
ff12c11f
JM
71462014-10-09 Joseph Myers <joseph@codesourcery.com>
7147
5c0508a3
JM
7148 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7149 parentheses around macro arguments.
7150 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7151 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7152 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7153 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7154 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7155 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7156 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7157 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7158 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7159 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7160 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7161 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7162 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7163 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7164 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7165 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7166 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7167 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7168 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7169 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7170 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7171 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7172 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7173 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7174 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7175 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7176 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7177 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7178 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7179 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7180 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7181 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7182 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7183 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7184 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7185 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7186 Likewise.
7187 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7188 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7189 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7190 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7191 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7192 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7193 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7194 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7195 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7196 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7197 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7198 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7199 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7200 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7201 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7202 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7203 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7204 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7205 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7206 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7207 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7208 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7209 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7210 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7211 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7212 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7213 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7214 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7215 (_FP_FRAC_SRS_1): Likewise.
7216 (_FP_FRAC_CLZ_1): Likewise.
7217 (_FP_MUL_MEAT_1_imm): Likewise.
7218 (_FP_MUL_MEAT_1_wide): Likewise.
7219 (_FP_MUL_MEAT_1_hard): Likewise.
7220 (_FP_SQRT_MEAT_1): Likewise.
7221 (_FP_FRAC_ASSEMBLE_1): Likewise.
7222 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7223 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7224 (__FP_CLZ_2): Likewise.
7225 (_FP_MUL_MEAT_2_wide): Likewise.
7226 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7227 (_FP_MUL_MEAT_2_gmp): Likewise.
7228 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7229 (_FP_SQRT_MEAT_2): Likewise.
7230 (_FP_FRAC_ASSEMBLE_2): Likewise.
7231 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7232 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7233 (_FP_FRAC_CLZ_4): Likewise.
7234 (_FP_MUL_MEAT_4_wide): Likewise.
7235 (_FP_MUL_MEAT_4_gmp): Likewise.
7236 (_FP_SQRT_MEAT_4): Likewise.
7237 (_FP_FRAC_ASSEMBLE_4): Likewise.
7238 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7239 * soft-fp/op-common.h (_FP_CMP): Likewise.
7240 (_FP_CMP_EQ): Likewise.
7241 (_FP_CMP_UNORD): Likewise.
7242 (_FP_TO_INT): Likewise.
7243 (_FP_FROM_INT): Likewise.
7244 [!__FP_CLZ] (__FP_CLZ): Likewise.
7245 (_FP_DIV_HELP_imm): Likewise.
7246 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7247 Likewise.
7248 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7249 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7250 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7251 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7252 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7253 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7254 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7255 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7256 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7257 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7258 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7259 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7260 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7261 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7262 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7263 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7264 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7265 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7266 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7267 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7268 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7269 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7270 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7271 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7272 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7273 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7274 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7275 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7276 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7277 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7278 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7279 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7280 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7281 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7282 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7283 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7284 (FP_UNPACK_RAW_SP): Likewise.
7285 (FP_PACK_RAW_S): Likewise.
7286 (FP_PACK_RAW_SP): Likewise.
7287 (FP_UNPACK_S): Likewise.
7288 (FP_UNPACK_SP): Likewise.
7289 (FP_UNPACK_SEMIRAW_S): Likewise.
7290 (FP_UNPACK_SEMIRAW_SP): Likewise.
7291 (FP_PACK_S): Likewise.
7292 (FP_PACK_SP): Likewise.
7293 (FP_PACK_SEMIRAW_S): Likewise.
7294 (FP_PACK_SEMIRAW_SP): Likewise.
7295 (_FP_SQRT_MEAT_S): Likewise.
7296 (FP_CMP_S): Likewise.
7297 (FP_CMP_EQ_S): Likewise.
7298 (FP_CMP_UNORD_S): Likewise.
7299 (FP_TO_INT_S): Likewise.
7300 (FP_FROM_INT_S): Likewise.
7301
a736ec37
JM
7302 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7303
ff12c11f
JM
7304 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7305 (FP_EX_INVALID_IMZ): Likewise.
7306 (FP_EX_INVALID_IMZ_FMA): Likewise.
7307 (FP_EX_INVALID_ISI): Likewise.
7308 (FP_EX_INVALID_ZDZ): Likewise.
7309 (FP_EX_INVALID_IDI): Likewise.
7310 (FP_EX_INVALID_SQRT): Likewise.
7311 (FP_EX_INVALID_CVI): Likewise.
7312 (FP_EX_INVALID_VC): Likewise.
7313 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7314 "invalid" exceptions.
7315 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7316 (_FP_ADD_INTERNAL): Likewise.
7317 (_FP_MUL): Likewise.
7318 (_FP_FMA): Likewise.
7319 (_FP_DIV): Likewise.
7320 (_FP_CMP_CHECK_NAN): Likewise.
7321 (_FP_SQRT): Likewise.
7322 (_FP_TO_INT): Likewise.
7323 (FP_EXTEND): Likewise.
7324
b6dcfe8c
AM
73252014-10-09 Allan McRae <allan@archlinux.org>
7326
7327 * po/fr.po: Update French translation from translation project.
7328
2d6a47ba
JM
73292014-10-09 Joseph Myers <joseph@codesourcery.com>
7330
cb831245
JM
7331 [BZ #14132]
7332 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7333 of INTDEF.
7334 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7335 (__cxa_atexit): Use libc_hidden_proto.
7336 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7337
5deeb190
JM
7338 [BZ #14132]
7339 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7340 declaration.
7341 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7342 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7343 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7344 [!_ISOMAC] (__iswctype_internal): Likewise.
7345 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7346 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7347 alias.
7348 (fcntl): Remove __fcntl_internal alias.
7349 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7350 __connect_internal alias.
7351 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7352 Likewise.
7353
454ac701
JM
7354 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7355 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7356 FP_DENORM_ZERO.
7357 (_FP_CHECK_FLUSH_ZERO): New macro.
7358 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7359 (_FP_CMP): Likewise.
7360 (_FP_CMP_EQ): Likewise.
7361 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7362 FP_DENORM_ZERO.
7363 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7364 (FP_TRUNC): Likewise.
7365
0022e688
JM
7366 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7367 treated as invalid conversion, not as normal exponent.
7368
73e28d9c
JM
7369 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7370 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7371 (_FP_CMP_EQ): Likewise.
7372 (_FP_CMP_UNORD): Likewise.
7373 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7374 (FP_CMP_EQ_D): Likewise.
7375 (FP_CMP_UNORD_D): Likewise.
7376 * soft-fp/extended.h (FP_CMP_E): Likewise.
7377 (FP_CMP_EQ_E): Likewise.
7378 (FP_CMP_UNORD_E): Likewise.
7379 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7380 (FP_CMP_EQ_Q): Likewise.
7381 (FP_CMP_UNORD_Q): Likewise.
7382 * soft-fp/single.h (FP_CMP_S): Likewise.
7383 (FP_CMP_EQ_S): Likewise.
7384 (FP_CMP_UNORD_S): Likewise.
7385 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7386 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7387 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7388 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7389 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7390 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7391 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7392 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7393 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7394 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7395 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7396 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7397 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7398 to FP_CMP_Q.
7399 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7400 FP_CMP_Q.
7401 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7402 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7403 FP_CMP_EQ_Q.
7404 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7405 FP_CMP_Q.
7406 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7407 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7408 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7409 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7410 FP_CMP_EQ_Q.
7411 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7412 FP_CMP_Q.
7413 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7414 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7415 FP_CMP_EQ_Q.
7416 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7417 FP_CMP_Q.
7418 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7419 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7420 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7421 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7422 FP_CMP_EQ_Q.
7423
43059f42
JM
7424 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7425 a subnormal result, set the underflow exception if trapping on
7426 underflow is enabled.
7427 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7428 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7429 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7430 redefine to 0.
7431 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7432 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7433 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7434 * soft-fp/extendxftf2.c (__extendxftf2): Use
7435 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7436
2d6a47ba
JM
7437 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7438 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7439 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7440 FP_HANDLE_EXCEPTIONS.
7441 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7442 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7443 FP_HANDLE_EXCEPTIONS.
7444 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7445 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7446 FP_HANDLE_EXCEPTIONS.
7447 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7448 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7449 FP_HANDLE_EXCEPTIONS.
7450
620f462e
JM
74512014-10-08 Joseph Myers <joseph@codesourcery.com>
7452
7453 [BZ #14132]
7454 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7455 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7456 use INTUSE.
7457 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7458 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7459 Remove alias.
7460 (__adjtimex): Define using libc_hidden_ver.
7461 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7462 Remove declaration.
7463 (ntp_gettime): Call __adjtimex directly.
7464 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7465 Remove declaration.
7466 (ntp_gettimex): Call __adjtimex directly.
7467 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7468 __adjtimex_internal alias.
7469
c763c5d2
RM
74702014-10-08 Roland McGrath <roland@hack.frob.com>
7471
7472 [BZ #17460]
7473 * nscd/nscd.c (more_help): Rewrite list of tables collection
7474 using xstrdup and asprintf.
7475
7476 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7477
7b8fb2b8
RM
74782014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7479 Roland McGrath <roland@hack.frob.com>
7480
7481 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7482 (do_lookup_unique): ... local function 'enter' here; update callers.
7483
abb280f7
JM
74842014-10-06 Joseph Myers <joseph@codesourcery.com>
7485
f7b42517
JM
7486 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7487 compat_symbol calls on [SHARED].
7488 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7489 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7490 Remove.
7491 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7492 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7493 (oldsetrlimit): Remove.
7494 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7496 (lchown): New syscall entry.
7497 (oldsetrlimit): Remove.
7498 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7499 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7500 (oldsetrlimit): Remove.
7501 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7502
abb280f7
JM
7503 [BZ #14138]
7504 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7505 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7506 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7507 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7508 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7509 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7510 (fchown): Likewise.
7511 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7512 (fchown): Likewise.
7513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7514 Likewise.
7515
47d46237
AZ
75162014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7517
7518 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7519 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7520 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7521 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7522 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7523 Likewise.
7524 (__old_sem_post): Likewise.
7525
75262014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7527
845a7343
CM
7528 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7529 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7530 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7531 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7532 Use INLINE_VSYSCALL macro.
7533 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7534 __vdso_clock_gettime.
7535 * sysdeps/unix/sysv/linux/tile/init-first.c
7536 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7537 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7538 __vdso_clock_gettime.
7539
83d641ef
CM
7540 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7541 to set up frame more cleanly.
7542
d9cd52e6
CM
7543 * sysdeps/tile/memcmp.c: New file.
7544
4b68ea11
CM
7545 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7546
c86f7b80
CM
7547 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7548 * sysdeps/tile/tilegx/strcasestr.c: New file.
7549 * sysdeps/tile/tilegx/strnlen.c: New file.
7550 * sysdeps/tile/tilegx/strstr.c: New file.
7551
1c4c1a6f
CM
7552 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7553
99d86ea3
AS
75542014-10-06 Arjun Shankar <arjun.is@lostca.se>
7555
7556 * nptl/tst-setuid3.c: Write errors to stdout.
7557
06210a44
KS
75582014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7559
7560 * elf/dl-deps.c
7561 (preload): New functions broken out of _dl_map_object_deps.
7562 (_dl_map_object_deps): Remove a nested function. Update call sites.
7563
6268f532
JM
75642014-10-01 Joseph Myers <joseph@codesourcery.com>
7565
7566 [BZ #14138]
7567 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7568 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7569
b925285f
SE
75702014-10-01 Steve Ellcey <sellcey@mips.com>
7571
7572 * sysdeps/mips/strcmp.S: New.
7573
754a15c6
JM
75742014-09-30 Joseph Myers <joseph@codesourcery.com>
7575
7576 [BZ #14138]
7577 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7578 (linkat): Likewise.
7579 (mkdirat): Likewise.
7580 (readlinkat): Likewise.
7581 (renameat): Likewise.
7582 (symlinkat): Likewise.
7583 (unlinkat): Likewise.
7584 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7585 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7586 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7587 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7588 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7589 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7590 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7591
85bb81c9
WN
75922014-09-30 Will Newton <will.newton@linaro.org>
7593
dc6fe23b
WN
7594 * math/math.h: Define long double math functions if
7595 _LIBC_TEST is defined.
7596 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7597
85bb81c9
WN
7598 * localedata/Makefile: Move assignment to tests-special
7599 into an ifdef testing run-built-tests.
7600 * timezone/Makefile: Likewise.
7601
b7e02da4
JM
76022014-09-29 Joseph Myers <joseph@codesourcery.com>
7603
7604 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7605 with $(BASH) not $(SHELL).
7606
62058ce6
CD
76072014-09-29 Carlos O'Donell <carlos@redhat.com>
7608 Matthew LeGendre <legendre1@llnl.gov>
7609
7610 [BZ #17411]
7611 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7612 l_reloc_result.
7613
8e257a29
KS
76142014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7615
7616 * stdio-common/printf_fp.c
7617 (hack_digit): New function, broken out of ...
7618 (__printf_fp): ... local function here. Update call sites.
7619 hack_digit now takes an additional parameter that is a pointer
7620 to a struct of the referenced locals. Those locals moved inside
7621 the struct and references updated.
7622
f4a58f0d
L
76232014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7624
7625 * aclocal.m4: Require autoconf 2.69.
7626 * configure: Regenerated.
7627 * sysdeps/aarch64/configure: Likewise.
7628 * sysdeps/alpha/configure: Likewise.
7629 * sysdeps/arm/armv7/configure: Likewise.
7630 * sysdeps/arm/configure: Likewise.
7631 * sysdeps/ia64/configure: Likewise.
7632 * sysdeps/mach/configure: Likewise.
7633 * sysdeps/mips/configure: Likewise.
7634 * sysdeps/s390/configure: Likewise.
7635 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7637
7638 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7639 file.
7640 * sysdeps/ia64/configure.ac: Likewise.
7641
93ae1eba
JM
76422014-09-26 Joseph Myers <joseph@codesourcery.com>
7643
1810d3ab
JM
7644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7645 specify symbol version for ld.so. Do not include entry for
7646 libpthread.
7647 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7648 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7649 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7650
93ae1eba
JM
7651 [BZ #14171]
7652 * Makeconfig [$(build-shared) = yes]
7653 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7654 makefiles.
7655 [$(build-shared) = yes && $(soversions.mk-done) = t]
7656 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7657 [$(build-shared) = yes && $(soversions.mk-done) = t]
7658 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7659 to Makerules.
7660 [$(build-shared) = yes && $(soversions.mk-done) = t]
7661 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7662 here.
7663 [$(build-shared) = yes && $(soversions.mk-done) = t]
7664 (common-generated): Don't append gnu/lib-names.h and
7665 gnu/lib-names.stmp here.
7666 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7667 (lib-names-h-abi): New variable.
7668 [$(build-shared) = yes && $(soversions.mk-done) = t]
7669 (lib-names-stmp-abi): Likewise.
7670 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7671 abi-variants] (before-compile): Append
7672 $(common-objpfx)$(lib-names-h-abi).
7673 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7674 abi-variants] (common-generated): Append gnu/lib-names.h.
7675 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7676 abi-variants] (install-others-nosubdir): Depend on
7677 $(inst_includedir)/$(lib-names-h-abi).
7678 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7679 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7680 [$(build-shared) = yes && $(soversions.mk-done) = t]
7681 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7682 [$(build-shared) = yes && $(soversions.mk-done) = t]
7683 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7684 [$(build-shared) = yes && $(soversions.mk-done) = t]
7685 (common-generated): Append $(lib-names-h-abi) and
7686 $(lib-names-stmp-abi).
7687 * scripts/lib-names.awk: Do not handle multi being set.
7688 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7689 Remove variable.
7690 (abi-lp64_be-ld-soname): Likewise.
7691 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7692 Likewise.
7693 (abi-hard-ld-soname): Likewise.
7694 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7695 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7696 Remove variable.
7697 (abi-o32_hard-ld-soname): Likewise.
7698 (abi-o32_soft_2008-ld-soname): Likewise.
7699 (abi-o32_hard_2008-ld-soname): Likewise.
7700 (abi-n32_soft-ld-soname): Likewise.
7701 (abi-n32_hard-ld-soname): Likewise.
7702 (abi-n32_soft_2008-ld-soname): Likewise.
7703 (abi-n32_hard_2008-ld-soname): Likewise.
7704 (abi-n64_soft-ld-soname): Likewise.
7705 (abi-n64_hard-ld-soname): Likewise.
7706 (abi-n64_soft_2008-ld-soname): Likewise.
7707 (abi-n64_hard_2008-ld-soname): Likewise.
7708 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7709 Likewise.
7710 (abi-64-v2-ld-soname): Likewise.
7711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7712 ld.so entries.
7713 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7714 variable.
7715 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7716 entry.
7717 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7718 variable.
7719 (abi-64-ld-soname): Likewise.
7720 (abi-x32-ld-soname): Likewise.
7721 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7722 entry.
7723 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7724
68870f12
JM
77252014-09-23 Joseph Myers <joseph@codesourcery.com>
7726
7727 [BZ #14138]
7728 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7729 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7730 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7731 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7732 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7733 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7734 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7735 syscall entry for GLIBC_2.2 symbol version.
7736 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7737 Likewise.
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7739 (setrlimit): Likewise.
7740 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7741 Likewise.
7742
ea58f202
WN
77432014-09-23 Will Newton <will.newton@linaro.org>
7744
7745 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7746 _LINUX_ARM_SYSDEP_H include guard too.
7747 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7748 define.
7749
69eb9a18
RV
77502014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7751
7752 * sysdeps/unix/sysv/linux/eventfd.c:
7753 Make first argument unsigned.
7754 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7755 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7756
20e5a5f7
OB
77572014-09-20 Ondřej Bílka <neleai@seznam.cz>
7758
7759 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7760 * socket/sys/socket.h: Likewise
7761 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7762
d3c827e7
AK
77632014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7764
7765 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7766
fe1cc35a
AS
77672014-09-17 Arjun Shankar <arjun.is@lostca.se>
7768
7769 * time/tst-ftime.c: New test.
7770 * time/Makefile (tests): Add tst-ftime.
7771
4e8afe69
JM
77722014-09-17 Joseph Myers <joseph@codesourcery.com>
7773
c4fe3ea7
JM
7774 * soft-fp/extended.h: Fix comment formatting.
7775 * soft-fp/op-1.h: Likewise.
7776 * soft-fp/op-2.h: Likewise.
7777 * soft-fp/op-4.h: Likewise.
7778 * soft-fp/op-8.h: Likewise.
7779 * soft-fp/op-common.h: Likewise.
7780 * soft-fp/soft-fp.h: Likewise.
7781
4e8afe69
JM
7782 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7783
af296fcd
JM
77842014-09-16 Joseph Myers <joseph@codesourcery.com>
7785
7786 [BZ #6652]
7787 * Makeconfig (soversions-default-setname): Remove variable.
7788 ($(common-objpfx)soversions.i): Don't pass default_setname to
7789 soversions.awk.
7790 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7791 oldest_abi to abi-versions.awk.
7792 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7793 * config.make.in (oldest-abi): Remove variable.
7794 * configure.ac (--enable-oldest-abi): Remove configure option.
7795 * configure: Regenerated.
7796 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7797 text.
7798 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7799 * scripts/soversions.awk: Do not handle default_setname variable.
7800 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7801 variable.
7802 * sysdeps/mach/hurd/configure: Regenerated.
7803 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7804 variable.
7805 * sysdeps/unix/sysv/linux/configure: Regenerated.
7806
545583d6
SP
78072014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7808
d330b980
SP
7809 * elf/Makefile (CFLAGS-interp.c): Remove.
7810 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7811 path string.
7812 * elf/interp.c: Include generated runtime-linker.h
7813
02657da2
SP
7814 * Makerules (lib%.so): Don't include $(+interp) in
7815 prerequisites.
7816 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7817 * dlfcn/eval.c: Remove file.
7818
653b1080
SP
7819 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7820 macros.
7821
602f80ec
SP
7822 [BZ #17266]
7823 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7824 4.2 and newer.
7825
545583d6
SP
7826 [BZ #17370]
7827 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7828
884ddc50
SP
78292014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7830 Jakub Jelinek <jakub@redhat.com>
7831
7832 [BZ #17266]
7833 * libio/stdio.h: Check definition of __fortify_function
7834 instead of __extern_always_inline to include bits/stdio2.h.
7835 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7836 check if __extern_always_inline is defined.
7837 [__USE_MISC || __USE_XOPEN]: Likewise.
7838 [__USE_ISOC99] Likewise.
7839 * misc/sys/cdefs.h (__fortify_function): Define only if
7840 __extern_always_inline is defined.
7841 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7842 __extern_always_inline and __extern_inline only for g++-4.3
7843 and newer or a compatible gcc.
7844
a7b87268
AS
78452014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7846
7847 [BZ #17371]
7848 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7849 last change to handle zero prefix length.
7850
3f41521d
SP
78512014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7852
61fe374a
SP
7853 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7854 _SC_REGEX_VERSION.
7855
3f41521d
SP
7856 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7857 _POSIX_RAW_SOCKETS.
7858
d8f879ee
AM
78592014-09-13 Allan McRae <allan@archlinux.org>
7860
7861 * po/ru.po: Update Russian translation from translation project.
7862
c079afb7
RM
78632014-09-12 Roland McGrath <roland@hack.frob.com>
7864
a62b3c15
RM
7865 * locale/programs/locale.c (show_locale_vars): Inline local function
7866 into its sole call site. Clean up some style nits.
7867 (print_item): New function, broken out of ...
7868 (show_info): ... local function here. Clean up style nits.
7869
d7e49b19
RM
7870 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7871 out of ...
7872 (set_class_defaults): ... local function set_default here.
7873 Define set_default as a macro locally to pass constant parameters.
7874 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7875 rather than a shared local.
7876
c079afb7
RM
7877 * stdlib/rpmatch.c (try): New function, broken out of ...
7878 (rpmatch): ... local function here. Also, prototypify definition.
7879
0bd72468
JM
78802014-09-12 Joseph Myers <joseph@codesourcery.com>
7881
ba90e050
JM
7882 * scripts/soversions.awk: Do not handle configuration names.
7883 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7884 vendor and os variables to soversions.awk.
7885 * configure.ac: Do not modify gnu-* host_os.
7886 * configure: Regenerated
7887 * shlib-versions: Remove first column with configuration names.
7888 * nptl/shlib-versions: Likewise.
7889 * nptl_db/shlib-versions: Likewise.
7890 * sysdeps/hppa/shlib-versions: Likewise.
7891 * sysdeps/m68k/shlib-versions: Likewise.
7892 * sysdeps/mach/hurd/shlib-versions: Likewise.
7893 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7894 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7895 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7896 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7897 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7898 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7899 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7900 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7902 Likewise.
7903 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7904 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7905 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7906 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7907 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7908 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7909 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7910 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7911
73a39112
JM
7912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7913 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7915 Regenerated.
7916 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7918 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7919
c729e7c1
JM
7920 * shlib-versions: Remove OS-specific entries. Moved to files in
7921 sysdeps.
7922 * sysdeps/mach/hurd/shlib-versions: New file.
7923 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7924
dc932a24
JM
7925 * nptl/shlib-versions: Remove architecture-specific entries.
7926 Moved to files in sysdeps.
7927 * shlib-versions: Likewise.
7928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7929 file.
7930 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7931 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7932 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7933 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7934
0bd72468
JM
7935 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7936 (UDP_NO_CHECK6_RX): Likewise.
7937
920238e0
SP
79382014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7939
7940 * sysdeps/posix/sysconf.c (__sysconf): Spell
7941 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7942
ba7b4d29
FW
79432014-08-12 Florian Weimer <fweimer@redhat.com>
7944
7945 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7946 loading.
7947 * iconv/Versions (__gconv_transliterate): Export for use from
7948 gconv modules.
7949 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7950 (struct __gconv_trans_data, __gconv_trans_fct,
7951 __gconv_trans_context_fct, __gconv_trans_query_fct,
7952 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7953 definitions.
7954 (struct __gconv_step_data): Remove __trans member.
7955 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7956 longer hidden. Remove unused trans_data argument.
7957 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7958 (__gconv_translit_find): Remove declaration.
7959 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7960 prototype.
7961 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7962 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7963 trans_data argument. Add hidden definition.
7964 (__gconv_translit_find): Remove.
7965 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7966 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7967 * iconv/skeleton.c: Remove transliteration initialization.
7968 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7969 __gconv_step_data initialization.
7970 * libio/iofwide.c (__libio_translit_): Remove.
7971 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7972 * wcsmbs/btowc.c (__btowc): Likewise.
7973 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7974 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7975 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7976 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7977 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7978 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7979 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7980 * wcsmbs/wctob.c (wctob): Likewise.
7981
5379aebd
SP
79822014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7983
7984 [BZ #16194]
7985 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7986 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7987 register usage.
7988 * sysdeps/x86/Makefile: Adjust.
7989
8c0ab919
RM
79902014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7991 Roland McGrath <roland@hack.frob.com>
7992
7993 * locale/weight.h: Add include guard.
7994 (findidx): Make static rather than auto; take new parameters
7995 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7996 * locale/weightwc.h: Likewise.
7997 * posix/fnmatch_loop.c
7998 (FCT): Change type of EXTRA from int32_t to wint_t.
7999 Don't include either header inside the function.
8000 Call FINDIDX rather than findidx, and pass new arguments.
8001 #undef FINDIDX at the end of the file.
8002 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8003 FINDIDX before including fnmatch_loop.c for the non-wide version.
8004 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8005 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8006 for the wide version.
8007 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8008 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8009 Pass new arguments to findidx.
8010 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8011 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8012 Don't #include it inside the function. Pass new arguments to findidx.
8013 * posix/regex_internal.h
8014 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8015 (re_string_elem_size_at): Don't #include it inside the function.
8016 Pass new arguments to findidx.
8017 * string/strcoll_l.c: #include WEIGHT_H at top level.
8018 (get_next_seq): Don't #include it inside the function.
8019 Pass new arguments to findidx.
8020 (get_next_seq_nocache): Likewise.
8021 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8022 (STRXFRM): Don't #include it inside the function.
8023 Pass new arguments to findidx.
8024
52ffbdf2
FW
80252014-09-11 Florian Weimer <fweimer@redhat.com>
8026
8027 [BZ #17344]
8028 * malloc/malloc.c (unlink): Turn asserts into a call to
8029 malloc_printerr.
8030
984c0ea9
TL
80312014-09-11 Tim Lammens <tim.lammens@gmail.com>
8032
8033 [BZ #17370]
8034 * libio/wfileops (do_ftell_wide): Free OUT.
8035
3daee107
CM
80362014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8037
8038 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8039
58b930ae
SP
80402014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8041
8042 [BZ #17363]
8043 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8044 group if the current group is empty.
8045
3b473fec
AZ
80462014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8047
71ae8647
AZ
8048 * benchtests/bench-memset.c (test_main): Add more test from size
8049 from 32 to 512 bytes.
8050 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8051 Add POWER8 memset object.
8052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8053 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8054 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8055 implementation.
8056 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8057 Likewise.
8058 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8059 multiarch POWER8 memset optimization.
8060 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8061 POWER8 memset optimization.
8062
3b473fec
AZ
8063 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8064 Remove bzero multiarch objects.
8065 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8066 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8067 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8068 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8069 Remove define.
8070 [__bzero]: Redefine to specific name.
8071 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8072 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8073 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8074 define.
8075 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8076 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8077
e6fb9587
FW
80782014-09-10 Florian Weimer <fweimer@redhat.com>
8079
8080 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8081 warnings into errors.
8082
8083 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8084 __cxa_thread_atexit_impl prototype.
8085
9d3a350b
SE
80862014-09-09 Steve Ellcey <sellcey@mips.com>
8087
8088 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8089 Fix capitalization of error message.
8090
0febba23
SE
80912014-09-09 Steve Ellcey <sellcey@mips.com>
8092
8093 * sysdeps/mips/preconfigure: Modify ABI tests.
8094
645a0e9c
CD
80952014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8096
8097 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8098
d83f0734
CD
80992014-09-07 Roland McGrath <roland@hack.frob.com>
8100 Carlos O'Donell <carlos@systemhalted.org>
8101
8102 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8103 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8104 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8105 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8106 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8107 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8108 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8109 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8110 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8111 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8112 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8113 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8114 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8115 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8116 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8117 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8118 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8119 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8120 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8121 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8122 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8123 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8124 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8125 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8126 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8127 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8128 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8129 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8130 Deconditionalize the code that was previously under [RESET_PID].
8131 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8132 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8133 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8134 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8135 include sysdep.h.
8136
21c83793
AM
81372014-09-08 Allan McRae <allan@archlinux.org>
8138
8139 * version.h (RELEASE): Set to "development".
8140 (VERSION): Set to "2.20.90"
8141
1cd9b65c
AM
81422014-09-07 Allan McRae <allan@archlinux.org
8143
b8079dd0
AM
8144 * version.h (RELEASE): Set to "stable".
8145 (VERSION): Set to "2.20"
8146 * include/features.h (__GLIBC_MINOR__): Set to 20.
8147
c46303ef
AM
8148 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8149 Liebler.
8150
1cd9b65c
AM
8151 * po/ko.po: Update Korean translation from translation project.
8152
8622092d
CM
81532014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8154
8155 [BZ #17354]
8156 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8157 macro for handling signed relocations.
8158
41488498
FW
81592014-09-03 Florian Weimer <fweimer@redhat.com>
8160
8161 [BZ #17325]
8162 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8163 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8164 assert.
8165 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8166 * iconvdata/ibm935.c (BODY): Likewise.
8167 * iconvdata/ibm937.c (BODY): Likewise.
8168 * iconvdata/ibm939.c (BODY): Likewise.
8169 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8170 assert.
8171 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8172 script.
8173 * iconvdata/run-iconv-test.sh: New test loop for checking for
8174 decoder crashers.
8175
a78b712d
KR
81762014-09-02 Khem Raj <raj.khem@gmail.com>
8177
8178 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8179 libm_hidden_ver.
8180
cb08abc6
AM
81812014-09-01 Allan McRae <allan@archlinux.org>
8182
2c31e102
AM
8183 * po/eo.po: Update Esperanto translation from translation project.
8184
cb08abc6
AM
8185 * po/ca.po: Update Catalan translation from translation project.
8186
17a62de1
ST
81872014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8188
8189 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8190 __proc_dostop call.
8191
9570bc53
MW
81922014-08-27 Mark Wielaard <mjw@redhat.com>
8193
8194 [BZ #17319]
8195 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8196 to call set_thread_area instead of hand written asm.
8197 (__NR_set_thread_area): Removed define.
8198 (TLS_FLAG_WRITABLE): Likewise.
8199 (__ASSUME_SET_THREAD_AREA): Remove check.
8200 (TLS_EBX_ARG): Remove define.
8201 (TLS_LOAD_EBX): Likewise.
8202
b0f955c9
ST
82032014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8204
8205 Simplify atomicity of socket creation in bind.
8206
8207 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8208 looking up the name after linking the file.
8209
529bf515
AM
82102014-08-27 Allan McRae <allan@archlinux.org>
8211
8212 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8213
a1a6a401
FW
82142014-08-26 Florian Weimer <fweimer@redhat.com>
8215
8216 [BZ #17187]
8217 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8218 trans_compare, open_translit, __gconv_translit_find):
8219 Remove module loading code.
8220
686ab290
AM
82212014-08-26 Allan McRae <allan@archlinux.org>
8222
e4e7cfd2
AM
8223 * po/vi.po: Update Vietnamese translation from translation project.
8224
6aa09f71
AM
8225 * po/uk.po: Update Ukrainian translation from translation project.
8226
edc0660e
AM
8227 * po/fr.po: Update French translation from translation project.
8228
7eea72ac
AM
8229 * po/ru.po: Update Russian translation from translation project.
8230
93c49eff
AM
8231 * po/pl.po: Update Polish translation from translation project.
8232
46acaf63
AM
8233 * po/cs.po: Update Czech translation from translation project.
8234
a9f5ce98
AM
8235 * po/de.po: Update German translation from translation project.
8236
373f2b78
AM
8237 * po/bg.po: Update Bulgarian translation from translation project.
8238
e7548bd8
AM
8239 * po/sv.po: Update Sweedish translation from translation project.
8240
c526bf4d
AM
8241 * po/nl.po: Update Dutch translation from translation project.
8242
686ab290
AM
8243 * po/es.po: Update Spanish translation from translation project.
8244
eb72478a
SP
82452014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8246
dd763fdb
SP
8247 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8248
318c7a58
SP
8249 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8250 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8251 (CPPFLAGS-iconvconfig): Likewise.
8252 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8253
eb72478a
SP
8254 * include/libc-symbols.h: Remove unnecessary check for
8255 NOT_IN_libc.
8256 * nptl/pthreadP.h: Likewise.
8257 * sysdeps/aarch64/setjmp.S: Likewise.
8258 * sysdeps/alpha/setjmp.S: Likewise.
8259 * sysdeps/arm/sysdep.h: Likewise.
8260 * sysdeps/i386/setjmp.S: Likewise.
8261 * sysdeps/m68k/setjmp.c: Likewise.
8262 * sysdeps/posix/getcwd.c: Likewise.
8263 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8264 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8265 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8266 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8267 * sysdeps/sh/sh3/setjmp.S: Likewise.
8268 * sysdeps/sh/sh4/setjmp.S: Likewise.
8269 * sysdeps/unix/alpha/sysdep.h: Likewise.
8270 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8271 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8272 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8273 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8276 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8277 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8278 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8280 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8281 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8283 * sysdeps/x86_64/setjmp.S: Likewise.
8284
d44a052c
JM
82852014-08-13 Joseph Myers <joseph@codesourcery.com>
8286
8287 [BZ #17263]
8288 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8289 <stdint.h>.
8290 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8291 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8292
508ce3ac
SP
82932014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8294
e44c8b0e
SP
8295 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8296
508ce3ac
SP
8297 [BZ #17262]
8298 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8299 and __x86_64__ when disabling x87 inline functions.
8300
b4acef1f
L
83012014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8302
8303 [BZ #17259]
8304 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8305 asm statement with __cpuid_count.
8306
61b1ef6e
MF
83072014-08-12 Mike Frysinger <vapier@gentoo.org>
8308
8309 * configure.ac: Change __ehdr_start code to dereference the struct.
8310 Run readelf on the output to look for relocations.
8311 * configure: Regenerated.
8312
898c62f4
JM
83132014-08-12 Joseph Myers <joseph@codesourcery.com>
8314
8315 [BZ #17261]
8316 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8317 value to 0.
8318 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8319
9a8a5720
RM
83202014-08-12 Roland McGrath <roland@hack.frob.com>
8321
8322 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8323
4e75751c
BO
83242014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8325
8326 [BZ #16892]
8327 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8328 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8329
bb2ce416
SA
83302014-08-12 Sean Anderson <seanga2@gmail.com>
8331
8332 * malloc/malloc.c: Fix typo in comment.
8333
7950a4ee
AM
83342014-08-09 Allan McRae <allan@archlinux.org>
8335
8336 * Regenerate libc.po.
8337
f469c49f
MF
83382014-08-08 Mike Frysinger <vapier@gentoo.org>
8339
8340 * intl/tst-gettext2.sh: Check every lang file for creation.
8341
656b84c2
WD
83422014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8343
8344 * sysdeps/aarch64/fpu/math_private.h
8345 (libc_feholdsetround_noex_aarch64_ctx): New function.
8346
538e9e45
W
83472014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8348
8349 * sysdeps/arm/armv6/strcpy.S (strcpy):
8350 Fix performance issue in misaligned cases.
8351
d4795e4a
AZ
83522014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8353
8354 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8355 Move definition from termios.h.
8356 (struct termio): Likewise.
8357 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8358 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8359 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8360 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8361 Likewise.
8362 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8363 Move definition to ioctl-types.h
8364 (struct termio): Likewise.
8365 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8366 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8367 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8368 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8369 Likewise.
8370
64accb62
RH
83712014-08-05 Richard Henderson <rth@redhat.com>
8372
27bb6dc0
RH
8373 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8374 exceptions.
8375 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8376 Add fraiseexcpt.
8377 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8378 Use __feraiseexcept.
8379 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8380 Protect libm symbols with IS_IN_libm.
8381
64accb62
RH
8382 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8383
e5292691
BO
83842014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8385
8386 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8387
5b4bd2d4
WN
83882014-08-04 Will Newton <will.newton@linaro.org>
8389
8390 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8391 file.
8392
fcadaeef
MF
83932014-08-04 Mike Frysinger <vapier@gentoo.org>
8394
8395 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8396 variants for each function.
8397
43a94c64
RM
83982014-08-04 Roland McGrath <roland@hack.frob.com>
8399
8400 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8401 appended ...
8402 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8403 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8404 appended ...
8405 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8406 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8407 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8408 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8409 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8410 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8411 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8412 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8413 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8414 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8415 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8416 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8417 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8418 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8419 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8420 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8421 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8422 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8423 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8424 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8425 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8426 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8427 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8428 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8429 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8430 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8431 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8432 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8433 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8434 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8435 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8436 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8437 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8438 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8439 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8440 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8441 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8442 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8443 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8444 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8445 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8446 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8447 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8448 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8449 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8450 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8451 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8452 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8453 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8454 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8455 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8456 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8457 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8458 Update #include.
8459 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8460 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8461
8f3c1fa4
RM
84622014-08-04 Roland McGrath <roland@hack.frob.com>
8463
8464 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8465 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8466 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8467 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8468 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8469 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8470
ca08746f
RM
84712014-08-04 Roland McGrath <roland@hack.frob.com>
8472
8473 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8474 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8475 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8476 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8477
9c925ff9
RM
84782014-08-04 Roland McGrath <roland@hack.frob.com>
8479
8480 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8481 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8482 (__libc_vfork): Define function under this name.
8483 (__vfork): Define as an alias.
8484 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8485 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8486
e641054c
RM
84872014-08-04 Roland McGrath <roland@hack.frob.com>
8488
8489 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8490 that was previously under [RESET_PID].
8491 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8492
dacdc867
AS
84932014-08-04 Andreas Schwab <schwab@suse.de>
8494
8495 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8496
41f725ff
MF
84972014-08-03 Mike Frysinger <vapier@gentoo.org>
8498
8499 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8500 (main): Likewise.
8501
277cfb31
RM
85022014-08-01 Roland McGrath <roland@hack.frob.com>
8503
8504 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8505
4896f049
RH
85062014-08-01 Richard Henderon <rth@redhat.com>
8507
8508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8509 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8510 typo in exact zero test.
8511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8512 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8513 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8514
6f64e7d7
RM
85152014-08-01 Roland McGrath <roland@hack.frob.com>
8516
8517 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8518 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8519 * sysdeps/arm/sysdep.h: ... here.
8520 [!__ASSEMBLER__]: Include <stdint.h>.
8521
3f3dd810
SP
85222014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8523
a476ac4b
SP
8524 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8525 (HAVE_WCTYPE_H): Likewise.
8526 (HAVE_ISWCTYPE): Likewise.
8527 (ENABLE_NLS): Likewise.
8528 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8529 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8530
78dd658a
SP
8531 * posix/regex_internal.c: Check if DEBUG is defined and is
8532 set.
8533
3f3dd810
SP
8534 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8535 (HAVE_MBSRTOWCS): Likewise.
8536 * posix/fnmatch.c: Include string.h unconditionally.
8537
95ee7fb1
SL
85382014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8539
8540 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8541 reversal.
8542
23fe486b
RM
85432014-07-31 Roland McGrath <roland@hack.frob.com>
8544
f61a113f
RM
8545 * sysdeps/generic/safe-fatal.h: New file.
8546 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8547 * nptl/forward.c: Include it.
8548 (__pthread_unwind): Use __safe_fatal as default action, rather
8549 than a bogus use of INTERNAL_SYSCALL that could never work.
8550
9fe7e787
RM
8551 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8552 * configure.ac (libc_cv_builtin_trap): New test.
8553 * configure: Regenerated.
8554 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8555 (ABORT_INSTRUCTION): Define using __builtin_trap.
8556
23fe486b
RM
8557 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8558 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8559 * sysdeps/nptl/nptl-signals.h: New file.
8560 * nptl/pthreadP.h: Include <nptl-signals.h>.
8561
f349489e
SL
85622014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8563
8564 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8565 (ONE_DIRECTION): Define.
8566 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8567 (ONE_DIRECTION): Define.
8568 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8569 (ONE_DIRECTION): Define.
8570
2f438e20
SL
85712014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8572
8573 * sysdeps/s390/Makefile: Delete file.
8574 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8575 * sysdeps/s390/__longjmp.c: Delete file.
8576 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8577 Remove fields __flags and __reserved.
8578 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8579 and add versioning.
8580 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8581 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8582 * sysdeps/s390/rtld-setjmp.S: Likewise.
8583 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8584 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8585 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8586 * sysdeps/s390/s390-32/setjmp.S: ... here.
8587 Add versioning.
8588 (__sigsetjmp): Remove setting __flags field.
8589 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8590 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8591 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8592 * sysdeps/s390/s390-64/setjmp.S: ... here.
8593 Add versioning.
8594 (__sigsetjmp): Remove setting __flags field.
8595 * sysdeps/s390/setjmp.S: Delete file.
8596 * sysdeps/s390/sigjmp.c: Likewise.
8597 * sysdeps/s390/v1-longjmp.c: Likewise.
8598 * sysdeps/s390/v1-setjmp.h: Likewise.
8599 * sysdeps/s390/v1-sigjmp.c: Likewise.
8600 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8601 Remove v1-longjmp_chk.
8602 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8603 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8604 Include debug/longjmp_chk.c and add versioning.
8605 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8606 Include nptl/pt-longjmp.c and add versioning.
8607 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8608 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8609 Include __longjmp.c.
8610 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8611 Move to ...
8612 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8613 (__getcontext): Remove setting __flags field.
8614 Add versioning.
8615 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8616 Don't restore upper high grps.
8617 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8618 Likewise.
8619 (__swapcontext): Remove setting uc_flags field.
8620 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8621 Delete file.
8622 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8623 Include __longjmp.c.
8624 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8625 Move to ...
8626 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8627 (__getcontext): Remove setting __flags field.
8628 Add versioning.
8629 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8630 (__swapcontext): Remove setting uc_flags field.
8631 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8632 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8633 Remove fields uc_high_gprs and __reserved.
8634 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8635 New file with reverted content.
8636 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8637 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8638 Regenerated.
8639 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8640 Regenerated.
8641
6c9578a2
AS
86422014-07-31 Andreas Schwab <schwab@suse.de>
8643
8644 * config.h.in (HAVE_IFUNC): Define to 0.
8645 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8646 definedness.
8647
05f3633d
LM
86482014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8649
8650 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8651 memmove-avx-unaligned, memcpy-avx-unaligned and
8652 mempcpy-avx-unaligned.
8653 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8654 Add tests for AVX memcpy functions.
8655 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8656 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8657 memcpy_chk.
8658 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8659 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8660 memmove_chk.
8661 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8662 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8663 mempcpy_chk.
8664 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8665 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8666 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8667
a53fbd8e
AZ
86682013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8669
8670 [BZ #17213]
8671 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8672 powerpc64le.
8673
0961f7e1
JL
86742014-07-29 Jeff Layton <jlayton@poochiereds.net>
8675
8676 [BZ #16839]
8677 * manual/llio.texi: Add section about open file description locks.
8678 * manual/examples/ofdlocks.c: Example of open file description
8679 lock usage.
8680 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8681 F_OFD_SETLK, and F_OFD_SETLKW.
8682
cc5fb300
AM
86832014-07-23 Allan McRae <allan@archlinux.org>
8684
8685 * po/es.po: Update Spanish translation from translation project.
8686
23329dca
AS
86872014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8688
8689 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8690
9c82da17
MR
86912014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8692
8693 [BZ #17078]
8694 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8695 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8696 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8697
29c4f53e
JM
86982014-07-17 Joseph Myers <joseph@codesourcery.com>
8699
831b9896
JM
8700 [BZ #17088]
8701 * math/fesetenv.c (__fesetenv)
8702 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8703 * math/feupdateenv.c (__feupdateenv)
8704 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8705
b21c2d50
JM
8706 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8707 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8708 (__ASSUME_SOCKETCALL): Do not define.
8709
067764ef
JM
8710 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8711 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8712 (__ASSUME_SOCKETCALL): Do not define.
8713 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8714 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8715 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8716 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8717 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8718 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8719 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8720 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8721
642530c1
JM
8722 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8723 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8724 (__ASSUME_SOCKETCALL): Do not define.
8725 (__ASSUME_IPC64): Define unconditionally.
8726 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8727 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8728 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8729 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8730 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8731 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8732 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8733 Likewise.
8734
03f77315
JM
8735 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8736 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8737 (__ASSUME_SOCKETCALL): Do not define.
8738 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8739 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8740 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8741 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8742 (__ASSUME_REQUEUE_PI): Define unconditionally.
8743 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8744 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8745 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8746 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8747 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8748 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8749
083b1f7c
JM
8750 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8751 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8752 (__ASSUME_SOCKETCALL): Do not define.
8753 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8754 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8755 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8756 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8757 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8758 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8759
5be44ea6
JM
8760 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8761 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8762 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8763 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8764 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8765 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8766 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8767 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8768 (__ASSUME_GETCPU_SYSCALL): Likewise.
8769
d95ffd4c
JM
8770 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8771 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8772 cases for individual architectures.
8773 * sysdeps/gnu/configure: Regenerated.
8774 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8775 LIBC_SLIBDIR_RTLDDIR.
8776 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8777 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8778 LIBC_SLIBDIR_RTLDDIR.
8779 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8781 LIBC_SLIBDIR_RTLDDIR.
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8783 Regenerated.
8784 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8785 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8786 file.
8787 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8788 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8789 file.
8790 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8791 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8792 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8793 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8794
29c4f53e
JM
8795 * sysdeps/aarch64/shlib-versions: Move to ...
8796 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8797 * sysdeps/alpha/shlib-versions: Move to ...
8798 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8799 * sysdeps/arm/shlib-versions: Move to ...
8800 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8801 * sysdeps/hppa/shlib-versions: Move all contents except for
8802 libgcc_s entry to ...
8803 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8804 entry from ...
8805 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8806 * sysdeps/ia64/shlib-versions: Move to ...
8807 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8808 entry from ...
8809 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8810 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8811 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8812 * sysdeps/microblaze/shlib-versions: Move to ...
8813 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8814 * sysdeps/mips/shlib-versions: Move to ...
8815 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8816 entry from ...
8817 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8818 * sysdeps/tile/shlib-versions: Move to ...
8819 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8820 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8821 from ...
8822 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8823 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8824 entry from ...
8825 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8826
32bead5b
WN
88272014-07-17 Will Newton <will.newton@linaro.org>
8828
57977c4b
WN
8829 * sysdeps/arm/bits/atomic.h
8830 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8831 (__arch_compare_and_exchange_bool_16_int): Likewise.
8832 (__arch_compare_and_exchange_bool_64_int): Likewise.
8833
32bead5b
WN
8834 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8835 into an #else block.
8836
37fccd41
RM
88372014-07-16 Roland McGrath <roland@hack.frob.com>
8838
8839 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8840 just Linux configurations. Test empirically that the compiler sets
8841 __ARM_EABI__, rather than using the tuple to decide.
8842 * sysdeps/arm/preconfigure: Regenerated.
8843 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8844 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8845 contents appended ...
8846 * sysdeps/arm/configure.ac: ... here.
8847 * sysdeps/arm/configure: Regenerated.
8848
b365f3ec
RM
88492014-07-15 Roland McGrath <roland@hack.frob.com>
8850
8badf496
RM
8851 * nptl/pthread_kill.c: New file.
8852 * nptl/pthread_sigmask.c: New file.
8853 * nptl/pthread_sigqueue.c: New file.
8854
3df6f22e
RM
8855 * sysdeps/nptl/lowlevellock.h: New file.
8856 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8857 * sysdeps/nptl/lowlevellock-futex.h: New file.
8858
b365f3ec
RM
8859 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8860 Remove dead declarations.
8861
f2fef657
L
88622014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8863
8864 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8865 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8866 config-cflags-avx2.
8867 * sysdeps/x86_64/configure.ac: Likewise.
8868 * sysdeps/i386/configure: Regenerated.
8869 * sysdeps/x86_64/configure: Likewise.
8870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8871 memset-avx2 only if config-cflags-avx2 is yes.
8872 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8873 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8874 defined.
8875 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8876 only if HAVE_AVX2_SUPPORT is defined.
8877 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8878
f6c44d47
AM
88792014-07-14 Alan Modra <amodra@gmail.com>
8880
8881 [BZ #17153]
8882 * elf/elf.h (DT_PPC64_NUM): Correct value.
8883 * NEWS: Add to fixed bug list.
8884
7ee03f00
JM
88852014-07-13 Jim Meyering <meyering@fb.com>
8886
8887 [BZ 17150]
8888 regex: don't deref NULL upon heap allocation failure
8889 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8890 failure in one more place.
8891 To trigger the segfault, configure grep -with-included-regex,
8892 build it, and run these commands:
8893 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8894
9d39d517
AS
88952014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8896
8897 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8898
a75b89b7
RH
88992014-07-11 Richard Henderson <rth@redhat.com>
8900
8901 * sysdeps/aarch64/libm-test-ulps: Update.
8902
771eb141
FW
89032014-07-10 Florian Weimer <fweimer@redhat.com>
8904
8905 [BZ #17135]
8906 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8907 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8908 (__nptl_setxid): Initialize error member. Call
8909 __nptl_setxid_error.
8910 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8911 * nptl/descr.h (struct xid_command): Add error member.
8912 * nptl/tst-setuid3.c: New file.
8913 * nptl/Makefile (tests): Add it.
8914
bc1da176
AZ
89152014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8916
8917 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8918 New define.
8919 (__lll_trylock): Use __lll_base_trylock.
8920 (__lll_cond_trylock): Likewise.
8921
887865fc
RM
89222014-07-10 Roland McGrath <roland@hack.frob.com>
8923
c0c6bac9
RM
8924 * nptl/pthread_create.c (start_thread): Use atomic_or and
8925 lll_futex_wake directly rather than lll_robust_dead.
8926 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8927 (lll_robust_dead): Macro removed.
6a42be57 8928 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8929 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8930 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8931 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8932 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8933 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8934 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8935 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8936 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8937 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8938 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8939 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8940 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8941 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8942 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8943
887865fc
RM
8944 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8945 Use atomic_compare_and_exchange_val_acq directly rather than
8946 lll_robust_trylock.
8947 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8948 (__lll_robust_trylock, lll_robust_trylock): Removed.
8949 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8950 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8951 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8952 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8953 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8954 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8955 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8956 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8957 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8958 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8959 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8960 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8961 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8962 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8963
58536726
FW
89642014-07-02 Florian Weimer <fweimer@redhat.com>
8965
8966 * manual/locale.texi (Locale Names): New section documenting
8967 locale name syntax. Adjust menu and node chaining accordingly.
8968 (Choosing Locale): Reference Locale Names, Locale Categories.
8969 Mention setting LC_ALL=C. Reflect that name syntax is now
8970 documented.
8971 (Locale Categories): New section title. Reference Locale Names.
8972 LC_ALL is an environment variable, but not a category.
8973 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8974 description, now in Locale Name. Reference that section. Locale
8975 name syntax is now documented.
8976
4e8f95a0
FW
89772014-07-02 Florian Weimer <fweimer@redhat.com>
8978
8979 [BZ #17137]
8980 * locale/findlocale.c (name_present, valid_locale_name): New
8981 functions.
8982 (_nl_find_locale): Use the loc_name variable to store name
8983 candidates. Call name_present and valid_locale_name to check and
8984 validate locale names. Return an error if the locale is invalid.
8985
d1836456
FW
89862014-07-02 Florian Weimer <fweimer@redhat.com>
8987
8988 * locale/setlocale.c (setlocale): Use strdup for allocating
8989 composite name copy.
8990
d69b7f5a
SP
89912014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8992
888c679b
SP
8993 Sync up with gnulib.
8994 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8995 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8996 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8997 and _GL_ARG_NONNULL.
8998 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8999 [!_LIBC]: Include code for Windows and Cygwin.
9000 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9001 Include prototype for int strerror_r.
9002 [!_LIBC] (is_open): New function.
9003 (flush_stdout): New function.
9004 (print_errno_message): Use it.
9005 (error): Likewise.
9006 (error_at_line): Likewise.
9007 (error_tail) Add function attribute macros. Use
9008 __builtin_expect.
9009
180e0e4b
SP
9010 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9011
d22f1fe2
SP
9012 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9013
12f2254b
SP
9014 * io/ftw.c: Include sys/param.h unconditionally.
9015
c3c7c360
SP
9016 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9017
d62aa75a
SP
9018 [BZ #17125]
9019 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9020 libc_freeres_ptr.
9021 (freecache): New function to free CACHE on exit.
9022
d69b7f5a
SP
9023 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9024 initialization.
9025
5efe06a1
DM
90262014-07-09 David S. Miller <davem@davemloft.net>
9027
9028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9029
7000d82e
DM
9030 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9031 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9032 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9033 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9034 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9035 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9036 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9037 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9038 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9039 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9040 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9041 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9042 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9043
c213442d
AS
90442014-07-09 Andreas Schwab <schwab@suse.de>
9045
4a2552c3
AS
9046 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9047 output.
9048 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9049 (do_test): Likewise.
9050
c213442d
AS
9051 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9052
82374e65
WN
90532014-07-09 Will Newton <will.newton@linaro.org>
9054
9055 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9056 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9057 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9058 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9059 * sysdeps/hppa/start.S (_start): Likewise.
9060
6680738a
SP
90612014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9062
6ee3eab4
SP
9063 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9064
6680738a
SP
9065 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9066 defined.
9067
80b5c505
SP
90682014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9069
e35c53e3
SP
9070 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9071 after checking that it is non-NULL.
9072
80b5c505
SP
9073 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9074
91f4b564
AZ
90752014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9076
27b75f56
AZ
9077 * sysdeps/powerpc/memmove.c: Remove file.
9078 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9079 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9080 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9081 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9082 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9083 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9084 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9085 string memmove instead of removed powerpc one.
9086
e7f95bb5
AZ
9087 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9088 [weak_alias]: Fix compiler warning due trailing data.
9089 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9090 [weak_alias]: Likewise.
9091 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9092 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9093
91f4b564
AZ
9094 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9095 (__libc_ifunc_impl_list): Add memmove functions.
9096
7c33f1e5
SP
90972014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9098
9099 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9100 Remove code.
9101 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9102 Likewise
9103 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9104 Likewise
9105 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9106 Likewise
9107 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9108 Likewise
9109 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9110 Likewise
9111 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9112 Likewise
9113 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9114 Likewise
9115 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9116 Likewise
9117 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9118 Likewise
9119 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9120 Likewise
9121 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9122 Likewise
9123 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9124 Likewise
9125 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9126 Likewise
9127 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9128 Likewise
9129 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9130 Likewise
9131 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9132 Likewise
9133
3f17b03b
AZ
91342014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9135
87868c24
AZ
9136 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9137 to avoid alignment traps in non-cacheable memory.
9138 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9139
07aedd78
AZ
9140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9141 multiarch objects.
9142 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9143 file: multiarch power7 memmove.
9144 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9145 multiarch default memmove.
9146 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9147 multiarch memove for powerpc32/power4.
9148
17762f66
AZ
9149 * string/bcopy.c: Use full path to include memmove.c.
9150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9151 multiarch objects.
9152 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9153 bcopy for powerpc64.
9154 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9155 bcopy for powerpc64.
9156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9157 and memmove implementations.
9158 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9159 optimized multiarch memmove for POWER7/powerpc64.
9160 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9161 default multiarch memmove for powerpc64.
9162 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9163 multiarch for powerpc64.
9164 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9165 for POWER7/powerpc64.
9166 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9167 memmove for POWER7/powerpc64.
9168
d6f68bbe
AZ
9169 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9170 glibc default one.
9171
3f17b03b
AZ
9172 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9173 __ELF_NATIVE_CLASS equal to 64.
9174
08192659
RM
91752014-07-07 Roland McGrath <roland@hack.frob.com>
9176
f4c4021b
RM
9177 * sysdeps/nptl/lowlevellock.h: File removed.
9178
f083450f
RM
9179 * NEWS: NPTL is no longer an add-on!
9180 * nptl/internaltypes.h: Moved ...
9181 * sysdeps/nptl/internaltypes.h: ... here.
9182 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9183 * sysdeps/nptl/fork.c: Likewise.
9184 * sysdeps/nptl/gai_misc.h: Likewise.
9185 * sysdeps/nptl/librt-cancellation.c: Likewise.
9186 * sysdeps/nptl/jmp-unwind.c: Likewise.
9187 * sysdeps/nptl/setxid.h: Likewise.
9188 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9189 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9190 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9191 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9192 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9193 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9194 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9195 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9196 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9197 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9198 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9199 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9200 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9201 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9202 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9203 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9204 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9205 * nptl/Makeconfig: Moved ...
9206 * sysdeps/nptl/Makeconfig: ... here.
9207 * nptl/configure: File removed.
9208 * nptl/ANNOUNCE: File removed.
9209 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9210 * sysdeps/unix/sysv/linux/configure: Regenerated.
9211
08192659
RM
9212 * nptl/Makefile (routines): Add libc_pthread_init,
9213 libc_multiple_threads, register-atfork and unregister-atfork.
9214 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9215 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9216 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9217 pthread-pi-defines.sym, structsem.sym.
9218 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9219 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9220 [$(subdir) = nptl] (tests): Add tst-setgetname.
9221 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9222 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9223 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9224 [!LIBC_SIGACTION]: Remove aliases.
9225 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9226 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9227 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9228 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9229 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9230 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9231 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9232 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9233 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9234 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9235 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9236 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9237 __libc_allocate_rtsig_private.
9238 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9239 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9240 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9241 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9242 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9243 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9244 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9245 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9246 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9247 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9248 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9249 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9250 * nptl/internaltypes.h: ... here.
9251 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9252 * sysdeps/nptl/jmp-unwind.c: ... here.
9253 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9254 * nptl/libc-lowlevellock.c: ... here.
9255 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9256 * nptl/libc_multiple_threads.c: ... here.
9257 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9258 * nptl/libc_pthread_init.c: ... here.
9259 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9260 * nptl/lowlevelbarrier.sym: ... here.
9261 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9262 * nptl/lowlevelcond.sym: ... here.
9263 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9264 * nptl/lowlevellock.c: ... here.
9265 * nptl/lowlevellock.h: Moved ...
9266 * sysdeps/nptl/lowlevellock.h: ... here.
9267 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9268 * nptl/lowlevelrobustlock.c: ... here.
9269 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9270 * nptl/lowlevelrobustlock.sym: ... here.
9271 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9272 * nptl/lowlevelrwlock.sym: ... here.
9273 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9274 * nptl/pt-fork.c: ... here.
9275 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9276 * nptl/pthread-pi-defines.sym: ... here.
9277 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9278 * nptl/pthread_attr_getaffinity.c: ... here.
9279 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9280 * nptl/pthread_attr_setaffinity.c: ... here.
9281 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9282 * nptl/pthread_mutex_cond_lock.c: ... here.
9283 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9284 Update #include.
9285 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9286 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9287 * nptl/pthread_once.c: ... here, replacing old file.
9288 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9289 * nptl/pthread_yield.c: ... here.
9290 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9291 * nptl/register-atfork.c: ... here.
9292 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9293 * nptl/sem_post.c: ... here.
9294 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9295 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9296 * nptl/sem_timedwait.c: ... here.
9297 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9298 * nptl/sem_trywait.c: ... here.
9299 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9300 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9301 * nptl/sem_wait.c: ... here.
9302 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9303 * nptl/structsem.sym: ... here.
9304 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9305 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9306 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9307 * nptl/unregister-atfork.c: ... here.
9308 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9309 * nptl/unwindbuf.sym: ... here.
9310 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9311 * sysdeps/nptl/fork.c: ... here.
9312 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9313 * sysdeps/nptl/fork.h: ... here.
9314 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9315 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9316 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9317 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9318 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9319 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9320 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9321 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9322 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9323 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9324 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9325 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9326 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9327 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9328 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9329 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9330 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9331 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9332 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9333 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9334 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9335 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9336 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9337 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9338 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9339 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9340 * sysdeps/unix/sysv/linux/raise.c: ... here.
9341 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9342 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9343 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9344 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9345 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9346 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9347 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9348 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9349 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9350 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9351 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9352 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9353 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9354 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9355 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9356
96baf6ff
SP
93572014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9358
9359 * sysdeps/generic/memcopy.h: Add comment for
9360 MEMCPY_OK_FOR_FWD_MEMMOVE.
9361
6b7b14b2
WN
93622014-07-04 Will Newton <will.newton@linaro.org>
9363
1570a72b
WN
9364 * string/memchr.c: Merge from gnulib.
9365 [_LIBC]: Remove conditionals.
9366 (__ptr_t): Remove define.
9367 (LONG_MAX_32_BITS): Likewise.
9368 (LONG_MAX): Likewise.
9369 (MEMCHR): Use ANSI prototype and optimize algorithm.
9370
6b7b14b2
WN
9371 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9372
38851324
SP
93732014-07-03 Roland McGrath <roland@hack.frob.com>
9374
3d9eb57c
RM
9375 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9376 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9377
78b984ae
RM
9378 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9379 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9380 in a bare environment with no <stdlib.h> installed.
9381 * sysdeps/nptl/configure: Regenerated.
9382
2d5976a5
RM
9383 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9384
c1f5acd4
RM
9385 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9386 AC_EGREP_CPP for kernel header checks, so they only succeed if
9387 including <linux/version.h> actually works right.
9388 * sysdeps/unix/sysv/linux/configure: Regenerated.
9389
4d614fe5
RM
9390 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9391 value so it's not diagnosed as unused.
9392
38851324
SP
9393 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9394 thing) with "ifeq ($(subdir),rt)".
9395
b3ec00e5
RH
93962014-07-03 Richard Henderson <rth@redhat.com>
9397
69862e25
RH
9398 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9399 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9400 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9401
d5e16ade
RH
9402 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9403 (math_force_eval): New.
9404
ca7b945c
RH
9405 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9406 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9407
cd1175a3
RH
9408 * sysdeps/alpha/fpu/s_round.c: Remove file.
9409 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9410
b3ec00e5
RH
9411 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9412 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9413 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9414 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9415 (_dl_start, print_statistics): Likewise.
9416 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9417 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9418
9419 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9420 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9421 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9422 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9423 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9424 (HP_SMALL_TIMING_AVAIL): Define.
9425 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9426 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9427 (HP_SMALL_TIMING_AVAIL): Define.
9428 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9429 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9430
9431 * sysdeps/aarch64/hp-timing.h: New file.
9432
9433 * sysdeps/generic/hp-timing.h: Remove dead comment.
9434 * sysdeps/generic/hp-timing-common.h: New file.
9435 * sysdeps/alpha/hp-timing.h: Include it.
9436 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9437 * sysdeps/i386/i686/hp-timing.h: Likewise.
9438 * sysdeps/ia64/hp-timing.h: Likewise.
9439 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9440 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9441 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9442 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9443 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9444 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9445 (hp_timing_t): New.
9446
9447 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9448 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9449 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9450 * elf/rtld.c (_dl_start_final): Likewise.
9451 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9452 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9453 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9454 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9455 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9456 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9457 (HP_TIMING_DIFF_INIT): Remove.
9458 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9459 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9460 (HP_TIMING_DIFF_INIT): Remove.
9461 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9462 * sysdeps/i386/i686/hp-timing.c: Remove file.
9463 * sysdeps/x86_64/hp-timing.c: Remove file.
9464 * sysdeps/ia64/hp-timing.c: Remove file.
9465 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9466 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9467 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9468 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9469
9470 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9471 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9472 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9473 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9474 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9475 (HP_TIMING_ACCUM): Remove.
9476 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9477 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9478 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9479
9480 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9481 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9482 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9483 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9484 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9485 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9486 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9487 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9488
9489 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9490
225f410f
MR
94912014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9492
9493 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9494
3247f285
SP
94952014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9496
9497 Sync up with gettext.
9498 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9499 [_MSC_VER]: Include malloc.h
9500 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9501 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9502 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9503 TEMP_FAILURE_RETRY. Cast return of alloca.
9504 [!_LIBC] Call gl_rwlock_init.
9505 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9506
d12704c7
SP
95072014-07-02 Roland McGrath <roland@hack.frob.com>
9508
9509 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9510 before checking its value.
9511
99f8dc92
SP
95122014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9513
05fdac77
SP
9514 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9515
99f8dc92
SP
9516 * debug/memcpy_chk.c: Don't include pagecopy.h.
9517 * debug/mempcpy_chk.c: Likewise.
9518 * string/memcpy.c: Likewise.
9519 * string/memmove.c: Likewise.
9520 * sysdeps/powerpc/memmove.c: Likewise.
9521 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9522 definition of PAGE_COPY_FWD_MAYBE here...
9523 * sysdeps/generic/pagecopy.h: ... from here.
9524 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9525
bc8ea385
VR
95262014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9527 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9528
9529 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9531 optimizations.
9532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9533 (__libc_ifunc_impl_list): Likewise.
9534 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9535 multiarch strcat for PPC64.
9536 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9537 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9538
fe5f34e4
RM
95392014-07-02 Roland McGrath <roland@hack.frob.com>
9540
9541 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9542
256aa665
SP
95432014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9544
d4eb8195
SP
9545 * intl/loadmsgcat.c: Remove declaration of
9546 get_sysdep_segment_value.
9547 (get_sysdep_segment_value): Use ISO C style.
9548 (_nl_load_domain): Use ISO C style. Get rid of redundant
9549 semicolon. Fix typo and formatting in comment.
9550 (_nl_unload_domain): Use ISO C style.
9551
256aa665
SP
9552 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9553
b100f9aa
WN
95542014-07-02 Will Newton <will.newton@linaro.org>
9555
9556 * malloc/obstack.c: Merge from gnulib master.
9557 [HAVE_CONFIG_H]: Remove conditional code.
9558 [!_LIBC]: Include config.h.
9559 [!ELIDE_CODE]: Don't include inttypes.h, include
9560 stdint.h unconditionally.
9561 (print_and_abort): Mark as _Noreturn.
9562 (_obstack_allocated_p): Mark as __attribute_pure__.
9563 (obstack_free): Rename to __obstack_free.
9564 [!__attribute__]: Remove conditional code.
9565 * malloc/obstack.h: Merge from gnulib master.
9566 [__cplusplus]: Move conditional down.
9567 [!__attribute_pure__]: Define __attribute_pure__ here
9568 if it is not already defined.
9569 (_obstack_memory_used): Mark as __attribute_pure__.
9570 [!__obstack_free]: Define as obstack_free.
9571 [__GNUC__]: Remove check for ancient NeXT gcc.
9572
c4c41244
PE
95732014-07-02 Will Newton <will.newton@linaro.org>
9574 Paul Eggert <eggert@cs.ucla.edu>
9575
9576 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9577
e1e041c4
SP
95782014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9579
9580 * resolv/gethnamaddr.c: Add comment warning that the file is
9581 not maintained.
9582
ccf431ff
CD
95832014-07-01 Carlos O'Donell <carlos@redhat.com>
9584
d34570a6
CD
9585 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9586 entries.
9587
ccf431ff
CD
9588 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9589 entry for aio_cancel and aio_cancel64.
9590 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9591 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9592 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9593 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9594 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9595 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9596 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9597 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9598 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9599 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9600 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9601 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9602 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9603
ca06321d
RM
96042014-07-01 Roland McGrath <roland@hack.frob.com>
9605
9606 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9607 * nptl/pthread_mutex_lock.c: Likewise.
9608 * nptl/pthread_mutex_timedlock.c: Likewise.
9609 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9610
a1ac3184
RH
96112014-07-01 Richard henderson <rth@redhat.com>
9612
631021e0
RH
9613 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9614 (__isnan, __isnanl): Remove.
9615 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9616
a1ac3184
RH
9617 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9618
0c1d731f
SL
96192014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9620
9621 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9622
76985d3e
SP
96232014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9624
9625 * resolv/nss_dns/dns-host.c (getanswer_r)
9626 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9627
b0cb3096
JM
96282014-07-01 Joseph Myers <joseph@codesourcery.com>
9629
9630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9631 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9632 undefine.
9633 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9634 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9635
4d76cb39
RM
96362014-07-01 Roland McGrath <roland@hack.frob.com>
9637
9638 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9639 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9640
9641 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9642 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9643
9644 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9645 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9646 ... here.
9647 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9648 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9649
9650 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9651 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9652 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9653 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9654
9655 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9656 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9657 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9658 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9659 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9660 Moved ...
9661 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9662 ... here.
9663 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9664 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9665 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9666 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9667 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9668 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9669 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9670 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9671 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9672 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9673 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9674 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9675 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9676 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9677 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9678 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9679 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9680 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9681 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9682 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9683 ... here.
9684 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9685 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9686 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9687 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9688 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9689 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9690 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9691 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9692
0cdcad17
DH
96932014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9694
9695 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9696 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9697 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9698 Add sysdep.
9699
9b71d0e3
AZ
97002014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9701
9702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9703
665390c2
JM
97042014-06-30 Joseph Myers <joseph@codesourcery.com>
9705
ae05a9d7
JM
9706 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9707 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9708
a7672a2f
JM
9709 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9710
665390c2
JM
9711 * sysdeps/arm/libm-test-ulps: Regenerated.
9712
d7a05d07
MR
97132014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9714 Roland McGrath <roland@hack.frob.com>
9715
9716 * test-skeleton.c (signal_handler): Kill the whole process group
9717 before killing the child individually.
9718 (main): Report any failure on `setpgid'.
9719
46f1d8a6
RM
97202014-06-30 Roland McGrath <roland@hack.frob.com>
9721
9722 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9723 from _TLS_H to _ARM_NPTL_TLS_H.
9724 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9725 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9726
9c37ec0b
JM
97272014-06-30 Joseph Myers <joseph@codesourcery.com>
9728
ce9c5b3e
JM
9729 [BZ #16539]
9730 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9731 (__expm1l): Return argument unchanged when small but not
9732 subnormal.
9733
3a6e9887
JM
9734 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9735 include macro name.
9736 (_FP_UNPACK_RAW_1_P): Likewise.
9737 (_FP_PACK_RAW_1): Likewise.
9738 (_FP_PACK_RAW_1_P): Likewise.
9739 (_FP_MUL_MEAT_1_wide): Likewise.
9740 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9741 (_FP_MUL_MEAT_1_hard): Likewise.
9742 (_FP_DIV_MEAT_1_imm): Likewise.
9743 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9744 (_FP_DIV_MEAT_1_udiv): Likewise.
9745 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9746 (_FP_UNPACK_RAW_2): Likewise.
9747 (_FP_UNPACK_RAW_2_P): Likewise.
9748 (_FP_PACK_RAW_2): Likewise.
9749 (_FP_PACK_RAW_2_P): Likewise.
9750 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9751 (_FP_MUL_MEAT_2_wide): Likewise.
9752 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9753 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9754 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9755 (_FP_MUL_MEAT_2_gmp): Likewise.
9756 (_FP_DIV_MEAT_2_udiv): Likewise.
9757 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9758 (_FP_FRAC_SRL_4): Likewise.
9759 (_FP_FRAC_SRST_4): Likewise.
9760 (_FP_FRAC_SRS_4): Likewise.
9761 (_FP_UNPACK_RAW_4): Likewise.
9762 (_FP_UNPACK_RAW_4_P): Likewise.
9763 (_FP_PACK_RAW_4): Likewise.
9764 (_FP_PACK_RAW_4_P): Likewise.
9765 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9766 (_FP_MUL_MEAT_4_wide): Likewise.
9767 (_FP_MUL_MEAT_4_gmp): Likewise.
9768 (umul_ppppmnnn): Likewise.
9769 (_FP_DIV_MEAT_4_udiv): Likewise.
9770 (__FP_FRAC_ADD_4): Likewise.
9771 (__FP_FRAC_SUB_3): Likewise.
9772 (__FP_FRAC_SUB_4): Likewise.
9773 (__FP_FRAC_DEC_3): Likewise.
9774 (__FP_FRAC_DEC_4): Likewise.
9775 (__FP_FRAC_ADDI_4): Likewise.
9776 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9777 (_FP_FRAC_SRL_8): Likewise.
9778 (_FP_FRAC_SRS_8): Likewise.
9779
9c37ec0b
JM
9780 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9781 include macro name.
9782 (FP_UNPACK_RAW_EP): Likewise.
9783 (FP_PACK_RAW_E): Likewise.
9784 (FP_PACK_RAW_EP): Likewise.
9785 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9786 (_FP_ISSIGNAN): Likewise.
9787 (_FP_ADD_INTERNAL): Likewise.
9788 (_FP_FMA): Likewise.
9789 (_FP_CMP): Likewise.
9790 (_FP_SQRT): Likewise.
9791 (_FP_TO_INT): Likewise.
9792 (_FP_FROM_INT): Likewise.
9793 (FP_EXTEND): Likewise.
9794 (_FP_DIV_MEAT_N_loop): Likewise.
9795
2125f674
MR
97962014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9797
9798 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9799 throughout.
9800
edea4028
JM
98012014-06-29 Joseph Myers <joseph@codesourcery.com>
9802
9803 [BZ #17097]
9804 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9805 result with correct sign in case of exponents that produce
9806 overflow except for X very close to 1.
9807
dd0ba018
PE
98082014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9809
9810 mktime: merge #if/#ifdef usage from glibc
9811 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9812 as that works with both Glibc's and Gnulib's style.
9813 See thread starting at Siddhesh Poyarekar's bug report at:
9814 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9815
64df73c2
SP
98162014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9817
9818 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9819 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9820 * sysdeps/tile/tilegx/memmove.c: Remove file.
9821
f1eafb41
JM
98222014-06-27 Joseph Myers <joseph@codesourcery.com>
9823
9824 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9825 abi-name definition.
9826 * scripts/soversions.awk: Do not handle or generate ABI lines.
9827 * shlib-versions: Remove ABI entries.
9828 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9829 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9830
58eb0862
RM
98312014-06-27 Roland McGrath <roland@hack.frob.com>
9832
37caf178
RM
9833 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9834 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9835 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9836 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9837 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9838 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9839 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9840 Moved ...
9841 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9842 ... here.
9843 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9844 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9845 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9846 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9847 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9848 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9849 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9850 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9851 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9852 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9853 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9854 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9855 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9856 Moved ...
9857 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9858 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9859 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9860 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9861 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9862 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9863 Moved ...
9864 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9865 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9866 Moved ...
9867 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9868 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9869 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9870 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9871 Moved ...
9872 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9876 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9880 Moved ...
9881 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9882 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9883 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9884 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9885 Moved ...
9886 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9887 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9888 Moved ...
9889 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9890 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9891 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9892 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9893 Moved ...
9894 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9895 ... here.
9896 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9897 Identical file removed.
9898 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9899 Moved ...
9900 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9901 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9902 Identical file removed.
9903 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9904 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9905 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9906 Moved ...
9907 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9908 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9909 Identical file removed.
9910 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9911 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9912 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9913 Identical file removed.
9914 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9915 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9916 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9917 Identical file removed.
9918 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9919 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9920 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9921 Identical file removed.
9922 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9923 Moved ...
9924 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9925 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9926 Identical file removed.
9927 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9928 Moved ...
9929 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9930 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9931 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9932 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9933 Identical file removed.
9934 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9935 Moved ...
9936 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9937 ... here.
9938 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9939 Identical file removed.
9940 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9941 Moved ...
9942 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9943 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9944 Identical file removed.
9945 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9946 Moved ...
9947 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9948 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9949 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9950 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9951 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9952 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9953 Moved ...
9954 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9955 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9956 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9957
58eb0862
RM
9958 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9959 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9960 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9961 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9962 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9963
6f12d062
AS
99642014-06-27 Arjun Shankar <arjun.is@lostca.se>
9965
9966 [BZ #17092]
9967 * nscd/nscd.c (monitor_child): Return exit status of child
9968 instead of return value from wait syscall.
9969
be254932
JM
99702014-06-27 Joseph Myers <joseph@codesourcery.com>
9971
cb403c34
JM
9972 * configure.ac (libc_commonpagesize): Remove variable.
9973 (libc_relro_required): Likewise.
9974 (libc_cv_z_relro): Remove configure test.
9975 * configure: Regenerated.
9976 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9977 variable.
9978 (libc_relro_required): Likewise.
9979 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9980 (libc_relro_required): Likewise.
9981 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9982 (libc_relro_required): Likewise.
9983 * sysdeps/arm/preconfigure: Regenerated.
9984 * sysdeps/ia64/preconfigure: Remove file.
9985 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9986 variable.
9987 (libc_relro_required): Likewise.
9988
be254932
JM
9989 [BZ #16561]
9990 [BZ #16562]
9991 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9992 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9993 recompute overflowing results in original rounding mode.
9994 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9995 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9996 recompute overflowing results in original rounding mode.
9997 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9998 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9999 recompute overflowing results in original rounding mode.
10000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10001 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10002 recompute overflowing results in original rounding mode.
10003 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10004 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10005 recompute overflowing results in original rounding mode.
10006 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10007 (libc_feholdsetround_ctx): New macro.
10008 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10009 * sysdeps/i386/fpu/libm-test-ulps: Update.
10010 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10011
b351d85a
JM
100122014-06-26 Joseph Myers <joseph@codesourcery.com>
10013
10014 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10015 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10016 corresponding .cpsetup call.
10017
3cb4de47
RM
100182014-06-26 Roland McGrath <roland@hack.frob.com>
10019
10020 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10021 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10022 * sysdeps/arm/Makefile [$(subdir) = csu]
10023 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10024 (static-only-routines): Add aeabi_read_tp here.
10025 (shared-only-routines): Add libc-aeabi_read_tp here.
10026 (CFLAGS-libc-start.c): Add -fexceptions here.
10027 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10028 (sysdep_routines, static-only-routines, shared-only-routines):
10029 Don't add to these here.
10030 (CFLAGS-libc-start.c): Likewise.
10031
10032 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10033 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10034 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10035 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10036 * sysdeps/arm/Makefile [$(subdir) = rt]
10037 (librt-sysdep_routines, librt-shared-only-routines):
10038 Append rt-aeabi_unwind_cpp_pr1 here.
10039 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10040 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10041 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10042 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10043 Append nptl-aeabi_unwind_cpp_pr1 here.
10044 (tests): Filter out tst-cleanupx4 here.
10045 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10046 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10047 Don't do those here.
10048
354426bb
JM
100492014-06-26 Joseph Myers <joseph@codesourcery.com>
10050
10051 * scripts/list-sources.sh: Do not handle ports specially.
10052
28b0a8c9
RM
100532014-06-26 Roland McGrath <roland@hack.frob.com>
10054
a3dd035d
RM
10055 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10056 * sysdeps/arm/feupdateenv.c: Likewise.
10057
28b0a8c9
RM
10058 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10059
e66a8203
JM
100602014-06-26 Joseph Myers <joseph@codesourcery.com>
10061
10062 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10063 trailing whitespace removed.
10064 * scripts/config.guess: Update to version 2014-03-23.
10065 * scripts/config.sub: Update to version 2014-05-01
10066 * scripts/install-sh: Update to version 2013-12-25.23.
10067 * scripts/move-if-change: Update from gnulib.
10068
74171115
SP
100692014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10070
b97c9ce5
SP
10071 * debug/memmove_chk.c: Remove pagecopy.h include.
10072
4000f892
SP
100732014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10074
74171115
SP
10075 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10076 identical to gnulib mktime.
10077
a8779c28
JM
100782014-06-26 Joseph Myers <joseph@codesourcery.com>
10079
e64708de
JM
10080 * configure.ac: Do not test for machine being rs6000. Do not test
10081 for powerpc*-*soft.
10082 * configure: Regenerated.
10083
6a9350c8 10084 [BZ #11505]
a8779c28
JM
10085 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10086 test.
10087 * configure: Regenerated.
10088 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10089 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10090 Remove configure test.
10091 * sysdeps/arm/configure: Regenerated.
10092 * sysdeps/nptl/configure.ac: Do not check
10093 libc_cv_asm_cfi_directives.
10094 * sysdeps/nptl/configure: Regenerated.
10095 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10096 * sysdeps/x86_64/nptl/configure: Remove generated file.
10097 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10098 unconditional.
10099 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10100
2aac0a86
SP
101012014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10102
059bf913
SP
10103 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10104 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10105 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10106 it is defined.
10107
4cf5b6d0
SP
10108 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10109 instead of whether it is defined.
10110 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10111 * sysdeps/hppa/dl-machine.h: Likewise.
10112 * sysdeps/ia64/dl-machine.h: Likewise.
10113 * sysdeps/m68k/dl-machine.h: Likewise.
10114 * sysdeps/microblaze/dl-machine.h: Likewise.
10115 * sysdeps/mips/dl-machine.: Likewise.
10116 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10117 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10118 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10119 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10120 * sysdeps/sh/dl-machine.h: Likewise.
10121 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10122 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10123 * sysdeps/tile/dl-machine.h: Likewise.
10124 * sysdeps/x86_64/dl-machine.h: Likewise.
10125
2aac0a86
SP
10126 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10127 code.
10128 (verify_persistent_db): Likewise.
10129
6ad2df0b
RM
101302014-06-26 Roland McGrath <roland@hack.frob.com>
10131
d8a483f3
RM
10132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10133 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10135 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10137 Moved ...
10138 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10139 ... here.
10140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10141 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10143 Identical file removed.
10144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10145 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10147 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10149 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10151 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10153 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10155 Moved ...
10156 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10158 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10160 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10162 Moved ...
10163 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10165 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10167 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10169 Identical file removed.
10170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10171 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10173 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10175 Moved ...
10176 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10177 ... here.
10178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10179 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10181 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10183 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10185 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10187 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10189 Moved ...
10190 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10192 Moved ...
10193 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10195 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10197 Moved ...
10198 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10200 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10201
52ae23b4
RM
10202 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10203 folded into ...
10204 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10205 * sysdeps/unix/sysv/linux/s390/Versions
10206 (libpthread: GLIBC_2.19): New version set.
10207 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10208 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10209 (librt: GLIBC_2.3.3): New version set.
10210 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10211 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10212 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10213 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10214 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10215 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10216 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10217 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10218 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10219 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10220 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10221 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10222 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10223 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10224 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10225 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10226 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10227 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10228 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10229 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10230 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10231 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10232 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10233 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10234 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10235 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10236 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10237 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10238 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10239 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10240 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10241 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10243 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10245 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10246 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10247 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10248 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10249 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10250 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10251 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10252 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10253 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10254 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10255
39507e4a
RM
10256 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10257 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10258 (__libc_vfork): Define the function under this name.
10259 [!NOT_IN_libc] (__vfork): Make this an alias.
10260 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10261 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10262 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10263 (__libc_vfork): Define the function under this name.
10264 [!NOT_IN_libc] (__vfork): Make this an alias.
10265 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10266 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10267 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10268 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10269 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10270 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10271
e549ee56
RM
10272 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10273 code that was previously under [RESET_PID].
10274 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10275 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10276 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10277
6ad2df0b
RM
10278 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10279 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10280 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10281 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10282 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10283 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10284 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10285 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10286 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10287 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10288 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10289 Moved ...
10290 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10291 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10292 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10293 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10294 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10295 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10296 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10297 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10298 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10299 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10300 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10301 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10302 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10303 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10304 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10305 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10306 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10307 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10308 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10309 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10310 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10311 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10312 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10313 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10314 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10315 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10316 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10317 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10318 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10319
7c1c1d8e
RM
103202014-06-25 Roland McGrath <roland@hack.frob.com>
10321
10322 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10323 that was previously under [RESET_PID].
10324 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10325
3e239be6
JM
103262014-06-25 Joseph Myers <joseph@codesourcery.com>
10327
74385da5
JM
10328 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10329 not undefine and redefine.
10330 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10331 [O_CLOEXEC]: Make code unconditional.
10332 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10333 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10334 <kernel-features.h>.
10335 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10336 conditional variable definition.
10337 (shm_open) [O_CLOEXEC]: Make code unconditional.
10338 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10339 code.
10340
c2570a0b
JM
10341 * configure.ac (USE_REGPARMS): Don't define here.
10342 * configure: Regenerated.
10343 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10344 * sysdeps/i386/configure: Regenerated.
10345
11b076bb
JM
10346 * nptl/createthread.c: Don't include kernel-features.h.
10347 * nptl/pthread_cancel.c: Likewise.
10348 * nptl/pthread_condattr_setclock.c: Likewise.
10349 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10350 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10351 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10352 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10353 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10354 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10355 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10356 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10357 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10358 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10359 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10360 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10361 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10362 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10363 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10364 * nscd/gai.c: Likewise.
10365 * nss/nss_db/db-open.c: Likewise.
10366 * sysdeps/generic/ldsodefs.h: Likewise.
10367 * sysdeps/sh/nptl/tls.h: Likewise.
10368 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10369 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10370 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10371 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10372 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10373 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10374 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10375 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10376 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10377 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10378 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10379 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10380 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10381 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10382 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10383 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10384 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10385 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10386 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10387 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10388 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10389 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10390 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10391 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10392 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10393 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10394 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10395 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10396 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10397 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10398 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10399 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10400 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10401 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10402 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10403 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10404 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10405 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10406 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10407 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10408 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10409 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10410 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10411 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10412 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10413 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10414 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10415 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10416 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10417 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10418 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10419 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10420 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10421 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10422 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10423 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10424 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10425 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10448 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10449 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10450 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10451 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10452 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10453 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10454 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10455 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10456 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10457 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10458 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10459 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10460 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10461 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10462 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10463 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10464 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10465 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10466 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10467 * sysdeps/unix/sysv/linux/system.c: Likewise.
10468 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10469 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10470 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10471 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10472 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10473 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10474 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10475
92072d57
JM
10476 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10477 * configure: Regenerated.
10478 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10479
3e239be6
JM
10480 * configure.ac (base_machine): Do not set specially for particular
10481 machines here.
10482 * configure: Regenerated.
10483 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10484 settings from configure.ac.
10485 * sysdeps/i386/preconfigure: New file.
10486 * sysdeps/s390/preconfigure: Likewise.
10487 * sysdeps/sh/preconfigure: Likewise.
10488 * sysdeps/sparc/preconfigure: Likewise.
10489
06d50baa
RM
104902014-06-25 Roland McGrath <roland@hack.frob.com>
10491
74836003
RM
10492 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10493 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10494 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10495 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10496 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10497 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10498 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10499 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10500 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10501 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10502 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10503 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10504 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10505 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10506 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10507 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10508 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10509 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10510 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10511
10512 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10513 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10514 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10515 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10516 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10517 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10518 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10519 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10520 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10521 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10522 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10523 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10524 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10525 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10526 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10527 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10528 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10529 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10530 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10531 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10532 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10533 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10534 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10535 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10536 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10537 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10538 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10539 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10540 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10541 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10542 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10543 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10544 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10545 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10546 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10547 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10548 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10549 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10550
06d50baa
RM
10551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10552 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10554 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10556 Moved ...
10557 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10558 ... here.
10559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10560 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10562 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10564 Moved ...
10565 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10567 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10569 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10571 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10573 Moved ...
10574 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10576 Moved ...
10577 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10579 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10581 Moved ...
10582 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10584 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10586 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10588 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10590 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10592 Moved ...
10593 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10594 ... here.
10595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10596 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10598 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10600 Moved ...
10601 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10603 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10605 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10607 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10609 Moved ...
10610 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10612 Moved ...
10613 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10615 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10617 Moved ...
10618 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10620 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10622 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10623
a4ccbc9b
JM
106242014-06-25 Joseph Myers <joseph@codesourcery.com>
10625
0828edbf
JM
10626 * timezone/checktab.awk: Update from tzcode 2014e.
10627 * timezone/private.h: Likewise.
10628 * timezone/tzfile.h: Likewise.
10629 * timezone/zdump.c: Likewise.
10630 * timezone/zic.c: Likewise.
10631
a4ccbc9b
JM
10632 * sysdeps/unix/sysv/linux/kernel-features.h
10633 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10634 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10635 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10636 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10637 Remove conditional code.
10638
9aea0cb8
WN
106392014-06-25 Will Newton <will.newton@linaro.org>
10640
10641 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10642 (_dl_arm_cap_flags): Add HWCAP2 values.
10643 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10644 (_DL_HWCAP_COUNT): Increase to 37.
10645 (_DL_HWCAP_LAST): New define.
10646 (_DL_HWCAP2_LAST): New define.
10647 (_dl_procinfo): Add support for printing
10648 AT_HWCAP2 entries.
10649 (_dl_string_hwcap): Use _dl_hwcap_string.
10650
6eaa65ce
AZ
106512014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10652
10653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10654
0f5b7185
JM
106552014-06-25 Joseph Myers <joseph@codesourcery.com>
10656
cfd2ea50
JM
10657 * README: Do not mention ports directory.
10658
cecf2ed4
JM
10659 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10660 Remove macro.
10661 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10662 <kernel-features.h>.
10663 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10664 conditional variable definition.
10665 (__futimes): Update comment.
10666 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10667 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10668
a638de82
JM
10669 [BZ #16560]
10670 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10671 arguments close to 0.
10672 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10673 Likewise.
10674 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10675 Likewise.
10676 * math/auto-libm-test-in: Add more tests of exp10.
10677 * math/auto-libm-test-out: Regenerated.
10678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10679
0f5b7185
JM
10680 * sysdeps/unix/sysv/linux/kernel-features.h
10681 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10682 * sysdeps/unix/sysv/linux/readv.c: Do not include
10683 <kernel-features.h>.
10684 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10685 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10686 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10687 unconditional.
10688 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10689 conditional code.
10690 * sysdeps/unix/sysv/linux/writev.c: Do not include
10691 <kernel-features.h>.
10692 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10693 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10694 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10695 unconditional.
10696 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10697 conditional code.
10698
c7aec4be
WN
106992014-06-25 Will Newton <will.newton@linaro.org>
10700
10701 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10702 comment changes throughout the file. Remove checks
10703 for HAVE_*_H definitions that are not required.
10704 (__gen_tempname): Call abort if an unknown kind value is
10705 passed.
10706
c5241f95
AS
107072014-06-25 Andreas Schwab <schwab@suse.de>
10708
10709 [BZ #17086]
10710 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10711 scalbln, scalblnf, scalblnl in libc.
10712
911422da
SP
107132014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10714
10715 [BZ #17086]
10716 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10717 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10718 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10719
0d749bbe
RM
107202014-06-24 Roland McGrath <roland@hack.frob.com>
10721
10722 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10723 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10724 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10725 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10726 Update #include.
10727 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10728 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10729 Update #include.
10730 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10731 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10732 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10733 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10734 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10735 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10736 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10737 * sysdeps/x86/bits/semaphore.h: ... here.
10738 * sysdeps/x86/nptl/elide.h: Moved ...
10739 * sysdeps/x86/elide.h: ... here.
10740 * sysdeps/x86_64/nptl/Implies: File removed.
10741 * sysdeps/i386/nptl/Implies: File removed.
10742
0ea5d373
JM
107432014-06-24 Joseph Myers <joseph@codesourcery.com>
10744
4060283d
JM
10745 [BZ #16539]
10746 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10747 return the argument for normal arguments with exponent below -64.
10748 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10749 Likewise.
10750 * math/auto-libm-test-in: Add another test of expm1.
10751 * math/auto-libm-test-out: Regenerated.
10752
e7dd3c8c
JM
10753 [BZ #16287]
10754 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10755 calling __erfcl for arguments at least 16.
10756 * math/auto-libm-test-in: Add more tests of erf.
10757 * math/auto-libm-test-out: Regenerated.
10758
0ea5d373
JM
10759 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10760 individual architectures.
10761 * sysdeps/unix/sysv/linux/configure: Regenerated.
10762 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10763 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10764 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10765 (ldd_rewrite_script): Define variable.
10766 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10768 file.
10769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10770 generated file.
10771 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10772 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10773 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10774 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10775 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10776 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10777 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10778 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10779
2307e126
SP
107802014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10781
10782 [BZ #17084]
10783 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10784 Rename member __data.d to __data.__elision_data.
10785
c0a4ed77
W
107862014-06-24 Wilco <wdijkstr@arm.com>
10787
10788 * NEWS: Add 16918 to fixed bug list.
10789
b8c00573
W
107902014-06-24 Wilco <wdijkstr@arm.com>
10791
10792 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10793
b5570d92
W
107942014-06-24 Wilco <wdijkstr@arm.com>
10795
10796 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10797 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10798 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10799 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10800 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10801 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10802 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10803 Use _FPU_MASK_RM.
10804
947bdca2
W
108052014-06-24 Wilco <wdijkstr@arm.com>
10806
10807 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10808
00f669ed
W
108092014-06-24 Wilco <wdijkstr@arm.com>
10810
10811 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10812 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10813 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10814 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10815
db59bad3
W
108162014-06-24 Wilco <wdijkstr@arm.com>
10817
10818 [BZ #16918]
10819 * sysdeps/arm/feupdateenv.c (feupdateenv):
10820 Rewrite to reduce FPSCR accesses and fix return value.
10821
001f7b77
W
108222014-06-24 Wilco <wdijkstr@arm.com>
10823
10824 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10825 Optimize to avoid unnecessary FPSCR writes.
10826 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10827 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10828 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10829 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10830
4841e6a6
W
108312014-06-24 Wilco <wdijkstr@arm.com>
10832
10833 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10834 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10835 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10836 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10837 Call libc_fetestexcept_vfp.
10838 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10839 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10840 __SOFTFP__ ifdef so that they can be built for softfp.
10841
0813022c
SP
108422014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10843
08e5862f
SP
10844 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10845 argument type signed char.
10846
0813022c
SP
10847 * Makerules (check-abi): Dump diff of symlist if the test
10848 fails.
10849
3fc7236a
RM
108502014-06-23 Roland McGrath <roland@hack.frob.com>
10851
aba8ef95
RM
10852 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10853 using abort.
10854
3fc7236a
RM
10855 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10856 Remove unused variable ST.
10857
4da6db51
JM
108582014-06-23 Joseph Myers <joseph@codesourcery.com>
10859
4648909d
JM
10860 [BZ #16354]
10861 [BZ #17061]
10862 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10863 small arguments before calling __expm1.
10864 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10865 small arguments before calling __expm1f.
10866 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10867 small arguments before calling __expm1l.
10868 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10869 Likewise.
10870 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10871 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10872 spurious underflow for some cosh tests.
10873 * math/auto-libm-test-out: Regenerated.
10874 * sysdeps/i386/fpu/libm-test-ulps: Update.
10875
46a3d3c7
JM
10876 [BZ #17050]
10877 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10878 (__ieee754_y1): Set errno if return value overflows.
10879 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10880 (__ieee754_y1f): Set errno if return value overflows.
10881 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10882 (__ieee754_y1l): Set errno if return value overflows.
10883 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10884 (__ieee754_y1l): Set errno if return value overflows.
10885 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10886 * math/auto-libm-test-out: Regenerated.
10887
863893ec
JM
10888 * math/gen-auto-libm-tests.c: Document use of
10889 ignore-zero-inf-sign.
10890 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10891 (input_flags): Add ignore-zero-inf-sign.
10892 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10893 * math/gen-libm-test.pl (generate_testfile): Handle
10894 ignore-zero-inf-sign.
10895 * math/auto-libm-test-in: Mark some cpow tests with
10896 ignore-zero-inf-sign and some with xfail-rounding.
10897 * math/auto-libm-test-out: Regenerated.
10898 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10899 * sysdeps/i386/fpu/libm-test-ulps: Update.
10900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10901
4da6db51
JM
10902 [BZ #16315]
10903 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10904 overflowing or underflowing operations take place with sign of
10905 result.
10906 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10907 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10908 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10909 (__ieee754_pow): Recompute overflowing and underflowing results in
10910 original rounding mode.
10911 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10912 (__powl_helper): Allow negative argument X and scale negated value
10913 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10914 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10915 overflowing or underflowing operations take place with sign of
10916 result.
10917 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10918 Include <math.h>.
10919 * math/auto-libm-test-in: Add more tests of pow.
10920 * math/auto-libm-test-out: Regenerated.
10921 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10922 (pow_tonearest_test_data): Remove.
10923 (pow_test_tonearest): Likewise.
10924 (pow_towardzero_test_data): Likewise.
10925 (pow_test_towardzero): Likewise.
10926 (pow_downward_test_data): Likewise.
10927 (pow_test_downward): Likewise.
10928 (pow_upward_test_data): Likewise.
10929 (pow_test_upward): Likewise.
10930 (main): Don't call removed functions.
10931 * sysdeps/i386/fpu/libm-test-ulps: Update.
10932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10933
5686b236
RM
109342014-06-23 Roland McGrath <roland@hack.frob.com>
10935
10936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10937 Moved ...
10938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10940 Moved ...
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10943 Moved ...
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10946 Moved ...
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10949 File removed.
10950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10951 File removed.
10952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10953 File removed.
10954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10955 File removed.
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10957 File removed.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10959 File removed.
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10961 File removed.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10963 File removed.
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10965 File removed.
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10967 File removed.
10968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10969 File removed.
10970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10971 File removed.
10972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10973 Moved ...
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10976 Moved ...
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10978 ... here.
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10980 Moved ...
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10983 Moved ...
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10986 Moved ...
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10989 Moved ...
10990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10992 Moved ...
10993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10995 Moved ...
10996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10998 Moved ...
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11002 ... here.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11004 Moved ...
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11007 Moved ...
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11009 ... here.
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11011 Moved ...
11012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11013 ... here.
11014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11015 Moved ...
11016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11017 ... here.
11018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11019 Moved ...
11020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11022 Moved ...
11023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11027 Moved ...
11028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11029 ... here.
11030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11031 Moved ...
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11033 ... here.
11034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11035 Moved ...
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11038 Moved ...
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11041 Moved ...
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11044 Moved ...
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11047 Moved ...
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11049 ... here.
11050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11051 Moved ...
11052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11054 Moved ...
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11057 Moved ...
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11060 Moved ...
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11065 Moved ...
11066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11068 Moved ...
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11071 Moved ...
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11073 ... here.
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11075 Moved ...
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11077 ... here.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11079 Moved ...
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11081 ... here.
11082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11083 Moved ...
11084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11086 Moved ...
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11089 Moved ...
11090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11092 Moved ...
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11094 ... here.
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11096 Moved ...
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11098 ... here.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11100 Moved ...
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11102 ... here.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11104 Moved ...
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11107 Moved ...
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11109
e6d90d67
WD
111102014-06-23 Will Newton <will.newton@linaro.org>
11111 Wilco <wdijkstr@arm.com>
11112
11113 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11114 implementation. Include get-rounding-mode.h.
11115 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11116 [!libc_feholdsetround_noex_ctx]: Define
11117 libc_feholdsetround_noex_ctx.
11118 [!libc_feholdsetround_noexf_ctx]: Define
11119 libc_feholdsetround_noexf_ctx.
11120 [!libc_feholdsetround_noexl_ctx]: Define
11121 libc_feholdsetround_noexl_ctx.
11122 (libc_feholdsetround_ctx): New function.
11123 (libc_feresetround_ctx): New function.
11124 (libc_feholdsetround_noex_ctx): New function.
11125 (libc_feresetround_noex_ctx): New function.
11126
d42df555
RM
111272014-06-23 Roland McGrath <roland@hack.frob.com>
11128
88a46474
RM
11129 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11130 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11131 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11132 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11133 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11134 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11135
15bed472
RM
11136 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11137 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11138 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11139 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11140 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11141 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11142 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11143 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11144 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11145 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11146 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11147 Moved ...
11148 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11149 ... here.
11150 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11151 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11152 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11153 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11154 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11155 Moved ...
11156 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11157 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11158 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11159 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11160 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11161 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11162 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11163 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11164 Moved ...
11165 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11166 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11167 Moved ...
11168 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11169 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11170 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11171 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11172 Moved ...
11173 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11174 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11175 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11176 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11177 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11178 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11179 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11180 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11181 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11182 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11183 Moved ...
11184 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11185 ... here.
11186 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11187 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11188 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11189 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11190 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11191 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11192 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11193 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11194 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11195 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11196 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11197 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11198 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11199 Moved ...
11200 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11201 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11202 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11203 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11204 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11205 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11206 Moved ...
11207 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11208 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11209 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11210 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11211 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11212
d42df555
RM
11213 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11214 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11215 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11216 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11217 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11218 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11219 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11220 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11221 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11222 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11223 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11224 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11225 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11226 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11227 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11228 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11229 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11230 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11231 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11232 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11233 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11234 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11235 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11236 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11237 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11238 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11239 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11240 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11241
76e5216e
JM
112422014-06-23 Joseph Myers <joseph@codesourcery.com>
11243
11244 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11245 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11246 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11247 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11248 (IPV6_PMTUDISC_INTERFACE): Likewise.
11249 (IPV6_PMTUDISC_OMIT): Likewise.
11250
7a81cbcc
AS
112512014-06-23 Andreas Schwab <schwab@suse.de>
11252
11253 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11254 Remove unused errout label.
11255
db224009
AZ
112562014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11257
11258 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11259 macro: hardware supports Vector Crypto instructions.
11260
f393b4aa
WN
112612014-06-23 Will Newton <will.newton@linaro.org>
11262
cc7d0447
WN
11263 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11264 rather than __builtin_expect.
11265
d6d06225
WN
11266 * elf/dl-lookup.c (undefined_msg): Remove variable.
11267 (_dl_lookup_symbol_x): Replace undefined_msg with string
11268 literal.
11269
f393b4aa
WN
11270 * elf/dl-lookup.c (do_lookup_unique): New function.
11271 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11272 to a separate function.
11273
ac60763e
AS
112742014-06-23 Andreas Schwab <schwab@suse.de>
11275
11276 [BZ #17079]
11277 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11278 before reading the next line.
11279
c5c13355
WN
112802014-06-23 Will Newton <will.newton@linaro.org>
11281
11282 * test-skeleton.c (signal_handler): Use printf and %m
11283 rather than perror. Use printf rather than fprintf to
11284 stderr. Use puts rather than fputs to stderr.
11285 (main): Likewise.
11286
bd3675f9
LC
112872014-06-22 Ludovic Courtès <ludo@gnu.org>
11288
11289 * nscd/nscd.c (thread_info_t): Remove typedef.
11290 (thread_info): Remove variable.
11291
d03efb2f
AM
112922014-06-21 Allan McRae <allan@archlinux.org>
11293
11294 * NEWS: Mention CVE-2014-4043.
11295
bc4a86fa
RM
112962014-06-20 Roland McGrath <roland@hack.frob.com>
11297
dc9a54f8
RM
11298 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11299 * nptl/smp.h: ... here.
11300
bd7022c4
RM
11301 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11302
26ffd5e6
RM
11303 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11304 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11305 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11306 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11307
93a6d082
RM
11308 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11309 * nptl/stack-aliasing.h: New file.
11310 * sysdeps/i386/i686/stack-aliasing.h: New file.
11311 * sysdeps/i386/i686/nptl/Makefile: File removed.
11312 * sysdeps/x86_64/stack-aliasing.h: New file.
11313 * sysdeps/x86_64/nptl/Makefile
11314 (CFLAGS-pthread_create.c): Variable removed.
11315
bc4a86fa
RM
11316 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11317 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11318 old file.
11319 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11320 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11321 old file.
11322
2272ffc1
JM
113232014-06-21 Joseph Myers <joseph@codesourcery.com>
11324
11325 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11326 (__ASSUME_SIGFRAME_V2): Remove macro.
11327 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11328 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11329 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11330 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11331 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11332 Declare as function. Remove conditional macro definitions.
11333 (__default_rt_sa_restorer): Likewise.
11334 (__default_sa_restorer_v1): Remove declaration.
11335 (__default_sa_restorer_v2): Likewise.
11336 (__default_rt_sa_restorer_v1): Likewise.
11337 (__default_rt_sa_restorer_v2): Likewise.
11338 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11339 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11340 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11341
4b88139b
RM
113422014-06-20 Roland McGrath <roland@hack.frob.com>
11343
11344 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11345 (libpthread-routines): Add sysdep.
11346 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11347 * sysdeps/unix/sysv/linux/sparc/Versions
11348 (libpthread: GLIBC_2.3.3): New version set.
11349 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11350 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11351 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11352 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11353 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11354 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11355 Moved ...
11356 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11357 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11358 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11359 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11360 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11361 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11362 * sysdeps/sparc/nptl/sem_init.c: ... here.
11363 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11364 * sysdeps/sparc/nptl/sem_post.c: ... here.
11365 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11366 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11367 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11368 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11369 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11370 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11371 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11372 (libpthread-routines): Add cpu_relax.
11373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11374 File removed.
11375 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11376 (librt: GLIBC_2.3.3): New version set.
11377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11378 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11379 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11380 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11382 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11383 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11384 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11385 Moved ...
11386 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11388 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11389 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11390 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11392 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11393 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11394 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11396 Moved ...
11397 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11398 Update #include.
11399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11400 Moved ...
11401 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11402 Update #include.
11403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11404 Moved ...
11405 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11406 Update #include.
11407 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11408 Moved ...
11409 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11410 Update #include.
11411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11412 Moved ...
11413 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11414 Update #include.
11415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11416 Moved ...
11417 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11418 Update #include.
11419 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11420 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11422 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11423 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11424 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11426 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11427 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11428 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11430 Moved ...
11431 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11432 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11433 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11435 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11436
d7109027
JM
114372014-06-20 Joseph Myers <joseph@codesourcery.com>
11438
9bc6103d
JM
11439 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11440 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11441 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11442 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11443 * nscd/nscd.c: Likewise.
11444 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11445 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11446 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11447 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11448
d7109027
JM
11449 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11450 <kernel-features.h>.
11451 (init_mq_netlink): Remove conditional have_sock_cloexec
11452 definitions. Remove code conditional on have_sock_cloexec < 0.
11453 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11454 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11455 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11456 <kernel-features.h>.
11457 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11458 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11459
d92d8f8a
L
114602014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11461
11462 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11463 Add tests for memset_chk and memset.
11464
11465 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11466 with AVX2_Usable.
11467
4e6d2347
MR
114682014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11469
257ce712
MR
11470 [BZ #16046]
11471 * elf/tst-dl-iter-static.c: New file.
11472 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11473
4e6d2347
MR
11474 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11475 error.
11476
a2a76afe
JM
114772014-06-20 Joseph Myers <joseph@codesourcery.com>
11478
7fd00f99
JM
11479 * sysdeps/unix/sysv/linux/kernel-features.h
11480 (__ASSUME_F_GETOWN_EX): Remove macro.
11481 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11482 <kernel-features.h>.
11483 (miss_F_GETOWN_EX): Remove variable or macro.
11484 (do_fcntl): Do not check miss_F_GETOWN_EX.
11485 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11486
4a103975
JM
11487 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11488 Remove macro.
11489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11490 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11491 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11492
a2a76afe
JM
11493 * sysdeps/unix/sysv/linux/kernel-features.h
11494 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11495 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11496 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11497 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11498
90e5dd48
MR
114992014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11500
11501 [BZ #17075]
11502 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11503 Fix calculation of the symbol's value.
11504 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11505 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11506 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11507 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11508 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11509 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11510 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11511 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11512 (modules-names): Add `tst-armtlsdescmod',
11513 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11514 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11515 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11516 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11517 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11518 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11519 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11520 ($(objpfx)tst-armtlsdescloc): New dependency.
11521 ($(objpfx)tst-armtlsdescextnow): Likewise.
11522 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11523 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11524 TLS scheme support.
11525 * sysdeps/arm/configure: Regenerate.
11526
809fdf0d
JM
115272014-06-20 Joseph Myers <joseph@codesourcery.com>
11528
11529 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11530 (__atfct_seterrno_2): Likewise.
11531 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11532 <kernel-features.h>.
11533 (__ASSUME_ATFCTS): Do not undefine and redefine.
11534 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11535 (__have_atfcts): Remove conditional definition.
11536 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11537 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11538 unreachable if [__ASSUME_ATFCTS].
11539 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11540 not undefine and redefine.
11541 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11542 <kernel-features.h>.
11543 (faccessat) [__NR_faccessat]: Make code unconditional.
11544 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11545 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11546 <kernel-features.h>.
11547 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11548 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11549 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11550 <kernel-features.h>.
11551 (fchownat) [__NR_fchownat]: Make code unconditional.
11552 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11553 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11554 <kernel-features.h>.
11555 (futimesat) [__NR_futimesat]: Make code unconditional.
11556 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11557 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11558 <kernel-features.h>.
11559 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11560 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11561 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11562 <kernel-features.h>.
11563 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11564 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11565 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11566 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11567 <kernel-features.h>.
11568 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11569 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11570 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11571 <kernel-features.h>.
11572 (linkat) [__NR_linkat]: Make code unconditional.
11573 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11574 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11575 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11576 <kernel-features.h>.
11577 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11578 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11579 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11580 <kernel-features.h>.
11581 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11582 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11583 * sysdeps/unix/sysv/linux/openat.c: Do not include
11584 <kernel-features.h>.
11585 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11586 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11587 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11588 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11589 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11590 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11591 <kernel-features.h>.
11592 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11593 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11594 result of INLINE_SYSCALL directly, not via int variable.
11595 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11596 <kernel-features.h>.
11597 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11598 (renameat) [__NR_renameat]: Make code unconditional.
11599 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11600 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11601 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11602 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11603 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11604 (__ASSUME_ATFCTS): Do not undefine and redefine.
11605 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11606 <kernel-features.h>.
11607 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11608 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11609 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11610 <kernel-features.h>.
11611 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11612 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11613 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11614 (__ASSUME_ATFCTS): Do not undefine and redefine.
11615 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11616 <kernel-features.h>.
11617 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11618 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11619 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11620 <kernel-features.h>.
11621 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11622 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11623
224c6c51
L
116242014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11625
11626 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11627
aa6ec754
AS
116282014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11629
11630 [BZ #17069]
11631 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11632 constructed tree before returning error.
11633 * posix/bug-regexp36.c: Expand test case.
11634
d8c2869d
SL
116352014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11636
3ef6b850
SL
11637 [BZ #6803]
11638 * math/libm-test.inc (scalbln_test_date):
11639 Add errno expectations.
11640 * math/w_scalblnf.c: New File.
11641 Add wrapper which checks for setting errno to ERANGE.
11642 Add weak_alias for corresponding scalbln function.
11643 * math/w_scalbln.c: Likewise.
11644 * math/w_scalblnl.c: Likewise.
11645 * math/Makefile (libm-calls): Add w_scalbln.
11646 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11647 Remove weak_alias for corresponding scalbln function.
11648 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11649 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11650 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11652 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11653 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11654 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11655 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11656 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11657 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11658 Remove long_double_symbol for scalblnl function in libm, libc.
11659 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11660 Add wrapper which checks for setting errno to ERANGE.
11661 Add long_double_symbol for scalblnl function in libm, libc.
11662 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11663 Remove long_double_symbol for scalblnl in libm.
11664 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11665 Add wrapper which checks for setting errno to ERANGE.
11666 Add long_double_symbol for scalblnl function in libm.
11667 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11668 Do not use wrapper because of own implementation.
11669
c8daec5c
L
116702014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11671
11672 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11673 3 bytes for __pad1 for x32.
11674 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11675
5c74e47c
LM
116762014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11677 H.J. Lu <hongjiu.lu@intel.com>
11678
11679 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11680 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11681 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11682 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11683 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11684
4d43ef1e
AS
116852014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11686
11687 [BZ #17069]
11688 * posix/regcomp.c (parse_expression): Deallocate partially
11689 constructed tree before returning error.
11690 * posix/Makefile.c (tests): Add bug-regex36.
11691 (generated): Add bug-regex36.mtrace.
11692 (tests-special): Add $(objpfx)bug-regex36-mem.out
11693 (bug-regex36-ENV): New variable.
11694 ($(objpfx)bug-regex36-mem.out): New rule.
11695 * posix/bug-regex36.c: New file.
11696
51a7380b
WN
116972014-06-19 Will Newton <will.newton@linaro.org>
11698
11699 * malloc/malloc.c (systrim): If extra is zero then return
11700 early.
11701
91b84fe5
SP
117022014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11703
11704 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11705
f940b965
RE
117062014-06-19 Richard Earnshaw <rearnsha@arm.com>
11707
11708 * sysdeps/aarch64/strchr.S: New file.
11709
4ba7a00f
JM
117102014-06-18 Joseph Myers <joseph@codesourcery.com>
11711
11712 [BZ #17022]
11713 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11714 from arguments -2 or below.
11715 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11716 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11717
b3a9f56b
AS
117182014-06-18 Andreas Schwab <schwab@suse.de>
11719
11720 [BZ #17062]
11721 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11722 of a bracket expr not to run off the end of the string.
11723 * posix/Makefile (tests): Add tst-fnmatch3.
11724 * posix/tst-fnmatch3.c: New file.
11725
85d89278
JM
117262014-06-18 Joseph Myers <joseph@codesourcery.com>
11727
11728 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11729 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11730 [$(cross-compiling) = no]: Likewise.
11731 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11732 [$(cross-compiling) = no]: Likewise.
11733
754c5a08
RS
117342014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11735
11736 [BZ #17031]
11737 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11738 double, adjusted for any remainder from the high double.
11739 * math/libm-test.inc (nearbyint): Add tests.
11740 (rint): Likewise.
11741
556f529d
AZ
117422014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11743
11744 * nptl/sysdeps/powerpc/Makefile: Moved ...
11745 * sysdeps/powerpc/nptl/Makefile: ... here.
11746 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11747 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11748 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11749 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11750 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11751 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11752 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11753 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11754 * nptl/sysdeps/powerpc/tls.h: Moved ...
11755 * sysdeps/powerpc/nptl/tls.h: ... here.
11756
91c03c53
JM
117572014-06-16 Joseph Myers <joseph@codesourcery.com>
11758
11759 [BZ #16681]
11760 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11761 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11762 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11763 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11764 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11765 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11766 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11767 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11768 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11769
a76e63c5
AS
117702014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11771
11772 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11773
f2f6d82f
AS
117742014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11775
ea8a15f6
AS
11776 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11777 defined operator.
11778
f2f6d82f
AS
11779 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11780 $TIMEOUTFACTOR.
11781
a7291117
FW
117822014-06-16 Florian Weimer <fweimer@redhat.com>
11783
11784 [BZ #17058]
11785 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11786 non-executed part of the test.
11787
3d7c00e3
AS
117882014-06-16 Andreas Schwab <schwab@suse.de>
11789
11790 * string/bits/string2.h (strdup, strndup): Update feature guard.
11791
6957fb31
DM
117922014-06-14 David S. Miller <davem@davemloft.net>
11793
11794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11795
11b9e55b
AS
117962014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11797
1d2a0492
AS
11798 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11799 that was previously under [RESET_PID].
11800 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11801
11b9e55b
AS
11802 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11803 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11804 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11805 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11806 (__libc_vfork): New strong alias.
11807 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11808
0f6901d0
AK
118092014-06-14 Andi Kleen <ak@linux.intel.com>
11810
11811 * sysdeps/generic/elide.h: New file.
11812
38bbbb9f
SL
118132014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11814
11815 * Makefile (installed-headers): Adjust path of pthread.h header.
11816
45193bb8
RM
118172014-06-13 Roland McGrath <roland@hack.frob.com>
11818
9a25fd1e
RM
11819 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11820 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11821 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11822 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11823
4004f7e4
RM
11824 * nptl/sysdeps/s390/Makefile: Moved ...
11825 * sysdeps/s390/nptl/Makefile: ... here.
11826 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11827 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11828 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11829 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11830 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11831 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11832 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11833 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11834 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11835 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11836 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11837 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11838 * nptl/sysdeps/s390/tls.h: Moved ...
11839 * sysdeps/s390/nptl/tls.h: ... here.
11840
45193bb8
RM
11841 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11842 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11843
f6fdf533
DM
118442014-06-13 David S. Miller <davem@davemloft.net>
11845
11846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11847 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11848 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11849 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11850 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11852 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11853 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11854 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11855 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11856 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11857 Remove RESET_PID cpp guards.
11858 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11859 Remove RESET_PID cpp guards.
11860 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11861
f5d71e14
AS
118622014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11863
11864 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11865 __sp to uintptr_t.
11866
b7aa8caa
AK
118672014-06-13 Andi Kleen <ak@linux.intel.com>
11868
4b266200
AZ
11869 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11870 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11871 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11872 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11873 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11874 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11875 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11876 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11877 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11878 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11879 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11880 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11881 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11882 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11883 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11884 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11885 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11886 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11887 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11888 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11889
11890 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11891 (pthread_rwlock_rdlock): Add elision.
11892 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11893 (pthread_rwlock_wrlock): Add elision.
11894 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11895 (pthread_rwlock_trywrlock): Add elision.
11896 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11897 (pthread_rwlock_tryrdlock): Add elision.
11898 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11899 (pthread_rwlock_tryrdlock): Add elision unlock.
11900 * nptl/sysdeps/pthread/pthread.h:
11901 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11902 (PTHREAD_RWLOCK_INITIALIZER,
11903 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11904 Handle new elision field.
11905 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11906 * sysdeps/arm/nptl/bits/pthreadtypes.h
11907 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11908 * sysdeps/sh/nptl/bits/pthreadtypes.h
11909 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11910 * sysdeps/tile/nptl/bits/pthreadtypes.h
11911 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11912 * sysdeps/a/nptl/bits/pthreadtypes.h
11913 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11914 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11915 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11916 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11917 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11918 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11919 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11920 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11921 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11922 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11923 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11924 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11925 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11926 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11927 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11928 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11929 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11930 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11931 (elision_init): Set try_xbegin to zero when no RTM.
11932 * sysdeps/x86/nptl/bits/pthreadtypes.h
11933 (pthread_rwlock_t): Change __pad1 to __rwelision.
11934 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11935
a832bdd3
AK
119362014-06-13 Andi Kleen <ak@linux.intel.com>
11937
11938 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11939 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11940 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11941 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11942
995a46bb
MI
119432014-06-13 Meador Inge <meadori@codesourcery.com>
11944
11945 [BZ #16996]
03ed7738 11946 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11947 that the cached result has been set before returning it.
11948
45262aee
RM
119492014-06-12 Roland McGrath <roland@hack.frob.com>
11950
febf6cc5
RM
11951 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11952 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11953 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11954 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11955 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11956 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11957
e2682246
RM
11958 * nptl/sysdeps/sparc/Makefile: Moved ...
11959 * sysdeps/sparc/nptl/Makefile: ... here.
11960 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11961 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11962 * nptl/sysdeps/sparc/tls.h: Moved ...
11963 * sysdeps/sparc/nptl/tls.h: ... here.
11964 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11965 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11966 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11967 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11968 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11969 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11970 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11971 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11972 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11973 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11974 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11975 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11976 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11977 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11978 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11979 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11980 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11981 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11982 Update #include.
11983 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11984 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11985 Update #include.
11986 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11987 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11988 Update #include.
11989 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11990 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11991 Update #include.
11992
b0725f43
RM
11993 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11994
b14368b8
RM
11995 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11996 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11997
c5620eb3
RM
11998 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11999 (struct list_links): Type removed.
12000 (struct thread_node, struct timer_node): Replace struct list_links
12001 with struct list_head.
12002 (list_unlink_ip): Likewise.
12003 * sysdeps/pthread/timer_routines.c
12004 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12005 (list_append, list_insbefore): Likewise.
12006 (list_init): Function removed.
12007 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
12008 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12009 * sysdeps/pthread/Makefile: ... here, new file.
12010
12011 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12012 * sysdeps/nptl/Implies: ... here.
12013 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12014 * nptl/sysdeps/pthread/list.h: Moved ...
12015 * include/list.h: ... here.
12016 * nptl/sysdeps/pthread/createthread.c: Moved ...
12017 * nptl/createthread.c: ... here.
12018 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12019 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12020 * nptl/pt-longjmp.c: ... here.
12021 * nptl/sysdeps/pthread/Makefile: Moved ...
12022 * sysdeps/nptl/Makefile: ... here.
12023 * nptl/sysdeps/pthread/Subdirs: Moved ...
12024 * sysdeps/nptl/Subdirs: ... here.
12025 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12026 * sysdeps/nptl/aio_misc.h: ... here.
12027 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12028 * sysdeps/nptl/bits/libc-lock.h: ... here.
12029 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12030 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12031 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12032 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12033 * nptl/sysdeps/pthread/configure: Moved ...
12034 * sysdeps/nptl/configure: ... here.
12035 * nptl/sysdeps/pthread/configure.ac: Moved ...
12036 * sysdeps/nptl/configure.ac: ... here.
12037 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12038 * sysdeps/nptl/gai_misc.h: ... here.
12039 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12040 * sysdeps/nptl/librt-cancellation.c: ... here.
12041 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12042 * sysdeps/nptl/malloc-machine.h: ... here.
12043 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12044 * sysdeps/nptl/pthread-functions.h: ... here.
12045 * nptl/sysdeps/pthread/pthread.h: Moved ...
12046 * sysdeps/nptl/pthread.h: ... here.
12047 * nptl/sysdeps/pthread/setxid.h: Moved ...
12048 * sysdeps/nptl/setxid.h: ... here.
12049 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12050 * sysdeps/nptl/sigfillset.c: ... here.
12051 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12052 * sysdeps/nptl/tcb-offsets.h: ... here.
12053 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12054 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12055 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12056 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12057 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12058 * sysdeps/pthread/allocalim.h: ... here.
12059 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12060 * sysdeps/pthread/bits/sigthread.h: ... here.
12061 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12062 * sysdeps/pthread/flockfile.c: ... here.
12063 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12064 * sysdeps/pthread/ftrylockfile.c: ... here.
12065 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12066 * sysdeps/pthread/funlockfile.c: ... here.
12067 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12068 * sysdeps/pthread/posix-timer.h: ... here.
12069 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12070 * sysdeps/pthread/timer_create.c: ... here.
12071 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12072 * sysdeps/pthread/timer_delete.c: ... here.
12073 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12074 * sysdeps/pthread/timer_getoverr.c: ... here.
12075 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12076 * sysdeps/pthread/timer_gettime.c: ... here.
12077 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12078 * sysdeps/pthread/timer_routines.c: ... here.
12079 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12080 * sysdeps/pthread/timer_settime.c: ... here.
12081 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12082 * sysdeps/pthread/tst-timer.c: ... here.
12083 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12084 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12085
e876b090
RM
12086 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12087 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12088
f6b07b3d
RM
12089 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12090 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12091 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12092 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12093 Update #include target.
12094 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12095 * sysdeps/i386/i686/nptl/Makefile: ... here.
12096 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12097 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12098 Update #include target.
12099 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12100 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12101 * nptl/sysdeps/i386/Makefile: Moved ...
12102 * sysdeps/i386/nptl/Makefile: ... here.
12103 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12104 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12105 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12106 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12107 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12108 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12109 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12110 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12111 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12112 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12113 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12114 * nptl/sysdeps/i386/tls.h: Moved ...
12115 * sysdeps/i386/nptl/tls.h: ... here.
12116
45262aee
RM
12117 * sysdeps/sh/Makefile [$(subdir) = csu]
12118 (gen-as-const-headers): Add tcb-offsets.sym.
12119 * nptl/sysdeps/sh/Makefile: File removed.
12120 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12121 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12122 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12123 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12124 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12125 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12126 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12127 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12128 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12129 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12130 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12131 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12132 * nptl/sysdeps/sh/tls.h: Moved ...
12133 * sysdeps/sh/nptl/tls.h: ... here.
12134 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12135 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12136 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12137 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12138 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12139 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12140 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12141 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12142 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12143 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12144 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12145 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12146 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12147 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12148 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12149 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12150 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12151 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12152 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12153 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12154 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12155 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12156 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12157 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12158 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12159 Moved ...
12160 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12161 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12162 Moved ...
12163 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12164 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12165 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12166 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12167 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12168 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12169 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12170 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12171 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12172 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12173 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12174 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12175 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12176 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12177 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12178 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12179 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12180 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12181 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12182
35a5e3e3
SL
121832014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12184
12185 * posix/spawn_faction_addopen.c: Include string.h.
12186
14642b85
RM
121872014-06-11 Roland McGrath <roland@hack.frob.com>
12188
12189 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12190 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12191 * nptl/sysdeps/x86_64/Makefile: Moved ...
12192 * sysdeps/x86_64/nptl/Makefile: ... here.
12193 * nptl/sysdeps/x86_64/configure: Moved ...
12194 * sysdeps/x86_64/nptl/configure: ... here.
12195 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12196 * sysdeps/x86_64/nptl/configure.ac: ... here.
12197 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12198 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12199 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12200 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12201 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12202 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12203 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12204 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12205 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12206 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12207 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12208 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12209 * nptl/sysdeps/x86_64/tls.h: Moved ...
12210 * sysdeps/x86_64/nptl/tls.h: ... here.
12211 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12212 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12213 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12214 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12215
12216 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12217
31c44fea
AZ
122182014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12219
12220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12221
e81a4f9a
JM
122222014-06-11 Joseph Myers <joseph@codesourcery.com>
12223
12224 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12225 type.
12226 [POSIX] (off_t): Likewise.
12227 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12228 [POSIX] (S_ISBLK): Require macro.
12229 [POSIX] (S_ISCHR): Likewise.
12230 [POSIX] (S_ISDIR): Likewise.
12231 [POSIX] (S_ISFIFO): Likewise.
12232 [POSIX] (S_ISREG): Likewise.
12233 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12234 optional-macro.
12235 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12236 type.
12237 [POSIX] (time_t): Likewise.
12238 [POSIX] (timer_t): Likewise.
12239
89e435f3
FW
122402014-06-11 Florian Weimer <fweimer@redhat.com>
12241
12242 [BZ #17048]
12243 * posix/spawn_int.h (struct __spawn_action): Make the path string
12244 non-const to support deallocation.
12245 * posix/spawn_faction_addopen.c
12246 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12247 * posix/spawn_faction_destroy.c
12248 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12249 path in all spawn_do_open actions.
12250 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12251 posix_spawn_file_actions_addopen.
12252
c3a2ebe1
CM
122532014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12254
12255 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12256 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12257 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12258 conditional code always true.
12259 (__libc_vfork): New alias.
12260
9503784a
RM
122612014-06-11 Roland McGrath <roland@hack.frob.com>
12262
c9cab3d2
RM
12263 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12264 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12265
d3996c79
RM
12266 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12267
ba5ec611
RM
12268 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12269 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12270
f12b4814
RM
12271 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12272 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12273
9503784a
RM
12274 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12275 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12276
e23d3d26
VR
122772014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12278
12279 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12280 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12281 multiarch strcmp for PPC64.
12282 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12283 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12285 multiarch optimizations.
12286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12287 (__libc_ifunc_impl_list): Likewise.
12288
42b1161e
SP
122892014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12290
12291 * benchtests/scripts/validate_benchout.py: New script.
12292 * benchtests/Makefile (bench-func): Call it.
12293 * benchtests/scripts/benchout.schema.json: New file.
12294
2d0fc4dc
CM
122952014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12296
4a594c34
AZ
12297 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12298 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12299 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12300 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12301 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12302 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12303 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12304 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12305 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12306 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12307 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12308 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12309 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12310 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12311 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12312 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12314 Moved ...
4a594c34 12315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12316 ... here.
4a594c34 12317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12318 Moved ...
4a594c34
AZ
12319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12321 Moved ...
4a594c34 12322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12323 ... here.
4a594c34 12324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12325 Moved ...
4a594c34 12326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12327 ... here.
4a594c34 12328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12329 Moved ...
4a594c34
AZ
12330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12332 Moved ...
4a594c34 12333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12334 ... here.
4a594c34 12335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12336 Moved ...
4a594c34 12337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12338 ... here.
4a594c34 12339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12340 Moved ...
4a594c34
AZ
12341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12343 Moved ...
4a594c34 12344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12345 ... here.
4a594c34 12346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12347 Moved ...
4a594c34 12348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12349 ... here.
4a594c34 12350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12351 Moved ...
4a594c34 12352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12353 ... here.
4a594c34 12354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12355 Moved ...
4a594c34
AZ
12356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12358 Moved ...
4a594c34 12359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12360 ... here.
4a594c34 12361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12362 Moved ...
4a594c34 12363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12364 ... here.
4a594c34 12365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12366 Moved ...
4a594c34 12367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12368 ... here.
4a594c34 12369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12370 Moved ...
4a594c34
AZ
12371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12373 Moved ...
4a594c34 12374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12375 ... here.
4a594c34 12376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12377 Moved ...
4a594c34 12378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12379 ... here.
4a594c34 12380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12381 Moved ...
4a594c34
AZ
12382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12384 Moved ...
4a594c34 12385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12386 ... here.
4a594c34 12387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12388 Moved ...
4a594c34
AZ
12389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12391 Moved ...
4a594c34
AZ
12392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12394 Moved ...
4a594c34 12395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12396 ... here.
4a594c34 12397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12398 Moved ...
4a594c34 12399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12400 ... here.
4a594c34 12401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12402 Moved ...
4a594c34 12403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12404 ... here.
4a594c34 12405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12406 Moved ...
4a594c34
AZ
12407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12409 Moved ...
4a594c34 12410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12411 ... here.
4a594c34 12412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12413 Moved ...
4a594c34 12414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12415 ... here.
4a594c34
AZ
12416 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12417 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12418 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12419 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12420 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12421 Moved ...
4a594c34 12422 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12423 ... here.
4a594c34
AZ
12424 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12425 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12426 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12427 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12428 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12429 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12430 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12431 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12432 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12433 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12434 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12435 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12436 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12437 Moved ...
4a594c34
AZ
12438 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12439 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12440 Moved ...
4a594c34
AZ
12441 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12442 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12443 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12444 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12445 Moved ...
4a594c34
AZ
12446 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12447 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12448 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12449 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12450 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12451 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12452 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12453
0570cfed
W
124542014-06-10 Wilco <wdijkstr@arm.com>
12455
12456 * math/test-fenv-return.c: New file.
12457 * math/Makefile: Add new test test-fenv-return.
12458
f8ba1b56
JM
124592014-06-10 Joseph Myers <joseph@codesourcery.com>
12460
12461 [BZ #17042]
12462 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12463 when x - 1 is zero.
12464 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12465 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12466 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12467 0.0L for an argument of 1.0L.
12468 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12469 Likewise.
12470 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12471 value when x - 1 is zero.
12472 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12473 * sysdeps/i386/fpu/libm-test-ulps: Update.
12474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12475
2c3520d9
BO
124762014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12477
12478 [BZ #15119]
12479 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12480
acaa4d24
RM
124812014-06-09 Roland McGrath <roland@hack.frob.com>
12482
12483 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12484 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12485
962b744d
RM
124862014-06-09 Roland McGrath <roland@hack.frob.com>
12487
d752f0cc
RM
12488 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12489 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12490
34eda6d1
RM
12491 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12492 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12493
50f0a637
RM
12494 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12495 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12496
08f41f04
RM
12497 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12498 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12499
962b744d
RM
12500 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12501 if not already defined.
12502 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12503 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12504 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12505 (TLS_INIT_TP): Use it.
12506 (TLS_DEFINE_INIT_TP): New macro.
12507 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12508
09f19b05
JM
125092014-06-09 Joseph Myers <joseph@codesourcery.com>
12510
12511 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12512 constant.
12513 [POSIX] (IXANY): Likewise.
12514 [POSIX] (OLCUC): Likewise.
12515 [POSIX || POSIX2008] (CBAUD): Do not allow.
12516 [POSIX || POSIX2008] (DEFECHO): Likewise.
12517 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12518 [POSIX || POSIX2008] (ECHOKE): Likewise.
12519 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12520 [POSIX || POSIX2008] (EXTA): Likewise.
12521 [POSIX || POSIX2008] (EXTB): Likewise.
12522 [POSIX || POSIX2008] (FLUSHO): Likewise.
12523 [POSIX || POSIX2008] (LOBLK): Likewise.
12524 [POSIX || POSIX2008] (PENDIN): Likewise.
12525 [POSIX || POSIX2008] (SWTCH): Likewise.
12526 [POSIX || POSIX2008] (VDISCARD): Likewise.
12527 [POSIX || POSIX2008] (VDSUSP): Likewise.
12528 [POSIX || POSIX2008] (VLNEXT): Likewise.
12529 [POSIX || POSIX2008] (VREPRINT): Likewise.
12530 [POSIX || POSIX2008] (VSTATUS): Likewise.
12531 [POSIX || POSIX2008] (VWERASE): Likewise.
12532 (B*): Change to B[0123456789]*.
12533 * conform/data/time.h-data [POSIX || UNIX98]
12534 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12535 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12536 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12537 [POSIX] (tm_*): Do not allow.
12538
686554bf
JM
125392014-06-07 Joseph Myers <joseph@codesourcery.com>
12540
12541 * Makefile (install): Don't set LANGUAGE.
12542 * Makefile.in (install): Likewise.
12543 * assert/Makefile (test-assert-ENV): Remove variable.
12544 (test-assert-perr-ENV): Likewise.
12545 * elf/Makefile (neededtest4-ENV): Likewise.
12546 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12547 [$(cross-compiling) = no]: Don't set LANGUAGE.
12548 * io/ftwtest-sh (LANG): Remove variable.
12549 * libio/Makefile (tst-widetext-ENV): Likewise.
12550 * manual/install.texi (Running make install): Don't refer to
12551 environment settings for make install.
12552 * INSTALL: Regenerated.
12553 * nptl/tst-tls6.sh: Don't set LANG.
12554 * posix/globtest.sh (LANG): Remove variable.
12555 * string/Makefile (tester-ENV): Likewise.
12556 (inl-tester-ENV): Likewise.
12557 (noinl-tester-ENV): Likewise.
12558 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12559 [$(cross-compiling) = no]: Don't set LANGUAGE.
12560 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12561 without explicit environment settings.
12562
68e6b6b1
RM
125632014-06-06 Roland McGrath <roland@hack.frob.com>
12564
12565 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12566 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12567 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12568 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12569
4d3ae034
CM
125702014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12571
12572 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12573 other files in the crypt directory.
12574 * crypt/crypt.c: Remove duplicate includes.
12575 * crypt/crypt-entry.c: Likewise.
12576 * crypt/crypt_util.c: Likewise.
12577
8540f6d2
JM
125782014-06-06 Joseph Myers <joseph@codesourcery.com>
12579
12580 * Makeconfig (run-program-env): New variable.
12581 (run-program-prefix-before-env): Likewise.
12582 (run-program-prefix-after-env): Likewise.
12583 (run-program-prefix): Define in terms of new variables.
12584 (built-program-cmd-before-env): New variable.
12585 (built-program-cmd-after-env): Likewise.
12586 (built-program-cmd): Define in terms of new variables.
12587 (test-program-prefix-before-env): New variable.
12588 (test-program-prefix-after-env): Likewise.
12589 (test-program-prefix): Define in terms of new variables.
12590 (test-program-cmd-before-env): New variable.
12591 (test-program-cmd-after-env): Likewise.
12592 (test-program-cmd): Define in terms of new variables.
12593 * Rules (make-test-out): Use $(run-program-env).
12594 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12595 (help): Do not mention environment variables. Mention
12596 --timeoutfactor option.
12597 (timeoutfactor): New variable.
12598 (blacklist_exports): Remove function.
12599 (exports): Remove variable.
12600 (command): Do not include ${exports}.
12601 * manual/install.texi (Configuring and compiling): Do not mention
12602 test wrappers preserving environment variables. Mention that last
12603 assignment to a variable must take precedence.
12604 * INSTALL: Regenerated.
12605 * benchtests/Makefile (run-bench): Use $(run-program-env).
12606 * catgets/Makefile ($(objpfx)test1.cat): Use
12607 $(built-program-cmd-before-env), $(run-program-env) and
12608 $(built-program-cmd-after-env).
12609 ($(objpfx)test2.cat): Do not specify environment variables
12610 explicitly.
12611 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12612 $(run-program-env) and $(built-program-cmd-after-env).
12613 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12614 $(run-program-env) and $(test-program-cmd-after-env).
12615 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12616 explicitly.
12617 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12618 run_program_env and test_program_cmd_after_env arguments.
12619 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12620 * elf/tst-pathopt.sh: Use run_program_env argument.
12621 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12622 $(test-wrapper-env) and $(run-program-env).
12623 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12624 run_program_env arguments.
12625 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12626 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12627 $(test-program-prefix-before-env), $(run-program-env) and
12628 $(test-program-prefix-after-env).
12629 ($(objpfx)tst-gettext2.out): Likewise.
12630 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12631 run_program_env and test_program_prefix_after_env arguments.
12632 * intl/tst-gettext2.sh: Likewise.
12633 * intl/tst-gettext4.sh: Do not set environment variables
12634 explicitly.
12635 * intl/tst-gettext6.sh: Likewise.
12636 * intl/tst-translit.sh: Likewise.
12637 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12638 $(test-program-prefix-before-env), $(run-program-env) and
12639 $(test-program-prefix-after-env).
12640 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12641 run_program_env and test_program_prefix_after_env arguments.
12642 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12643 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12644 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12645 explicitly with each use of ${test_wrapper_env}.
12646 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12647 $(test-program-prefix-before-env), $(run-program-env) and
12648 $(test-program-prefix-after-env).
12649 * posix/tst-getconf.sh: Do not set environment variables
12650 explicitly.
12651 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12652 run_program_env and test_program_prefix_after_env arguments.
12653 * stdio-common/tst-printf.sh: Do not set environment variables
12654 explicitly.
12655 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12656 $(test-program-prefix-before-env), $(run-program-env) and
12657 $(test-program-prefix-after-env).
12658 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12659 run_program_env and test_program_prefix_after_env arguments.
12660 Split $test calls into $test_pre and $test.
12661 * timezone/Makefile (build-testdata): Use
12662 $(built-program-cmd-before-env), $(run-program-env) and
12663 $(built-program-cmd-after-env).
12664
ed36bfa1
AZ
126652014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12666
12667 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12668 strlen for non SHARED builds.
12669
fc75bf46
SP
126702014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12671
12672 * nptl/allocatestack.c (check_list): Inlined function...
12673 (__reclaim_stacks): ... here.
12674
d89b3d80
OB
126752014-06-05 Ondřej Bílka <neleai@seznam.cz>
12676
12677 [BZ #15698]
12678 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12679 memory overrun.
12680
2bf18041
JM
126812014-06-05 Joseph Myers <joseph@codesourcery.com>
12682
12683 * Rules (make-test-out): Include
12684 LOCPATH=$(common-objpfx)localedata in default environment.
12685 * debug/Makefile (tst-chk1-ENV): Remove variable.
12686 (tst-chk2-ENV): Likewise.
12687 (tst-chk3-ENV): Likewise.
12688 (tst-chk4-ENV): Likewise.
12689 (tst-chk5-ENV): Likewise.
12690 (tst-chk6-ENV): Likewise.
12691 (tst-lfschk1-ENV): Likewise.
12692 (tst-lfschk2-ENV): Likewise.
12693 (tst-lfschk3-ENV): Likewise.
12694 (tst-lfschk4-ENV): Likewise.
12695 (tst-lfschk5-ENV): Likewise.
12696 (tst-lfschk6-ENV): Likewise.
12697 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12698 (tst-iconv7-ENV): Likewise.
12699 * intl/Makefile (LOCPATH-ENV): Likewise.
12700 (tst-codeset-ENV): Likewise.
12701 (tst-gettext3-ENV): Likewise.
12702 (tst-gettext5-ENV): Likewise.
12703 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12704 (tst-fopenloc-ENV): Likewise.
12705 (tst-fgetws-ENV): Remove variable.
12706 (tst-ungetwc1-ENV): Likewise.
12707 (tst-ungetwc2-ENV): Likewise.
12708 (bug-ungetwc2-ENV): Likewise.
12709 (tst-swscanf-ENV): Likewise.
12710 (bug-ftell-ENV): Likewise.
12711 (tst-fgetwc-ENV): Likewise.
12712 (tst-fseek-ENV): Likewise.
12713 (tst-ftell-partial-wide-ENV): Likewise.
12714 (tst-ftell-active-handler-ENV): Likewise.
12715 (tst-ftell-append-ENV): Likewise.
12716 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12717 (tst-regexloc-ENV): Likewise.
12718 (bug-regex1-ENV): Likewise.
12719 (tst-regex-ENV): Likewise.
12720 (tst-regex2-ENV): Likewise.
12721 (bug-regex5-ENV): Likewise.
12722 (bug-regex6-ENV): Likewise.
12723 (bug-regex17-ENV): Likewise.
12724 (bug-regex18-ENV): Likewise.
12725 (bug-regex19-ENV): Likewise.
12726 (bug-regex20-ENV): Likewise.
12727 (bug-regex22-ENV): Likewise.
12728 (bug-regex23-ENV): Likewise.
12729 (bug-regex25-ENV): Likewise.
12730 (bug-regex26-ENV): Likewise.
12731 (bug-regex30-ENV): Likewise.
12732 (bug-regex32-ENV): Likewise.
12733 (bug-regex33-ENV): Likewise.
12734 (bug-regex34-ENV): Likewise.
12735 (bug-regex35-ENV): Likewise.
12736 (tst-rxspencer-ENV): Likewise.
12737 (tst-rxspencer-no-utf8-ENV): Likewise.
12738 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12739 (tst-sscanf-ENV): Likewise.
12740 (tst-swprintf-ENV): Likewise.
12741 (tst-swscanf-ENV): Likewise.
12742 (test-vfprintf-ENV): Likewise.
12743 (scanf13-ENV): Likewise.
12744 (bug14-ENV): Likewise.
12745 (tst-grouping-ENV): Likewise.
12746 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12747 (tst-strtod3-ENV): Likewise.
12748 (tst-strtod4-ENV): Likewise.
12749 (tst-strtod5-ENV): Likewise.
12750 (testmb2-ENV): Likewise./
12751 * string/Makefile (tst-strxfrm-ENV): Likewise.
12752 (tst-strxfrm2-ENV): Likewise.
12753 (bug-strcoll1-ENV): Likewise.
12754 (test-strcasecmp-ENV): Likewise.
12755 (test-strncasecmp-ENV): Likewise.
12756 * time/Makefile (tst-strptime-ENV): Likewise.
12757 (tst-ftime_l-ENV): Likewise.
12758 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12759 (tst-mbrtowc-ENV): Likewise.
12760 (tst-wcrtomb-ENV): Likewise.
12761 (tst-mbrtowc2-ENV): Likewise.
12762 (tst-c16c32-1-ENV): Likewise.
12763 (tst-mbsnrtowcs-ENV): Likewise.
12764
cd1fb604
OB
127652014-06-05 Ondřej Bílka <neleai@seznam.cz>
12766
12767 * manual/resource.texi (How to get information about the memory
12768 subsystem?): Fix typo.
12769 Reported by Peon de la Parra Ivan <peon@keba.com>
12770
b42eca7d
GY
127712014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12772
12773 [BZ #16882]
12774 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12775 (pthread_spin_lock): Branch out of spin loop to proper location.
12776 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12777 (pthread_spin_lock): Likewise.
12778
902b71f9
DM
12779 * nptl/tst-spin4.c: New test.
12780 * nptl/Makefile (tests): Add tst-spin4.
12781
f9d2d032
AS
127822014-06-03 Andreas Schwab <schwab@suse.de>
12783
12784 [BZ #15946]
12785 * resolv/res_send.c (send_dg): Reload file descriptor after
12786 calling reopen.
12787
cf7bfd28
SL
127882014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12789
12790 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12791
111cc714
RH
127922014-06-03 Richard Henderson <rth@redhat.com>
12793
89b4bd6b
RH
12794 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12795 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12796 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12797 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12798 in the SAVE_PID block.
12799 (__libc_vfork): New alias.
71840409 12800 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12801
111cc714
RH
12802 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12803 child in registers, not on the stack. Remove RESET_PID conditionals.
12804 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12805
ccc39911
MS
128062014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12807
12808 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12809
693096cc
W
128102014-06-03 Wilco <wdijkstr@arm.com>
12811
12812 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12813 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12814 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12815 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12816 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12817 Likewise.
12818
0b4366bc
W
128192014-06-03 Wilco <wdijkstr@arm.com>
12820
12821 * sysdeps/aarch64/fpu/math_private.h
12822 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12823 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12824 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12825 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12826 Fix declarations.
12827
8747cd03
KS
128282014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12829
12830 * crypt/crypt-private.h: Include ufc-crypt.h.
12831 (__b64_from_24bit): Declare extern.
12832 * crypt/crypt_util.c(__b64_from_24bit): New function.
12833 (b64t): New static const variable.
12834 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12835 (b64t): Remove variable.
12836 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12837 * crypt/sha256-crypt.c: Include crypt-private.h.
12838 (b64t): Remove variable.
12839 (__sha256_crypt_r): Remove b64_from_24bit and replace
12840 with __b64_from_24bit.
12841 * crypt/sha512-crypt.c: Likewise.
12842
d936d379
RM
128432014-06-02 Roland McGrath <roland@hack.frob.com>
12844
12845 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12846 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12847 Label the code __libc_vfork rather than __vfork.
12848 [!NOT_IN_libc] (vfork): Define as weak alias.
12849 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12850 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12851 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12852
9fa76613
SP
128532014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12854
12855 * malloc/malloc.c (malloc_info): Fix format specifier for
12856 n_mmaps.
12857
a88dadbe
W
128582014-06-02 Wilco <wdijkstr@arm.com>
12859
12860 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12861 FPCR write.
12862
c95b3011
W
128632014-06-02 Wilco <wdijkstr@arm.com>
12864
12865 [BZ #17009]
12866 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12867 Rewrite to reduce FPCR/FPSR accesses.
12868
6b4d7a90
DM
128692014-06-01 David S. Miller <davem@davemloft.net>
12870
12871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12872
30f3d07c
DM
128732014-05-31 David S. Miller <davem@davemloft.net>
12874
12875 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12876 to occur in round to nearest mode when |x| >= 2.0
12877
74f31c18
RH
128782014-05-30 Richard Henderson <rth@twiddle.net>
12879
f0712b54
RH
12880 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12881 (PSEUDO_RET_NOERRNO): Remove.
12882 (ret): Don't redefine.
12883 (ret_NOERRNO): Define in terms of ret.
12884 (ret_ERRVAL): Likewise.
12885
74f31c18
RH
12886 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12887 use of PSEUDO_RET; perform the error check directly.
12888
30477995
MM
128892014-05-30 Marko Myllynen <myllynen@redhat.com>
12890
12891 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12892 with __int128_t.
12893
62a58816
SP
128942014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12895
12896 * malloc/malloc (malloc_info): Fix formatting.
12897
4d653a59
SP
128982014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12899 Roland McGrath <roland@hack.frob.com>
12900
12901 * malloc/malloc (malloc_info): Also print mmapped statistics.
12902
5190c17f
RM
129032014-05-30 Roland McGrath <roland@hack.frob.com>
12904
12905 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12906 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12907
987c0269
OB
129082014-05-30 Ondřej Bílka <neleai@seznam.cz>
12909
12910 * malloc/malloc.c (malloc_info): Inline mi_arena.
12911
af4e8ef9
RH
129122014-05-29 Richard Henderson <rth@twiddle.net>
12913
1670e207
RH
12914 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12915 Remove comma before expanding ASM_ARGS_##nr.
12916 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12917 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12918 of ASM_ARGS_##nr.
12919 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12920 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12921 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12922 (ASM_ARGS_1): Add leading comma.
12923
11a28aee
RH
12924 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12925 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12926 to __errno_location.
12927 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12928 Remove the expected plt for __errno_location.
12929
a17e5ffb 12930 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12931 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12932 call to __read_tp.
12933
b5be4597
RH
12934 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12935 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12936 it and break it down.
12937 (DOCARGS_0, DOCARGS_1): Do nothing.
12938 (DOCARGS_2): Update to store into the new stack frame.
12939 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12940 (UNDOCARGS_1): Update to restore from the new stack frame.
12941 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12942 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12943
645d44ab
RH
12944 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12945 (SINGLE_THREAD_P): New parameter for result regno.
12946 (PSEUDO): Update to match; use cbz instead of beq.
12947
a8b4f04a
RH
12948 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12949 Use ENTRY to define the _nocancel entry point. Share the syscall
12950 and syscall error check paths with the cancel path.
12951 (PSEUDO_END): New.
12952
af4e8ef9
RH
12953 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12954 whitespace; tabs before and after asm mnemonics.
12955
26b0d2e1
EW
129562014-05-29 Eric Wong <normalperson@yhbt.net>
12957
12958 [BZ #15132]
12959 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12960 Call fstat64 or stat64 internally, depending on arguments passed.
12961 Replace stat buffer argument with file descriptor argument.
12962 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12963 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12964 Pass fd to __internal_statvfs instead of calling fstat64.
12965 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12966 Pass fd to __internal_statvfs64 instead of calling fstat64.
12967 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12968 Pass -1 to __internal_statvfs instead of calling stat64.
12969 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12970 Pass -1 to __internal_statvfs64 instead of calling stat64.
12971
1efe2bd9
RM
129722014-05-28 Roland McGrath <roland@hack.frob.com>
12973
0d3b7a19
RM
12974 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12975 that was previously under [RESET_PID].
12976 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12977
1efe2bd9
RM
12978 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12979 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12980
a6bea3ca
RM
129812014-05-27 Roland McGrath <roland@hack.frob.com>
12982
30b6629e
RM
12983 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12984
a6bea3ca
RM
12985 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12986 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12987
3dfb9a5c
OB
129882014-05-27 Ondřej Bílka <neleai@seznam.cz>
12989
12990 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12991
774f9285
AS
129922014-05-27 Andreas Schwab <schwab@suse.de>
12993
12994 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12995 TLS_INIT_TP macro.
12996 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12997 * elf/rtld.c (init_tls, dl_main): Likewise.
12998 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12999 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13000 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13001 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13002 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13003 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13004 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13005 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13006 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13007 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13008 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13009 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13010 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13011 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13012 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13013 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13014 * sysdeps/generic/tls.h: Update description.
13015
36ffe739
WN
130162014-05-27 Will Newton <will.newton@linaro.org>
13017
13018 [BZ #16990]
13019 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13020 and restore r2 rather than just restoring.
13021
2482ae43
SP
130222014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13023
13024 [BZ #16724]
13025 * libio/tst-ftell-append.c: New test case.
13026 * libio/Makefile (tests): Add test case.
13027 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13028 append mode.
13029 * libio/wfileops.c (do_ftell_wide): Likewise.
13030
3d1024e8
AZ
130312014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13032
bab90016
AZ
13033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13034
c7a8d667
AZ
13035 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13036 ...
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13039 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13040 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13041 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13042 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13043 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13044 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13045 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13046 Moved ...
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13048 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13049 Moved ...
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13051 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13052 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13053 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13054 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13055 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13056 ...
13057 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13058 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13059 Moved ...
13060 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13061 here.
13062 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13063 ...
13064 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13065 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13066 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13067
daee7851
AZ
13068 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13069 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13070 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13071 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13072
50a40819
AZ
13073 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13074 merge into ...
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13076 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13077 ...
13078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13079 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13080 ...
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13082 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13083 Moved ...
13084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13085 here.
13086 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13087 Moved ...
13088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13089 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13090 Moved ...
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13092
8464c2a1
AZ
13093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13094 conditional [RESET_PID].
13095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13096 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13097 removed.
13098 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13099 removed.
13100
3d1024e8
AZ
13101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13102 <tcb-offsets.h>.
13103 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13104 (__libc_vfork): New strong alias.
13105 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13106 removed.
13107 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13108 Removed.
13109
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13111 <tcb-offsets.h>.
13112 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13113 (__libc_vfork): New strong alias.
13114 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13115 removed.
13116 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13117 removed.
13118
fdfd175d
CD
131192014-05-26 Carlos O'Donell <carlos@redhat.com>
13120
13121 * malloc/malloc.c (mi_arena): New function.
13122 (malloc_info): Remove nested function mi_arena. Call non-nosted
13123 function mi_arena.
13124
d298c416
AZ
131252014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13126
13127 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13128 by insrwi.
13129 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13130 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13131 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13132 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13133 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13134 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13135 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13136
b60ea6ff
AS
131372014-05-26 Andreas Schwab <schwab@suse.de>
13138
13139 [BZ #16984]
13140 * locale/programs/repertoire.c (repertoire_read): Add slash
13141 between I18NPATH element and file name.
13142 * locale/programs/locfile.c (locfile_read): Likewise.
13143
67365926
SL
131442014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13145
13146 * nptl/pthread_mutexattr_settype.c
13147 (__pthread_mutexattr_settype):
13148 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13149
f8bdf1f0
SL
131502014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13151
13152 * nptl/tst-mutex5 (do_test):
13153 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13154
15eaf6ff
SP
131552014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13156
13157 * benchtests/README: Document 'init' directive.
13158 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13159 BENCH_INIT.
13160 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13161 (parse_file): Recognize 'init' directive.
13162
75f11331
KM
131632014-05-26 Kyle McMartin <kyle@redhat.com>
13164
13165 [BZ #16796]
13166 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13167 alignment of struct pthread.
13168
c3ec475c
SP
131692014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13170
13171 [BZ #16878]
13172 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13173 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13174 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13175 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13176
82aab97c
RH
131772014-05-25 Richard Henderson <rth@twiddle.net>
13178
aa2f176d
RH
13179 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13180 (SINGLE_THREAD_P_PIC): Remove.
13181 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13182 (SINGLE_THREAD_P_PIC): Remove.
13183
ca3cfa40
RH
13184 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13185 branch to syscall error ...
13186 (PSEUDO): ... here.
13187 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13188 from __local_syscall_error to .Lsyscall_error.
13189 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13190 (SYSCALL_ERROR): Update label name.
13191
6e6c2d01
RH
13192 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13193 Do not use DOARGS/UNDOARGS.
13194 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13195 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13196 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13197 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13198 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13199
c69abcee
RH
13200 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13201 block comment.
13202
82aab97c
RH
13203 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13204 define if !NOT_IN_libc.
13205 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13206 define with non-default symbol versions.
13207
8820e3ac
RH
132082014-05-23 Richard Henderson <rth@twiddle.net>
13209
900e445f
RH
13210 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13211 (vfork, __vfork): Define via compat_symbol.
13212
8820e3ac
RH
13213 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13214 [!HAVE_IFUNC] (vfork_compat): Remove.
13215 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13216
e59252a5
JM
132172014-05-23 Joseph Myers <joseph@codesourcery.com>
13218
13219 [BZ #16978]
13220 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13221 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13222 variable.
13223
132c7f5f
RH
132242014-05-23 Richard Henderson <rth@twiddle.net>
13225
bc89e962
RH
13226 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13227 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13228 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13229 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13230
13231 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13232 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13233 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13234 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13235 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13236 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13237 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13238 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13239 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13240 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13241 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13242 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13243 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13244 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13245 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13246 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13247 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13248 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13249 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13250 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13251 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13252 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13253 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13254 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13255 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13256 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13257 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13258 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13259 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13260 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13261 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13262 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13263 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13264 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13265 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13266 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13267 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13268 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13269 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13270 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13271 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13272 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13273 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13274 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13275 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13276 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13277 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13278 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13279 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13280 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13281 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13282 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13283 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13284 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13285 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13286 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13287
e2fa4bc2
RH
13288 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13289 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13290 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13291 before exiting on error.
13292 (__libc_vfork): New strong alias.
13293 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13294 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13295
279b24e2
RH
13296 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13297 that was previously under [RESET_PID].
13298 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13299
132c7f5f
RH
13300 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13301
b72592e7
JM
133022014-05-23 Joseph Myers <joseph@codesourcery.com>
13303
13304 [BZ #16977]
13305 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13306 value when x - 1 is zero.
13307 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13308 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13309 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13310 0.0L for an argument of 1.0L.
13311 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13312 Likewise.
13313 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13314 value when x - 1 is zero.
13315 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13316 * sysdeps/i386/fpu/libm-test-ulps: Update.
13317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13318
2302d679
RV
133192014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13320
13321 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13322 alphasort and versionsort.
13323
32999d63
AZ
133242014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13325
13326 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13327 macro.
13328 [copysignf]: Likewise.
13329
019324d0
SP
133302014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13331
13332 * crypt/md5-crypt.c: Fix formatting.
13333
34fff5c2
KS
133342014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13335
13336 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13337 (b64_from_24bit): New function.
13338
3d2badac
AZ
133392014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13340
13341 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13342 libc_hidden_builtin_def to ifunc.
13343 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13344 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13345
f7bb179f 133462014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13347
13348 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13349 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13350
4134b50d
JM
133512014-05-21 Joseph Myers <joseph@codesourcery.com>
13352
bb7d0337
JM
13353 * nscd/Depend (linuxthreads): Remove.
13354 (nptl): Add.
13355 * resolv/Depend (linuxthreads): Remove.
13356 * rt/Depend (linuxthreads): Remove.
13357
4134b50d
JM
13358 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13359 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13360 $(common-objpfx)elf/.
13361 (link-libc-before-gnulib): Likewise.
13362 (elfobjdir): Remove variable.
13363 * Makefile (install): Use $(elf-objpfx) instead of
13364 $(common-objpfx)elf/.
13365 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13366 $(elfobjdir)/.
13367 (link-libc-deps): Likewise.
13368 ($(common-objpfx)libc.so): Likewise.
13369 ($(common-objpfx)linkobj/libc.so): Likewise.
13370 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13371 instead of $(common-objpfx)elf/.
13372 (symbolic-link-list): Likewise.
13373 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13374 [$(cross-compiling) = no]: Likewise.
13375 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13376 $(elfobjdir)/.
13377 (static-gnulib-arch): Likewise.
13378 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13379 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13380 $(common-objpfx)elf/.
13381
3612eb8f
RH
133822014-05-21 Richard Henderson <rth@redhat.com>
13383
a6b3657b
RH
13384 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13385 (SINGLE_THREAD_P): Use the correct width load. Fold
13386 into the ldr offset.
13387
3612eb8f
RH
13388 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13389 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13390
175cef41
JM
133912014-05-20 Joseph Myers <joseph@codesourcery.com>
13392
13393 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13394 (libgcc_s_resume): Use __attribute_used__.
13395 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13396 Likewise.
13397
e13bccd3
AZ
133982014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13399
13400 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13401 optimization when used with float constants.
13402
7c112a38
AZ
13403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13404
ae75a883
AJ
134052014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13406
13407 [BZ #16915]
13408 * locale/nl_langinfo_l.c: Make direct reference to every
13409 _nl_current_CATEGORY symbol.
13410 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13411 (tests-static): Add tst-langinfo-static.
13412 (tests-special): Add tst-langinfo-static.out.
13413 ($(objpfx)tst-langinfo.out): Redirect output.
13414 ($(objpfx)tst-langinfo-static.out): New.
13415 * localedata/tst-langinfo.sh: Send output to stdout.
13416 * localedata/tst-langinfo-static.c: New file.
13417
4406c41c
AJ
13418 [BZ #16965]
13419 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13420 when the shift amount is modulo the limb size.
13421
4c0a1e63
RH
134222014-05-20 Richard Henderson <rth@redhat.com>
13423
de9d8f20
RH
13424 [BZ #16967]
13425 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13426 Change type of sa_flags from unsigned int to int.
13427
4c0a1e63
RH
13428 [BZ #16966]
13429 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13430
13431 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13432
a60339aa
WN
134332014-05-20 Will Newton <will.newton@linaro.org>
13434
13435 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13436 Test the return value of the system call in the nocancel case.
13437
7d05a816
YR
134382014-05-20 Will Newton <will.newton@linaro.org>
13439 Yvan Roux <yvan.roux@linaro.org>
13440
13441 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13442 #include of asm/ptrace.h.
13443 (PTRACE_GET_THREAD_AREA): Remove #undef.
13444 (PTRACE_GETHBPREGS): Likewise.
13445 (PTRACE_SETHBPREGS): Likewise.
13446 (struct user_regs_struct): New structure.
13447 (struct user_fpsimd_struct): New structure.
13448 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13449 #include of asm/ptrace.h and second #include of sys/user.h.
13450 (PTRACE_GET_THREAD_AREA): Remove #undef.
13451 (PTRACE_GETHBPREGS): Likewise.
13452 (PTRACE_SETHBPREGS): Likewise.
13453 (ELF_NGREG): Use new struct user_regs_struct.
13454 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13455
af121e37
AZ
134562014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13457
13458 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13459 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13460
834caf06
JM
134612014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13462
13463 [BZ #16958]
13464 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13465 membar to avoid block loads/stores to overlap previous stores.
13466
e184a918
RH
134672014-05-17 Richard Henderson <rth@redhat.com>
13468
13469 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13470 Create the __##syscall_name##_nocancel entry point.
13471 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13472 Remove; let the sysdep-cancel.h code create it.
13473
f56c7a6a
DM
134742014-05-17 David S. Miller <davem@davemloft.net>
13475
13476 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13477 Protect with __USE_GNU.
13478 (TIOCSET_TEMPT): Likewise.
13479 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13480 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13481 these are already provided in bits/ioctl-types.h
13482
f75616b2
RM
134832014-05-16 Roland McGrath <roland@hack.frob.com>
13484
3edeca86
RM
13485 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13486 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13487
f75616b2
RM
13488 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13489 Use wait4 regardless of [__NR_waitpid].
13490
deb0f7f6
MR
134912014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13492
13493 PR libgcc/60166
13494 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13495 (_FP_NANSIGN_Q): Set the quiet bit.
13496
79520f4b
JM
134972014-05-16 Joseph Myers <joseph@codesourcery.com>
13498
13499 * benchtests/Makefile
13500 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13501 not $(common-objpfx)math/libm.so.
13502 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13503 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13504 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13505 $(common-objpfx)dlfcn/libdl.so.
13506 ($(objpfx)tst-audit8): Depend on $(libm), not
13507 $(common-objpfx)math/libm.so.
13508 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13509 not $(common-objpfx)dlfcn/libdl.so.
13510 * math/Makefile
13511 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13512 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13513 [$(build-shared) = yes].
13514 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13515 $(common-objpfx)nptl/libpthread.so.
13516 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13517 $(common-objpfx)math/libm.so$(libm.so-version) or
13518 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13519 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13520 $(common-objpfx)dlfcn/libdl.so.
13521 * setjmp/Makefile (link-libm): Remove variable.
13522 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13523 * stdio-common/Makefile (link-libm): Remove variable.
13524 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13525 * stdlib/Makefile (link-libm): Remove variable.
13526 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13527 ($(objpfx)tst-strtod-round): Likewise.
13528 ($(objpfx)tst-tininess): Likewise.
13529 ($(objpfx)tst-strtod-underflow): Likewise.
13530 ($(objpfx)tst-strtod6): Likewise.
13531 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13532 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13533 $(common-objpfx)dlfcn/libdl.so.
13534
026b0fe4
AZ
135352014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13536
13537 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13538 BSD terminal modes definitions.
13539
def4bcb2
RM
135402014-05-16 Roland McGrath <roland@hack.frob.com>
13541
fe39b021
RM
13542 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13543 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13544
1d1fc46e 13545 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
13546 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13547 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13548 Don't do #include_next.
13549 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13550 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13551 Don't do #include_next.
13552 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13553 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13554 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13555 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13556
c72399fb
AM
135572014-05-16 Allan McRae <allan@archlinux.org>
13558
d51d659d
AM
13559 * po/sv.po: Update Swedish translation from translation project.
13560
c72399fb
AM
13561 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13562 in sed expression.
13563
d0583c40
AJ
135642014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13565
13566 [BZ #16917]
13567 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13568 errno if the TIOCGPTN ioctl fails with an error different than
13569 EINVAL.
13570 * login/tst-ptsname.c: New file.
13571 * login/Makefile (tests): Add tst-ptsname.
13572
d16e6ec7
AJ
13573 [BZ #16943]
13574 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13575 and prlimit64.
13576
cf26a0cb
SP
135772014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13578
13579 [BZ #16849]
13580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13581 herrno to return EAI_AGAIN.
13582
5675da1e
RM
135832014-05-14 Roland McGrath <roland@hack.frob.com>
13584
a5d87b3d
RM
13585 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13586 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13587 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13588 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13589 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13590 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13591 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13592 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13593 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13594 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13595 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13596 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13597 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13598 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13599 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13600 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13601 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13602 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13603 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13604 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13605 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13606 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13607 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13608 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13609 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13610 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13611 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13612 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13613 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13614 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13616 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13618 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13620 Moved ...
13621 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13623 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13625 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13627 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13629 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13631 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13633 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13635 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13637 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13639 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13641 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13643 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13645 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13647 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13649 Moved ...
13650 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13652 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13654 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13656 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13658 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13660 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13662 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13664 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13666 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13668 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13670 Moved ...
13671 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13673 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13674
039890a6
RM
13675 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13676 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13677 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13678 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13679 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13680 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13681 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13682 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13683 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13684 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13685 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13686 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13687 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13688 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13689 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13690 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13691 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13692 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13693 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13694 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13695 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13696 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13697 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13698 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13699 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13700 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13701 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13702 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13703 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13704 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13705 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13706
65c89320
RM
13707 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13708 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13709
348f8e8c
RM
13710 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13711 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13712 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13713 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13714 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13715 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13716 Moved ...
13717 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13718 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13719 Moved ...
13720 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13721 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13722 Moved ...
13723 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13724 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13725 Moved ...
13726 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13727 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13728 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13729 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13730 Moved ...
13731 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13732 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13733 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13734 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13735 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13736 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13737 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13738 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13739 Moved ...
13740 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13741 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13742 Moved ...
13743 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13744 ... here.
13745 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13746 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13747 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13748 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13749 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13750 Moved ...
13751 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13752 ... here.
13753 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13754 Moved ...
13755 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13756 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13757 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13758 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13759 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13760 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13761 Moved ...
13762 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13763 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13764 Moved ...
13765 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13766 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13767 Moved ...
13768 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13769 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13770 Moved ...
13771 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13772 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13773 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13774 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13775 Moved ...
13776 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13777 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13778 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13779 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13780 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13781 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13782 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13783 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13784 Moved ...
13785 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13786 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13787 Moved ...
13788 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13789 ... here.
13790 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13791 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13792 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13793 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13794 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13795 Moved ...
13796 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13797 ... here.
13798 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13799 Moved ...
13800 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13801 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13802 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13803 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13804 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13805 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13806 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13807 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13808 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13809 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13810 Moved ...
13811 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13812 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13813 Moved ...
13814 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13815 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13816 Moved ...
13817 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13818 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13819 Moved ...
13820 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13821 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13822 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13823 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13824 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13825 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13826 Moved ...
13827 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13828 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13829 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13830 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13831 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13832 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13833 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13834 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13835 Moved ...
13836 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13837 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13838 Moved ...
13839 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13840 ... here.
13841 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13842 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13843 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13844 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13845 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13846 Moved ...
13847 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13848 ... here.
13849 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13850 Moved ...
13851 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13852 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13853 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13854 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13855 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13856 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13857 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13858 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13859 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13860 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13861 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13862
5085af05
RM
13863 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13864 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13865
708f0813
RM
13866 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13867 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13868
c96067bc
RM
13869 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13870 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13871 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13872 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13873 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13874 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13875 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13876 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13877 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13878 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13879 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13880 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13881 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13882 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13883 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13884 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13885 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13886 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13887 Moved ...
13888 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13889 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13890 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13891 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13892 Moved ...
13893 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13894 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13895 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13896 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13897 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13898 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13899 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13900 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13901 Moved ...
13902 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13903 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13904 Moved ...
13905 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13906 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13907 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13908 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13909 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13910 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13911 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13912 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13913 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13914 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13915 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13916 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13917 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13918 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13919 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13920 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13921 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13922
ec136444
RM
13923 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13924 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13925 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13926 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13927 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13928
2fbdf533
RM
13929 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13930 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13931 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13932 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13933 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13934 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13935 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13936 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13937 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13938 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13939
4c68138b
RM
13940 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13941 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13942
4eaae765
RM
13943 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13944 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13945 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13946 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13947 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13948 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13949 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13950 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13951 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13952 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13953 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13954 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13955 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13956 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13957 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13958 Update #include.
13959 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13960 Likewise.
13961 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13962 Likewise.
13963 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13964 Likewise.
13965 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13966 Likewise.
13967 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13968 Likewise.
13969 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13970 Likewise.
13971 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13972 Likewise.
13973 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13974 Likewise.
13975 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13976 Likewise.
4ef6befa
RM
13977 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13978 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13979 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13980 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13981 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13982 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13983 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13984 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13985 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13986 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13987 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13988 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13989 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13990 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13991 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13992
941d7dfd
RM
13993 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13994 that was previously under [RESET_PID].
13995 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13996 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13997 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13998
1b731c35
RM
13999 * sysdeps/i386/nptl/Implies: New file.
14000 * sysdeps/x86_64/nptl/Implies: New file.
14001 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14002 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14003 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14004 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14005
e2787137
RM
14006 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14007 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14008 (__libc_vfork): New strong alias.
14009 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14010 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14011
14012 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14013 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14014 (__libc_vfork): New strong alias.
14015 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14016 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14017
5675da1e
RM
14018 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14019 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14020 (__libc_vfork): New strong alias.
14021 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14022 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14023 * nptl/pt-vfork.c: New file.
14024 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14025 (libpthread: GLIBC_2.20): New version set (empty).
14026
4f02e2b8
WN
140272014-05-14 Will Newton <will.newton@linaro.org>
14028
14029 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14030 rather than #if.
14031
0bf061d3
JM
140322014-05-14 Joseph Myers <joseph@codesourcery.com>
14033
1a84c3d6
JM
14034 [BZ #16564]
14035 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14036 arguments with exponent 65 or above.
14037 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14038 arguments 0x1p113L or above.
14039 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14040 to arguments 0x1p107L or above.
14041 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14042 positive arguments with exponent 65 or above.
14043 * math/auto-libm-test-in: Add more tests of log1p.
14044 * math/auto-libm-test-out: Regenerated.
14045
01dbacd2
JM
14046 [BZ #16928]
14047 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14048 non-finite arguments is +0.
14049 * math/s_cacosf.c (__cacosf): Likewise.
14050 * math/s_cacosl.c (__cacosl): Likewise.
14051 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14052 * sysdeps/i386/fpu/libm-test-ulps: Update.
14053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14054
913d03c8
JM
14055 [BZ #16927]
14056 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14057 value.
14058 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14059 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14060 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14061 for explicit high bit of mantissa when testing for argument equal
14062 to 1.
14063 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14064 * sysdeps/i386/fpu/libm-test-ulps: Update.
14065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14066
0bf061d3
JM
14067 [BZ #16516]
14068 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14069 (__erf): Scale by 16 instead of 8 in potentially underflowing
14070 case. Ensure exception if result actually underflows.
14071 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14072 (__erff): Scale by 16 instead of 8 in potentially underflowing
14073 case. Ensure exception if result actually underflows.
14074 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14075 (efx8): Remove variable.
14076 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14077 case. Ensure exception if result actually underflows.
14078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14079 (efx8): Remove variable.
14080 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14081 case. Ensure exception if result actually underflows.
14082 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14083 (efx8): Remove variable.
14084 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14085 case. Ensure exception if result actually underflows.
14086 * math/auto-libm-test-in: Add more tests of erf.
14087 * math/auto-libm-test-out: Regenerated.
14088
73ba67cb
AS
140892014-05-14 Andreas Schwab <schwab@suse.de>
14090
3d8c8bff
AS
14091 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14092 Remove code conditionalized on USE___THREAD.
14093
73ba67cb
AS
14094 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14095 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14096 not definedness.
14097
5c521ecd
JM
140982014-05-14 Joseph Myers <joseph@codesourcery.com>
14099
5e7698c6
JM
14100 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14101 Define unconditionally.
14102 (__ASSUME_O_CLOEXEC): Likewise.
14103 (__ASSUME_SOCK_CLOEXEC): Likewise.
14104 (__ASSUME_IN_NONBLOCK): Likewise.
14105 (__ASSUME_PIPE2): Likewise.
14106 (__ASSUME_EVENTFD2): Likewise.
14107 (__ASSUME_SIGNALFD4): Likewise.
14108 (__ASSUME_DUP3): Likewise.
14109 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14110 (__ASSUME_DUP3): Do not define.
14111 (__ASSUME_EVENTFD2): Likewise.
14112 (__ASSUME_IN_NONBLOCK): Likewise.
14113 (__ASSUME_O_CLOEXEC): Likewise.
14114 (__ASSUME_PIPE2): Likewise.
14115 (__ASSUME_SIGNALFD4): Likewise.
14116 (__ASSUME_SOCK_CLOEXEC): Likewise.
14117 (__ASSUME_UTIMES): Undefine.
14118 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14119 (__ASSUME_UTIMES): Do not define.
14120 (__ASSUME_O_CLOEXEC): Likewise.
14121 (__ASSUME_SOCK_CLOEXEC): Likewise.
14122 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14123 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14124 0x020621].
14125 (__ASSUME_PIPE2): Likewise.
14126 (__ASSUME_EVENTFD2): Likewise.
14127 (__ASSUME_SIGNALFD4): Likewise.
14128 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14129 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14130 Do not define.
14131 (__ASSUME_EVENTFD2): Likewise.
14132 (__ASSUME_SIGNALFD4): Likewise.
14133 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14134 (__ASSUME_32BITUIDS): Likewise.
14135 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14136 (__ASSUME_IPC64): Likewise.
14137 (__ASSUME_ST_INO_64_BIT): Likewise.
14138 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14139 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14140 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14141 (__ASSUME_UTIMES): Do not define.
14142 (__ASSUME_PSELECT): Likewise.
14143 (__ASSUME_PPOLL): Likewise.
14144 (__ASSUME_O_CLOEXEC): Likewise.
14145 (__ASSUME_SOCK_CLOEXEC): Likewise.
14146 (__ASSUME_IN_NONBLOCK): Likewise.
14147 (__ASSUME_PIPE2): Likewise.
14148 (__ASSUME_EVENTFD2): Likewise.
14149 (__ASSUME_SIGNALFD4): Likewise.
14150 (__ASSUME_DUP3): Likewise.
14151 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14152 (__ASSUME_UTIMES): Likewise.
14153 (__ASSUME_O_CLOEXEC): Likewise.
14154 (__ASSUME_SOCK_CLOEXEC): Likewise.
14155 (__ASSUME_IN_NONBLOCK): Likewise.
14156 (__ASSUME_PIPE2): Likewise.
14157 (__ASSUME_EVENTFD2): Likewise.
14158 (__ASSUME_SIGNALFD4): Likewise.
14159 (__ASSUME_DUP3): Likewise.
14160 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14161 (__ASSUME_UTIMES): Likewise.
14162 (__ASSUME_O_CLOEXEC): Likewise.
14163 (__ASSUME_SOCK_CLOEXEC): Likewise.
14164 (__ASSUME_IN_NONBLOCK): Likewise.
14165 (__ASSUME_PIPE2): Likewise.
14166 (__ASSUME_EVENTFD2): Likewise.
14167 (__ASSUME_SIGNALFD4): Likewise.
14168 (__ASSUME_DUP3): Likewise.
14169 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14170 Likewise.
14171 (__ASSUME_UTIMES): Likewise.
14172 (__ASSUME_EVENTFD2): Likewise.
14173 (__ASSUME_SIGNALFD4): Likewise.
14174 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14175 (__ASSUME_O_CLOEXEC): Likewise.
14176 (__ASSUME_SOCK_CLOEXEC): Likewise.
14177 (__ASSUME_IN_NONBLOCK): Likewise.
14178 (__ASSUME_PIPE2): Likewise.
14179 (__ASSUME_EVENTFD2): Likewise.
14180 (__ASSUME_SIGNALFD4): Likewise.
14181 (__ASSUME_DUP3): Likewise.
14182 (__ASSUME_UTIMES): Undefine.
14183
5c521ecd
JM
14184 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14185 feclearexcept. Remove symbol versioning code.
14186 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14187 symbol versioning code.
14188 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14189 symbol versioning code.
14190 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14191 feupdateenv. Remove symbol versioning code.
14192 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14193 fegetexceptflag. Remove symbol versioning code.
14194 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14195 fesetexceptflag. Remove symbol versioning code.
14196 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14197 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14198 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14199 (__posix_fadvise64_l32): Remove prototype.
14200 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14201 code.
14202
5da9dfad
RM
142032014-05-13 Roland McGrath <roland@hack.frob.com>
14204
14205 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14206 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14207 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14208 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14209
893b4f37
SK
142102014-05-13 Sami Kerola <kerolasa@iki.fi>
14211
14212 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14213 current working directory
14214
e0db6517
RM
142152014-05-13 Roland McGrath <roland@hack.frob.com>
14216
58aa195d
RM
14217 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14218 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14219 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14220 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14221 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14222 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14223 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14224 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14225 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14226 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14227 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14228 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14229 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14230 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14231 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14232 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14233 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14234 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14235 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14236 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14237 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14238 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14239 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14240 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14241 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14242 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14243 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14244 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14245 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14246 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14247 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14248 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14249 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14250 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14251 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14252 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14253 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14254 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14255 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14256 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14257 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14258 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14259
8c6d01f0
RM
14260 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14261 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14262
14263 * sysdeps/unix/sysv/linux/arm/Makefile
14264 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14265 Add rt-aeabi_unwind_cpp_pr1.
14266 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14267 Add nptl-aeabi_unwind_cpp_pr1.
14268 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14269 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14270 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14271 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14272 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14273 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14274
14275 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14276 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14277 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14278 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14279
bba6da4e
RM
14280 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14281 Deconditionalize the code that was previously under [RESET_PID].
14282 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14283
e0db6517
RM
14284 * sysdeps/generic/exit-thread.h: New file.
14285 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14286 * include/unistd.h (__exit_thread): Remove declaration.
14287 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14288 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14289 * csu/libc-start.c: Include <exit-thread.h>.
14290 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14291 * nptl/pthread_create.c: Include <exit-thread.h>.
14292 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14293 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14294 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14295 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14296 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14297 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14298 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14299 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14300 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14301 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14302 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14303 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14304 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14305 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14306 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14307 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14308 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14309
01eb16fd
AS
143102014-05-13 Andreas Schwab <schwab@suse.de>
14311
14312 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14313
637461d9
JM
143142014-05-12 Joseph Myers <joseph@codesourcery.com>
14315
14316 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14317 (__ASSUME_UTIMES): Do not condition on kernel version.
14318 (__ASSUME_PSELECT): Define unconditionally.
14319 (__ASSUME_PPOLL): Likewise.
14320 (__ASSUME_ATFCTS): Likewise.
14321 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14322 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14323 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14324 (__ASSUME_UTIMENSAT): Define unconditionally.
14325 (__ASSUME_PRIVATE_FUTEX): Likewise.
14326 (__ASSUME_FALLOCATE): Likewise.
14327 (__ASSUME_O_CLOEXEC): Likewise.
14328 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14329 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14330 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14331 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14332 (__ASSUME_IN_NONBLOCK): Likewise.
14333 (__ASSUME_PIPE2): Likewise.
14334 (__ASSUME_EVENTFD2): Likewise.
14335 (__ASSUME_SIGNALFD4): Likewise.
14336 (__ASSUME_DUP3): Likewise.
14337 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14338 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14339 (__ASSUME_AT_RANDOM): Likewise.
14340 (__ASSUME_PREADV): Likewise.
14341 (__ASSUME_PWRITEV): Likewise.
14342 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14343 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14344 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14345 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14346 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14347 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14348 (__ASSUME_O_CLOEXEC): Define unconditionally.
14349 (__ASSUME_PSELECT): Do not undefine conditionally.
14350 (__ASSUME_PPOLL): Likewise.
14351 (__ASSUME_ATFCTS): Likewise.
14352 (__ASSUME_SET_ROBUST_LIST): Likewise.
14353 (__ASSUME_UTIMENSAT): Likewise.
14354 (__ASSUME_FDATASYNC): Define unconditionally.
14355 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14356 (__ASSUME_SIGFRAME_V2): Likewise.
14357 )__ASSUME_EVENTFD2): Likewise.
14358 (__ASSUME_SIGNALFD4): Likewise.
14359 (__ASSUME_PSELECT): Do not undefine conditionally.
14360 (__ASSUME_PPOLL): Likewise.
14361 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14362 (__ASSUME_PSELECT): Define unconditionally.
14363 (__ASSUME_PPOLL): Likewise.
14364 (__ASSUME_O_CLOEXEC): Likewise.
14365 (__ASSUME_SOCK_CLOEXEC): Likewise.
14366 (__ASSUME_IN_NONBLOCK): Likewise.
14367 (__ASSUME_PIPE2): Likewise.
14368 (__ASSUME_EVENTFD2): Likewise.
14369 (__ASSUME_SIGNALFD4): Likewise.
14370 (__ASSUME_DUP3): Likewise.
14371 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14372 (__ASSUME_O_CLOEXEC): Likewise.
14373 (__ASSUME_SOCK_CLOEXEC): Likewise.
14374 (__ASSUME_IN_NONBLOCK): Likewise.
14375 (__ASSUME_PIPE2): Likewise.
14376 (__ASSUME_EVENTFD2): Likewise.
14377 (__ASSUME_SIGNALFD4): Likewise.
14378 (__ASSUME_DUP3): Likewise.
14379 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14380 (__ASSUME_EVENTFD2): Likewise.
14381 (__ASSUME_SIGNALFD4): Likewise.
14382 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14383
315eb1d8
AS
143842014-05-12 Andreas Schwab <schwab@suse.de>
14385
14386 [BZ #16932]
14387 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14388 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14389 than maximum RPC packet size.
14390 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14391 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14392 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14393 (_nss_nis_getservbyport_r): Likewise.
14394
91df99f7
WN
143952014-05-12 Will Newton <will.newton@linaro.org>
14396
14397 * malloc/Makefile (tests): Add tst-mallopt.
14398 * malloc/tst-mallopt.c: New file.
14399
0a982a29
RM
144002014-05-09 Roland McGrath <roland@hack.frob.com>
14401
14402 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14403 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14404
0ded08a5
AZ
144052014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14406
14407 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14408 (tst-tlsmod6.so): Likewise.
14409
55d4d550
RM
144102014-05-09 Roland McGrath <roland@hack.frob.com>
14411
14412 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14413
77d08aca
JM
144142014-05-09 Joseph Myers <joseph@codesourcery.com>
14415
14416 [BZ #16064]
14417 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14418 and <dl-procinfo.h>.
14419 (__fegetenv): Save SSE state in envp->__eip if supported.
14420 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14421 envp->__eip if supported.
14422 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14423 and <dl-procinfo.h>.
14424 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14425 __data_offset and __data_selector in environment to 0. Set SSE
14426 state if supported.
14427 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14428 test-fenv-sse.
14429 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14430 -mfpmath=sse.
14431 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14432
28162f4d
WN
144332014-05-09 Will Newton <will.newton@linaro.org>
14434
14435 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14436 and libc_relro_required for ARM.
14437 * sysdeps/arm/preconfigure: Regenerate.
14438
5a414ff7
DV
144392014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14440 Stefan Liebler <stli@linux.vnet.ibm.com>
14441
14442 * config.make.in (enable-lock-elision): New Makefile variable.
14443 * configure.ac: Likewise.
14444 * configure: Regenerate.
14445 * sysdeps/s390/configure.ac:
14446 Add check for gcc transactions support.
14447 * sysdeps/s390/configure: Regenerate.
14448 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14449 Build elision files if enabled.
14450 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14451 Add lock elision support for s390.
14452 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14453 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14454 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14455 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14456 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14457 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14458 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14459 Likewise.
14460 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14461 Likewise.
14462 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14463 Likewise.
14464 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14465 Likewise.
14466 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14467 (__lll_timedlock_elision, __lll_lock_elision)
14468 (__lll_unlock_elision, __lll_trylock_elision)
14469 (lll_timedlock_elision, lll_lock_elision)
14470 (lll_unlock_elision, lll_trylock_elision): Add.
14471 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14472 (pthread_mutex_t): Add lock elision support for s390.
14473
1a2f40e5
W
144742014-05-14 Wilco <wdijkstr@arm.com>
14475
14476 * sysdeps/arm/fclrexcpt.c: Cleanup.
14477 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14478 * sysdeps/arm/feenablxcpt.c: Cleanup.
14479 * sysdeps/arm/fegetenv.c: Cleanup.
14480 * sysdeps/arm/fegetexcept.c: Cleanup.
14481 * sysdeps/arm/fegetround.c: Cleanup.
14482 * sysdeps/arm/feholdexcpt.c: Cleanup.
14483 * sysdeps/arm/fesetenv.c: Cleanup.
14484 * sysdeps/arm/fesetround.c: Cleanup.
14485 * sysdeps/arm/feupdateenv.c: Cleanup.
14486 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14487 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14488 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14489 * sysdeps/arm/ftestexcept.c: Cleanup.
14490 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14491 * sysdeps/arm/setfpucw.c: Cleanup.
14492
f63c86fe
WN
144932014-05-09 Will Newton <will.newton@linaro.org>
14494
14495 * sysdeps/arm/armv7/strcmp.S: New file.
14496 * NEWS: Mention addition of ARMv7 optimized strcmp.
14497
7a1a51b5
RM
144982014-05-08 Roland McGrath <roland@hack.frob.com>
14499
95afbbe5
RM
14500 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14501 look for %.ac rather than %.in.
14502
14503 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14504 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14505 * sysdeps/mach/hurd/configure: Regenerated.
14506 * sysdeps/unix/sysv/linux/configure: Regenerated.
14507
7a1a51b5
RM
14508 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14509
5057ad3b
SE
145102014-05-07 Steve Ellcey <sellcey@mips.com>
14511
14512 [BZ# 16922]
14513 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14514 (LONG_SUB): Ditto.
14515 (PTR_SUB): Ditto.
14516
8dc97517
AS
145172014-05-07 Andreas Schwab <schwab@suse.de>
14518
14519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14520 when skipping over non-matching result from nscd.
14521
ce0c5b8f
OB
145222014-05-07 Ondřej Bílka <neleai@seznam.cz>
14523
14524 [BZ #16876]
14525 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14526
a1189263
OB
14527 [BZ #16877]
14528 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14529 nscd security class.
ce0c5b8f 14530
0f58d252
RM
145312014-05-06 Roland McGrath <roland@hack.frob.com>
14532
14533 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14534 * sysdeps/arm/unwind.h: ... here.
14535
83df9ad0
AJ
145362014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14537
ce0c5b8f
OB
14538 [BZ# 16916]
14539 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14540 Define.
83df9ad0 14541
f360f94a
VR
145422014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14543
14544 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14545 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14546 multiarch strncpy for PPC64.
14547 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14548 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14550 multiarch optimizations.
14551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14552 (__libc_ifunc_impl_list): Likewise.
14553 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14554 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14555 multiarch stpncpy for PPC64.
14556 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14557 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14558
978a41c3
AS
145592014-05-06 Andreas Schwab <schwab@suse.de>
14560
14561 [BZ #16912]
14562 * gmon/mcount.c (_MCOUNT_DECL): Use
14563 atomic_compare_and_exchange_bool_acq instead of
14564 catomic_compare_and_exchange_bool_acq.
14565
eb1ed03d
RM
145662014-05-05 Roland McGrath <roland@hack.frob.com>
14567
fe658845
RM
14568 * elf/Makefile (others, install-bin): Remove pldd.
14569 (pldd-modules): Variable removed.
14570 ($(objpfx)pldd): Target removed.
14571 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14572 (others, install-bin): Append pldd here.
14573 ($(objpfx)pldd): New target.
14574
eb1ed03d
RM
14575 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14576 to 0, so the first #if test emitted later doesn't see it undefined.
14577 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14578 * sysdeps/gnu/errlist.c: Regenerated.
14579
19c4bec0
AZ
145802014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14581
14582 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14583 [libc_hidden_builtin_def]: Define to empty value.
14584 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14585 [libc_hidden_builtin_def]: Likewise.
14586 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14587 [libc_hidden_builtin_def]: Likewise.
14588 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14589 [libc_hidden_builtin_def]: Likewise.
14590 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14591 __redirect_memcpy and define ifunc as default hidden symbol.
14592 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14593 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14594
7776e669
AC
145952014-05-04 Adam Conrad <adconrad@0c3.net>
14596
14597 * locale/iso-4217.def: Reintroduce XDR currency.
14598
d69aeb12
AM
145992014-05-04 Allan McRae <allan@archlinux.org>
14600
14601 * po/eo.po: Update Esperanto translation from translation project.
14602
8f1df5cf
CD
146032014-05-02 Carlos O'Donell <carlos@redhat.com>
14604
14605 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14606 and FEATURE_INDEX_MAX to 1.
14607 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14608
13e402e7
SE
146092014-05-01 Steve Ellcey <sellcey@mips.com>
14610
14611 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14612 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14613 * iconvdata/big5.c (ONE_DIRECTION): Define.
14614 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14615 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14616 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14617 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14618 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14619 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14620 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14621 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14622 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14623 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14624 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14625 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14626 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14627 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14628 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14629 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14630 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14631 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14632 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14633 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14634 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14635 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14636 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14637 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14638 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14639 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14640 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14641 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14642 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14643 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14644 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14645 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14646 * iconvdata/johab.c (ONE_DIRECTION): Define.
14647 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14648 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14649 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14650 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14651 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14652 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14653 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14654 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14655 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14656 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14657
c727f032
RM
146582014-05-01 Roland McGrath <roland@hack.frob.com>
14659
8f2f08d0
RM
14660 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14661 (_IO_JUMPS_OFFSET): Define to 0.
14662
c727f032
RM
14663 * nptl/sysdeps/pthread/bits/libc-lock.h
14664 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14665 (__libc_lock_define_initialized_recursive): Always define using
14666 initializer. Modern compilers treat uninitialized (implicit zero) and
14667 explicit zero initializers the same (i.e. put the datum in bss).
14668
a849e800
AS
146692014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14670
14671 * nscd/nscd-client.h: Include <string.h>.
14672
5331255b
DM
146732014-05-01 David S. Miller <davem@davemloft.net>
14674
14675 [BZ #16885]
14676 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14677 multiple zero bytes exist at the end of a string.
14678 Reported by Aurelien Jarno <aurelien@aurel32.net>
14679
14680 * string/test-strcmp.c (check): Add explicit test for situations where
14681 there are multiple zero bytes after the first.
14682
4fdfe821
AS
146832014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14684
14685 [BZ #16890]
14686 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14687 when compiling wprintf.
14688 * stdio-common/tstdiomisc.c (t3): New function.
14689 (main): Call it.
14690
0cdddc25
SE
146912014-05-01 Steve Ellcey <sellcey@mips.com>
14692
14693 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14694 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14695 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14696 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14697
6426d77e
SE
146982014-05-01 Steve Ellcey <sellcey@mips.com>
14699
14700 * stdlib/longlong.h: Updated from GCC.
14701
6d96f5e4
WN
147022014-05-01 Will Newton <will.newton@linaro.org>
14703 Bernard Ogden <bernie.ogden@linaro.org>
14704
7470db0c
WN
14705 * NEWS: Update fixed bug list.
14706
6d96f5e4
WN
14707 [BZ #15119]
14708 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14709
211d653c
DM
147102014-04-30 David S. Miller <davem@davemloft.net>
14711
4fa262fa
DM
14712 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14713 (libc_feholdexcept_setround_sparc_ctx): New function.
14714 (libc_fesetenv_sparc_ctx): Likewise.
14715 (libc_feupdateenv_sparc_ctx): Likewise.
14716 (libc_feholdsetround_sparc_ctx): Likewise.
14717 (libc_feholdexcept_setround_ctx): Define.
14718 (libc_feholdexcept_setroundf_ctx): Likewise.
14719 (libc_feholdexcept_setroundl_ctx): Likewise.
14720 (libc_fesetenv_ctx): Likewise.
14721 (libc_fesetenvf_ctx): Likewise.
14722 (libc_fesetenvl_ctx): Likewise.
14723 (libc_feupdateenv_ctx): Likewise.
14724 (libc_feupdateenvf_ctx): Likewise.
14725 (libc_feupdateenvl_ctx): Likewise.
14726 (libc_feresetround_ctx): Likewise.
14727 (libc_feresetroundf_ctx): Likewise.
14728 (libc_feresetroundl_ctx): Likewise.
14729 (libc_feholdsetround_ctx): Likewise.
14730 (libc_feholdsetroundf_ctx): Likewise.
14731 (libc_feholdsetroundl_ctx): Likewise.
14732
1d3d93ef
DM
14733 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14734 with __USE_GNU instead of XOPEN cpp guards.
14735
8aa583c3
DM
14736 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14737 0.
14738
211d653c
DM
14739 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14740 with XOPEN cpp guards.
14741
60c8f1f6
JB
147422014-04-30 Julian Brown <julian@codesourcery.com>
14743
14744 [BZ #16888]
14745 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14746 handling.
14747
9a461d46
JM
147482014-04-30 Joseph Myers <joseph@codesourcery.com>
14749
d0f5b3f8
JM
14750 [BZ #9894]
14751 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14752 Change to 2.6.32.
14753 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14754 * sysdeps/unix/sysv/linux/configure: Regenerated.
14755 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14756 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14757 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14758 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14759 * README: Update reference to required Linux kernel version.
14760 * manual/install.texi (Linux): Update reference to required Linux
14761 kernel headers version.
14762 * INSTALL: Regenerated.
14763
9a461d46
JM
14764 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14765 header inclusion.
14766 [POSIX] (limits.h): Likewise.
14767 [POSIX] (math.h): Likewise.
14768 [POSIX] (sys/wait.h): Likewise.
14769 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14770 function.
14771 [POSIX] (stddef.h): Do not allow header inclusion.
14772
1775babf
AZ
147732014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14774
57f41c40 14775 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14776
8f630cca
YY
147772014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14778
14779 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14780 Return immediately after lll_futex_wake.
14781
1cdeb237
SP
147822014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14783
bc8f194c
SP
14784 [BZ #16791]
14785 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14786 structure.
14787 (datahead_init_pos): Call datahead_init_common early.
14788 (datahead_init_neg): Likewise.
14789
1cdeb237
SP
14790 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14791 datahead_init_neg): New functions.
14792 * nscd/aicache.c (addhstaiX): Use them.
14793 * nscd/grpcache.c (cache_addgr): Likewise.
14794 * nscd/hstcache.c (cache_addhst): Likewise.
14795 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14796 * nscd/netgroupcache.c (do_notfound): Likewise.
14797 (addgetnetgrentX): Likewise.
14798 (addinnetgrX): Likewise.
14799 * nscd/pwdcache.c (cache_addpw): Likewise.
14800 * nscd/servicescache.c (cache_addserv): Likewise.
14801
16b293a7
SP
148022014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14803 Atsushi Onoe <atsushi@onoe.org>
14804
14805 [BZ #14308]
14806 [BZ #12994]
14807 [BZ #13651]
14808 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14809 one response is valid.
14810 * resolv/res_send.c (send_dg): Check for validity of other
14811 response if the current response is a referral.
14812
a28a9b94
SE
148132014-04-29 Steve Ellcey <sellcey@mips.com>
14814
14815 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14816
2ca180e9
SL
148172014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14818
14819 [BZ #16823]
14820 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14821 Always divide by positive zero when computing -Inf result.
14822 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14823 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14824
18f2945a
AZ
148252014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14826
14827 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14828 FPSCR if value do not change.
14829 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14830 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14831 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14832 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14833 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14834 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14835 function.
14836
5abebba4
CD
148372014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14838
14839 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14840 * sysdeps/unix/sysv/linux/hppa: Move directory from
14841 ports/systeps/unix/sysv/linux/hppa.
14842 * README: Update listing for hppa-*-linux-gnu.
14843
f7ed60c2
OB
148442014-04-28 Ondřej Bílka <neleai@seznam.cz>
14845
fff763a5
OB
14846 [BZ #16754]
14847 * manual/stdio.texi (Hook functions): Fix types of stream hook
14848 functions.
f7ed60c2
OB
14849 [BZ #16854]
14850 * socket/sys/socket.h: Fix typo in comment.
14851
df639d73
WD
148522014-04-28 Wilco <wdijkstr@arm.com>
14853
f7ed60c2 14854 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14855 * sysdeps/arm/math_private.h: New file.
14856 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14857
48332d82
L
148582014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14859
14860 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14861 with __int128_t.
14862 (La_x86_64_retval): Likewise.
14863
e5e0d9a4
IB
148642014-04-24 Ian Bolton <ian.bolton@arm.com>
14865
14866 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14867 fpsr if value didn't change.
14868 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14869 to fpcr if value didn't change.
14870 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14871 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14872 fpsr or fpcr if value didn't change.
14873 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14874 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14875 fpcr if value didn't change.
14876 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14877 to fpsr if value didn't change.
14878
bacc75f7
SP
148792014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14880
14881 * nptl/tst-sem3.c: Use test-skeleton.c
14882 (main): Rename to do_test. Use return instead of
14883 exit.
14884 * nptl/tst-sem4.c: Use test-skeleton.c
14885 (main): Rename to do_test.
14886
a059d359
DM
148872014-04-22 David S. Miller <davem@davemloft.net>
14888
14889 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14890 (struct sigaction): New struct member __glibc_reserved0, change
14891 type of sa_flags to int.
14892
ea6c92f3
YZ
148932014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14894
14895 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14896 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14897
766c4a36
SP
148982014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14899
14900 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14901 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14902
140cc7ab
VK
149032014-04-22 Will Newton <will.newton@linaro.org>
14904 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14905
14906 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14907 (__longjmp): Add longjmp and longjmp_target SystemTap
14908 probes.
14909 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14910 (__sigsetjmp): Add setjmp SystemTap probe.
14911
c54e5cf7
CD
149122014-04-17 Carlos O'Donell <carlos@redhat.com>
14913
14914 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14915 match manual order.
14916
75ffb047
AZ
149172014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14918
14919 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14920
2cd925f7
AZ
14921 * sysdeps/powerpc/fpu/fenv_private.h
14922 (libc_feholdexcept_setroundl_ctx): Define to
14923 libc_feholdexcept_setround_ppc_ctx.
14924 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14925 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14926 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14927 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14928
39e6cd8d
IB
149292014-04-17 Ian Bolton <ian.bolton@arm.com>
14930
14931 * sysdeps/aarch64/math-tests.h: New file.
14932
f9281df9
SY
149332014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14934
14935 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14936 New.
14937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14938 Check and set bit_AVX2_Usable.
14939 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14940 macro.
14941 (bit_AVX2): Likewise.
14942 (index_AVX2_Usable): Likewise.
14943 (CPUID_AVX2): Likewise.
14944 (HAS_AVX2): Likewise.
14945
37d35007
WN
149462014-04-17 Will Newton <will.newton@linaro.org>
14947
7c677662
WN
14948 * manual/setjmp.texi (System V contexts): Add note that
14949 calling setcontext on a context created by a call to a
14950 signal handler is undefined. Update text to note that
14951 setcontext from a signal handler is possible but not
14952 recommended.
14953
37d35007 14954 [BZ #16629]
e04a4e9d
WN
14955 * stdlib/tst-setcontext.c: Include signal.h.
14956 (main): Check that the signal stack before and
14957 after swapcontext is the same.
14958
37d35007
WN
14959 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14960 Re-implement to restore registers in user code and avoid
14961 rt_sigreturn system call.
14962
423a7160
W
149632014-04-17 Wilco <wdijkstr@arm.com>
14964
14965 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14966 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14967 * math/test-fenv.c: Skip exception trap tests on targets which only
14968 support non-stop mode.
14969
bc93ab29
IB
149702014-04-17 Ian Bolton <ian.bolton@arm.com>
14971 Wilco Dijkstra <wilco.dijkstra@arm.com>
14972
14973 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14974 (libc_feholdsetround_aarch64_ctx)
14975 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14976 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14977 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14978 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14979 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14980 (libc_feresetround_noexl_ctx): Define.
14981
95fc5fa3
RH
149822014-04-16 Richard Henderson <rth@redhat.com>
14983
ddb04724
RH
14984 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14985
d77c0899
RH
14986 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14987 unwind tables.
14988
a3df56fc
RH
14989 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14990 const from the non-libc, non-ldso copy.
14991
95fc5fa3
RH
14992 * sysdeps/alpha/libm-test-ulps: Regenerate.
14993
7e0b6763
IB
149942014-04-16 Ian Bolton <ian.bolton@arm.com>
14995 Wilco Dijkstra <wilco.dijkstra@arm.com>
14996
14997 * sysdeps/aarch64/fpu/math_private.h: New file.
14998
a9ea2e0c
MS
149992014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15000
15001 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15002
ea8ba7cd
IZ
150032014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15004
7e54fd04 15005 [BZ #16275]
ea8ba7cd
IZ
15006 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15007 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15008 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15009 Intel MPX bound registers before _dl_profile_fixup.
15010 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15011 registers after _dl_profile_fixup. Save and restore bound
15012 registers bnd0/bnd1 when calling _dl_call_pltexit.
15013 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15014 (LR_BND_OFFSET): Likewise.
15015 (LRV_BND0_OFFSET): Likewise.
15016 (LRV_BND1_OFFSET): Likewise.
15017
9f2a4fbc
ST
150182014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15019
15020 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15021 to...
15022 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
15023 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15024 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15025 fields.
9f2a4fbc 15026
fd15a59b
ST
150272014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15028
15029 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15030
f19dfa0a
SL
150312014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15032
15033 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15034
4fa8bc3b
SL
150352014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15036
15037 [BZ #14770]
15038 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15039 * sysdeps/s390/configure: Regenerate.
15040
8ea587db
SL
15041 [BZ #16824]
15042 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15043 Set round-to-nearest internally to reduce error accumulation.
15044
aa5f0ff1
AM
150452014-04-16 Alan Modra <amodra@gmail.com>
15046
15047 [BZ #16740]
15048 [BZ #16619]
15049 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15050 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 15051 * NEWS: Update fixed bug list.
aa5f0ff1 15052
bb9c256f
SP
150532014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15054
15055 * benchtests/Makefile: Depend on libraries in build directory.
15056 (bench-math): Separate out math tests.
15057 (bench-pthread): Separate out pthread tests.
15058 (bench): Include math and pthread tests.
15059
f737dfd0
CD
150602014-04-14 Carlos O'Donell <carlos@redhat.com>
15061
15062 [BZ #16831]
15063 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15064 _dl_debug_initialize.
15065
0699f766
CD
15066 * configure.ac: Remove SELinux header check.
15067 * configure: Regenerate.
15068 * nscd/selinux.c (perms): Array of const char* to permission names.
15069 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15070 default policy. Call string_to_security_class and string_to_av_perm to
15071 translate strings. Enforce default policy and call avs_has_perm with
15072 results of translated strings.
15073
809bd45f
DM
150742014-04-13 David S. Miller <davem@davemloft.net>
15075
15076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15077
89e691f2
AM
150782014-04-12 Allan McRae <allan@archlinux.org>
15079
15080 [BZ #16838]
15081 * manual/string.texi (Collation Functions): Fix qsort argument
15082 order in example.
15083 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15084
9c9daaeb
CM
150852014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15086
15087 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15088 Make the test a no-op if there are no exceptions defined.
15089
95561fb9
PP
150902014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15091
fe8d072c 15092 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
15093 enable-hardcoded-path-in-tests
15094
970c602a
WN
150952014-04-11 Will Newton <will.newton@linaro.org>
15096
15097 * benchtests/Makefile (extra-objs): Add json-lib.o.
15098 (bench-func): Tidy up JSON output.
15099 * benchtests/bench-skeleton.c: Include json-lib.h.
15100 (main): Use JSON library functions to do output of
15101 benchmark results.
15102 * benchtests/bench-timing-type.c (main): Output the
15103 timing type simply, leaving formatting to the user.
15104 * benchtests/json-lib.c: New file.
15105 * benchtests/json-lib.h: Likewise.
15106
36875b06
TR
151072014-04-11 Torvald Riegel <triegel@redhat.com>
15108
15109 [BZ #15215]
15110 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15111 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15112 memory barriers. Add comments.
15113 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15114 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15115 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15116 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15117 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15118 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15119
579db35a
SL
151202014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15121
15122 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15123 * sysdeps/s390/s390-64/configure.ac: ... this ...
15124 * sysdeps/s390/configure.ac: ... to here.
15125 * sysdeps/s390/s390-32/configure: Delete file.
15126 * sysdeps/s390/s390-64/configure: Delete file.
15127 * sysdeps/s390/configure: Regenerate.
15128
c12e9f37
JAPH
151292014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15130
15131 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15132
439bda32
WN
151332014-04-11 Will Newton <will.newton@linaro.org>
15134
15135 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15136 to zero if it is not defined elsewhere. (mtrim): Test
15137 the value of MALLOC_DEBUG with #if rather than #ifdef.
15138
6a5d6ea1
TR
151392014-04-10 Torvald Riegel <triegel@redhat.com>
15140
15141 * benchtests/pthread_once-inputs: New file.
15142 * benchtests/pthread_once-source.c: New file.
15143 * benchtests/README: Update documentation.
15144
a4c75cfd
IZ
151452014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15146 H.J. Lu <hongjiu.lu@intel.com>
15147
7e54fd04 15148 [BZ #16275]
a4c75cfd
IZ
15149 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15150 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15151 * sysdeps/x86_64/configure: Regenerated.
15152 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15153 macro.
15154 (REGISTER_SAVE_RAX): Likewise.
15155 (REGISTER_SAVE_RCX): Likewise.
15156 (REGISTER_SAVE_RDX): Likewise.
15157 (REGISTER_SAVE_RSI): Likewise.
15158 (REGISTER_SAVE_RDI): Likewise.
15159 (REGISTER_SAVE_R8): Likewise.
15160 (REGISTER_SAVE_R9): Likewise.
15161 (REGISTER_SAVE_BND0): Likewise.
15162 (REGISTER_SAVE_BND1): Likewise.
15163 (REGISTER_SAVE_BND2): Likewise.
15164 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15165 bound registers when calling _dl_fixup.
15166
27822ce6
AZ
151672014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15168
15169 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
15170 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15171 of its definition.
27822ce6
AZ
15172 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15173 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15174 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15175 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15176 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15177 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15178 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15179
a88ddc90
PTB
151802014-04-09 Peter Brett <peter@peter-b.co.uk>
15181
15182 [BZ #15514]
15183 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15184 pathconf(_PC_NAME_MAX).
15185
01f8eac2
AZ
151862014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15187
15188 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15189 Remove macro usage.
15190 (__PTHREAD_SPINS): Move definition to ...
15191 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15192 (__PTHREAD_SPINS): ... here.
15193 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15194 (__PTHREAD_SPIN): Likewise.
15195 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15196 (__PTHREAD_SPIN): Likewise.
15197 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15198 (__PTHREAD_SPIN): Likewise.
15199 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15200 (__PTHREAD_SPIN): Likewise.
15201 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15202 (__PTHREAD_SPIN): Likewise.
15203 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15204 (__PTHREAD_SPIN): Likewise.
15205 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15206 (__PTHREAD_SPIN): Likewise.
15207 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15208 (__PTHREAD_SPIN): Likewise.
15209 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15210 (__PTHREAD_SPIN): Likewise.
15211 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15212 (__PTHREAD_SPIN): Likewise.
15213 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15214 (__PTHREAD_SPIN): Likewise.
15215 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15216 (__PTHREAD_SPIN): Likewise.
15217
de21c33c
AZ
15218 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15219 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15220 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15221 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15222 imply folder.
15223 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15224 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15225 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15226 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15227 correct imply path.
15228 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15229 strlen symbol for non multi-arch builds.
15230 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15231 missing hidden_def and weak_alias.
15232
862c472e
CD
152332014-04-08 Carlos O'Donell <carlos@redhat.com>
15234
15235 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15236
8667f90e
WN
152372014-04-07 Will Newton <will.newton@linaro.org>
15238
15239 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15240 and contents. [!_LIBC] Remove #ifndef and contents.
15241 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15242 * string/memccpy.c (__memccpy): Use ANSI prototype.
15243 * string/memfrob.c (memfrob): Likewise.
15244 * string/strcoll.c (STRCOLL): Likewise.
15245 * string/strlen.c (strlen): Likewise.
15246 * string/strtok.c (STRTOK): Likewise.
15247 * string/strcat.c: Remove unused #include of memcopy.h.
15248 (strcat): Use ANSI prototype.
15249 * string/strchr.c: Remove unused #include of memcopy.h.
15250 (strchr): Use ANSI prototype.
15251 * string/strcmp.c: Remove unused #include of memcopy.h.
15252 (strcmp): Use ANSI prototype.
15253 * string/strcpy.c: Remove unused #include of memcopy.h.
15254 (strcpy): Use ANSI prototype.
15255
7ffa9423
AZ
152562014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15257
15258 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15259 * config.make.in (config-extra-cppflags): Set it from
15260 libc_extra_cppflags.
15261 * configure.ac (libc_extra_cflags): Make it accumulate over
15262 configure fragments.
15263 (libc_extra_cppflags): New flag.
15264 * configure. Regenerate.
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15266 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15267 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15269
8bd70862
AZ
15270 [BZ #16815]
15271 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15272 result for FE_DOWNWARD rounding mode.
15273 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15274 Likewise.
15275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15276
d42f3448
CM
152772014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15278
15279 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15280 in function argument name.
15281
1c21d115
DS
152822014-04-03 David Svoboda <svoboda@cert.org>
15283
15284 [BZ #5666]
15285 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15286 explicitly.
15287
fcccd512
RM
152882014-04-03 Roland McGrath <roland@hack.frob.com>
15289
15290 * elf/dl-unmap-segments.h: New file.
15291 * sysdeps/generic/ldsodefs.h
15292 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15293 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15294 * elf/dl-fptr.c: Likewise.
15295 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15296 * sysdeps/aarch64/tlsdesc.c: Likewise.
15297 * sysdeps/arm/tlsdesc.c: Likewise.
15298 * sysdeps/i386/tlsdesc.c: Likewise.
15299 * sysdeps/tile/dl-runtime.c: Likewise.
15300 * sysdeps/x86_64/tlsdesc.c: Likewise.
15301 * elf/dl-load.h: New file.
15302 * elf/dl-load.c: Include it.
15303 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15304 Macros moved to dl-load.h.
15305 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15306 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15307 Use _dl_unmap_segments in place of __munmap.
15308 Break out segment-mapping loop into ...
15309 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15310
f6488e2b
WN
153112014-04-03 Will Newton <will.newton@linaro.org>
15312
15313 * elf/dl-lookup.c (do_lookup_x): Remove comment
15314 referring to nested function and move variable
15315 declarations down to before first use.
15316
6f05bafe
JM
153172014-04-02 Joseph Myers <joseph@codesourcery.com>
15318
a84e78c8
JM
15319 [BZ #16799]
15320 [BZ #16800]
15321 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15322 with 0 numerator.
15323 * math/s_catanf.c (__catanf): Likewise.
15324 * math/s_catanh.c (__catanh): Likewise.
15325 * math/s_catanhf.c (__catanhf): Likewise.
15326 * math/s_catanhl.c (__catanhl): Likewise.
15327 * math/s_catanl.c (__catanl): Likewise.
15328 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15329 by positive zero when computing -Inf result.
15330 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15331 (catanh_test): Likewise.
15332 * sysdeps/i386/fpu/libm-test-ulps: Update.
15333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15334
6f05bafe
JM
15335 [BZ #16789]
15336 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15337 instead of using underflowing value in computing result.
15338 * math/s_clog10.c (__clog10): Likewise.
15339 * math/s_clog10f.c (__clog10f): Likewise.
15340 * math/s_clog10l.c (__clog10l): Likewise.
15341 * math/s_clogf.c (__clogf): Likewise.
15342 * math/s_clogl.c (__clogl): Likewise.
15343 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15344 (clog10_test): Likewise.
15345 * sysdeps/i386/fpu/libm-test-ulps: Update.
15346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15347
b0abbc21
AM
153482014-04-02 Alan Modra <amodra@gmail.com>
15349
15350 [BZ #16739]
15351 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15352 output when value is near a power of two. Use int64_t for lx and
15353 remove casts. Use decimal rather than hex exponent constants.
15354 Don't use long double multiplication when double will suffice.
15355 * math/libm-test.inc (nextafter_test_data): Add tests.
15356 * NEWS: Add 16739 and 16786 to bug list.
15357
af6b1797
AM
15358 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15359
483818d7
AM
15360 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15361
f6c55796
WN
153622014-04-01 Will Newton <will.newton@linaro.org>
15363
15364 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15365 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15366
13f7fe35
FW
153672014-04-01 Florian Weimer <fweimer@redhat.com>
15368
15369 [BZ #13347]
15370 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15371 * nptl/tst-setuid2.c: New file.
15372 * nptl/Makefile (xtests): Add tst-setuid2.
15373
c859b32e
AM
153742014-04-01 Alan Modra <amodra@gmail.com>
15375
15376 [BZ #16786]
15377 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15378
54fa2475
JM
153792014-03-31 Joseph Myers <joseph@codesourcery.com>
15380
8795b4a4
JM
15381 [BZ #6803]
15382 [BZ #6804]
15383 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15384 set errno as appropriate.
15385 * math/w_scalbf.c (__scalbf): Likewise.
15386 * math/w_scalbl.c (__scalbl): Likewise.
15387 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15388 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15389 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15390 Add more NaN tests.
15391
54fa2475
JM
15392 [BZ #16349]
15393 * math/w_atan2.c: Include <errno.h>.
15394 (__atan2): Set errno for result underflowing to zero.
15395 * math/w_atan2f.c: Include <errno.h>.
15396 (__atan2f): Set errno for result underflowing to zero.
15397 * math/w_atan2l.c: Include <errno.h>.
15398 (__atan2l): Set errno for result underflowing to zero.
15399 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15400 tests.
15401 * math/auto-libm-test-out: Regenerated.
15402
757d9dd5
AZ
154032014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15404
15405 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15406 Encode instruction correctly in little endian.
15407 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15408 Likewise.
15409 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15410 Likewise.
15411 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15412 Likewise.
15413 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15414 Likewise.
15415
d7a68734
JM
154162014-03-31 Joseph Myers <joseph@codesourcery.com>
15417
47c5adeb
JM
15418 [BZ #9894]
15419 * sysdeps/unix/sysv/linux/kernel-features.h
15420 [__sparc__ && !__arch64__ && !__sparc_v9__]
15421 (__ASSUME_SET_ROBUST_LIST): Do not define.
15422 [__sparc__ && !__arch64__ && !__sparc_v9__]
15423 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15424 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15425 Likewise.
15426 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15427 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15428 (__ASSUME_REQUEUE_PI): Likewise.
15429 (__ASSUME_SET_ROBUST_LIST): Likewise.
15430 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15431 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15432 Undefine.
15433 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15434 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15435 Likewise.
15436 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15437 Likewise.
15438 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15439 Likewise.
15440 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15441 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15442 Undefine.
15443 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15444 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15445 Likewise.
15446
d7a68734
JM
15447 [BZ #16648]
15448 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15449 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15450 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15451
c760f5c2
WN
154522014-03-31 Will Newton <will.newton@linaro.org>
15453
15454 * benchtests/Makefile (bench): Add ffs and ffsll to list
15455 of tests.
15456 * benchtests/ffs-inputs: New file.
15457 * benchtests/ffsll-inputs: Likewise.
15458
ea6029b1
JM
154592014-03-29 Joseph Myers <joseph@codesourcery.com>
15460
15461 [BZ #16770]
15462 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15463 too large before casting to int.
15464 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15465 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15466 * math/libm-test.inc (scalb_test_data): Add more tests.
15467
cf806aff
SP
154682014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15469
56737508
SP
15470 * benchtests/Makefile (DETAILED_OPT): New make option.
15471 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15472 set.
15473 * benchtests/bench-skeleton.c: Include stdbool.h.
15474 (main): Store and print timings per input.
15475 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15476 member to each argument value.
15477 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15478 (_print_arg_data): Initialize per-input timing to 0.
15479
cb5e4aad
SP
15480 * benchtests/Makefile (timing-type): New binary.
15481 (bench-clean): Also remove bench-timing-type.
15482 (bench): New target for timing-type.
15483 (bench-func): Print output in JSON format.
15484 * benchtests/bench-skeleton.c (main): Print output in JSON
15485 format.
15486 * benchtests/bench-timing-type.c: New file.
15487 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15488 (TIMING_PRINT_STATS): Remove.
15489 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15490 name separately.
15491
cf806aff
SP
15492 * benchtests/bench-modf.c: Remove.
15493 * benchtests/modf-inputs: New inputs file.
15494
289e0779
JM
154952014-03-28 Joseph Myers <joseph@codesourcery.com>
15496
15497 [BZ #16362]
15498 * math/s_clog10.c (M_PI_LOG10E): New macro.
15499 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15500 imaginary parts are 0.
15501 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15502 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15503 imaginary parts are 0.
15504 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15505 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15506 imaginary parts are 0.
15507 * math/libm-test.inc (clog10_test_data): Update expected results
15508 for when real and imaginary parts are 0.
15509
277ae3f1
PP
155102014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15511
15512 * elf/dl-load.c: Finish conversion of __builtin_expect into
15513 __glibc_{un}likely.
15514
03a7091f
JM
155152014-03-27 Joseph Myers <joseph@codesourcery.com>
15516
15517 [BZ #16348]
15518 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15519 1+x for argument with exponent below -67.
15520 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15521 Likewise.
15522 * math/auto-libm-test-in: Add more tests of exp.
15523 * math/auto-libm-test-out: Regenerated.
15524
ea7d8b95
SP
155252014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15526
dd3022d7
SP
15527 [BZ #16759]
15528 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15529 (nscd_getnetgrent): Use it.
15530
ea7d8b95
SP
15531 [BZ #16760]
15532 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15533 of stpcpy.
15534
df5b85da
AK
155352014-03-27 Andi Kleen <ak@linux.intel.com>
15536
57f41c40
AS
15537 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15538 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15539 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15540 (lll_robust_unlock): Remove out of line section. Use cfi
15541 intrinsics.
df5b85da 15542 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
15543 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15544 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15545 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15546 (lll_robust_unlock): Remove out of line section. Use cfi
15547 intrinsics.
df5b85da
AK
15548 (LLL_STUB_UNWIND_INFO*): Remove.
15549
fbd6b5a4
SP
155502014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15551
15552 [BZ #16758]
15553 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15554 blank values.
15555
1b26b855
PP
155562014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15557
15558 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15559
9be36fb8
JM
155602014-03-26 Joseph Myers <joseph@codesourcery.com>
15561
15562 [BZ #16198]
15563 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15564 fnstenv.
15565 * math/test-fenv-preserve.c: New file.
15566 * math/Makefile (tests): Add test-fenv-preserve.
15567
60a2f3c1
WN
155682014-03-26 Will Newton <will.newton@linaro.org>
15569
15570 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15571
a5e5f1e2
RM
155722014-03-25 Roland McGrath <roland@hack.frob.com>
15573
15574 * scripts/versionlist.awk: Partition the version sets and emit all
15575 GLIBC_* (sorted) before all others (sorted).
15576
00f4012a
JM
155772014-03-25 Joseph Myers <joseph@codesourcery.com>
15578
15579 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15580 GLIBC_2.2.5 version.
15581
7bc5a741
AZ
155822014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15583
15584 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15585 calls.
15586
7578473b
AZ
15587 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15588 previous change.
15589
f3f1dab3
AZ
15590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15591
6da36183
AS
155922014-03-25 Andreas Schwab <schwab@suse.de>
15593
15594 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15595 label to be used after in6ailist is initialized.
15596
f3f1dab3 155972014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15598
7578473b 15599 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15600 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15601
046651c1
JM
156022014-03-25 Joseph Myers <joseph@codesourcery.com>
15603
15604 [BZ #16357]
15605 [BZ #16599]
15606 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15607 min_plus_half.
15608 (fp_formats): Update initializers.
15609 (init_fp_formats): Initialize new field.
15610 (output_for_one_input_case): Allow underflow for results up to
15611 min_plus_half.
15612 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15613 * math/auto-libm-test-in: Don't mark some underflows from asin and
15614 atanh as spurious.
15615 * math/auto-libm-test-out: Regenerated.
15616 * sysdeps/i386/fpu/libm-test-ulps: Update.
15617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15618
003e49ed
AS
156192014-03-25 Andreas Schwab <schwab@suse.de>
15620
15621 * libio/Makefile (tst-ftell-partial-wide-ENV)
15622 (tst-ftell-active-handler-ENV): Define.
15623
de031874
SL
156242014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15625
15626 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15627
55a81e3b
PP
156282014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15629
15630 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15631
f3426898
JM
156322014-03-24 Joseph Myers <joseph@codesourcery.com>
15633
15634 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15635 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15636 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15637
a42faf59
PP
156382014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15639
15640 [BZ #16634]
a42faf59 15641 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15642 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15643 (open_path): Change from boolean 'secure' to complete flag 'mode'
15644 (_dl_map_object): Adjust.
a42faf59
PP
15645 * elf/Makefile (tests): Add tst-dlopen-aout.
15646 * elf/tst-dlopen-aout.c: New test.
15647
50936127
SL
156482014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15649
15650 [BZ #16714]
15651 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15652 (struct stat): Rename member pad0 to __glibc_reserved0.
15653
26011b5c
SL
15654 [BZ #16712]
15655 * sysdeps/s390/s390-32/bits/wordsize.h
15656 (__WORDSIZE32_SIZE_ULONG): New define.
15657 * sysdeps/s390/s390-64/bits/wordsize.h
15658 (__WORDSIZE32_SIZE_ULONG): Likewise.
15659 * sysdeps/generic/stdint.h (SIZE_MAX):
15660 Define as UL if __WORDSIZE32_SIZE_ULONG.
15661
a2d86bf1
SL
15662 [BZ #16713]
15663 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15664 (__glibc_reserved0): New variable.
15665 (sa_flags): Change type to int.
15666
78b6eebc
SL
15667 * posix/Makefile (before-compile): Use += before-compile instead
15668 of a :=.
15669
f1399b5a
SL
15670 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15671 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15672
a071766e
AS
156732014-03-20 Andreas Schwab <schwab@suse.de>
15674
15675 [BZ #16743]
15676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15677 non-matching result from nscd.
15678
27c673b8
SP
156792014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15680
15681 * scripts/bench.py: Moved to ...
15682 * benchtests/scripts/bench.py: ... here.
15683 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15684
44152e4b
AS
156852014-03-24 Andreas Schwab <schwab@suse.de>
15686
15687 [BZ #16002]
15688 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15689 alloca_account and account alloca use for struct in6ailist.
15690
b376a11a
JM
156912014-03-24 Joseph Myers <joseph@codesourcery.com>
15692
15693 [BZ #16284]
15694 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15695 rounding mode to recompute results that overflow to infinity or
15696 underflow to zero.
15697 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15698 bug 16284.
15699 * math/auto-libm-test-out: Regenerated.
15700 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15701 (ccosh_test): Likewise.
15702 (csin_test_data): Use plus_oflow.
15703 (csin_test): Use ALL_RM_TEST.
15704 (csinh_test_data): Use plus_oflow.
15705 (csinh_test): Use ALL_RM_TEST.
15706 * sysdeps/i386/fpu/libm-test-ulps: Update.
15707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15708
f7be7376
JM
157092014-03-21 Joseph Myers <joseph@codesourcery.com>
15710
1ca2d03e
JM
15711 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15712 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15713 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15714
f7be7376
JM
15715 [BZ #16731]
15716 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15717 when x - 1 is zero.
15718 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15719 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15720 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15721 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15722 argument is 1.
15723 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15724 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15725 zero.
15726 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15727 * sysdeps/i386/fpu/libm-test-ulps: Update.
15728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15729
fdf4534d
SP
157302014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15731
df26ea53
SP
15732 * scripts/bench.pl: Remove file.
15733 * scripts/bench.py: New benchmark script.
15734 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15735 * benchtests/README: Mention python dependency.
15736 * scripts/pylintrc: New file.
15737 * scripts/pylint: New file.
15738
fdf4534d
SP
15739 * bits/mathdef.h: Use #ifdef instead of #if.
15740 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15741 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15742 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15743 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15744 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15745 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15746
6f23d093
AZ
157472014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15748 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15749
15750 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15752 and strpbrk-ppc64 objects.
15753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15754 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15755 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15756 multiarch strpbrk for POWER7.
15757 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15758 multiarch strpbrk for PPC64.
15759 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15760 ifunc selector.
15761 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15762 strpbrk for POWER7.
15763
8c92dfff
JM
157642014-03-20 Joseph Myers <joseph@codesourcery.com>
15765
15766 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15767 (atan_test): Likewise.
15768 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15769 (atanh_test): Use ALL_RM_TEST.
15770 (atan2_test_data): Likewise.
15771 (cabs_test): Likewise.
15772 (cacosh_test): Likewise.
15773 (carg_test): Likewise.
15774 (casin_test): Likewise.
15775 (casinh_test): Likewise.
15776 (cbrt_test): Likewise.
15777 (csqrt_test): Likewise.
15778 (erf_test): Likewise.
15779 (erfc_test): Likewise.
15780 (pow10_test): Likewise.
15781 (exp2_test): Likewise.
15782 (hypot_test): Likewise.
15783 (j0_test): Likewise.
15784 (j1_test): Likewise.
15785 (lgamma_test): Likewise.
15786 (gamma_test): Likewise.
15787 (sincos_test): Likewise.
15788 (tanh_test): Likewise.
15789 (y0_test): Likewise.
15790 (y1_test): Likewise.
15791 * sysdeps/i386/fpu/libm-test-ulps: Update.
15792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15793
6eaf95cb
AZ
157942014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15795
a387428c
SP
15796 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15798 and strcspn-ppc64 objects.
15799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15800 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15801 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15802 multiarch strcspn for POWER7.
15803 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15804 multiarch strcspn for PPC64.
15805 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15806 ifunc selector.
15807 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15808 strcspn for POWER7.
15809
ae3a5dff
JM
158102014-03-20 Joseph Myers <joseph@codesourcery.com>
15811
15812 * math/gen-libm-test.pl (generate_testfile): Expect only function
15813 name as argument to AUTO_TESTS_* and pass results for all rounding
15814 modes to parse_args.
15815 (parse_auto_input): Separate inputs of automatic tests from
15816 outputs before storing in %auto_tests.
15817 * math/libm-test.inc (acos_test_data): Update call to
15818 AUTO_TESTS_f_f.
15819 (acos_test): Use ALL_RM_TEST.
15820 (acos_tonearest_test_data): Remove.
15821 (acos_test_tonearest): Likewise.
15822 (acos_towardzero_test_data): Likewise.
15823 (acos_test_towardzero): Likewise.
15824 (acos_downward_test_data): Likewise.
15825 (acos_test_downward): Likewise.
15826 (acos_upward_test_data): Likewise.
15827 (acos_test_upward): Likewise.
15828 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15829 (asin_test_data): Likewise.
15830 (asin_test): Use ALL_RM_TEST.
15831 (asin_tonearest_test_data): Remove.
15832 (asin_test_tonearest): Likewise.
15833 (asin_towardzero_test_data): Likewise.
15834 (asin_test_towardzero): Likewise.
15835 (asin_downward_test_data): Likewise.
15836 (asin_test_downward): Likewise.
15837 (asin_upward_test_data): Likewise.
15838 (asin_test_upward): Likewise.
15839 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15840 (atan_test_data): Likewise.
15841 (atanh_test_data): Likewise.
15842 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15843 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15844 (carg_test_data): Likewise.
15845 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15846 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15847 (ccosh_test_data): Likewise.
15848 (cexp_test_data): Likewise.
15849 (clog_test_data): Likewise.
15850 (clog10_test_data): Likewise.
15851 (cos_test_data): Update call to AUTO_TESTS_f_f.
15852 (cos_test): Use ALL_RM_TEST.
15853 (cos_tonearest_test_data): Remove.
15854 (cos_test_tonearest): Likewise.
15855 (cos_towardzero_test_data): Likewise.
15856 (cos_test_towardzero): Likewise.
15857 (cos_downward_test_data): Likewise.
15858 (cos_test_downward): Likewise.
15859 (cos_upward_test_data): Likewise.
15860 (cos_test_upward): Likewise.
15861 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15862 (cosh_test): Use ALL_RM_TEST.
15863 (cosh_tonearest_test_data): Remove.
15864 (cosh_test_tonearest): Likewise.
15865 (cosh_towardzero_test_data): Likewise.
15866 (cosh_test_towardzero): Likewise.
15867 (cosh_downward_test_data): Likewise.
15868 (cosh_test_downward): Likewise.
15869 (cosh_upward_test_data): Likewise.
15870 (cosh_test_upward): Likewise.
15871 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15872 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15873 (ctan_test_data): Likewise.
15874 (ctan_test): Use ALL_RM_TEST.
15875 (ctan_tonearest_test_data): Remove.
15876 (ctan_test_tonearest): Likewise.
15877 (ctan_towardzero_test_data): Likewise.
15878 (ctan_test_towardzero): Likewise.
15879 (ctan_downward_test_data): Likewise.
15880 (ctan_test_downward): Likewise.
15881 (ctan_upward_test_data): Likewise.
15882 (ctan_test_upward): Likewise.
15883 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15884 (ctanh_test): Use ALL_RM_TEST.
15885 (ctanh_tonearest_test_data): Remove.
15886 (ctanh_test_tonearest): Likewise.
15887 (ctanh_towardzero_test_data): Likewise.
15888 (ctanh_test_towardzero): Likewise.
15889 (ctanh_downward_test_data): Likewise.
15890 (ctanh_test_downward): Likewise.
15891 (ctanh_upward_test_data): Likewise.
15892 (ctanh_test_upward): Likewise.
15893 (erf_test_data): Update call to AUTO_TESTS_f_f.
15894 (erfc_test_data): Likewise.
15895 (exp_test_data): Likewise.
15896 (exp_test): Use ALL_RM_TEST.
15897 (exp_tonearest_test_data): Remove.
15898 (exp_test_tonearest): Likewise.
15899 (exp_towardzero_test_data): Likewise.
15900 (exp_test_towardzero): Likewise.
15901 (exp_downward_test_data): Likewise.
15902 (exp_test_downward): Likewise.
15903 (exp_upward_test_data): Likewise.
15904 (exp_test_upward): Likewise.
15905 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15906 (exp10_test): Use ALL_RM_TEST.
15907 (exp10_tonearest_test_data): Remove.
15908 (exp10_test_tonearest): Likewise.
15909 (exp10_towardzero_test_data): Likewise.
15910 (exp10_test_towardzero): Likewise.
15911 (exp10_downward_test_data): Likewise.
15912 (exp10_test_downward): Likewise.
15913 (exp10_upward_test_data): Likewise.
15914 (exp10_test_upward): Likewise.
15915 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15916 (expm1_test_data): Likewise.
15917 (expm1_test): Use ALL_RM_TEST.
15918 (expm1_tonearest_test_data): Remove.
15919 (expm1_test_tonearest): Likewise.
15920 (expm1_towardzero_test_data): Likewise.
15921 (expm1_test_towardzero): Likewise.
15922 (expm1_downward_test_data): Likewise.
15923 (expm1_test_downward): Likewise.
15924 (expm1_upward_test_data): Likewise.
15925 (expm1_test_upward): Likewise.
15926 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15927 (fma_test): Use ALL_RM_TEST.
15928 (fma_towardzero_test_data): Remove.
15929 (fma_test_towardzero): Likewise.
15930 (fma_downward_test_data): Likewise.
15931 (fma_test_downward): Likewise.
15932 (fma_upward_test_data): Likewise.
15933 (fma_test_upward): Likewise.
15934 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15935 (j0_test_data): Update call to AUTO_TESTS_f_f.
15936 (j1_test_data): Likewise.
15937 (jn_test_data): Update call to AUTO_TESTS_if_f.
15938 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15939 (log_test_data): Update call to AUTO_TESTS_f_f.
15940 (log10_test_data): Likewise.
15941 (log1p_test_data): Likewise.
15942 (log2_test_data): Likewise.
15943 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15944 (pow_tonearest_test_data): Likewise.
15945 (sin_test_data): Update call to AUTO_TESTS_f_f.
15946 (sin_test): Use ALL_RM_TEST.
15947 (sin_tonearest_test_data): Remove.
15948 (sin_test_tonearest): Likewise.
15949 (sin_towardzero_test_data): Likewise.
15950 (sin_test_towardzero): Likewise.
15951 (sin_downward_test_data): Likewise.
15952 (sin_test_downward): Likewise.
15953 (sin_upward_test_data): Likewise.
15954 (sin_test_upward): Likewise.
15955 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15956 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15957 (sinh_test): Use ALL_RM_TEST.
15958 (sinh_tonearest_test_data): Remove.
15959 (sinh_test_tonearest): Likewise.
15960 (sinh_towardzero_test_data): Likewise.
15961 (sinh_test_towardzero): Likewise.
15962 (sinh_downward_test_data): Likewise.
15963 (sinh_test_downward): Likewise.
15964 (sinh_upward_test_data): Likewise.
15965 (sinh_test_upward): Likewise.
15966 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15967 (sqrt_test): Use ALL_RM_TEST.
15968 (sqrt_tonearest_test_data): Remove.
15969 (sqrt_test_tonearest): Likewise.
15970 (sqrt_towardzero_test_data): Likewise.
15971 (sqrt_test_towardzero): Likewise.
15972 (sqrt_downward_test_data): Likewise.
15973 (sqrt_test_downward): Likewise.
15974 (sqrt_upward_test_data): Likewise.
15975 (sqrt_test_upward): Likewise.
15976 (tan_test_data): Update call to AUTO_TESTS_f_f.
15977 (tan_test): Use ALL_RM_TEST.
15978 (tan_tonearest_test_data): Remove.
15979 (tan_test_tonearest): Likewise.
15980 (tan_towardzero_test_data): Likewise.
15981 (tan_test_towardzero): Likewise.
15982 (tan_downward_test_data): Likewise.
15983 (tan_test_downward): Likewise.
15984 (tan_upward_test_data): Likewise.
15985 (tan_test_upward): Likewise.
15986 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15987 (tgamma_test_data): Likewise.
15988 (y0_test_data): Likewise.
15989 (y1_test_data): Likewise.
15990 (yn_test_data): Update call to AUTO_TESTS_if_f.
15991 (main): Do not call removed functions.
15992
d71aeee8
JM
159932014-03-19 Joseph Myers <joseph@codesourcery.com>
15994
15995 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15996 (ldexp_test_data): Remove.
15997 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15998 scalbn_test_data.
15999 (scalb_test): Use ALL_RM_TEST.
16000
baaf1ded
AS
160012014-03-19 Andreas Schwab <schwab@suse.de>
16002
16003 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16004
b1115e91
JM
160052014-03-19 Joseph Myers <joseph@codesourcery.com>
16006
16007 [BZ #16649]
16008 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16009 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16010 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16011 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16012 (__ASSUME_PREADV): Undefine.
16013 (__ASSUME_PWRITEV): Likewise.
16014
0283ecca
RM
160152014-03-18 Roland McGrath <roland@hack.frob.com>
16016
7d375303
RM
16017 * bits/mman-linux.h: Add comment about non-Linux use.
16018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16019 bits/mman-linux.h resting place.
16020
0283ecca
RM
16021 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16022 * bits/mman-linux.h: ... here.
16023
aebe1003
AZ
160242014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16025
16026 * conform/conformtest.pl: Add standard definition when calling C
16027 preprocessor on data files.
16028 (checknamespace): Remove unused variable.
16029
b29b6bb8
JM
160302014-03-18 Joseph Myers <joseph@codesourcery.com>
16031
16032 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16033 minus_oflow, plus_uflow and minus_uflow in expected results.
16034 * math/libm-test.inc (scalbn_test_data): Add more tests of
16035 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16036 minus_uflow.
16037 (scalbn_test): Use ALL_RM_TEST.
16038 (scalbln_test_data): Add more tests of negative arguments. Use
16039 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16040 (scalbln_test): Use ALL_RM_TEST.
16041
c8f8fa15
RM
160422014-03-18 Roland McGrath <roland@hack.frob.com>
16043
16044 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16045
fede7a5f
WN
160462014-03-18 Will Newton <will.newton@linaro.org>
16047
16048 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16049 inaccurate comment.
16050
80cf0a58
JM
160512014-03-18 Joseph Myers <joseph@codesourcery.com>
16052
16053 * Makerules [!subdir] (check-abi): Exit with error status if a
16054 test failed.
16055
b3620862
JM
160562014-03-17 Joseph Myers <joseph@codesourcery.com>
16057
16058 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16059 for rint. Include results for all rounding modes.
16060 (nearbyint_test): Use ALL_RM_TEST.
16061 (rint_test_data): Include all tests used for nearbyint.
16062
788bba36
WN
160632014-03-17 Will Newton <will.newton@linaro.org>
16064
04ec140a
WN
16065 * nptl/sysdeps/pthread/pthread.h: Revert previous
16066 change.
16067
7579d8d5
WN
16068 * sysdeps/generic/ldsodefs.h: Revert previous
16069 change.
16070
c15cf13a
WN
16071 * libio/genops.c: Revert previous change.
16072 * libio/libioP.h: Likewise.
16073 * stdio-common/vfprintf.c: Likewise.
16074
d0ac1324
WN
16075 * sysdeps/generic/math_private.h: Revert previous
16076 change.
16077
9290130a
WN
16078 * sysdeps/generic/math_private.h: Check whether
16079 HAVE_RM_CTX is defined with #ifdef rather
16080 than #if.
16081
afb466fc
WN
16082 * argp/argp-fmtstream.h: Check whether
16083 __STRICT_ANSI__ is defined with #ifdef rather
16084 than #if.
16085 * argp/argp.h: Likewise.
16086
f7efd7c3
WN
16087 * libio/genops.c: Check whether
16088 _IO_JUMPS_OFFSET is defined with #ifdef rather
16089 than #if.
16090 * libio/libioP.h: Likewise.
16091 * stdio-common/vfprintf.c: Likewise.
16092
53f1bed3
WN
16093 * sysdeps/generic/ldsodefs.h: Check whether
16094 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16095 than #if.
16096
788bba36
WN
16097 * nptl/sysdeps/pthread/pthread.h: Check
16098 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16099 its value.
16100
fcd89ebe
SP
161012014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16102
ae42bbc5
SP
16103 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16104 setting O_APPEND.
16105 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16106 test case.
16107
ea33158c
SP
16108 [BZ #16680]
16109 * libio/fileops.c (_IO_file_open): Seek to end of file but
16110 don't cache the offset.
16111 (get_file_offset): Remove function.
16112 (do_ftell): Use cached offset when available.
16113 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16114 don't cache the offset.
16115 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16116 case.
16117 (do_one_test): Call it.
16118 (do_ftell_test): Fix up expected old offset for a+ mode.
16119 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16120 available.
16121
b1dbb426
SP
16122 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16123 up test status with function return status.
16124 (do_write_test): Likewise.
16125 (do_append_test): Likewise.
16126
fcd89ebe
SP
16127 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16128 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16129 Remove.
16130
9962a2d3
JM
161312014-03-17 Joseph Myers <joseph@codesourcery.com>
16132
16133 * math/gen-libm-test.pl (parse_args): Handle results specified for
16134 each rounding mode separately.
16135 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16136 tests and results from lrint_tonearest_test_data,
16137 lrint_towardzero_test_data, lrint_downward_test_data and
16138 lrint_upward_test_data.
16139 (lrint_test): Use ALL_RM_TEST.
16140 (lrint_tonearest_test_data): Remove.
16141 (lrint_test_tonearest): Likewise.
16142 (lrint_towardzero_test_data): Likewise.
16143 (lrint_test_towardzero): Likewise.
16144 (lrint_downward_test_data): Likewise.
16145 (lrint_test_downward): Likewise.
16146 (lrint_upward_test_data): Likewise.
16147 (lrint_test_upward): Likewise.
16148 (llrint_test_data): Merge in per-rounding-mode tests and results
16149 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16150 llrint_downward_test_data and llrint_upward_test_data.
16151 (llrint_test): Use ALL_RM_TEST.
16152 (llrint_tonearest_test_data): Remove.
16153 (llrint_test_tonearest): Likewise.
16154 (llrint_towardzero_test_data): Likewise.
16155 (llrint_test_towardzero): Likewise.
16156 (llrint_downward_test_data): Likewise.
16157 (llrint_test_downward): Likewise.
16158 (llrint_upward_test_data): Likewise.
16159 (llrint_test_upward): Likewise.
16160 (rint_test_data): Merge in per-rounding-mode tests and results
16161 from rint_tonearest_test_data, rint_towardzero_test_data,
16162 rint_downward_test_data and rint_upward_test_data. Add
16163 per-rounding-mode results for tests not in those arrays.
16164 (rint_test): Use ALL_RM_TEST.
16165 (rint_tonearest_test_data): Remove.
16166 (rint_test_tonearest): Likewise.
16167 (rint_towardzero_test_data): Likewise.
16168 (rint_test_towardzero): Likewise.
16169 (rint_downward_test_data): Likewise.
16170 (rint_test_downward): Likewise.
16171 (rint_upward_test_data): Likewise.
16172 (rint_test_upward): Likewise.
16173 (main): Don't call removed functions.
16174
5006148e
RM
161752014-03-14 Roland McGrath <roland@hack.frob.com>
16176
16177 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16178 "Compiled on ..." crapola. It is anti-useful.
16179
d6fe5e58
JM
161802014-03-14 Joseph Myers <joseph@codesourcery.com>
16181
16182 * scripts/evaluate-test.sh: Handle fourth argument to determine
16183 whether test run should stop on failure.
16184 * Makeconfig (stop-on-test-failure): New variable.
16185 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16186 $(stop-on-test-failure).
16187 * Makefile (tests): Give a summary of results from testing and
16188 exit with failure status if they include an ERROR or FAIL.
16189 (xtests): Likewise.
16190 * manual/install.texi (Configuring and compiling): Mention
16191 stop-on-test-failure=y.
16192 * INSTALL: Regenerated.
16193
498a2233
RM
161942014-03-14 Roland McGrath <roland@hack.frob.com>
16195
22dbc19d
RM
16196 * scripts/versionlist.awk: New file.
16197 * Makerules [$(build-shared) = yes]
16198 (postclean-generated): Add Versions.def, not Versions.def.v and
16199 Versions.def.v.i.
16200 ($(common-objpfx)Versions.def.v.i): Target removed.
16201 ($(common-objpfx)Versions.def): New target.
16202 ($(common-objpfx)Versions.all): Depend on that rather that
16203 $(common-objpfx)Versions.def.v.
16204 * Versions.def: File removed.
16205
498a2233
RM
16206 * Makeconfig (+gccwarn): Add -Wundef.
16207 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16208 a dl-sysdep.h breaking its contract.
16209 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16210 * include/stackinfo.h: New file.
16211 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16212 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16213 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16214 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16215 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16216 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16217 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16218 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16219 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16220 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16221 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16222 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16223 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16224 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16225 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16226
c7de5025
AZ
162272014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16228
16229 [BZ #16707]
16230 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16231 implementation.
16232 * math/libm-test.inc (round_test_data): Add more tests.
16233
98fb27a3
AZ
16234 [BZ #16706]
16235 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16236 implementation.
16237 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16238
374f7f61
AZ
16239 [BZ #16701]
16240 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16241 implementation.
16242 * math/libm-test.inc (ceil_test_data): Add more tests.
16243
4655c291
AZ
16244 * math/libm-test.inc (trunc_test_data): Add more tests related to
16245 BZ#16414.
16246
d7329d4b
RM
162472014-03-14 Roland McGrath <roland@hack.frob.com>
16248
16249 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16250 with #if rather than #ifdef.
16251 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16252
aa4de9ce
L
162532014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16254
16255 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16256 first. Disable AVX-512 GCC support if assembler doesn't support
16257 it.
16258 * sysdeps/x86_64/configure: Regenerated.
16259
2e03fae7
CD
162602014-03-13 Carlos O'Donell <carlos@redhat.com>
16261
16262 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16263 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16264 (__old_pthread_attr_setstack): Likewise.
16265 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16266 [!_STACK_GROWS_DOWN]: Likewise.
16267
43ca83ec
MF
162682014-03-13 Mike Frysinger <vapier@gentoo.org>
16269
16270 * config.make.in (have-bash2): Delete.
16271 * configure.ac (libc_cv_have_bash2): Delete.
16272 * configure: Regenerate.
16273 * elf/Makefile (common-ldd-rewrite): Rename to ...
16274 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16275 (sh-ldd-rewrite): Delete.
16276 (bash-ldd-rewrite): Delete.
16277 (have-bash2): Delete checks.
57f41c40
AS
16278 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16279 ldd-rewrite.
c66e48b4
MF
16280
16281 * config.make.in (have-ksh): Delete.
16282 (KSH): Delete.
16283 * configure.ac (libc_cv_have_ksh): Delete.
16284 * configure: Regenerate.
16285
b93834ef
MF
16286 * elf/Makefile: Delete $(have-ksh) check.
16287 ($(objpfx)sotruss): Change KSH to BASH.
16288 * elf/sotruss.ksh: Rename to ...
16289 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16290 function style to match POSIX. Drop ksh vim mode setting.
16291
f3a4632a
MF
16292 * manual/time.texi (Specifying the Time Zone with TZ): Change
16293 Tuesday to Thursday.
16294
5896c8bd
MF
16295 * debug/tst-longjmp_chk2.c: Update header comment.
16296 (stackoverflow_handler): Add comment. Call assert on pass value.
16297
2d63a517
IZ
162982014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16299
7e54fd04 16300 [BZ #16194]
2d63a517
IZ
16301 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16302 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16303 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16304 (La_x86_64_vector): Add zmm.
16305 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16306 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16307 ($(objpfx)tst-audit10): New target.
16308 ($(objpfx)tst-audit10.out): Likewise.
16309 (tst-audit10-ENV): New.
16310 (AVX512-CFLAGS): Likewise.
16311 (CFLAGS-tst-audit10.c): Likewise.
16312 (CFLAGS-tst-auditmod10a.c): Likewise.
16313 (CFLAGS-tst-auditmod10b.c): Likewise.
16314 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16315 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16316 * sysdeps/x86_64/configure: Regenerated.
16317 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16318 AVX-512 zmm register support.
16319 (_dl_x86_64_save_sse): Likewise.
16320 (_dl_x86_64_restore_sse): Likewise.
16321 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16322 size vector registers.
16323 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16324 (ZMM_SIZE): Likewise.
16325 * sysdeps/x86_64/tst-audit10.c: New file.
16326 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16327 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16328
44c4e5d5
RM
163292014-03-13 Roland McGrath <roland@hack.frob.com>
16330
16331 * configure.ac (HAVE_EHDR_START): New check.
16332 * configure: Regenerated.
16333 * config.h.in (HAVE_EHDR_START): New #undef.
16334 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16335 assuming the lowest-addressed segment maps the start of the file.
16336
acd6e389
JM
163372014-03-13 Joseph Myers <joseph@codesourcery.com>
16338
16339 * INSTALL: Regenerated.
16340
6f918f36
WN
163412014-03-13 Will Newton <will.newton@linaro.org>
16342
16343 * manual/setjmp.texi (System V contexts): Improve
16344 clarity and grammar of documentation.
16345
798212a0
PP
163462014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16347
16348 [BZ #16381]
798212a0 16349 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16350 (tests-pie): Add tst-pie2.
798212a0
PP
16351 * elf/tst-pie2.c: New file.
16352 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16353 for ET_EXEC.
16354 * elf/rtld.c (map_doit): Load executable as lt_executable.
16355 (dl_main): Likewise.
16356
abe6d90c
JM
163572014-03-12 Joseph Myers <joseph@codesourcery.com>
16358
16359 [BZ #16642]
16360 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16361 (__ASSUME_PSELECT): Undefine.
16362
dd3946c6
AZ
163632014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16364
16365 [BZ #16689]
16366 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16367 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16368 static build.
16369 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16370 selector for static builds.
16371
c44496df
SP
163722014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16373
16374 [BZ #16695]
16375 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16376 key in the buffer.
16377
27c7220a
AZ
163782014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16379
57f41c40
AS
16380 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16381 IFUNC selector for static builds.
27c7220a 16382
600fa361
JM
163832014-03-11 Joseph Myers <joseph@codesourcery.com>
16384
76c96cf7
JM
16385 * sysdeps/mips/math_private.h [__mips_hard_float]
16386 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16387 libc_feresetround_mips_ctx.
16388 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16389 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16390 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16391
600fa361
JM
16392 [BZ #16677]
16393 * math/s_nextafter.c (__nextafter): Do not return value from
16394 overflowing computation.
16395 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16396 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16397 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16398 Likewise.
16399 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16400 Likewise.
16401 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16402 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16403
d7706c32
RM
164042014-03-11 Roland McGrath <roland@hack.frob.com>
16405
16406 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16407 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16408 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16409 the new mov targetting sp.
16410
4facea47
AZ
164112014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16412
16413 [BZ #16683]
16414 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16415 Define it for static builds as well.
16416 (NO_BZERO_IMPL): Likewise.
16417
e65caf1f
VR
164182014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16419
16420 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16421 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16422 multiarch strspn for PPC64.
16423 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16424 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16426 (__libc_ifunc_impl_list): Likewise.
16427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16428 multiarch optimizations
16429 * string/strspn.c (strspn): Using macro to redefine symbol name.
16430
ba9cc071
AZ
164312014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16432 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16433
16434 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16435 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16436 multiarch strncat for PPC64.
16437 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16438 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16440 (__libc_ifunc_impl_list): Likewise.
16441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16442 multiarch optimizations
16443
8b4ff974
SP
164442014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16445
16446 [BZ #16639]
16447 * nscd/nscd.service: Make service type forking.
16448
54b46a4b
AZ
164492014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16450
16451 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16452 sign in non default rounding modes.
16453 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16454
e9996ef7
JM
164552014-03-08 Joseph Myers <joseph@codesourcery.com>
16456
16457 * math/libm-test.inc (ALL_RM_TEST): New macro.
16458 (ceil_test): Use ALL_RM_TEST.
16459 (cimag_test): Likewise.
16460 (conj_test): Likewise.
16461 (copysign_test): Likewise.
16462 (cproj_test): Likewise.
16463 (creal_test): Likewise.
16464 (fabs_test): Likewise.
16465 (floor_test): Likewise.
16466 (fmax_test): Likewise.
16467 (fmin_test): Likewise.
16468 (fmod_test): Likewise.
16469 (fpclassify_test): Likewise.
16470 (frexp_test): Likewise.
16471 (ilogb_test): Likewise.
16472 (isfinite_test): Likewise.
16473 (finite_test): Likewise.
16474 (isgreater_test): Likewise.
16475 (isgreaterequal_test): Likewise.
16476 (isinf_test): Likewise.
16477 (isless_test): Likewise.
16478 (islessequal_test): Likewise.
16479 (islessgreater_test): Likewise.
16480 (isnan_test): Likewise.
16481 (isnormal_test): Likewise.
16482 (issignaling_test): Likewise.
16483 (isunordered_test): Likewise.
16484 (logb_test): Likewise.
16485 (logb_downward_test_data): Remove.
16486 (logb_test_downward): Likewise.
16487 (lround_test): Use ALL_RM_TEST.
16488 (llround_test): Likewise.
16489 (modf_test): Likewise.
16490 (nexttoward_test): Likewise.
16491 (remainder_test): Likewise.
16492 (drem_test): Likewise.
16493 (remainder_tonearest_test_data): Likewise.
16494 (remainder_test_tonearest): Likewise.
16495 (drem_test_tonearest): Likewise.
16496 (remainder_towardzero_test_data): Likewise.
16497 (remainder_test_towardzero): Likewise.
16498 (drem_test_towardzero): Likewise.
16499 (remainder_downward_test_data): Likewise.
16500 (remainder_test_downward): Likewise.
16501 (drem_test_downward): Likewise.
16502 (remainder_upward_test_data): Likewise.
16503 (remainder_test_upward): Likewise.
16504 (drem_test_upward): Likewise.
16505 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16506 (round_test): Use ALL_RM_TEST.
16507 (signbit_test): Likewise.
16508 (trunc_test): Likewise.
16509 (significand_test): Likewise.
16510 (main): Don't call removed functions.
16511
bc61d27c
JM
165122014-03-07 Joseph Myers <joseph@codesourcery.com>
16513
5c780849
JM
16514 [BZ #16674]
16515 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16516 || __USE_XOPEN2K8].
16517 (ILL_ILLOPN): Likewise.
16518 (ILL_ILLADR): Likewise.
16519 (ILL_ILLTRP): Likewise.
16520 (ILL_PRVOPC): Likewise.
16521 (ILL_PRVREG): Likewise.
16522 (ILL_COPROC): Likewise.
16523 (ILL_BADSTK): Likewise.
16524 (FPE_INTDIV): Likewise.
16525 (FPE_INTOVF): Likewise.
16526 (FPE_FLTDIV): Likewise.
16527 (FPE_FLTOVF): Likewise.
16528 (FPE_FLTUND): Likewise.
16529 (FPE_FLTRES): Likewise.
16530 (FPE_FLTINV): Likewise.
16531 (FPE_FLTSUB): Likewise.
16532 (SEGV_MAPERR): Likewise.
16533 (SEGV_ACCERR): Likewise.
16534 (BUS_ADRALN): Likewise.
16535 (BUS_ADRERR): Likewise.
16536 (BUS_OBJERR): Likewise.
16537 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16538 (TRAP_TRACE): Likewise.
16539 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16540 __USE_XOPEN2K8].
16541 (CLD_KILLED): Likewise.
16542 (CLD_DUMPED): Likewise.
16543 (CLD_TRAPPED): Likewise.
16544 (CLD_STOPPED): Likewise.
16545 (CLD_CONTINUED): Likewise.
16546 (POLL_IN): Likewise.
16547 (POLL_OUT): Likewise.
16548 (POLL_MSG): Likewise.
16549 (POLL_ERR): Likewise.
16550 (POLL_PRI): Likewise.
16551 (POLL_HUP): Likewise.
16552 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16553 Likewise.
16554 (ILL_ILLOPN): Likewise.
16555 (ILL_ILLADR): Likewise.
16556 (ILL_ILLTRP): Likewise.
16557 (ILL_PRVOPC): Likewise.
16558 (ILL_PRVREG): Likewise.
16559 (ILL_COPROC): Likewise.
16560 (ILL_BADSTK): Likewise.
16561 (FPE_INTDIV): Likewise.
16562 (FPE_INTOVF): Likewise.
16563 (FPE_FLTDIV): Likewise.
16564 (FPE_FLTOVF): Likewise.
16565 (FPE_FLTUND): Likewise.
16566 (FPE_FLTRES): Likewise.
16567 (FPE_FLTINV): Likewise.
16568 (FPE_FLTSUB): Likewise.
16569 (SEGV_MAPERR): Likewise.
16570 (SEGV_ACCERR): Likewise.
16571 (BUS_ADRALN): Likewise.
16572 (BUS_ADRERR): Likewise.
16573 (BUS_OBJERR): Likewise.
16574 (BUS_MCEERR_AR): Likewise.
16575 (BUS_MCEERR_AO): Likewise.
16576 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16577 (TRAP_TRACE): Likewise.
16578 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16579 __USE_XOPEN2K8].
16580 (CLD_KILLED): Likewise.
16581 (CLD_DUMPED): Likewise.
16582 (CLD_TRAPPED): Likewise.
16583 (CLD_STOPPED): Likewise.
16584 (CLD_CONTINUED): Likewise.
16585 (POLL_IN): Likewise.
16586 (POLL_OUT): Likewise.
16587 (POLL_MSG): Likewise.
16588 (POLL_ERR): Likewise.
16589 (POLL_PRI): Likewise.
16590 (POLL_HUP): Likewise.
16591 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16592 (ILL_ILLOPN): Likewise.
16593 (ILL_ILLADR): Likewise.
16594 (ILL_ILLTRP): Likewise.
16595 (ILL_PRVOPC): Likewise.
16596 (ILL_PRVREG): Likewise.
16597 (ILL_COPROC): Likewise.
16598 (ILL_BADSTK): Likewise.
16599 (FPE_INTDIV): Likewise.
16600 (FPE_INTOVF): Likewise.
16601 (FPE_FLTDIV): Likewise.
16602 (FPE_FLTOVF): Likewise.
16603 (FPE_FLTUND): Likewise.
16604 (FPE_FLTRES): Likewise.
16605 (FPE_FLTINV): Likewise.
16606 (FPE_FLTSUB): Likewise.
16607 (SEGV_MAPERR): Likewise.
16608 (SEGV_ACCERR): Likewise.
16609 (BUS_ADRALN): Likewise.
16610 (BUS_ADRERR): Likewise.
16611 (BUS_OBJERR): Likewise.
16612 (BUS_MCEERR_AR): Likewise.
16613 (BUS_MCEERR_AO): Likewise.
16614 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16615 (TRAP_TRACE): Likewise.
16616 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16617 __USE_XOPEN2K8].
16618 (CLD_KILLED): Likewise.
16619 (CLD_DUMPED): Likewise.
16620 (CLD_TRAPPED): Likewise.
16621 (CLD_STOPPED): Likewise.
16622 (CLD_CONTINUED): Likewise.
16623 (POLL_IN): Likewise.
16624 (POLL_OUT): Likewise.
16625 (POLL_MSG): Likewise.
16626 (POLL_ERR): Likewise.
16627 (POLL_PRI): Likewise.
16628 (POLL_HUP): Likewise.
16629 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16630 Likewise.
16631 (ILL_ILLOPN): Likewise.
16632 (ILL_ILLADR): Likewise.
16633 (ILL_ILLTRP): Likewise.
16634 (ILL_PRVOPC): Likewise.
16635 (ILL_PRVREG): Likewise.
16636 (ILL_COPROC): Likewise.
16637 (ILL_BADSTK): Likewise.
16638 (ILL_BADIADDR): Likewise.
16639 (ILL_BREAK): Likewise.
16640 (FPE_INTDIV): Likewise.
16641 (FPE_INTOVF): Likewise.
16642 (FPE_FLTDIV): Likewise.
16643 (FPE_FLTOVF): Likewise.
16644 (FPE_FLTUND): Likewise.
16645 (FPE_FLTRES): Likewise.
16646 (FPE_FLTINV): Likewise.
16647 (FPE_FLTSUB): Likewise.
16648 (FPE_DECOVF): Likewise.
16649 (FPE_DECDIV): Likewise.
16650 (FPE_DECERR): Likewise.
16651 (FPE_INVASC): Likewise.
16652 (FPE_INVDEC): Likewise.
16653 (SEGV_MAPERR): Likewise.
16654 (SEGV_ACCERR): Likewise.
16655 (SEGV_PSTKOVF): Likewise.
16656 (BUS_ADRALN): Likewise.
16657 (BUS_ADRERR): Likewise.
16658 (BUS_OBJERR): Likewise.
16659 (BUS_MCEERR_AR): Likewise.
16660 (BUS_MCEERR_AO): Likewise.
16661 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16662 (TRAP_TRACE): Likewise.
16663 (TRAP_BRANCH): Likewise.
16664 (TRAP_HWBKPT): Likewise.
16665 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16666 __USE_XOPEN2K8].
16667 (CLD_KILLED): Likewise.
16668 (CLD_DUMPED): Likewise.
16669 (CLD_TRAPPED): Likewise.
16670 (CLD_STOPPED): Likewise.
16671 (CLD_CONTINUED): Likewise.
16672 (POLL_IN): Likewise.
16673 (POLL_OUT): Likewise.
16674 (POLL_MSG): Likewise.
16675 (POLL_ERR): Likewise.
16676 (POLL_PRI): Likewise.
16677 (POLL_HUP): Likewise.
16678 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16679 (ILL_ILLOPN): Likewise.
16680 (ILL_ILLADR): Likewise.
16681 (ILL_ILLTRP): Likewise.
16682 (ILL_PRVOPC): Likewise.
16683 (ILL_PRVREG): Likewise.
16684 (ILL_COPROC): Likewise.
16685 (ILL_BADSTK): Likewise.
16686 (FPE_INTDIV): Likewise.
16687 (FPE_INTOVF): Likewise.
16688 (FPE_FLTDIV): Likewise.
16689 (FPE_FLTOVF): Likewise.
16690 (FPE_FLTUND): Likewise.
16691 (FPE_FLTRES): Likewise.
16692 (FPE_FLTINV): Likewise.
16693 (FPE_FLTSUB): Likewise.
16694 (SEGV_MAPERR): Likewise.
16695 (SEGV_ACCERR): Likewise.
16696 (BUS_ADRALN): Likewise.
16697 (BUS_ADRERR): Likewise.
16698 (BUS_OBJERR): Likewise.
16699 (BUS_MCEERR_AR): Likewise.
16700 (BUS_MCEERR_AO): Likewise.
16701 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16702 (TRAP_TRACE): Likewise.
16703 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16704 __USE_XOPEN2K8].
16705 (CLD_KILLED): Likewise.
16706 (CLD_DUMPED): Likewise.
16707 (CLD_TRAPPED): Likewise.
16708 (CLD_STOPPED): Likewise.
16709 (CLD_CONTINUED): Likewise.
16710 (POLL_IN): Likewise.
16711 (POLL_OUT): Likewise.
16712 (POLL_MSG): Likewise.
16713 (POLL_ERR): Likewise.
16714 (POLL_PRI): Likewise.
16715 (POLL_HUP): Likewise.
16716 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16717 (ILL_ILLOPN): Likewise.
16718 (ILL_ILLADR): Likewise.
16719 (ILL_ILLTRP): Likewise.
16720 (ILL_PRVOPC): Likewise.
16721 (ILL_PRVREG): Likewise.
16722 (ILL_COPROC): Likewise.
16723 (ILL_BADSTK): Likewise.
16724 (FPE_INTDIV): Likewise.
16725 (FPE_INTOVF): Likewise.
16726 (FPE_FLTDIV): Likewise.
16727 (FPE_FLTOVF): Likewise.
16728 (FPE_FLTUND): Likewise.
16729 (FPE_FLTRES): Likewise.
16730 (FPE_FLTINV): Likewise.
16731 (FPE_FLTSUB): Likewise.
16732 (SEGV_MAPERR): Likewise.
16733 (SEGV_ACCERR): Likewise.
16734 (BUS_ADRALN): Likewise.
16735 (BUS_ADRERR): Likewise.
16736 (BUS_OBJERR): Likewise.
16737 (BUS_MCEERR_AR): Likewise.
16738 (BUS_MCEERR_AO): Likewise.
16739 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16740 (TRAP_TRACE): Likewise.
16741 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16742 __USE_XOPEN2K8].
16743 (CLD_KILLED): Likewise.
16744 (CLD_DUMPED): Likewise.
16745 (CLD_TRAPPED): Likewise.
16746 (CLD_STOPPED): Likewise.
16747 (CLD_CONTINUED): Likewise.
16748 (POLL_IN): Likewise.
16749 (POLL_OUT): Likewise.
16750 (POLL_MSG): Likewise.
16751 (POLL_ERR): Likewise.
16752 (POLL_PRI): Likewise.
16753 (POLL_HUP): Likewise.
16754 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16755 (ILL_ILLOPN): Likewise.
16756 (ILL_ILLADR): Likewise.
16757 (ILL_ILLTRP): Likewise.
16758 (ILL_PRVOPC): Likewise.
16759 (ILL_PRVREG): Likewise.
16760 (ILL_COPROC): Likewise.
16761 (ILL_BADSTK): Likewise.
16762 (FPE_INTDIV): Likewise.
16763 (FPE_INTOVF): Likewise.
16764 (FPE_FLTDIV): Likewise.
16765 (FPE_FLTOVF): Likewise.
16766 (FPE_FLTUND): Likewise.
16767 (FPE_FLTRES): Likewise.
16768 (FPE_FLTINV): Likewise.
16769 (FPE_FLTSUB): Likewise.
16770 (SEGV_MAPERR): Likewise.
16771 (SEGV_ACCERR): Likewise.
16772 (BUS_ADRALN): Likewise.
16773 (BUS_ADRERR): Likewise.
16774 (BUS_OBJERR): Likewise.
16775 (BUS_MCEERR_AR): Likewise.
16776 (BUS_MCEERR_AO): Likewise.
16777 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16778 (TRAP_TRACE): Likewise.
16779 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16780 __USE_XOPEN2K8].
16781 (CLD_KILLED): Likewise.
16782 (CLD_DUMPED): Likewise.
16783 (CLD_TRAPPED): Likewise.
16784 (CLD_STOPPED): Likewise.
16785 (CLD_CONTINUED): Likewise.
16786 (POLL_IN): Likewise.
16787 (POLL_OUT): Likewise.
16788 (POLL_MSG): Likewise.
16789 (POLL_ERR): Likewise.
16790 (POLL_PRI): Likewise.
16791 (POLL_HUP): Likewise.
16792 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16793 (ILL_ILLOPN): Likewise.
16794 (ILL_ILLADR): Likewise.
16795 (ILL_ILLTRP): Likewise.
16796 (ILL_PRVOPC): Likewise.
16797 (ILL_PRVREG): Likewise.
16798 (ILL_COPROC): Likewise.
16799 (ILL_BADSTK): Likewise.
16800 (ILL_DBLFLT): Likewise.
16801 (ILL_HARDWALL): Likewise.
16802 (FPE_INTDIV): Likewise.
16803 (FPE_INTOVF): Likewise.
16804 (FPE_FLTDIV): Likewise.
16805 (FPE_FLTOVF): Likewise.
16806 (FPE_FLTUND): Likewise.
16807 (FPE_FLTRES): Likewise.
16808 (FPE_FLTINV): Likewise.
16809 (FPE_FLTSUB): Likewise.
16810 (SEGV_MAPERR): Likewise.
16811 (SEGV_ACCERR): Likewise.
16812 (BUS_ADRALN): Likewise.
16813 (BUS_ADRERR): Likewise.
16814 (BUS_OBJERR): Likewise.
16815 (BUS_MCEERR_AR): Likewise.
16816 (BUS_MCEERR_AO): Likewise.
16817 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16818 (TRAP_TRACE): Likewise.
16819 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16820 __USE_XOPEN2K8].
16821 (CLD_KILLED): Likewise.
16822 (CLD_DUMPED): Likewise.
16823 (CLD_TRAPPED): Likewise.
16824 (CLD_STOPPED): Likewise.
16825 (CLD_CONTINUED): Likewise.
16826 (POLL_IN): Likewise.
16827 (POLL_OUT): Likewise.
16828 (POLL_MSG): Likewise.
16829 (POLL_ERR): Likewise.
16830 (POLL_PRI): Likewise.
16831 (POLL_HUP): Likewise.
16832 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16833 (ILL_ILLOPN): Likewise.
16834 (ILL_ILLADR): Likewise.
16835 (ILL_ILLTRP): Likewise.
16836 (ILL_PRVOPC): Likewise.
16837 (ILL_PRVREG): Likewise.
16838 (ILL_COPROC): Likewise.
16839 (ILL_BADSTK): Likewise.
16840 (FPE_INTDIV): Likewise.
16841 (FPE_INTOVF): Likewise.
16842 (FPE_FLTDIV): Likewise.
16843 (FPE_FLTOVF): Likewise.
16844 (FPE_FLTUND): Likewise.
16845 (FPE_FLTRES): Likewise.
16846 (FPE_FLTINV): Likewise.
16847 (FPE_FLTSUB): Likewise.
16848 (SEGV_MAPERR): Likewise.
16849 (SEGV_ACCERR): Likewise.
16850 (BUS_ADRALN): Likewise.
16851 (BUS_ADRERR): Likewise.
16852 (BUS_OBJERR): Likewise.
16853 (BUS_MCEERR_AR): Likewise.
16854 (BUS_MCEERR_AO): Likewise.
16855 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16856 (TRAP_TRACE): Likewise.
16857 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16858 __USE_XOPEN2K8].
16859 (CLD_KILLED): Likewise.
16860 (CLD_DUMPED): Likewise.
16861 (CLD_TRAPPED): Likewise.
16862 (CLD_STOPPED): Likewise.
16863 (CLD_CONTINUED): Likewise.
16864 (POLL_IN): Likewise.
16865 (POLL_OUT): Likewise.
16866 (POLL_MSG): Likewise.
16867 (POLL_ERR): Likewise.
16868 (POLL_PRI): Likewise.
16869 (POLL_HUP): Likewise.
16870 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16871 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16872
bc61d27c
JM
16873 [BZ #16670]
16874 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16875 before #include of <time.h>.
16876 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16877 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16878 (test-xfail-UNIX98/sched.h/conform): Likewise.
16879
302949e2
MS
168802014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16881
16882 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16883 error absence of trapping exception support.
16884 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16885
a00f522a
JM
168862014-03-07 Joseph Myers <joseph@codesourcery.com>
16887
6f99f280
JM
16888 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16889 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16890 * timezone/Makefile (testdata): Move definition above include of
16891 Rules.
16892 (test-zones): New variable.
16893 (tests-special): Add zone files.
16894 (build-testdata): Use $(evaluate-test).
16895
0b20a9e8
JM
16896 * elf/Makefile (tests-special): Rename tests to end with .out.
16897 ($(objpfx)noload-mem): Likewise.
16898 ($(objpfx)tst-leaks1-mem): Likewise.
16899 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16900 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16901 $(objpfx)test-iconvconfig.out.
16902 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16903 set -e inside subshell and redirect output to file.
16904 * iconvdata/Makefile (generated): Rename tests to end with .out.
16905 Correct type.
16906 (tests-special): Rename tests to end with .out.
16907 ($(objpfx)mtrace-tst-loading): Likewise.
16908 * intl/Makefile (generated): Likewise.
16909 (tests-special): Likewise.
16910 ($(objpfx)mtrace-tst-gettext): Likewise.
16911 * misc/Makefile (generated): Likewise.
16912 (tests-special): Likewise.
16913 ($(objpfx)tst-error1-mem): Likewise.
16914 * nptl/Makefile (tests-special): Likewise.
16915 ($(objpfx)tst-stack3-mem): Likewise.
16916 (generated): Likewise.
16917 * posix/Makefile (generated): Likewise.
16918 (tests-special): Likewise.
16919 (xtests-special): Likewise.
16920 ($(objpfx)tst-fnmatch-mem): Likewise.
16921 ($(objpfx)bug-regex2-mem): Likewise.
16922 ($(objpfx)bug-regex14-mem): Likewise.
16923 ($(objpfx)bug-regex21-mem): Likewise.
16924 ($(objpfx)bug-regex31-mem): Likewise.
16925 ($(objpfx)tst-vfork3-mem): Likewise.
16926 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16927 ($(objpfx)tst-pcre-mem): Likewise.
16928 ($(objpfx)tst-boost-mem): Likewise.
16929 ($(objpfx)bug-ga2-mem): Likewise.
16930 ($(objpfx)bug-glob2-mem): Likewise.
16931 * resolv/Makefile (generate): Likewise.
16932 (tests-special): Likewise.
16933 (xtests-special): Likewise.
16934 (generated): Likewise.
16935 ($(objpfx)mtrace-tst-leaks): Likewise.
16936 ($(objpfx)mtrace-tst-leaks2): Likewise.
16937
265d52ab
JM
16938 * scripts/merge-test-results.sh: New file.
16939 * Makefile (tests-special-notdir): New variable.
16940 (tests): Run merge-test-results.sh.
16941 (xtests): Likewise.
16942 * Rules (tests-special-notdir): New variable.
16943 (xtests-special-notdir): Likewise.
16944 (tests): Run merge-test-results.sh
16945 (xtests): Likewise.
16946
54ee292d
JM
16947 * Makeconfig (test-xfail-name): New variable.
16948 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16949 compute variable name for expected failures.
16950 * conform/Makefile (conformtest-headers-data): New variable.
16951 (conformtest-standards): Likewise.
16952 (conformtest-headers-ISO): Likewise.
16953 (conformtest-headers-ISO99): Likewise.
16954 (conformtest-headers-ISO11): Likewise.
16955 (conformtest-headers-POSIX): Likewise.
16956 (conformtest-headers-XPG3): Likewise.
16957 (conformtest-headers-XPG4): Likewise.
16958 (conformtest-headers-UNIX98): Likewise.
16959 (conformtest-headers-XOPEN2K): Likewise.
16960 (conformtest-headers-POSIX2008): Likewise.
16961 (conformtest-headers-XOPEN2K8): Likewise.
16962 (conformtest-header-list-base): Likewise.
16963 (conformtest-header-list-tests): Likewise.
16964 (conformtest-header-base): Likewise.
16965 (conformtest-header-tests): Likewise.
16966 (tests-special): Add $(conformtest-header-list-tests). If
16967 [$(fast-check) && !$(cross-compiling)], add
16968 $(conformtest-header-tests) instead of
16969 $(objpfx)run-conformtest.out.
16970 (generated): Add $(conformtest-header-list-base). If
16971 [$(fast-check) && !$(cross-compiling)], add
16972 $(conformtest-header-base). Remove previous setting.
16973 ($(conformtest-header-list-tests)): New target.
16974 (test-xfail-run-conformtest): Remove variable.
16975 ($(objpfx)run-conformtest.out): Remove target.
16976 (test-xfail-ISO11/complex.h/conform): New variable.
16977 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16978 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16979 (test-xfail-XPG3/varargs.h/conform): Likewise.
16980 (test-xfail-XPG4/varargs.h/conform): Likewise.
16981 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16982 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16983 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16984 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16985 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16986 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16987 (test-xfail-XPG3/ftw.h/conform): Likewise.
16988 (test-xfail-XPG3/grp.h/conform): Likewise.
16989 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16990 (test-xfail-XPG3/limits.h/conform): Likewise.
16991 (test-xfail-XPG3/pwd.h/conform): Likewise.
16992 (test-xfail-XPG3/search.h/conform): Likewise.
16993 (test-xfail-XPG3/signal.h/conform): Likewise.
16994 (test-xfail-XPG3/stdio.h/conform): Likewise.
16995 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16996 (test-xfail-XPG3/string.h/conform): Likewise.
16997 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16998 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16999 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17000 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17001 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17002 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17003 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17004 (test-xfail-XPG3/termios.h/conform): Likewise.
17005 (test-xfail-XPG3/time.h/conform): Likewise.
17006 (test-xfail-XPG3/unistd.h/conform): Likewise.
17007 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17008 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17009 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17010 (test-xfail-XPG4/netdb.h/conform): Likewise.
17011 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17012 (test-xfail-XPG4/signal.h/conform): Likewise.
17013 (test-xfail-XPG4/stdio.h/conform): Likewise.
17014 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17015 (test-xfail-XPG4/stropts.h/conform): Likewise.
17016 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17017 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17018 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17019 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17020 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17021 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17022 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17023 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17024 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17025 (test-xfail-XPG4/termios.h/conform): Likewise.
17026 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17027 (test-xfail-XPG4/unistd.h/conform): Likewise.
17028 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17029 (test-xfail-POSIX/sched.h/conform): Likewise.
17030 (test-xfail-POSIX/signal.h/conform): Likewise.
17031 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17032 (test-xfail-POSIX/tar.h/conform): Likewise.
17033 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17034 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17035 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17036 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17037 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17038 (test-xfail-UNIX98/sched.h/conform): Likewise.
17039 (test-xfail-UNIX98/signal.h/conform): Likewise.
17040 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17041 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17042 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17043 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17044 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17045 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17046 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17047 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17048 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17049 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17050 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17051 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17052 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17053 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17054 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17055 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17056 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17057 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17058 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17059 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17060 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17061 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17062 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17063 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17064 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17065 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17066 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17067 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17068 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17069 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17070 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17071 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17072 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17073 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17074 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17075 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17076 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17077 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17078 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17079 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17080 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17081 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17082 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17083 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17084 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17085 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17086 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17087 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17088 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17089 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17090 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17091 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17092 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17093 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17094 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17095 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17096 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17097 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17098 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17099 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17100 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17101 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17102 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17103 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17104 (conformtest-cc-flags): Likewise.
17105 ($(conformtest-header-tests): New target.
17106 * conform/check-header-lists.sh: New file.
17107 * conform/run-conformtest.sh: Remove.
17108
a00f522a
JM
17109 * conform/conformtest.pl: Allow ' and \ in values given for
17110 constants.
17111 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17112 inclusion.
17113 [POSIX] (sys/types.h): Likewise.
17114 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17115 inclusion.
17116 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17117 inclusion.
17118 * conform/data/signal.h-data (SIGIO): Remove expectation.
17119 [XPG3] (SIGBUS): Do not expect.
17120 [POSIX || XPG3] (SIGPOLL): Likewise.
17121 [POSIX || XPG3] (SIGPROF): Likewise.
17122 [POSIX || XPG3] (SIGSYS): Likewise.
17123 [XPG3] (SIGTRAP): Likewise.
17124 [POSIX || XPG3] (SIGURG): Likewise.
17125 [POSIX || XPG3] (SIGVTALRM): Likewise.
17126 [POSIX || XPG3] (SIGXCPU): Likewise.
17127 [POSIX || XPG3] (SIGXFSZ): Likewise.
17128 [POSIX] (SA_SIGINFO): Expect.
17129 [XPG3] (siginfo_t): Do not expect type or contents.
17130 [POSIX] (si_pid): Do not expect element.
17131 [POSIX] (si_uid): Likewise.
17132 [POSIX] (si_addr): Likewise.
17133 [POSIX] (si_status): Likewise.
17134 [POSIX] (si_band): Likewise.
17135 [XPG4] (si_value): Likewise.
17136 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17137 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17138 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17139 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17140 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17141 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17142 [POSIX || XPG3] (ILL_COPROC): Likewise.
17143 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17144 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17145 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17146 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17147 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17148 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17149 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17150 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17151 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17152 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17153 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17154 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17155 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17156 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17157 [POSIX || XPG3] (CLD_EXITED): Likewise.
17158 [POSIX || XPG3] (CLD_KILLED): Likewise.
17159 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17160 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17161 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17162 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17163 [POSIX || XPG3] (POLL_IN): Likewise.
17164 [POSIX || XPG3] (POLL_OUT): Likewise.
17165 [POSIX || XPG3] (POLL_MSG): Likewise.
17166 [POSIX || XPG3] (POLL_ERR): Likewise.
17167 [POSIX || XPG3] (POLL_PRI): Likewise.
17168 [POSIX || XPG3] (POLL_HUP): Likewise.
17169 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17170 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17171 (SIG*): Do not allow.
17172 [XPG3] (si_*): Likewise.
17173 [XPG3] (SI_*): Likewise.
17174 [XPG3 || XPG4] (sigev_*): Likewise.
17175 [XPG3 || XPG4] (SIGEV_*): Likewise.
17176 [XPG3 || XPG4] (sival_*): Likewise.
17177 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17178 [POSIX || XPG3] (BUS_*): Likewise.
17179 [POSIX || XPG3] (CLD_*): Likewise.
17180 [POSIX || XPG3] (FPE_*): Likewise.
17181 [POSIX || XPG3] (ILL_*): Likewise.
17182 [POSIX || XPG3] (POLL_*): Likewise.
17183 [POSIX || XPG3] (SEGV_*): Likewise.
17184 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17185 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17186 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17187 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17188 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17189 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17190 Specify type and value.
17191 (TVERSLEN): Likewise.
17192 (REGTYPE): Likewise.
17193 (AREGTYPE): Likewise.
17194 (LNKTYPE): Likewise.
17195 (SYMTYPE): Likewise.
17196 (CHRTYPE): Likewise.
17197 (BLKTYPE): Likewise.
17198 (DIRTYPE): Likewise.
17199 (FIFOTYPE): Likewise.
17200 (CONTTYPE): Likewise.
17201 (TSUID): Likewise.
17202 (TSGID): Likewise.
17203 (TSVTX): Likewise.
17204 (TUREAD): Likewise.
17205 (TUWRITE): Likewise.
17206 (TUEXEC): Likewise.
17207 (TGREAD): Likewise.
17208 (TGWRITE): Likewise.
17209 (TGEXEC): Likewise.
17210 (TOREAD): Likewise.
17211 (TOWRITE): Likewise.
17212 (TOEXEC): Likewise.
17213 [POSIX] (TSVTX): Expect constant.
17214
aa97dee1
JM
172152014-03-06 Joseph Myers <joseph@codesourcery.com>
17216
f214606a
JM
17217 * Makefile (tests): Change dependencies to ....
17218 (tests-special): ... additions to this variable.
17219 (tests): Depend on $(tests-special).
17220 * Makerules (check-abi-list): New variable.
17221 (check-abi): Depend on $(check-abi-list).
17222 [$(subdir) = elf] (tests-special): Add
17223 $(objpfx)check-abi-libc.out.
17224 [$(build-shared) = yes && subdir] (tests-special): Add
17225 $(check-abi-list).
17226 [$(build-shared) = yes && subdir] (tests): Do not depend on
17227 check-abi.
17228 * Rules (tests): Depend on $(tests-special).
17229 (xtests): Depend on $(xtests-special).
17230 * catgets/Makefile (tests): Change dependencies to ....
17231 (tests-special): ... additions to this variable.
17232 * conform/Makefile (tests): Change dependencies to ....
17233 (tests-special): ... additions to this variable.
17234 * elf/Makefile (tests): Change dependencies to ....
17235 (tests-special): ... additions to this variable.
17236 * grp/Makefile (tests): Change dependencies to ....
17237 (tests-special): ... additions to this variable.
17238 * iconv/Makefile (xtests): Change dependencies to ....
17239 (xtests-special): ... additions to this variable.
17240 * iconvdata/Makefile (tests): Change dependencies to ....
17241 (tests-special): ... additions to this variable.
17242 * intl/Makefile (tests): Change dependencies to ....
17243 (tests-special): ... additions to this variable. Also add
17244 $(objpfx)tst-gettext.out.
17245 * io/Makefile (tests): Change dependencies to ....
17246 (tests-special): ... additions to this variable.
17247 * libio/Makefile (tests): Change dependencies to ....
17248 (tests-special): ... additions to this variable.
17249 * malloc/Makefile (tests): Change dependencies to ....
17250 (tests-special): ... additions to this variable.
17251 * misc/Makefile (tests): Change dependencies to ....
17252 (tests-special): ... additions to this variable.
17253 * nptl/Makefile (tests): Change dependencies to ....
17254 (tests-special): ... additions to this variable.
17255 * nptl_db/Makefile (tests): Change dependencies to ....
17256 (tests-special): ... additions to this variable.
17257 * posix/Makefile (tests): Change dependencies to ....
17258 (tests-special): ... additions to this variable.
17259 (xtests): Change dependencies to ....
17260 (xtests-special): ... additions to this variable.
17261 * resolv/Makefile (tests): Change dependencies to ....
17262 (tests-special): ... additions to this variable.
17263 (xtests): Change dependencies to ....
17264 (xtests-special): ... additions to this variable.
17265 * stdio-common/Makefile (tests): Change dependencies to ....
17266 (tests-special): ... additions to this variable.
17267 (do-tst-unbputc): Remove target.
17268 (do-tst-printf): Likewise.
17269 * stdlib/Makefile (tests): Change dependencies to ....
17270 (tests-special): ... additions to this variable.
17271 * string/Makefile (tests): Change dependencies to ....
17272 (tests-special): ... additions to this variable.
17273 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17274 (tests-special): ... additions to this variable.
17275
81700b53
JM
17276 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17277 whole file.
17278 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17279 whole file.
17280 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17281 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17282
2ea18461
JM
17283 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17284 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17285 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17286 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17287 * conform/data/libgen.h-data [XPG3]: Likewise.
17288 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17289 * conform/data/ndbm.h-data [XPG3]: Likewise.
17290 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17291 * conform/data/netdb.h-data [XPG3]: Likewise.
17292 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17293 * conform/data/poll.h-data [XPG3]: Likewise.
17294 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17295 * conform/data/strings.h-data [XPG3]: Likewise.
17296 * conform/data/stropts.h-data [XPG3]: Likewise.
17297 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17298 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17299 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17300 Likewise.
17301 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17302 * conform/data/sys/time.h-data [XPG3]: Likewise.
17303 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17304 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17305 * conform/data/sys/un.h-data [XPG3]: Likewise.
17306 * conform/data/syslog.h-data [XPG3]: Likewise.
17307 * conform/data/ucontext.h-data [XPG3]: Likewise.
17308 * conform/data/utmpx.h-data [XPG3]: Likewise.
17309 * conform/data/varargs.h-data [UNIX98]: Enable file.
17310
355bc986
JM
17311 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17312
215db402
JM
17313 * math/libm-test.inc (struct test_f_f_data): Move expected results
17314 into structure for each rounding mode.
17315 (struct test_ff_f_data): Likewise.
17316 (struct test_ff_f_data_nexttoward): Likewise.
17317 (struct test_fi_f_data): Likewise.
17318 (struct test_fl_f_data): Likewise.
17319 (struct test_if_f_data): Likewise.
17320 (struct test_fff_f_data): Likewise.
17321 (struct test_c_f_data): Likewise.
17322 (struct test_f_f1_data): Likewise.
17323 (struct test_fF_f1_data): Likewise.
17324 (struct test_ffI_f1_data): Likewise.
17325 (struct test_c_c_data): Likewise.
17326 (struct test_cc_c_data): Likewise.
17327 (struct test_f_i_data): Likewise.
17328 (struct test_ff_i_data): Likewise.
17329 (struct test_f_l_data): Likewise.
17330 (struct test_f_L_data): Likewise.
17331 (struct test_fFF_11_data): Likewise.
17332 (RM_): New macro.
17333 (RM_FE_DOWNWARD): Likewise.
17334 (RM_FE_TONEAREST): Likewise.
17335 (RM_FE_TOWARDZERO): Likewise.
17336 (RM_FE_UPWARD): Likewise.
17337 (RUN_TEST_LOOP_f_f): Update references to expected results.
17338 (RUN_TEST_LOOP_2_f): Likewise.
17339 (RUN_TEST_LOOP_fff_f): Likewise.
17340 (RUN_TEST_LOOP_c_f): Likewise.
17341 (RUN_TEST_LOOP_f_f1): Likewise.
17342 (RUN_TEST_LOOP_fF_f1): Likewise.
17343 (RUN_TEST_LOOP_fI_f1): Likewise.
17344 (RUN_TEST_LOOP_ffI_f1): Likewise.
17345 (RUN_TEST_LOOP_c_c): Likewise.
17346 (RUN_TEST_LOOP_cc_c): Likewise.
17347 (RUN_TEST_LOOP_f_i): Likewise.
17348 (RUN_TEST_LOOP_f_i_tg): Likewise.
17349 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17350 (RUN_TEST_LOOP_f_b): Likewise.
17351 (RUN_TEST_LOOP_f_b_tg): Likewise.
17352 (RUN_TEST_LOOP_f_l): Likewise.
17353 (RUN_TEST_LOOP_f_L): Likewise.
17354 (RUN_TEST_LOOP_fFF_11): Likewise.
17355 * math/gen-libm-test.pl (parse_args): Output four copies of
17356 expected results for each test.
17357
67737b8f
JM
17358 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17359 (__ASSUME_UTIMES): Remove.
17360 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17361 (__ASSUME_UTIMES): Likewise.
17362
aa97dee1
JM
17363 * math/gen-auto-libm-tests.c: Update comment on output format.
17364 (output_for_one_input_case): Generate before-rounding and
17365 after-rounding information as conditions on output flags not
17366 floating-point format.
17367 * math/auto-libm-test-out: Regenerated.
17368 * math/gen-libm-test.pl (cond_value): New function.
17369 (or_cond_value): Use cond_value.
17370 (generate_testfile): Handle conditional exceptions.
17371
e6b6a857
JM
173722014-03-05 Joseph Myers <joseph@codesourcery.com>
17373
2f0a0f44
JM
17374 * math/libm-test.inc (max_valid_error): New variable.
17375 (init_max_error): Take new argument specifying whether function
17376 results are exactly determined. Set max_valid_error and bound
17377 other variables for errors based on this argument.
17378 (set_max_error): Do not record results above max_valid_error.
17379 (check_float_internal): Only accept errors of up to 0.5ulps if
17380 also at most max_valid_error.
17381 (START): Take new argument EXACT and pass it to init_max_error.
17382 (acos_test): Update call to START.
17383 (acos_test_tonearest): Likewise.
17384 (acos_test_towardzero): Likewise.
17385 (acos_test_downward): Likewise.
17386 (acos_test_upward): Likewise.
17387 (acosh_test): Likewise.
17388 (asin_test): Likewise.
17389 (asin_test_tonearest): Likewise.
17390 (asin_test_towardzero): Likewise.
17391 (asin_test_downward): Likewise.
17392 (asin_test_upward): Likewise.
17393 (asinh_test): Likewise.
17394 (atan_test): Likewise.
17395 (atanh_test): Likewise.
17396 (atan2_test): Likewise.
17397 (cabs_test): Likewise.
17398 (cacos_test): Likewise.
17399 (cacosh_test): Likewise.
17400 (carg_test): Likewise.
17401 (casin_test): Likewise.
17402 (casinh_test): Likewise.
17403 (catan_test): Likewise.
17404 (catanh_test): Likewise.
17405 (cbrt_test): Likewise.
17406 (ccos_test): Likewise.
17407 (ccosh_test): Likewise.
17408 (ceil_test): Likewise.
17409 (cexp_test): Likewise.
17410 (cimag_test): Likewise.
17411 (clog_test): Likewise.
17412 (clog10_test): Likewise.
17413 (conj_test): Likewise.
17414 (copysign_test): Likewise.
17415 (cos_test): Likewise.
17416 (cos_test_tonearest): Likewise.
17417 (cos_test_towardzero): Likewise.
17418 (cos_test_downward): Likewise.
17419 (cos_test_upward): Likewise.
17420 (cosh_test): Likewise.
17421 (cosh_test_tonearest): Likewise.
17422 (cosh_test_towardzero): Likewise.
17423 (cosh_test_downward): Likewise.
17424 (cosh_test_upward): Likewise.
17425 (cpow_test): Likewise.
17426 (cproj_test): Likewise.
17427 (creal_test): Likewise.
17428 (csin_test): Likewise.
17429 (csinh_test): Likewise.
17430 (csqrt_test): Likewise.
17431 (ctan_test): Likewise.
17432 (ctan_test_tonearest): Likewise.
17433 (ctan_test_towardzero): Likewise.
17434 (ctan_test_downward): Likewise.
17435 (ctan_test_upward): Likewise.
17436 (ctanh_test): Likewise.
17437 (ctanh_test_tonearest): Likewise.
17438 (ctanh_test_towardzero): Likewise.
17439 (ctanh_test_downward): Likewise.
17440 (ctanh_test_upward): Likewise.
17441 (erf_test): Likewise.
17442 (erfc_test): Likewise.
17443 (exp_test): Likewise.
17444 (exp_test_tonearest): Likewise.
17445 (exp_test_towardzero): Likewise.
17446 (exp_test_downward): Likewise.
17447 (exp_test_upward): Likewise.
17448 (exp10_test): Likewise.
17449 (exp10_test_tonearest): Likewise.
17450 (exp10_test_towardzero): Likewise.
17451 (exp10_test_downward): Likewise.
17452 (exp10_test_upward): Likewise.
17453 (pow10_test): Likewise.
17454 (exp2_test): Likewise.
17455 (expm1_test): Likewise.
17456 (expm1_test_tonearest): Likewise.
17457 (expm1_test_towardzero): Likewise.
17458 (expm1_test_downward): Likewise.
17459 (expm1_test_upward): Likewise.
17460 (fabs_test): Likewise.
17461 (fdim_test): Likewise.
17462 (floor_test): Likewise.
17463 (fma_test): Likewise.
17464 (fma_test_towardzero): Likewise.
17465 (fma_test_downward): Likewise.
17466 (fma_test_upward): Likewise.
17467 (fmax_test): Likewise.
17468 (fmin_test): Likewise.
17469 (fmod_test): Likewise.
17470 (fpclassify_test): Likewise.
17471 (frexp_test): Likewise.
17472 (hypot_test): Likewise.
17473 (ilogb_test): Likewise.
17474 (isfinite_test): Likewise.
17475 (finite_test): Likewise.
17476 (isgreater_test): Likewise.
17477 (isgreaterequal_test): Likewise.
17478 (isinf_test): Likewise.
17479 (isless_test): Likewise.
17480 (islessequal_test): Likewise.
17481 (islessgreater_test): Likewise.
17482 (isnan_test): Likewise.
17483 (isnormal_test): Likewise.
17484 (issignaling_test): Likewise.
17485 (isunordered_test): Likewise.
17486 (j0_test): Likewise.
17487 (j1_test): Likewise.
17488 (jn_test): Likewise.
17489 (ldexp_test): Likewise.
17490 (lgamma_test): Likewise.
17491 (gamma_test): Likewise.
17492 (lrint_test): Likewise.
17493 (lrint_test_tonearest): Likewise.
17494 (lrint_test_towardzero): Likewise.
17495 (lrint_test_downward): Likewise.
17496 (lrint_test_upward): Likewise.
17497 (llrint_test): Likewise.
17498 (llrint_test_tonearest): Likewise.
17499 (llrint_test_towardzero): Likewise.
17500 (llrint_test_downward): Likewise.
17501 (llrint_test_upward): Likewise.
17502 (log_test): Likewise.
17503 (log10_test): Likewise.
17504 (log1p_test): Likewise.
17505 (log2_test): Likewise.
17506 (logb_test): Likewise.
17507 (logb_test_downward): Likewise.
17508 (lround_test): Likewise.
17509 (llround_test): Likewise.
17510 (modf_test): Likewise.
17511 (nearbyint_test): Likewise.
17512 (nextafter_test): Likewise.
17513 (nexttoward_test): Likewise.
17514 (pow_test): Likewise.
17515 (pow_test_tonearest): Likewise.
17516 (pow_test_towardzero): Likewise.
17517 (pow_test_downward): Likewise.
17518 (pow_test_upward): Likewise.
17519 (remainder_test): Likewise.
17520 (drem_test): Likewise.
17521 (remainder_test_tonearest): Likewise.
17522 (drem_test_tonearest): Likewise.
17523 (remainder_test_towardzero): Likewise.
17524 (drem_test_towardzero): Likewise.
17525 (remainder_test_downward): Likewise.
17526 (drem_test_downward): Likewise.
17527 (remainder_test_upward): Likewise.
17528 (drem_test_upward): Likewise.
17529 (remquo_test): Likewise.
17530 (rint_test): Likewise.
17531 (rint_test_tonearest): Likewise.
17532 (rint_test_towardzero): Likewise.
17533 (rint_test_downward): Likewise.
17534 (rint_test_upward): Likewise.
17535 (round_test): Likewise.
17536 (scalb_test): Likewise.
17537 (scalbn_test): Likewise.
17538 (scalbln_test): Likewise.
17539 (signbit_test): Likewise.
17540 (sin_test): Likewise.
17541 (sin_test_tonearest): Likewise.
17542 (sin_test_towardzero): Likewise.
17543 (sin_test_downward): Likewise.
17544 (sin_test_upward): Likewise.
17545 (sincos_test): Likewise.
17546 (sinh_test): Likewise.
17547 (sinh_test_tonearest): Likewise.
17548 (sinh_test_towardzero): Likewise.
17549 (sinh_test_downward): Likewise.
17550 (sinh_test_upward): Likewise.
17551 (sqrt_test): Likewise.
17552 (sqrt_test_tonearest): Likewise.
17553 (sqrt_test_towardzero): Likewise.
17554 (sqrt_test_downward): Likewise.
17555 (sqrt_test_upward): Likewise.
17556 (tan_test): Likewise.
17557 (tan_test_tonearest): Likewise.
17558 (tan_test_towardzero): Likewise.
17559 (tan_test_downward): Likewise.
17560 (tan_test_upward): Likewise.
17561 (tanh_test): Likewise.
17562 (tgamma_test): Likewise.
17563 (trunc_test): Likewise.
17564 (y0_test): Likewise.
17565 (y1_test): Likewise.
17566 (yn_test): Likewise.
17567 (significand_test): Likewise.
17568
e6b6a857
JM
17569 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17570 individual tests in comment.
17571 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17572 (prev_max_error): New variable.
17573 (prev_real_max_error): Likewise.
17574 (prev_imag_max_error): Likewise.
17575 (compare_ulp_data): Don't refer to test names in comment.
17576 (find_test_ulps): Remove function.
17577 (find_function_ulps): Likewise.
17578 (find_complex_function_ulps): Likewise.
17579 (init_max_error): Take function name as argument. Look up ulps
17580 for that function.
17581 (print_ulps): Remove function.
17582 (print_max_error): Use prev_max_error instead of calling
17583 find_function_ulps.
17584 (print_complex_max_error): Use prev_real_max_error and
17585 prev_imag_max_error instead of calling find_complex_function_ulps.
17586 (check_float_internal): Take max_ulp parameter instead of calling
17587 find_test_ulps. Don't call print_ulps.
17588 (check_float): Update call to check_float_internal.
17589 (check_complex): Update calls to check_float_internal.
17590 (START): Pass argument to init_max_error.
17591 * math/gen-libm-test.pl (%results): Don't include "kind"
17592 information.
17593 (parse_ulps): Don't handle ulps of individual tests.
17594 (print_ulps_file): Likewise.
17595 (output_ulps): Likewise.
17596 * math/README.libm-test: Update.
17597 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17598 individual tests.
17599 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17600 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17601 * sysdeps/arm/libm-test-ulps: Likewise.
17602 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17603 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17604 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17605 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17606 * sysdeps/microblaze/libm-test-ulps: Likewise.
17607 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17608 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17609 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17610 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17611 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17612 * sysdeps/sh/libm-test-ulps: Likewise.
17613 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17614 * sysdeps/tile/libm-test-ulps: Likewise.
17615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17616
45adef3c
JM
176172014-03-04 Joseph Myers <joseph@codesourcery.com>
17618
17619 * math/libm-test.inc (print_complex_max_error): Check separately
17620 whether real and imaginary errors are within allowed range and
17621 pass 0 to print_complex_function_ulps instead of value within
17622 allowed range.
17623
000232b9
SP
176242014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17625
d4b17258
SP
17626 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17627 formatting.
17628 (get_handles_fopen): Likewise.
17629 (do_write_test): Likewise.
17630
091eff71
SP
17631 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17632
fa3cd248
SP
17633 * libio/fileops.c (do_ftell): Use cached offset when
17634 available.
17635 * libio/iofwide.c (do_ftell_wide): Likewise.
17636 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17637 _IO_file_attach.
17638 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17639
000232b9
SP
17640 [BZ #16532]
17641 * libio/libioP.h (get_file_offset): New function.
17642 * libio/fileops.c (get_file_offset): Likewise.
17643 (do_ftell): Likewise.
17644 (_IO_new_file_seekoff): Split out ftell logic.
17645 * libio/wfileops.c (do_ftell_wide): Likewise.
17646 (_IO_wfile_seekoff): Split out ftell logic.
17647 * libio/tst-ftell-active-handler.c: New test case.
17648 * libio/Makefile (tests): Add it.
17649
116f4d1a
RM
176502014-03-03 Roland McGrath <roland@hack.frob.com>
17651
17652 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17653 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17654
532a6035
SP
176552014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17656
17657 [BZ #16639]
17658 * nscd/connections.c (nscd_init): Call do_exit.
17659 (start_threads): Call do_exit and notify_parent.
17660 (begin_drop_privileges): Call do_exit.
17661 (finish_drop_privileges): Likewise.
17662 * nscd/selinux.c (preserve_capabilities): Likewise.
17663 (install_real_capabilities): Likewise.
17664 (nscd_selinux_enabled): Likewise.
17665 (avc_create_thread): Likewise.
17666 (avc_alloc_lock): Likewise.
17667 (nscd_avc_init): Likewise.
17668 * nscd/nscd.c (parent_fd): New static variable.
17669 (main): Create a pipe between parent and child processes.
17670 Skip closing parent_fd.
17671 (monitor_child): New function.
17672 (do_exit): Likewise.
17673 (notify_parent): Likewise.
17674 * nscd/nscd.h (notify_parent): Likewise.
17675 (do_exit): Likewise.
17676
d6285c9f
CD
176772014-03-03 Carlos O'Donell <carlos@redhat.com>
17678
17679 * malloc/malloc.c (__libc_calloc): Revert last change.
17680
2b85d2a0
AZ
176812014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17682
17683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17684
c7debbdf
RS
176852014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17686
17687 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17689 implementation.
17690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17691 (__libc_ifunc_impl_list): Likewise.
17692 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17693 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17694 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17695 * string/strrchr.c: Define STRRCHR.
17696
235eed86
OB
176972014-02-28 Ondřej Bílka <neleai@seznam.cz>
17698
17699 * benchtest/bench-strtok.c (simple_strtok): Delete.
17700 (strtok_string): Use as benchmark.
17701 * string/strtok (STRTOK): New macro.
17702
8e25d1e7
CD
177032014-02-28 Carlos O'Donell <carlos@redhat.com>
17704
ef563f92
CD
17705 * manual/threads.texi: Add header and standard comments to all
17706 functions.
17707
8e25d1e7
CD
17708 * elf/dl-lookup.c (check_match): New function.
17709 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17710 (do_lookup_x): Remove nested function check_match. Use non-nested
17711 function check_match.
17712
ff71cc37
RM
177132014-02-28 Roland McGrath <roland@hack.frob.com>
17714
f08e9a26
RM
17715 * csu/Makefile (generated, before-compile): Use += rather than =.
17716 * catgets/Makefile (generated, generated-dirs): Likewise.
17717 * debug/Makefile (generated): Likewise.
17718 * dlfcn/Makefile (generated): Likewise.
17719 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17720 * iconvdata/Makefile (before-compile, generated): Likewise.
17721 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17722 * libio/Makefile (generated): Likewise.
17723 * malloc/Makefile (generated): Likewise.
17724 * manual/Makefile (generated, generated-dirs): Likewise.
17725 * misc/Makefile (generated): Likewise.
17726 * posix/Makefile (generated): Likewise.
17727 * resolv/Makefile (generated): Likewise.
17728 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17729 * timezone/Makefile (generated, generated-dirs): Likewise.
17730
ff71cc37
RM
17731 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17732
fe13a20c
AZ
177332014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17734
57f41c40
AS
17735 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17736 power8 implementation.
17737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17738 file: POWER8 llround ifunc implementation.
17739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17740 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17741 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17742 POWER8 llround implementation.
17743
57f41c40
AS
17744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17745 power8 implementation.
17746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17747 file: POWER8 llrint ifunc implementation.
17748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17749 Add POWER8 implementation.
1ad8950a
AZ
17750 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17751 POWER8 llrint implementation.
17752
57f41c40
AS
17753 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17754 power8 implementation.
17755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17756 file: POWER8 finite ifunc implementation.
17757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17758 Add POWER8 implementation.
cac626d6
AZ
17759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17760 Likewise.
17761 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17762 POWER8 finite implementation.
17763 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17764
57f41c40
AS
17765 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17766 power8 implementation.
17767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17768 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
17769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17770 POWER8 implementation.
17771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17772 Likewise.
57f41c40
AS
17773 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17774 isinf implementation.
4393fc11
AZ
17775 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17776
57f41c40
AS
17777 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17778 (INIT_ARCH): Add hwcap2 initialization.
17779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17780 power8 implementation.
17781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17782 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17784 POWER8 implementation.
17785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17786 Likewise.
57f41c40
AS
17787 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17788 isnan implementation.
487972ae
AZ
17789 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17790
7d92b787
JY
177912014-02-27 Joey Ye <joey.ye@arm.com>
17792
17793 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17794 (_FP_NANFRAC_Q): Set to zero.
17795
1cadc858
SP
177962014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17797
17798 [BZ #16623]
17799 * math/auto-libm-test-in: New test inputs.
17800 * math/auto-libm-test-out: Regenerate.
17801 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17802 and DA.
17803 (__cos): Likewise.
17804 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17805
f8c17e79
JM
178062014-02-27 Joseph Myers <joseph@codesourcery.com>
17807
17808 * scripts/evaluate-test.sh: Take new argument indicating whether
17809 failure is expected.
17810 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17811 indicating whether failure is expected.
17812 * conform/Makefile (test-xfail-run-conformtest): New variable.
17813 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17814 level.
17815 * posix/Makefile (test-xfail-annexc): New variable.
17816 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17817
a5f891ac
JM
178182014-02-26 Joseph Myers <joseph@codesourcery.com>
17819
17820 * argp/Makefile: Include Makeconfig immediately after defining
17821 subdir.
17822 * assert/Makefile: Likewise.
17823 * benchtests/Makefile: Likewise.
17824 * catgets/Makefile: Likewise.
17825 * conform/Makefile: Likewise.
17826 * crypt/Makefile: Likewise.
17827 * csu/Makefile: Likewise.
17828 (all): Remove target.
17829 * ctype/Makefile: Include Makeconfig immediately after defining
17830 subdir.
17831 * debug/Makefile: Likewise.
17832 * dirent/Makefile: Likewise.
17833 * dlfcn/Makefile: Likewise.
17834 * gmon/Makefile: Likewise.
17835 * gnulib/Makefile: Likewise.
17836 * grp/Makefile: Likewise.
17837 * gshadow/Makefile: Likewise.
17838 * hesiod/Makefile: Likewise.
17839 * hurd/Makefile: Likewise.
17840 (all): Remove target.
17841 * iconvdata/Makefile: Include Makeconfig immediately after
17842 defining subdir.
17843 * inet/Makefile: Likewise.
17844 * intl/Makefile: Likewise.
17845 * io/Makefile: Likewise.
17846 * libio/Makefile: Likewise.
17847 (all): Remove target.
17848 * locale/Makefile: Include Makeconfig immediately after defining
17849 subdir.
17850 * login/Makefile: Likewise.
17851 * mach/Makefile: Likewise.
17852 (all): Remove target.
17853 * malloc/Makefile: Include Makeconfig immediately after defining
17854 subdir.
17855 (all): Remove target.
17856 * manual/Makefile: Include Makeconfig immediately after defining
17857 subdir.
17858 * math/Makefile: Likewise.
17859 * misc/Makefile: Likewise.
17860 * nis/Makefile: Likewise.
17861 * nss/Makefile: Likewise.
17862 * po/Makefile: Likewise.
17863 (all): Remove target.
17864 * posix/Makefile: Include Makeconfig immediately after defining
17865 subdir.
17866 * pwd/Makefile: Likewise.
17867 * resolv/Makefile: Likewise.
17868 * resource/Makefile: Likewise.
17869 * rt/Makefile: Likewise.
17870 * setjmp/Makefile: Likewise.
17871 * shadow/Makefile: Likewise.
17872 * signal/Makefile: Likewise.
17873 * socket/Makefile: Likewise.
17874 * soft-fp/Makefile: Likewise.
17875 * stdio-common/Makefile: Likewise.
17876 * stdlib/Makefile: Likewise.
17877 * streams/Makefile: Likewise.
17878 * string/Makefile: Likewise.
17879 * sunrpc/Makefile: Likewise.
17880 (all): Remove target.
17881 * sysvipc/Makefile: Include Makeconfig immediately after defining
17882 subdir.
17883 * termios/Makefile: Likewise.
17884 * time/Makefile: Likewise.
17885 * timezone/Makefile: Likewise.
17886 (all): Remove target.
17887 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17888 subdir.
17889 * wctype/Makefile: Likewise.
17890
5b456e9d
SE
178912014-02-26 Steve Ellcey <sellcey@mips.com>
17892
17893 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17894 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17895 (libc_feholdexcept_setround_mips): Ditto.
17896 (libc_feholdsetround): New.
17897 (libc_feholdsetroundf): New.
17898 (libc_feholdsetroundl): New.
17899 (libc_feupdateenv_test_mips): New.
17900 (libc_feupdateenv_test): New.
17901 (libc_feupdateenv_testf): New.
17902 (libc_feupdateenv_testl): New.
17903 (libc_feresetround): New.
17904 (libc_feresetroundf): New.
17905 (libc_feresetroundl): New.
17906 (libc_fetestexcept_mips): New.
17907 (libc_fetestexcept): New.
17908 (libc_fetestexceptf): New.
17909 (libc_fetestexceptl): New.
17910 (HAVE_RM_CTX): New.
17911 (libc_feholdexcept_setround_mips_ctx): New.
17912 (libc_feholdexcept_setround_ctx): New.
17913 (libc_feholdexcept_setroundf_ctx): New.
17914 (libc_feholdexcept_setroundl_ctx): New.
17915 (libc_fesetenv_mips_ctx): New.
17916 (libc_fesetenv_ctx): New.
17917 (libc_fesetenv_ctxf): New.
17918 (libc_fesetenv_ctxl): New.
17919 (libc_feupdateenv_mips_ctx): New.
17920 (libc_feupdateenv_ctx): New.
17921 (libc_feupdateenvf_ctx): New.
17922 (libc_feupdateenvl_ctx): New.
17923 (libc_feholdsetround_mips_ctx): New.
17924 (libc_feholdsetround_ctx): New.
17925 (libc_feholdsetroundf_ctx): New.
17926 (libc_feholdsetroundl_ctx): New.
17927 (libc_feresetround_mips_ctx): New.
17928 (libc_feresetround_ctx): New.
17929 (libc_feresetroundf_ctx): New.
17930 (libc_feresetroundl_ctx): New.
17931
085d0e35
CD
179322014-02-26 Carlos O'Donell <carlos@redhat.com>
17933
f067bf1f
CD
17934 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17935
085d0e35
CD
17936 * manual/ipc.texi: New file.
17937 * manual/Makefile (chapters): Add ipc.
17938 * manual/job.texi: Add "Inter-Process Communication" to next.
17939 * manual/process.texi: Add "Inter-Process Communication" to prev.
17940
86e58c08
AZ
179412014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17942
17943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17944
4248f0da
OB
179452014-02-26 Ondřej Bílka <neleai@seznam.cz>
17946
17947 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17948
cf822e3c
OB
17949 * manual/arith.texi: Fix spaces after sentences.
17950 * manual/charset.texi: Likewise.
17951 * manual/errno.texi: Likewise.
17952 * manual/install.texi: Likewise.
17953 * manual/llio.texi: Likewise.
17954 * manual/locale.texi: Likewise.
17955 * manual/maint.texi: Likewise.
17956 * manual/math.texi: Likewise.
17957 * manual/memory.texi: Likewise.
17958 * manual/message.texi: Likewise.
17959 * manual/probes.texi: Likewise.
17960 * manual/resource.texi: Likewise.
17961 * manual/signal.texi: Likewise.
17962 * manual/socket.texi: Likewise.
17963 * manual/stdio.texi: Likewise.
17964 * manual/string.texi: Likewise.
17965 * manual/time.texi: Likewise.
17966 * manual/users.texi: Likewise.
17967
ade40b10
CD
179682014-02-25 Carlos O'Donell <carlos@redhat.com>
17969
17970 [BZ #16632]
17971 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17972 _DEFAULT_SOURCE is defined.
17973
d0503676
CD
179742014-02-25 Ulrich Drepper <drepper@gmail.com>
17975 Carlos O'Donell <carlos@redhat.com>
17976
17977 [BZ #16613]
17978 * elf/dl-tls.c (_dl_count_modids): New function.
17979 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17980 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17981 audit library and increment generation counter.
17982 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17983 * elf/tst-audit9.c: New file.
17984 * elf/tst-auditmod9a.c: New file.
17985 * elf/tst-auditmod9b.c: New file.
17986 * elf/Makefile: Add rules to build and run tst-audit9.
17987
4cbf380c
FW
179882014-02-25 Florian Weimer <fweimer@redhat.com>
17989
17990 [BZ #15347]
17991 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17992
80a56cc3
WN
179932014-02-25 Will Newton <will.newton@linaro.org>
17994
17995 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17996 (__longjmp): Restore sp and lr before restoring callee
17997 saved registers. Add longjmp and longjmp_target
17998 SystemTap probe point.
17999 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18000 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18001 Define to zero to match jmpbuf layout.
18002 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18003 (__sigsetjmp): Save sp and lr before saving callee
18004 saved registers. Add setjmp SystemTap probe point.
18005
3ea0f74e
SL
180062014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18007
18008 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18009
b04acb26
AS
180102014-02-24 Andreas Schwab <schwab@suse.de>
18011
18012 [BZ #15804]
18013 * elf/pldd.c (wait_for_ptrace_stop): New function.
18014 (main): Call it after attaching.
18015
098ad55c
RM
180162014-02-22 Roland McGrath <roland@hack.frob.com>
18017
d4ec6ae1
RM
18018 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18019 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18020 Versions files is now verboten.
18021 * hurd/Versions (libc: GLIBC_2.0):
18022 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18023 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18024 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18025 * mach/Versions: Likewise.
18026
098ad55c
RM
18027 * csu/Versions: Remove unused %include.
18028 * resolv/Versions: Likewise.
18029
acd7f096
JM
180302014-02-21 Joseph Myers <joseph@codesourcery.com>
18031
f0881698
JM
18032 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18033 ($(objpfx)check-local-headers.out): Likewise.
18034 ($(objpfx)begin-end-check.out): Likewise.
18035 * Makerules (check-abi-%.out): Likewise.
18036 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18037 ($(objpfx)test2.cat): Likewise.
18038 ($(objpfx)de/libc.cat): Likewise.
18039 ($(objpfx)test-gencat.out): Likewise.
18040 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18041 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18042 ($(objpfx)noload-mem): Likewise.
18043 ($(objpfx)tst-pathopt.out): Likewise.
18044 ($(objpfx)tst-rtld-load-self.out): Likewise.
18045 ($(objpfx)tst-array1-cmp.out): Likewise.
18046 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18047 ($(objpfx)tst-array2-cmp.out): Likewise.
18048 ($(objpfx)tst-array3-cmp.out): Likewise.
18049 ($(objpfx)tst-array4-cmp.out): Likewise.
18050 ($(objpfx)tst-array5-cmp.out): Likewise.
18051 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18052 ($(objpfx)check-textrel.out): Likewise.
18053 ($(objpfx)check-execstack.out): Likewise.
18054 ($(objpfx)check-localplt.out): Likewise.
18055 ($(objpfx)order2-cmp.out): Likewise.
18056 ($(objpfx)tst-leaks1-mem): Likewise.
18057 ($(objpfx)tst-leaks1-static-mem): Likewise.
18058 ($(objpfx)tst-initorder-cmp.out): Likewise.
18059 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18060 ($(objpfx)tst-unused-dep.out): Likewise.
18061 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18062 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18063 * iconv/Makefile (test-iconvconfig): Likewise.
18064 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18065 ($(objpfx)iconv-test.out): Likewise.
18066 ($(objpfx)tst-tables.out): Likewise.
18067 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18068 ($(objpfx)tst-gettext.out): Likewise.
18069 ($(objpfx)tst-translit.out): Likewise.
18070 ($(objpfx)tst-gettext2.out): Likewise.
18071 ($(objpfx)tst-gettext4.out): Likewise.
18072 ($(objpfx)tst-gettext6.out): Likewise.
18073 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18074 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18075 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18076 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18077 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18078 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18079 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18080 ($(objpfx)wordexp-tst.out): Likewise.
18081 ($(objpfx)annexc.out): Likewise.
18082 ($(objpfx)tst-fnmatch-mem): Likewise.
18083 ($(objpfx)bug-regex2-mem): Likewise.
18084 ($(objpfx)bug-regex14-mem): Likewise.
18085 ($(objpfx)bug-regex21-mem): Likewise.
18086 ($(objpfx)bug-regex31-mem): Likewise.
18087 ($(objpfx)tst-vfork3-mem): Likewise.
18088 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18089 ($(objpfx)tst-pcre-mem): Likewise.
18090 ($(objpfx)tst-boost-mem): Likewise.
18091 ($(objpfx)tst-getconf.out): Likewise.
18092 ($(objpfx)bug-ga2-mem): Likewise.
18093 ($(objpfx)bug-glob2-mem): Likewise.
18094 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18095 ($(objpfx)mtrace-tst-leaks2): Likewise.
18096 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18097 ($(objpfx)tst-printf.out): Likewise.
18098 ($(objpfx)tst-setvbuf1.out): Likewise.
18099 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18100 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18101 ($(objpfx)tst-fmtmsg.out): Likewise.
18102 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18103 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18104
acd7f096
JM
18105 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18106 * bits/sigaction.h [__USE_MISC]: Likewise.
18107 * bits/waitstatus.h: Update #endif comments.
18108 * ctype/ctype.h: Likewise.
18109 * dirent/dirent.h: Likewise.
18110 [__USE_MISC]: Remove redundant conditionals.
18111 * grp/grp.h: Update #endif comments.
18112 [__USE_GNU]: Remove redundant conditionals.
18113 [__USE_MISC]: Likewise.
18114 * inet/netinet/in.h [__USE_GNU]: Likewise.
18115 * io/sys/stat.h [__USE_MISC]: Likewise.
18116 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18117 * libio/bits/stdio.h: Update #endif comments.
18118 [__USE_MISC]: Remove redundant conditionals.
18119 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18120 * libio/stdio.h: Update #endif comments.
18121 [__USE_MISC]: Remove redundant conditionals.
18122 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18123 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18124 * math/math.h: Update #else and #endif comments.
18125 [__USE_MISC]: Remove redundant conditionals.
18126 * misc/sys/uio.h: Update #endif comments.
18127 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18128 * posix/glob.h [__USE_MISC]: Likewise.
18129 * posix/sys/types.h: Update #endif comments.
18130 [__USE_MISC]: Remove redundant conditionals.
18131 * posix/sys/wait.h: Update #endif comments.
18132 [__USE_MISC]: Remove redundant conditionals.
18133 * posix/unistd.h: Update #endif comments.
18134 [__USE_MISC]: Remove redundant conditionals.
18135 * pwd/pwd.h [__USE_GNU]: Likewise.
18136 [__USE_MISC]: Likewise.
18137 * resolv/netdb.h [__USE_GNU]: Likewise.
18138 * signal/signal.h: Update #endif comments.
18139 [__USE_MISC]: Remove redundant conditionals.
18140 * stdlib/stdlib.h: Update #else and #endif comments.
18141 [__USE_MISC]: Remove redundant conditionals.
18142 [__USE_GNU]: Likewise.
18143 * string/bits/string2.h [__USE_MISC]: Likewise.
18144 * string/string.h: Update #endif comments.
18145 [__USE_MISC]: Remove redundant conditionals.
18146 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18147 Likewise.
18148 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18149 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18150 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18151 Likewise.
18152 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18153 Likewise.
18154 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18155 comments.
18156 [__USE_MISC]: Remove redundant conditionals.
18157 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18158 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18159 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18160 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18161 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18162 Likewise.
18163 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18164 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18165 Likewise.
18166 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18167 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18168 Likewise.
18169 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18170 Likewise.
18171 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18172 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18173 Likewise.
18174 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18175 Likewise.
18176 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18177 * sysdeps/x86/bits/string.h: Update #endif comments.
18178 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18179 conditionals.
18180 * time/sys/time.h: Update #endif comments.
18181 * time/time.h: Likewise.
18182 [__USE_MISC]: Remove redundant conditionals.
18183
a5d82e4e
YG
181842014-02-21 Yury Gribov <y.gribov@samsung.com>
18185
18186 [BZ #16600]
18187 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18188
9a80491d
AS
181892014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18190
18191 * Versions.def (librt): Add GLIBC_2.17.
18192
105fa381
AC
181932014-02-21 Adam Conrad <adconrad@0c3.net>
18194
18195 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18196 synonym for _SYS_AUXV_H to allow direct inclusion.
18197 * sysdeps/sparc/bits/hwcap.h: Likewise.
18198 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18199 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18200 * sysdeps/sparc/sysdep.h: Likewise.
18201
b8cd1c4e
SP
182022014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18203
18204 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18205
bd939d23
RS
182062014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18207
18208 * benchtests/bench-strrchr.c: Print length instead of position.
18209
5d7b57ca
JM
182102014-02-20 Joseph Myers <joseph@codesourcery.com>
18211
bc688c10
JM
18212 [BZ #16611]
18213 * sysdeps/unix/sysv/linux/kernel-features.h
18214 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18215 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18216 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18217 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18218 Likewise.
18219 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18220 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18221 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18222 (__ASSUME_SENDMMSG): Define instead of using previous
18223 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18224 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18225 (__ASSUME_SENDMMSG_SYSCALL): Define.
18226 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18227 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18228 Likewise.
18229 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18230 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18231 Likewise.
18232 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18233 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18234 Likewise.
18235 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18236 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18237 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18238 [__ASSUME_SENDMMSG]: Change conditionals to
18239 [__ASSUME_SENDMMSG_SOCKETCALL].
18240 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18241 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18242 Define.
18243 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18244 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18245 Likewise.
18246 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18247 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18248 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18249 [!__ASSUME_SENDMMSG]: Change conditional to
18250 [!__ASSUME_SENDMMSG_SOCKETCALL].
18251 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18252 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18253 Define.
18254
0e31b18c
JM
18255 [BZ #16610]
18256 * sysdeps/unix/sysv/linux/kernel-features.h
18257 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18258 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18259 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18260 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18261 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18262 [__i386__ || __sparc__]
18263 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18264 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18265 (__ASSUME_RECVMMSG): Define instead of using previous
18266 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18267 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18268 (__ASSUME_RECVMMSG_SYSCALL): Define.
18269 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18270 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18271 Likewise.
18272 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18273 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18274 Likewise.
18275 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18276 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18277 Likewise.
18278 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18279 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18280 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18281 [__ASSUME_RECVMMSG]: Change condition to
18282 [__ASSUME_RECVMMSG_SOCKETCALL].
18283 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18284 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18285 Define.
18286 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18287 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18288 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18289 Likewise.
18290 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18291 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18292 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18293 [!__ASSUME_RECVMMSG]: Change condition to
18294 [!__ASSUME_RECVMMSG_SOCKETCALL].
18295 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18296 (__ASSUME_RECVMMSG_SYSCALL): Define.
18297
dd481ccf
JM
18298 [BZ #16609]
18299 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18300 __powerpc__ || __s390__ || __sh__ || __sparc__]
18301 (__ASSUME_SOCKETCALL): Define.
18302 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18303 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18304 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18305 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18306 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18307 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18308 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18309 (__ASSUME_ACCEPT4): Define instead of using previous
18310 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18311 __powerpc__ || __sparc__ || __s390__)] condition.
18312 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18313 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18314 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18315 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18316 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18317 [!__ASSUME_ACCEPT4]: Change condition to
18318 [!__ASSUME_ACCEPT4_SOCKETCALL].
18319 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18320 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18321 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18322 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18323 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18324 __ASSUME_ACCEPT4_SYSCALL.
18325 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18326 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18327 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18328 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18329 __ASSUME_ACCEPT4_SYSCALL.
18330 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18331 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18332 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18333 [__ASSUME_ACCEPT4]: Change condition to
18334 [__ASSUME_ACCEPT4_SOCKETCALL].
18335 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18336 (__ASSUME_SOCKETCALL): Define.
18337 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18338 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18339 (__ASSUME_SOCKETCALL): Define.
18340 (__ASSUME_ACCEPT4): Remove.
18341 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18342 Define.
18343 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18344 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18345 Likewise.
18346 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18347 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18348
5d7b57ca
JM
18349 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18350 macro.
18351 (HWCAP_ARM_LPAE): Likewise.
18352 (HWCAP_ARM_EVTSTRM): Likewise.
18353 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18354 Add vpfd32, lpae and evtstrm.
18355 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18356 Increase to 22.
18357
63689d61
JM
183582014-02-19 Joseph Myers <joseph@codesourcery.com>
18359
18360 * math/auto-libm-test-in: Add tests of clog10.
18361 * math/auto-libm-test-out: Regenerated.
18362 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18363 * sysdeps/i386/fpu/libm-test-ulps: Update.
18364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18365
ab09bf61
AS
183662014-02-18 Andreas Schwab <schwab@suse.de>
18367
18368 [BZ #16574]
18369 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18370 Store non-zero if the second buffer was newly allocated.
18371 (send_dg): Likewise.
18372 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18373 to send_vc and send_dg.
18374 (res_nsend): Pass NULL for ansp2_malloced.
18375 * resolv/res_query.c (__libc_res_nquery): Add parameter
18376 answerp2_malloced and pass it down to __libc_res_nsend.
18377 (res_nquery): Pass additional NULL to __libc_res_nquery.
18378 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18379 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18380 second answer buffer if answerp2_malloced was set.
18381 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18382 (__libc_res_nquerydomain): Add parameter
18383 answerp2_malloced and pass it down to __libc_res_nquery.
18384 (res_nquerydomain): Pass additional NULL to
18385 __libc_res_nquerydomain.
18386 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18387 additional NULL to __libc_res_nsend and __libc_res_nquery.
18388 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18389 additional NULL to __libc_res_nsearch.
18390 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18391 parameter of __libc_res_nsearch to check for separately allocated
18392 second buffer.
18393 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18394 __libc_res_nquery.
18395 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18396 additional NULL to __libc_res_nquery.
18397 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18398 __libc_res_nsearch.
18399 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18400 * include/resolv.h: Update prototypes of __libc_res_nquery,
18401 __libc_res_nsearch, __libc_res_nsend.
18402
a4fb7861
JM
184032014-02-18 Joseph Myers <joseph@codesourcery.com>
18404
c6af2d89
JM
18405 * math/auto-libm-test-in: Add tests of fma.
18406 * math/auto-libm-test-out: Regenerated.
18407 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18408 (fma_towardzero_test_data): Likewise.
18409 (fma_downward_test_data): Likewise.
18410 (fma_upward_test_data): Likewise.
18411 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18412 mpc_mode.
18413 (rounding_modes): Add values for new field.
18414 (func_calc_method): Add value mpfr_fff_f.
18415 (func_calc_desc): Add mpfr_fff_f union field.
18416 (test_function): Add field exact_args.
18417 (FUNC): Add macro argument EXACT_ARGS.
18418 (FUNC_mpfr_f_f): Update call to FUNC.
18419 (FUNC_mpfr_f_f): Likewise.
18420 (FUNC_mpfr_ff_f): Likewise.
18421 (FUNC_mpfr_if_f): Likewise.
18422 (FUNC_mpc_c_f): Likewise.
18423 (FUNC_mpc_c_c): Likewise.
18424 (test_functions): Add fma. Update calls to FUNC.
18425 (handle_input_arg): Add argument exact_args.
18426 (add_test): Update call to handle_input_arg.
18427 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18428 (output_for_one_input_case): Update call to calc_generic_results.
18429 Recalculate exact zero results in each rounding mode.
18430
a4fb7861
JM
18431 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18432 non-negative before setting low bit.
18433 * math/auto-libm-test-in: Mark one asin test possibly having
18434 spurious underflow.
18435 * math/auto-libm-test-out: Regenerated.
18436 * sysdeps/i386/fpu/libm-test-ulps: Update.
18437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18438
ef114eaf
DH
184392014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18440
2b7f4f2c
SP
18441 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18442 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18443 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18444 * README: Add missing listing for microblaze*-*-linux-gnu.
18445
8125aedc
AM
184462014-02-16 Ondřej Bílka <neleai@seznam.cz>
18447
18448 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18449 duplicate code
18450
c70a4b1d
MF
184512014-02-16 Mike Frysinger <vapier@gentoo.org>
18452
18453 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18454 * sysdeps/unix/sysv/linux/ia64: Move directory from
18455 ports/sysdeps/unix/sysv/linux/ia64.
18456 * README: Update listing for ia64-*-linux-gnu.
18457
591aeaf7
TD
184582014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18459 Joseph Myers <joseph@codesourcery.com>
18460
18461 * Makeconfig (test-name): New variable.
18462 (evaluate-test): Likewise.
18463 * Makerules (do-test-clean): Remove .test-result files.
18464 (common-mostlyclean): Likewise.
18465 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18466 * scripts/evaluate-test.sh: New file.
18467
6e89caf1
JM
184682014-02-14 Joseph Myers <joseph@codesourcery.com>
18469
7f98f180
JM
18470 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18471 separate $(objpfx)tst-fopenloc-cmp.out and
18472 $(objpfx)tst-fopenloc-mem.out targets.
18473 (tests): Update dependencies.
18474 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18475 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18476 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18477 (tst-rxspencer-no-utf8-ARGS): New variable.
18478 (tst-rxspencer-no-utf8-ENV): Likewise.
18479 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18480 instead of $(objpfx)tst-rxspencer-mem.
18481 ($(objpfx)tst-rxspencer-mem): Change target to
18482 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18483 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18484 * posix/tst-rxspencer-no-utf8.c: New file.
18485
6e89caf1
JM
18486 * elf/Makefile ($(objpfx)order.out): Remove rule.
18487 [$(run-built-tests) = yes] (tests): Depend on
18488 $(objpfx)order-cmp.out.
18489 ($(objpfx)order-cmp.out): New rule.
18490 [$(run-built-tests) = yes] (tests): Depend on
18491 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18492 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18493 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18494 $(objpfx)tst-array5-static-cmp.out.
18495 ($(objpfx)tst-array1.out): Remove rule.
18496 ($(objpfx)tst-array1-cmp.out): New rule.
18497 ($(objpfx)tst-array1-static.out): Remove rule.
18498 ($(objpfx)tst-array1-static-cmp.out): New rule.
18499 ($(objpfx)tst-array2.out): Remove rule.
18500 ($(objpfx)tst-array2-cmp.out): New rule.
18501 ($(objpfx)tst-array3.out): Remove rule.
18502 ($(objpfx)tst-array3-cmp.out): New rule.
18503 ($(objpfx)tst-array4.out): Remove rule.
18504 ($(objpfx)tst-array4-cmp.out): New rule.
18505 ($(objpfx)tst-array5.out): Remove rule.
18506 ($(objpfx)tst-array5-cmp.out): New rule.
18507 ($(objpfx)tst-array5-static.out): Remove rule.
18508 ($(objpfx)tst-array5-static-cmp.out): New rule.
18509 [$(run-built-tests) = yes] (tests): Depend on
18510 $(objpfx)order2-cmp.out.
18511 ($(objpfx)order2.out): Remove rule.
18512 ($(objpfx)order2-cmp.out): New rule.
18513 ($(objpfx)tst-initorder.out): Remove rule.
18514 [$(run-built-tests) = yes] (tests): Depend on
18515 $(objpfx)tst-initorder-cmp.out.
18516 ($(objpfx)tst-initorder-cmp.out): New rule.
18517 ($(objpfx)tst-initorder2.out): Remove rule.
18518 [$(run-built-tests) = yes] (tests): Depend on
18519 $(objpfx)tst-initorder2-cmp.out.
18520 ($(objpfx)tst-initorder2-cmp.out): New rule.
18521 [$(run-built-tests) = yes] (tests): Depend on
18522 $(objpfx)tst-unused-dep-cmp.out.
18523 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18524 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18525 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18526 on $(objpfx)tst-setvbuf1-cmp.out.
18527 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18528 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18529 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18530 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18531 ($(objpfx)tst-svc.out): Remove rule.
18532 ($(objpfx)tst-svc-cmp.out): New rule.
18533
ed9a38e2
JM
185342014-02-13 Joseph Myers <joseph@codesourcery.com>
18535
18536 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18537 * ctype/ctype.h [__USE_MISC]: Likewise.
18538 * dirent/dirent.h [__USE_MISC]: Likewise.
18539 * grp/grp.h [__USE_MISC]: Likewise.
18540 * io/fcntl.h [__USE_MISC]: Likewise.
18541 * io/sys/stat.h [__USE_MISC]: Likewise.
18542 * libio/stdio.h [__USE_MISC]: Likewise.
18543 * posix/unistd.h [__USE_MISC]: Likewise.
18544 * pwd/pwd.h [__USE_MISC]: Likewise.
18545 * stdlib.h [__USE_MISC]: Likewise.
18546 * string/bits/string2.h [__USE_MISC]: Likewise.
18547 * string/string.h [__USE_MISC]: Likewise.
18548 * time/time.h [__USE_MISC]: Likewise.
18549
d6680619
AS
185502014-02-13 Andreas Schwab <schwab@suse.de>
18551
18552 [BZ #16574]
18553 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18554 second answer buffer if it was separately allocated.
18555
ace614b8
JM
185562014-02-12 Joseph Myers <joseph@codesourcery.com>
18557
743151ae
JM
18558 * sysdeps/mips/math-tests.h: Include <features.h>.
18559 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18560 (ROUNDING_TESTS_long_double): Do not define.
18561 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18562 (EXCEPTION_TESTS_long_double): Likewise.
18563 * sysdeps/mips/mips64/libm-test-ulps: Update.
18564
498afc54
JM
18565 * include/features.h (__USE_BSD): Remove macro definitions.
18566 (__USE_SVID): Likewise.
18567 (_BSD_SOURCE): Likewise.
18568 (_SVID_SOURCE): Likewise.
18569 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18570 from definition of _DEFAULT_SOURCE.
18571 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18572 [_DEFAULT_SOURCE].
18573 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18574 * bits/mman.h [__USE_BSD]: Likewise.
18575 * bits/termios.h [__USE_BSD]: Likewise.
18576 * bits/waitstatus.h [__USE_BSD]: Likewise.
18577 * ctype/ctype.h [__USE_SVID]: Likewise.
18578 * dirent/dirent.h [__USE_BSD]: Likewise.
18579 * grp/grp.h [__USE_SVID]: Likewise.
18580 [__USE_BSD]: Likewise.
18581 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18582 * io/fcntl.h [__USE_BSD]: Likewise.
18583 * io/ftw.h [__USE_BSD]: Likewise.
18584 * io/sys/stat.h [__USE_BSD]: Likewise.
18585 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18586 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18587 * libio/stdio.h [__USE_SVID]: Likewise.
18588 [__USE_BSD]: Likewise.
18589 * math/math.h [__USE_SVID]: Likewise.
18590 [__USE_BSD]: Likewise.
18591 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18592 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18593 * misc/search.h [__USE_SVID]: Likewise.
18594 * misc/sys/mman.h [__USE_BSD]: Likewise.
18595 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18596 * misc/sys/uio.h [__USE_BSD]: Likewise.
18597 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18598 * posix/glob.h [__USE_BSD]: Likewise.
18599 * posix/regex.h [__USE_BSD]: Likewise.
18600 * posix/sys/types.h [__USE_BSD]: Likewise.
18601 [__USE_SVID]: Likewise.
18602 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18603 * posix/sys/wait.h [__USE_BSD]: Likewise.
18604 [__USE_SVID]: Likewise.
18605 * posix/unistd.h [__USE_BSD]: Likewise.
18606 [__USE_SVID]: Likewise.
18607 * pwd/pwd.h [__USE_SVID]: Likewise.
18608 * resolv/netdb.h [__USE_BSD]: Likewise.
18609 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18610 * signal/signal.h [__USE_BSD]: Likewise.
18611 [__USE_SVID]: Likewise.
18612 * socket/sys/socket.h [__USE_BSD]: Likewise.
18613 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18614 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18615 [__USE_SVID]: Likewise.
18616 * string/bits/string2.h [__USE_BSD]: Likewise.
18617 [__USE_SVID]: Likewise.
18618 * string/bits/string3.h [__USE_BSD]: Likewise.
18619 * string/endian.h [__USE_BSD]: Likewise.
18620 * string/string.h [__USE_SVID]: Likewise.
18621 [__USE_BSD]: Likewise.
18622 * string/strings.h [__USE_BSD]: Likewise.
18623 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18624 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18625 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18626 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18627 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18628 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18629 Likewise.
18630 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18631 Likewise.
18632 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18633 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18634 Likewise.
18635 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18636 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18637 Likewise.
18638 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18639 Likewise.
18640 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18641 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18642 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18643 Likewise.
18644 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18645 Likewise.
18646 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18647 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18648 * termios/termios.h [__USE_BSD]: Likewise.
18649 * time/sys/time.h [__USE_BSD]: Likewise.
18650 * time/time.h [__USE_BSD]: Likewise.
18651 [__USE_SVID]: Likewise.
18652
dd7b064c
JM
18653 * Makefile (subdir_targets): Remove subdir_lint.out.
18654
a2c4c199
JM
18655 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18656 (do-tst-printf): Likewise.
18657 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18658 $(objpfx)tst-printf.out.
18659
8756f740
JM
18660 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18661
1b6dd3f1
JM
18662 * Makerules (check-abi-%): Change target to
18663 $(objpfx)check-abi-%.out.
18664 (check-abi target): Update dependencies.
18665 (check-abi-pattern variable): Redirect output of diff to $@.
18666 (check-abi variable): Likewise.
18667 * elf/Makefile (check-abi): Update dependencies.
18668
ace614b8
JM
18669 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18670 unused.
18671 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18672 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18673 subnormal range.
18674 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18675 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18676 value has largest subnormal exponent.
18677 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18678 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18679 * sysdeps/aarch64/soft-fp/sfp-machine.h
18680 (_FP_TININESS_AFTER_ROUNDING): New macro.
18681 * sysdeps/alpha/soft-fp/sfp-machine.h
18682 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18683 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18684 Likewise.
18685 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18686 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18687 * sysdeps/mips/soft-fp/sfp-machine.h
18688 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18689 * sysdeps/powerpc/soft-fp/sfp-machine.h
18690 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18691 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18692 Likewise.
18693 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18694 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18695 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18696 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18697 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18698 Likewise.
18699
fbfdf9cb
DAS
187002014-02-12 Dylan Alex Simon <dylan@dylex.net>
18701
18702 [BZ #16545]
18703 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18704 model 1.
18705
68b7efaa
RH
187062014-02-12 Richard Henderson <rth@redhat.com>
18707
c70a4b1d 18708 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18709 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18710 * sysdeps/unix/sysv/linux/alpha: Move directory from
18711 ports/sysdeps/unix/sysv/linux/alpha.
18712 * README: Update listing for alpha-*-linux-gnu.
18713
cb4a2928
JM
187142014-02-11 Joseph Myers <joseph@codesourcery.com>
18715
c941736c
JM
18716 * include/features.h: Update comment documenting feature test
18717 macros.
18718 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18719 _DEFAULT_SOURCE.
18720 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18721 (_SVID_SOURCE): Likewise.
18722 (_DEFAULT_SOURCE): Update description of default features.
18723 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18724 with _GNU_SOURCE.
18725 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18726 (S_ISVTX): Likewise.
18727 * manual/math.texi (Mathematical Constants): Likewise.
18728 * manual/signal.texi (Interrupted Primitives): Likewise.
18729 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18730 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18731 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18732 Don't refer to _SVID_SOURCE in warning text.
18733
e8d8d7ec
JM
18734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18735
cb4a2928
JM
18736 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18737 already defined.
18738 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18739 * sysdeps/mips/dl-lookup.c: Remove.
18740 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18741
7e6424e3
AK
187422014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18743
18744 [BZ #16447]
18745 * math/auto-libm-test-in: Add testcase for expl.
18746 * math/auto-libm-test-out: Regenerate.
18747 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18748 calculation of unsafe.
18749 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18750
75eff3fe
MS
187512014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18752
18753 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18754 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18755 ports/sysdeps/unix/sysv/linux/aarch64.
18756 * README: Update listing for aarch64*-*-linux-gnu.
18757
d35f1e80
WN
187582014-02-11 Will Newton <will.newton@linaro.org>
18759
18760 * manual/probes.texi (Mathematical Function Probes): Use
18761 "triggered" instead of "hit".
18762
7b3436d4
WN
18763 * manual/probes.texi (Internal Probes): Add documentation
18764 of setjmp, longjmp and longjmp_target probes.
18765
b4f12ca3
WN
18766 * include/stap-probe.h: Add comment about probe argument
18767 format.
18768
c13a72b7
WN
18769 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18770 definition. (tr_where, tr_freehook, tr_mallochook,
18771 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18772
195b8165
DM
187732014-02-11 David S. Miller <davem@davemloft.net>
18774
18775 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18776 processing int_tests.
18777
2ad7600b
JM
187782014-02-10 Joseph Myers <joseph@codesourcery.com>
18779
18780 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18781 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18782 * sysdeps/unix/sysv/linux/mips: Move directory from
18783 ports/sysdeps/unix/sysv/linux/mips.
18784 * README: Update listing for mips-*-linux-gnu and
18785 mips64-*-linux-gnu.
18786
73588a72
AS
187872014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18788
18789 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18790 * sysdeps/unix/sysv/linux/m68k: Move directory from
18791 ports/sysdeps/unix/sysv/linux/m68k.
18792 * README: Update listing for m68k-*-linux-gnu.
18793
4372980f
CM
187942014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18795
18796 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18797 * sysdeps/unix/sysv/linux/generic: Move directory from
18798 ports/sysdeps/unix/sysv/linux/generic.
18799 * sysdeps/unix/sysv/linux/tile: Move directory from
18800 ports/sysdeps/unix/sysv/linux/tile.
18801 * README: Update listing for tile*-*-linux-gnu.
18802
a1ffb40e
OB
188032014-02-10 Ondřej Bílka <neleai@seznam.cz>
18804
57f41c40
AS
18805 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18806 __builtin_expect.
a1ffb40e
OB
18807 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18808 * catgets/open_catalog.c (__open_catalog): Likewise.
18809 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18810 * debug/confstr_chk.c: Likewise.
18811 * debug/fread_chk.c (__fread_chk): Likewise.
18812 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18813 * debug/getgroups_chk.c: Likewise.
18814 * debug/mbsnrtowcs_chk.c: Likewise.
18815 * debug/mbsrtowcs_chk.c: Likewise.
18816 * debug/mbstowcs_chk.c: Likewise.
18817 * debug/memcpy_chk.c: Likewise.
18818 * debug/memmove_chk.c: Likewise.
18819 * debug/mempcpy_chk.c: Likewise.
18820 * debug/memset_chk.c: Likewise.
18821 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18822 * debug/strcat_chk.c (__strcat_chk): Likewise.
18823 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18824 * debug/strncat_chk.c (__strncat_chk): Likewise.
18825 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18826 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18827 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18828 * debug/wcpncpy_chk.c: Likewise.
18829 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18830 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18831 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18832 * debug/wcsncpy_chk.c: Likewise.
18833 * debug/wcsnrtombs_chk.c: Likewise.
18834 * debug/wcsrtombs_chk.c: Likewise.
18835 * debug/wcstombs_chk.c: Likewise.
18836 * debug/wmemcpy_chk.c: Likewise.
18837 * debug/wmemmove_chk.c: Likewise.
18838 * debug/wmempcpy_chk.c: Likewise.
18839 * debug/wmemset_chk.c: Likewise.
18840 * dirent/scandirat.c (SCANDIRAT): Likewise.
18841 * dlfcn/dladdr1.c (dladdr1): Likewise.
18842 * dlfcn/dladdr.c (dladdr): Likewise.
18843 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18844 * dlfcn/dlerror.c (__dlerror): Likewise.
18845 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18846 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18847 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18848 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18849 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18850 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18851 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18852 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18853 Likewise.
18854 * elf/dl-conflict.c: Likewise.
18855 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18856 * elf/dl-dst.h: Likewise.
18857 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18858 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18859 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18860 * elf/dl-init.c (call_init, _dl_init): Likewise.
18861 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18862 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18863 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18864 Likewise.
a1ffb40e
OB
18865 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18866 Likewise.
18867 * elf/dl-minimal.c (__libc_memalign): Likewise.
18868 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18869 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18870 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18871 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18872 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18873 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18874 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18875 * elf/dl-writev.h (_dl_writev): Likewise.
18876 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18877 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18878 (dl_main): Likewise.
a1ffb40e
OB
18879 * elf/setup-vdso.h (setup_vdso): Likewise.
18880 * grp/compat-initgroups.c (compat_call): Likewise.
18881 * grp/fgetgrent.c (fgetgrent): Likewise.
18882 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18883 * grp/putgrent.c (putgrent): Likewise.
18884 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18885 Likewise.
18886 * hurd/hurdinit.c: Likewise.
18887 * iconvdata/8bit-gap.c (struct): Likewise.
18888 * iconvdata/ansi_x3.110.c : Likewise.
18889 * iconvdata/big5.c : Likewise.
18890 * iconvdata/big5hkscs.c : Likewise.
18891 * iconvdata/cp1255.c: Likewise.
18892 * iconvdata/cp1258.c : Likewise.
18893 * iconvdata/cp932.c : Likewise.
18894 * iconvdata/euc-cn.c: Likewise.
18895 * iconvdata/euc-jisx0213.c : Likewise.
18896 * iconvdata/euc-jp.c: Likewise.
18897 * iconvdata/euc-jp-ms.c : Likewise.
18898 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18899 * iconvdata/gb18030.c : Likewise.
18900 * iconvdata/gbbig5.c (const): Likewise.
18901 * iconvdata/gbgbk.c: Likewise.
18902 * iconvdata/gbk.c : Likewise.
18903 * iconvdata/ibm1364.c : Likewise.
18904 * iconvdata/ibm930.c : Likewise.
18905 * iconvdata/ibm932.c: Likewise.
18906 * iconvdata/ibm933.c : Likewise.
18907 * iconvdata/ibm935.c : Likewise.
18908 * iconvdata/ibm937.c : Likewise.
18909 * iconvdata/ibm939.c : Likewise.
18910 * iconvdata/ibm943.c: Likewise.
18911 * iconvdata/iso_11548-1.c: Likewise.
18912 * iconvdata/iso-2022-cn.c : Likewise.
18913 * iconvdata/iso-2022-cn-ext.c : Likewise.
18914 * iconvdata/iso-2022-jp-3.c: Likewise.
18915 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18916 * iconvdata/iso-2022-kr.c : Likewise.
18917 * iconvdata/iso646.c (gconv_end): Likewise.
18918 * iconvdata/iso_6937-2.c : Likewise.
18919 * iconvdata/iso_6937.c : Likewise.
18920 * iconvdata/iso8859-1.c: Likewise.
18921 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18922 * iconvdata/shift_jisx0213.c : Likewise.
18923 * iconvdata/sjis.c : Likewise.
18924 * iconvdata/t.61.c : Likewise.
18925 * iconvdata/tcvn5712-1.c : Likewise.
18926 * iconvdata/tscii.c: Likewise.
18927 * iconvdata/uhc.c : Likewise.
18928 * iconvdata/unicode.c (gconv_end): Likewise.
18929 * iconvdata/utf-16.c (gconv_end): Likewise.
18930 * iconvdata/utf-32.c (gconv_end): Likewise.
18931 * iconvdata/utf-7.c (base64): Likewise.
18932 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18933 * iconv/gconv_close.c (__gconv_close): Likewise.
18934 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18935 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18936 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18937 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18938 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18939 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18940 * iconv/iconv.c (iconv): Likewise.
18941 * iconv/iconv_close.c: Likewise.
18942 * iconv/loop.c (SINGLE): Likewise.
18943 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18944 * include/atomic.h: Likewise.
18945 * inet/inet6_option.c (option_alloc): Likewise.
18946 * intl/bindtextdom.c (set_binding_values): Likewise.
18947 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18948 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18949 * intl/localealias.c (read_alias_file): Likewise.
18950 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18951 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18952 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18953 * libio/fmemopen.c (fmemopen): Likewise.
18954 * libio/iofgets.c (_IO_fgets): Likewise.
18955 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18956 * libio/iofgetws.c (fgetws): Likewise.
18957 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18958 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18959 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18960 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18961 * locale/findlocale.c (_nl_find_locale): Likewise.
18962 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18963 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18964 Likewise.
18965 * locale/setlocale.c (setlocale): Likewise.
18966 * login/programs/pt_chown.c (main): Likewise.
18967 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18968 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18969 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18970 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18971 * math/e_exp2l.c: Likewise.
18972 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18973 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18974 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18975 * math/s_catan.c (__catan): Likewise.
18976 * math/s_catanf.c (__catanf): Likewise.
18977 * math/s_catanh.c (__catanh): Likewise.
18978 * math/s_catanhf.c (__catanhf): Likewise.
18979 * math/s_catanhl.c (__catanhl): Likewise.
18980 * math/s_catanl.c (__catanl): Likewise.
18981 * math/s_ccosh.c (__ccosh): Likewise.
18982 * math/s_ccoshf.c (__ccoshf): Likewise.
18983 * math/s_ccoshl.c (__ccoshl): Likewise.
18984 * math/s_cexp.c (__cexp): Likewise.
18985 * math/s_cexpf.c (__cexpf): Likewise.
18986 * math/s_cexpl.c (__cexpl): Likewise.
18987 * math/s_clog10.c (__clog10): Likewise.
18988 * math/s_clog10f.c (__clog10f): Likewise.
18989 * math/s_clog10l.c (__clog10l): Likewise.
18990 * math/s_clog.c (__clog): Likewise.
18991 * math/s_clogf.c (__clogf): Likewise.
18992 * math/s_clogl.c (__clogl): Likewise.
18993 * math/s_csin.c (__csin): Likewise.
18994 * math/s_csinf.c (__csinf): Likewise.
18995 * math/s_csinh.c (__csinh): Likewise.
18996 * math/s_csinhf.c (__csinhf): Likewise.
18997 * math/s_csinhl.c (__csinhl): Likewise.
18998 * math/s_csinl.c (__csinl): Likewise.
18999 * math/s_csqrt.c (__csqrt): Likewise.
19000 * math/s_csqrtf.c (__csqrtf): Likewise.
19001 * math/s_csqrtl.c (__csqrtl): Likewise.
19002 * math/s_ctan.c (__ctan): Likewise.
19003 * math/s_ctanf.c (__ctanf): Likewise.
19004 * math/s_ctanh.c (__ctanh): Likewise.
19005 * math/s_ctanhf.c (__ctanhf): Likewise.
19006 * math/s_ctanhl.c (__ctanhl): Likewise.
19007 * math/s_ctanl.c (__ctanl): Likewise.
19008 * math/w_pow.c: Likewise.
19009 * math/w_powf.c: Likewise.
19010 * math/w_powl.c: Likewise.
19011 * math/w_scalb.c (sysv_scalb): Likewise.
19012 * math/w_scalbf.c (sysv_scalbf): Likewise.
19013 * math/w_scalbl.c (sysv_scalbl): Likewise.
19014 * misc/error.c (error_tail): Likewise.
19015 * misc/pselect.c (__pselect): Likewise.
19016 * nis/nis_callback.c (__nis_create_callback): Likewise.
19017 * nis/nis_call.c (__nisfind_server): Likewise.
19018 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19019 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19020 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19021 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19022 * nis/nis_lookup.c (nis_lookup): Likewise.
19023 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
19024 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19025 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 19026 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
19027 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19028 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19029 * nis/nss_compat/compat-initgroups.c (add_group)
19030 (internal_getgrent_r): Likewise.
19031 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19032 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19033 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19034 (internal_getspnam_r): Likewise.
19035 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19036 (_nss_nis_getaliasbyname_r): Likewise.
19037 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19038 (_nss_nis_getntohost_r): Likewise.
19039 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19040 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19041 (_nss_nis_getgrgid_r): Likewise.
19042 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19043 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19044 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19045 (_nss_nis_gethostbyname4_r): Likewise.
19046 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19047 (initgroups_netid): Likewise.
a1ffb40e 19048 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
19049 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19050 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19051 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19052 (_nss_nis_getprotobynumber_r): Likewise.
19053 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19054 (_nss_nis_getsecretkey): Likewise.
19055 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19056 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19057 (_nss_nis_getpwuid_r): Likewise.
19058 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19059 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19060 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19061 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19062 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19063 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
19064 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19065 Likewise.
57f41c40
AS
19066 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19067 (_nss_nisplus_getntohost_r): Likewise.
19068 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19069 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19070 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19071 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 19072 Likewise.
57f41c40
AS
19073 * nis/nss_nisplus/nisplus-initgroups.c
19074 (_nss_nisplus_initgroups_dyn): Likewise.
19075 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19076 (_nss_nisplus_getnetbyaddr_r): Likewise.
19077 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19078 (_nss_nisplus_getprotobynumber_r): Likewise.
19079 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19080 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
19081 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19082 Likewise.
57f41c40
AS
19083 * nis/nss_nisplus/nisplus-service.c
19084 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19085 (_nss_nisplus_getservbyport_r): Likewise.
19086 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19087 (_nss_nisplus_getspnam_r): Likewise.
19088 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19089 Likewise.
a1ffb40e
OB
19090 * nscd/aicache.c (addhstaiX): Likewise.
19091 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
19092 * nscd/connections.c (register_traced_file, send_ro_fd)
19093 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19094 (main_loop_epoll): Likewise.
a1ffb40e
OB
19095 * nscd/grpcache.c (addgrbyX): Likewise.
19096 * nscd/hstcache.c (addhstbyX): Likewise.
19097 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19098 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
19099 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19100 (addinnetgrX): Likewise.
19101 * nscd/nscd-client.h (__nscd_acquire_maplock)
19102 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
19103 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19104 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19105 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19106 Likewise.
19107 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19108 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
19109 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19110 (__nscd_get_map_ref): Likewise.
a1ffb40e 19111 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
19112 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19113 Likewise.
a1ffb40e
OB
19114 * nscd/pwdcache.c (addpwbyX): Likewise.
19115 * nscd/selinux.c (preserve_capabilities): Likewise.
19116 * nscd/servicescache.c (addservbyX): Likewise.
19117 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19118 * posix/fnmatch.c (fnmatch): Likewise.
19119 * posix/getopt.c (_getopt_internal_r): Likewise.
19120 * posix/glob.c (glob, glob_in_dir): Likewise.
19121 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
19122 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19123 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
19124 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19125 * resolv/res_init.c: Likewise.
19126 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19127 * resolv/res_query.c (__libc_res_nquery): Likewise.
19128 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19129 Likewise.
19130 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19131 * stdio-common/perror.c (perror): Likewise.
19132 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19133 * stdio-common/tmpnam.c (tmpnam): Likewise.
19134 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19135 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
19136 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19137 Likewise.
a1ffb40e
OB
19138 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19139 * stdlib/putenv.c (putenv): Likewise.
19140 * stdlib/setenv.c (__add_to_environ): Likewise.
19141 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19142 * stdlib/strtol_l.c (INTERNAL): Likewise.
19143 * string/memmem.c (memmem): Likewise.
19144 * string/strerror.c (strerror): Likewise.
19145 * string/strnlen.c (__strnlen): Likewise.
19146 * string/test-memmem.c (simple_memmem): Likewise.
19147 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19148 * sunrpc/pm_getport.c (__get_socket): Likewise.
19149 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19150 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
19151 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19152 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
19153 Likewise.
19154 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19155 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19156 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19157 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19158 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
19159 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19160 Likewise.
19161 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19162 Likewise.
a1ffb40e
OB
19163 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19164 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19165 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19166 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19167 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19169 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19170 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19171 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19172 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19173 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19174 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19175 Likewise.
19176 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19177 Likewise.
19178 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19179 Likewise.
19180 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19181 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19182 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19183 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19184 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19185 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19186 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19187 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19188 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19189 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19190 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19191 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19192 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19193 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
19195 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19196 Likewise.
a1ffb40e
OB
19197 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19198 Likewise.
19199 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19200 Likewise.
19201 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19202 Likewise.
19203 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19204 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19205 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19206 Likewise.
19207 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19208 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19209 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19210 * sysdeps/posix/sleep.c: Likewise.
19211 * sysdeps/posix/tempname.c: Likewise.
19212 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19213 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19214 Likewise.
57f41c40
AS
19215 * sysdeps/powerpc/powerpc32/dl-machine.h
19216 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19217 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19218 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19219 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19220 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19221 Likewise.
19222 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19223 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19224 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19225 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19226 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19227 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19228 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19229 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19230 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19231 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19232 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19233 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19234 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19235 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19236 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19237 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19238 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19239 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19240 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19241 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19242 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19243 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19244 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19245 Likewise.
19246 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19247 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19248 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19249 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19250 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19251 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19252 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19253 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19254 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19255 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19256 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19257 Likewise.
19258 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19259 (__posix_fallocate64_l64): Likewise.
19260 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19261 (posix_fallocate): Likewise.
57f41c40
AS
19262 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19263 Likewise.
a1ffb40e 19264 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19265 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19266 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19267 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19268 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19269 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19270 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19271 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19272 (__posix_fallocate64_l64): Likewise.
19273 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19274 Likewise.
19275 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19276 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19277 (__get_clockfreq): Likewise.
a1ffb40e
OB
19278 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19279 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19280 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19283 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19284 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19285 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19286 Likewise.
19287 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19288 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19289 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19290 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19291 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19292 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19293 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19294 Likewise.
19295 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19296 (posix_fallocate): Likewise.
19297 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19298 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19299 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19300 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19301 (elf_machine_rela, elf_machine_rela_relative)
19302 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19303 * time/asctime.c (asctime_internal): Likewise.
19304 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19305 * time/tzset.c (__tzset_parse_tz): Likewise.
19306 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19307 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19308 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19309 * wcsmbs/wcsmbsload.h: Likewise.
19310
f3d338c9
OB
19311 [BZ #15894]
19312 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19313
57f41c40
AS
19314 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19315 (arena_get2): Remove THREAD_STATS conditionals.
19316 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19317 (__malloc_stats, int): Likewise.
bdfe308a 19318
d674667c
MF
193192014-02-08 Mike Frysinger <vapier@gentoo.org>
19320
19321 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19322 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19323
6349768c
MF
19324 * manual/setjmp.texi: Fix typos/grammar errors.
19325
0b7c7473
MF
19326 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19327 Only return early when n is <= 0. Delete unused return statement.
19328
ac8cc9e3
MF
19329 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19330 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19331 * debug/tst-longjmp_chk3.c: New file.
19332
c5bb8e23
MF
19333 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19334 (test_main): Replace code with set_fortify_handler call.
19335 * debug/test-strcpy_chk.c: Likewise.
19336 * debug/tst-chk1.c: Likewise.
19337 * debug/tst-longjmp_chk.c: Likewise.
19338 * test-skeleton.c: Include fcntl.h & paths.h
19339 (set_fortify_handler): Define.
19340
10444e42
MF
19341 * debug/tst-longjmp_chk.c: Add header comment and include
19342 ../test-skeleton.c.
19343 (do_test): Mark static.
19344 (TEST_FUNCTION): Define.
19345
1e805e8d
MF
19346 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19347 (IP_PMTUDISC_INTERFACE): Likewise.
19348 (IP_MULTICAST_IF): Likewise.
19349 (IP_MULTICAST_TTL): Likewise.
19350 (IP_MULTICAST_LOOP): Likewise.
19351 (IP_ADD_MEMBERSHIP): Likewise.
19352 (IP_DROP_MEMBERSHIP): Likewise.
19353 (IP_UNBLOCK_SOURCE): Likewise.
19354 (IP_BLOCK_SOURCE): Likewise.
19355 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19356 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19357 (IP_MSFILTER): Likewise.
19358 (MCAST_JOIN_GROUP): Likewise.
19359 (MCAST_BLOCK_SOURCE): Likewise.
19360 (MCAST_UNBLOCK_SOURCE): Likewise.
19361 (MCAST_LEAVE_GROUP): Likewise.
19362 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19363 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19364 (MCAST_MSFILTER): Likewise.
19365 (IP_MULTICAST_ALL): Likewise.
19366 (IP_UNICAST_IF): Likewise.
19367
73f79bb7
MF
19368 * timezone/Makefile: Delete $(have-ksh) check.
19369 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19370 * timezone/tzselect.ksh: Add +x mode bits.
19371
8da79b60
MF
19372 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19373 (ANON_INODE_FS_MAGIC): Likewise.
19374 (BDEVFS_MAGIC): Likewise.
19375 (BINFMTFS_MAGIC): Likewise.
19376 (BTRFS_TEST_MAGIC): Likewise.
19377 (CRAMFS_MAGIC_WEND): Likewise.
19378 (DEBUGFS_MAGIC): Likewise.
19379 (ECRYPTFS_SUPER_MAGIC): Likewise.
19380 (EXT3_SUPER_MAGIC): Likewise.
19381 (EXT4_SUPER_MAGIC): Likewise.
19382 (FUTEXFS_SUPER_MAGIC): Likewise.
19383 (HOSTFS_SUPER_MAGIC): Likewise.
19384 (HUGETLBFS_MAGIC): Likewise.
19385 (MINIX3_SUPER_MAGIC): Likewise.
19386 (MTD_INODE_FS_MAGIC): Likewise.
19387 (NILFS_SUPER_MAGIC): Likewise.
19388 (OPENPROM_SUPER_MAGIC): Likewise.
19389 (PIPEFS_MAGIC): Likewise.
19390 (PSTOREFS_MAGIC): Likewise.
19391 (QNX6_SUPER_MAGIC): Likewise.
19392 (RAMFS_MAGIC): Likewise.
19393 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19394 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19395 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19396 (SECURITYFS_MAGIC): Likewise.
19397 (SELINUX_MAGIC): Likewise.
19398 (SMACK_MAGIC): Likewise.
19399 (SOCKFS_MAGIC): Likewise.
19400 (SQUASHFS_MAGIC): Likewise.
19401 (STACK_END_MAGIC): Likewise.
19402 (TMPFS_MAGIC): Likewise.
19403 (USBDEVICE_SUPER_MAGIC): Likewise.
19404 (V9FS_MAGIC): Likewise.
19405 (XENFS_SUPER_MAGIC): Likewise.
19406 (CRAMFS_MAGIC): Fix typo in comment.
19407 (EXT2_SUPER_MAGIC): Update comment.
19408 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19409
464263cc
JM
194102014-02-08 Joseph Myers <joseph@codesourcery.com>
19411
c6bfe5c4
JM
19412 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19413 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19414 * sysdeps/unix/sysv/linux/arm: Move directory from
19415 ports/sysdeps/unix/sysv/linux/arm.
19416 * README: Update listing for arm-*-linux-gnueabi.
19417
464263cc
JM
19418 * README: Remove mention of am33.
19419
32749f6c
RM
194202014-02-07 Roland McGrath <roland@hack.frob.com>
19421
19422 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19423 than the comma operator, to avoid "rhs of comma has no effect"
19424 compiler warnings.
19425 (__sigfillset, __sigandset, __sigorset): Likewise.
19426 * include/signal.h (__sigemptyset): Likewise.
19427 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19428
d5b396c1
AM
194292014-02-07 Allan McRae <allan@archlinux.org>
19430
19431 * version.h (RELEASE): Set to "development".
19432 (VERSION): Set to "2.19.90"
19433 * NEWS: Add 2.20 section.
19434
3bfff2ed
CD
194352014-02-06 Carlos O'Donell <carlos@redhat.com>
19436
19437 [BZ #16529]
19438 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19439
ee7cc385
SP
194402014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19441
19442 * manual/contrib.texi: Update entry for Carlos O'Donell,
19443 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19444
f877c4f2
CD
194452014-02-05 Carlos O'Donell <carlos@rehdat.com>
19446
27e839f6
CD
19447 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19448
f877c4f2
CD
19449 * sysdeps/unix/sysv/linux/kernel-features.h
19450 [__LINUX_KERNEL_VERSION >= 0x020621]
19451 (__ASSUME_PROC_PID_TASK_COMM): Define.
19452
68159946
SP
194532014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19454
ba17cdbd
SP
19455 [BZ #16398]
19456 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19457 conversion when destination buffer does not have enough space.
19458 * libio/tst-ftell-partial-wide.c: New test case.
19459 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19460
68159946
SP
19461 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19462 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19463 Leonard and Allan McRae.
19464
2b528732
DM
194652014-02-04 David S. Miller <davem@davemloft.net>
19466
19467 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19468 32-bit.
19469
0ff82463
AZ
194702014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19471
57f41c40
AS
19472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19473 New file
c01603f7
AZ
19474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19475 New file
57f41c40
AS
19476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19477 New file.
19478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19479 New file.
c01603f7
AZ
19480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19481 New file.
57f41c40
AS
19482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19483 New file.
19484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19485 New file.
c01603f7
AZ
19486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19487 New file.
19488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19489 New file.
19490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19491 New file.
19492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19493 New file.
19494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19495 New file.
19496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19497 New file.
19498
194992014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19500
0ff82463
AZ
19501 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19502 * shlib-versions: Likewise.
19503
1695c773
AZ
195042014-02-04 Roland McGrath <roland@hack.frob.com>
19505 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19506
19507 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19508 (abilist-pattern): New variable, set to %-le.abilist.
19509
19510 * Makerules (abilist-pattern): New variable.
19511 (vpath): Use $(abilist-pattern) in place of %.abilist.
19512 (check-abi-% pattern rule): Likewise.
19513 (check-abi, update-abi): Likewise.
19514
6c0ce4b4
EW
195152014-02-04 Eric Wong <normalperson@yhbt.net>
19516
19517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19518
481e3524
CD
195192014-02-03 Carlos O'Donell <carlos@redhat.com>
19520
19521 * manual/startup.texi: Add next, previous, and top entries for
19522 the `Program Arguments' and `Environment Variables' nodes.
19523
375592d3
AO
195242014-02-03 Alexandre Oliva <aoliva@redhat.com>
19525
19526 * manual/macros.texi: Add comments before MTASC-safety macros.
19527
f54838ba
AO
19528 * manual/users.texi: Document MTASC-safety properties.
19529
57f41c40
AS
19530 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19531 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19532 @deftypefun, and add @safety note.
19533 * manual/signal.texi: Move comments that analyze the above
19534 functions to their home place.
19535
fd3daba4
AM
195362014-02-03 Allan McRae <allan@archlinux.org>
19537
19538 * po/sl.po: Update Slovenian translation from translation project.
19539
597636d7
AO
195402014-02-02 Alexandre Oliva <aoliva@redhat.com>
19541
19542 * manual/time.texi (timegm): Add missing blank after @c.
19543 Reported by Joseph Myers <joseph@codesourcery.com>.
19544
ee196e3c
AO
195452014-02-01 Alexandre Oliva <aoliva@redhat.com>
19546
19547 * manual/check-safety.sh: New.
19548 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19549
f8d529d5
AO
19550 * manual/terminal.texi: Document MTASC-safety properties.
19551
de55fdf4
AO
19552 * manual/filesys.texi: Document MTASC-safety properties.
19553
c3299c08
AO
19554 * manual/errno.texi: Document MTASC-safety properties.
19555
06e90b14
AO
19556 * manual/intro.texi: Document safety identifiers and
19557 conditionals.
19558
1acd4371
AO
19559 * manual/string.texi (wcstok): Fix prototype.
19560 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19561
23e5b8cb
AO
19562 * manual/time.texi: Document MTASC-safety properties.
19563
11087373
AO
19564 * manual/string.texi: Document MTASC-safety properties.
19565
5da2c93d
AO
19566 * manual/threads.texi: Document MTASC-safety properties.
19567
171e9210
AO
19568 * manual/stdio.texi: Document MTASC-safety properties.
19569
d9e02532
AO
19570 * manual/syslog.texi: Document MTASC-safety properties.
19571
6af8bab7
AO
19572 * manual/sysinfo.texi: Document MTASC-safety properties.
19573
663b02d7
AO
19574 * manual/startup.texi: Document MTASC-safety properties.
19575
973f180b
AO
19576 * manual/socket.texi: Document MTASC-safety properties.
19577
8f3c25c8
AO
19578 * manual/signal.texi: Document MTASC-safety properties.
19579
542210fb
AO
195802014-01-31 Alexandre Oliva <aoliva@redhat.com>
19581
19582 * manual/setjmp.texi: Document MTASC-safety properties.
19583
433c45a2
AO
19584 * manual/search.texi: Document MTASC-safety properties.
19585
c8ce789c
AO
19586 * manual/resource.texi: Document MTASC-safety properties.
19587
19f5d29c
AO
19588 * manual/process.texi: Document MTASC-safety properties.
19589
e2dfb7f4
AO
19590 * manual/platform.texi: Document MTASC-safety properties.
19591
8c1413f5
AO
19592 * manual/pipe.texi: Document MTASC-safety properties.
19593
03483ada
AO
19594 * manual/pattern.texi: Document MTASC-safety properties.
19595
29e7e2df
AO
19596 * manual/message.texi: Document MTASC-safety properties.
19597
9f529d7c
AO
19598 [BZ #12751]
19599 * manual/memory.texi: Document MTASC-safety properties.
19600
27aaa791
AO
19601 * manual/math.texi: Document MTASC-safety properties.
19602
f2d58726
AO
19603 * manual/locale.texi: Document MTASC-safety properties.
19604
2cc3615c
AO
19605 * manual/llio.texi: Document MTASC-safety properties.
19606
d9f0ec97
AO
19607 * manual/libdl.texi: New.
19608
e7c4409a
AO
19609 * manual/lang.texi: Document MTASC-safety properties.
19610
27bdc63c
AO
19611 * manual/job.texi: Document MTASC-safety properties.
19612
a7b90ea9
AO
19613 * manual/getopt.texi: Document MTASC-safety properties.
19614
c49130e3
AO
19615 * manual/ctype.texi: Document MTASC-safety properties.
19616
0d23a5c1
MR
196172014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19618
19619 [BZ #16046]
19620 * csu/libc-tls.c (static_map): Remove variable.
19621 (__libc_setup_tls): Use main executable's link map for TLS data.
19622 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19623 casing for LM_ID_BASE and GL(dl_nns).
19624 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19625 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19626 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19627 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19628 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19629 member.
19630 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19631 l_phnum members.
19632
0037bb60
AO
196332014-01-30 Alexandre Oliva <aoliva@redhat.com>
19634
19635 * manual/debug.texi: Document MTASC-safety properties.
19636
409e00bd
L
196372014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19638
19639 [BZ #16510]
19640 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19641 of __x86_64__ when disabling x87 inline functions.
19642
86e60666
AO
196432014-01-29 Alexandre Oliva <aoliva@redhat.com>
19644
19645 * manual/charset.texi: Document MTASC-safety properties.
19646
76167637
AO
19647 * manual/crypt.texi: Document MTASC-safety properties.
19648
e567f2a0
AO
19649 * manual/conf.texi: Document MTASC-safety properties.
19650
b719dafd
AO
19651 * manual/arith.texi: Document MTASC-safety properties.
19652
4a16c662
AO
19653 * manual/argp.texi: Document MTASC-safety properties.
19654
0a57b83e
AO
19655 * manual/macros.texi: Introduce macros to document multi
19656 thread, asynchronous signal and asynchronous cancellation
19657 safety properties.
19658 * manual/intro.texi: Introduce the properties themselves.
19659
feab2397
KK
196602014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19661
19662 * sysdeps/sh/sh4/Makefile: New file.
19663
1c0d11bc
AS
196642014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19665
19666 * math/gen-libm-test.pl ($srcdir): New variable.
19667 ($auto_input): Use it.
19668
af37a8a3
SP
196692014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19670
d7b00f98
SP
19671 [BZ #16506]
19672 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19673 access beyond array bounds when parsing netgroups file.
19674
af37a8a3
SP
19675 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19676 the old buffer before realloc.
19677
0c00f062
AM
196782014-01-27 Allan McRae <allan@archlinux.org>
19679
19680 * po/fr.po: Update French translation from translation project.
19681
7d69a1b0
KK
196822014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19683
19684 * sysdeps/sh/libm-test-ulps: Regenerate.
19685
6e697ff7
DM
196862014-01-24 David S. Miller <davem@davemloft.net>
19687
19688 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19689
9cadb35c
KK
196902014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19691
19692 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19693 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19694
5d41dadf
SP
196952013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19696
19697 [BZ #16474]
19698 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19699 string pointers after reallocation.
19700
0bad441c
KK
197012014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19702
19703 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19704 __SH4A__ instead of __SH_FPU_ANY__.
19705
7007c661
KK
197062014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19707
19708 * sysdeps/sh/fpu_control.h: New file.
19709 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19710 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19711 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19712 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19713 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19714 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19715 * sysdeps/sh/sys/ucontext.h: Remove.
19716 * sysdeps/sh/sys: Remove directory.
19717
0f0c35e4
AK
197182014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19719
19720 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19721 s390/sys/ucontext.h.
19722 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19723 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19724
4959e284
L
197252014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19726
19727 [BZ #15605]
19728 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19729
d98720e0
AZ
197302014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19731
19732 [BZ#16431]
19733 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19734 Adjust the vDSO correctly for internal calls.
19735 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19736
91cbd0bc
AM
197372014-01-20 Allan McRae <allan@archlinux.org>
19738
19739 * po/ca.po: Update Catalan translation from translation project.
19740
7a02cfad
MF
197412014-01-16 Mike Frysinger <vapier@gentoo.org>
19742
19743 * sysdeps/s390/sotruss-lib.c: New file.
19744
736c304a
AZ
197452014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19746
19747 [BZ#16430]
6e077ee5 19748 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19749 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19750 local calls issues by not having a PLT stub required for IFUNC calls.
19751 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19752
94d0cea0
JM
197532014-01-16 Joseph Myers <joseph@codesourcery.com>
19754
19755 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19756 * math/test-fpucw-static.c: Likewise.
19757
980cb518
SP
197582013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19759
19760 [BZ #16453]
19761 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19762
2393fc01
AZ
197632014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19764
19765 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19766 implementation for powerpc.
19767
d359bcc2
OB
197682014-01-15 Ondřej Bílka <neleai@seznam.cz>
19769
19770 [BZ #14782]
19771 * sysdeps/posix/system.c (__libc_system): Do not enable
19772 asynchronous cancellation.
19773
7beb48cb
AK
197742014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19775
19776 [BZ #16427]
19777 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19778 handling only for numbers special also in the IEEE case.
19779
c20d5bf5
AK
197802014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19781
19782 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19783
e83bd4ee
AM
197842014-01-11 Allan McRae <allan@archlinux.org>
19785
76d0ea69
AM
19786 * po/bg.po: Update Bulgarian translation from translation project.
19787
e83bd4ee
AM
19788 * po/de.po: Update German translation from translation project.
19789
bc2ba20a
RM
197902014-01-10 Roland McGrath <roland@hack.frob.com>
19791
19792 * sysdeps/generic/gcc-compat.h: New file.
19793
649ecea2
SP
197942014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19795
19796 * benchtests/asin-inputs: Correct slow inputs.
19797 * benchtests/acos-inputs: Likewise.
19798
1b19c006
AM
197992014-01-10 Allan McRae <allan@archlinux.org>
19800
a46dab08
AM
19801 * po:sv.po: Update Swedish translation from translation project.
19802
421df74a
AM
19803 * po/vi.po: Update Vietnamese translation from translation project.
19804
d61c51a7
AM
19805 * po/eo.po: Update Esperanto translation from translation project.
19806
0339a319
AM
19807 * po/cs.po: Update Czech translation from translation project.
19808
94ad3e99
AM
19809 * po/nl.po: Update Dutch translation from translation project.
19810
e349ca71
AM
19811 * po/pl.po: Update Polish translation from translation project.
19812
ddf930c1
AM
19813 * po/ru.po: Update Russian translation from translation project.
19814
1b19c006
AM
19815 * po/uk.po: Update Ukrainian translation from translation project.
19816
9f236c49
BM
198172014-01-08 Brooks Moses <bmoses@google.com>
19818
19819 * elf/dl-load.c: Fix comment typo.
19820
cd6701cf
CD
198212014-01-08 Carlos O'Donell <carlos@redhat.com>
19822
19823 * po/header.pot: Rename to...
19824 * po/pot.header: ... this.
19825 * po/Makefile: Use pot.header.
19826
66671c84
YK
198272014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19828 Maxim Kuvyrkov <maxim@kugelworks.com>
19829
19830 [BZ #16394]
cd6701cf
CD
19831 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19832 SRC and DEST against LEN.
66671c84 19833
38f34581
AZ
198342014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19835
19836 [BZ #16414]
19837 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19838 implementation.
19839 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19840
198412014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19842
19843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19844
4c327f2a
JM
198452014-01-08 Joseph Myers <joseph@codesourcery.com>
19846
19847 [BZ #16408]
19848 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19849 for large positive arguments.
19850
b821f414
JM
198512014-01-07 Joseph Myers <joseph@codesourcery.com>
19852
1f0f2067
JM
19853 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19854
a5a326f6
JM
19855 * math/auto-libm-test-in: Mark various tests with
19856 xfail-rounding:ldbl-128ibm.
19857 * math/auto-libm-test-out: Regenerated.
19858
b821f414
JM
19859 [BZ #16407]
19860 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19861 Increase overflow threshold.
19862
94c8a4bc
OB
198632014-01-07 Ondřej Bílka <neleai@seznam.cz>
19864
19865 [BZ #14286]
19866 * stdio-common/vfprintf.c: Check for integer overflow.
19867
87ded0c3
AK
198682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19869
19870 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19871 the first argument and return value of __tls_get_addr_internal.
19872
c5eebdd0
AK
198732014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19874
19875 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19876 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19877
05d138ef
AK
198782014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19879
19880 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19881 * sysdeps/s390/rtld-global-offsets.sym: New file.
19882 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19883 GLIBC_2.19 symbol.
19884 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19885 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19886 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19887 ... this.
19888 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19889 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19890 ... this.
19891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19892 Regenerate.
19893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19894 Regenerate.
19895 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19896 halfs of GPRs for high_gprs contexts.
19897 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19898 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19899 field.
19900 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19901 uc_flags field.
19902 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19903 64 bit versions:
19904 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19905 for high GPRs (uc_high_gprs) and for future extensions
19906 (__reserved).
19907 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19908 for future extensions (__reserved).
19909 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19910 64 bit versions:
19911 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19912 SC_HIGHGPRS offset definition.
19913 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19914 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19915
93a45ff1
AK
19916 * Versions.def: Add GLIBC_2.19 for libpthread.
19917 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19918 siglongjmp for libpthread with GLIBC_2.19 symver.
19919 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19920 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19921 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19922 * sysdeps/s390/__longjmp.c: New file.
19923 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19924 * sysdeps/s390/longjmp.c: New file.
19925 * sysdeps/s390/setjmp.S: New file.
19926 * sysdeps/s390/sigjmp.S: New file.
19927 * sysdeps/s390/v1-longjmp.c: New file.
19928 * sysdeps/s390/v1-setjmp.h: New file.
19929 * sysdeps/s390/v1-sigjmp.c: New file.
19930 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19931 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19932 GLIBC_2.19 version.
19933 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19934 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19935 versioned symbols for ____longjmp_chk.
19936 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19937 Likewise.
19938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19939 Regenerate.
19940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19941 Regenerate.
19942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19943 Regenerate.
19944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19945 Regenerate.
19946 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19947 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19948 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19949 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19950 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19951 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19952 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19953 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19954 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19955 * sysdeps/s390/rtld-__longjmp.c: New file.
19956 * sysdeps/s390/rtld-setjmp.S: New file.
19957
eb3fc44b
JM
199582014-01-06 Joseph Myers <joseph@codesourcery.com>
19959
19960 [BZ #16400]
19961 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19962 Return -__logl (x) for small positive arguments without evaluating
19963 a polynomial.
19964
9341dde4
MF
199652014-01-06 Mike Frysinger <vapier@gentoo.org>
19966
19967 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19968 Rename to ...
19969 (__ptrace_peeksiginfo_args): ... this.
19970 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19971 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19972 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19973
4cff0293
AM
199742014-01-06 Allan McRae <allan@archlinux.org>
19975
19976 * inet/netinet/in.h: Fix typo in comment.
19977
75595dcf
AJ
199782014-01-05 Andreas Jaeger <aj@suse.de>
19979
19980 * sysdeps/i386/fpu/libm-test-ulps: Update.
19981
79c1e109
AM
199822014-01-05 Allan McRae <allan@archlinux.org>
19983
dd804818
AM
19984 * po/libc.pot: Regenerated.
19985
79c1e109
AM
19986 * malloc/memusagestat.c: Fix gettext call formatting.
19987
0c813d1f
SK
199882014-01-04 Sami Kerola <kerolasa@iki.fi>
19989
19990 * nscd/nscd.c: Improve usage() output.
19991
20f4a8d9
MF
199922014-01-04 Mike Frysinger <vapier@gentoo.org>
19993
19994 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19995 * sysdeps/unix/sysv/linux/configure: Regenerated.
19996 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19997 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19998
22562bb2
JM
199992014-01-03 Joseph Myers <joseph@codesourcery.com>
20000
20001 [BZ #16390]
20002 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20003 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20004
d7ad2d9b
AZ
200052014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20006
20007 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20008 extra tokens at end of #undef directive.
20009 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20010 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20011 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20012
7dd009d8
JM
200132014-01-03 Joseph Myers <joseph@codesourcery.com>
20014
24db925a
JM
20015 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20016
7dd009d8
JM
20017 * math/auto-libm-test-in: Mark various tests with
20018 xfail-rounding:ldbl-128ibm.
20019 * math/auto-libm-test-out: Regenerated.
20020
396e3ecf
JM
200212014-01-02 Joseph Myers <joseph@codesourcery.com>
20022
819e5d50
JM
20023 [BZ #16386]
20024 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20025 numbers with subnormal high part when calculating exponent.
20026
90b6a1e5
JM
20027 [BZ #16385]
20028 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20029 fabs.
20030
396e3ecf
JM
20031 [BZ #16384]
20032 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20033 M_LN2l.
20034 (__ieee754_acoshl): Use __log1pl not __log1p.
20035
6c8dbf00
OB
200362013-01-02 Ondřej Bílka <neleai@seznam.cz>
20037
57f41c40
AS
20038 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20039 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20040 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20041 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20042 (reused_arena, arena_get2): Convert to GNU style.
20043 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20044 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20045 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 20046 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
20047 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20048 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20049 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20050 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20051 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20052 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 20053 * malloc/malloc.h: Likewise.
57f41c40
AS
20054 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20055 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 20056 * malloc/mcheck.h: Likewise.
57f41c40
AS
20057 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20058 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
20059 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20060 * malloc/morecore.c (__default_morecore): Likewise.
20061 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
20062 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20063 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20064 (print_and_abort): Likewise.
6c8dbf00
OB
20065 * malloc/obstack.h: Likewise.
20066 * malloc/set-freeres.c (__libc_freeres): Likewise.
20067 * malloc/tst-mallocstate.c (main): Likewise.
20068 * malloc/tst-mtrace.c (main): Likewise.
20069 * malloc/tst-realloc.c (do_test): Likewise.
20070
d4124212
SP
200712013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20072
9a3c6a6f
SP
20073 [BZ #16366]
20074 * nscd/netgroupcache.c (do_notfound): New function.
20075 (addgetnetgrentX): Use it.
20076
d4124212
SP
20077 [BZ # 16365]
20078 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20079 NSS_STATUS_NOTFOUND.
20080
97b9a009
JM
200812014-01-01 Joseph Myers <joseph@codesourcery.com>
20082
20083 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20085
d4697bc9
AM
200862014-01-01 Allan McRae <allan@archlinux.org>
20087
ddb3687f
AM
20088 * scripts/update-copyrights: Update configure input file suffix.
20089
88726d48
AM
20090 * NEWS: Update copyright year.
20091 * catgets/gencat.c: Likewise.
20092 * csu/version.c: Likewise.
20093 * debug/catchsegv.sh: Likewise.
20094 * debug/pcprofiledump.c: Likewise.
20095 * debug/xtrace.sh: Likewise.
20096 * elf/ldconfig.c: Likewise.
20097 * elf/ldd.bash.in: Likewise.
20098 * elf/pldd.c: Likewise.
20099 * elf/sotruss.ksh: Likewise.
20100 * elf/sprof.c: Likewise.
20101 * iconv/iconv_prog.c: Likewise.
20102 * iconv/iconvconfig.c: Likewise.
20103 * locale/programs/locale.c: Likewise.
20104 * locale/programs/localedef.c: Likewise.
20105 * login/programs/pt_chown.c: Likewise.
20106 * malloc/memusage.sh: Likewise.
20107 * malloc/memusagestat.c: Likewise.
20108 * malloc/mtrace.pl: Likewise.
20109 * manual/libc.texinfo: Likewise.
20110 * nscd/nscd.c: Likewise.
20111 * nss/getent.c: Likewise.
20112 * nss/makedb.c: Likewise.
20113 * posix/getconf.c: Likewise.
20114 * scripts/test-installation.pl: Likewise.
20115
d4697bc9
AM
20116 * All files with FSF copyright notices: Update copyright dates
20117 using scripts/update-copyrights.
20118 * intl/plural.c: Regenerated.
20119 * locale/programs/charmap-kw.h: Likewise.
20120 * locale/programs/locfile-kw.h: Likewise.
20121
c8590f9d
MF
201222013-12-31 Mike Frysinger <vapier@gentoo.org>
20123
20124 * sysdeps/unix/sysv/linux/configure: Regenerated.
20125 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20126 the linux/fanotify.h header.
20127 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20128 HAVE_LINUX_FANOTIFY_H is defined.
20129
b19221b9
SP
201302013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20131
dd1d85e5
SP
20132 * benchtests/cos-inputs: New inputs.
20133 * benchtests/sin-inputs: Likewise.
20134
1acbb90f
SP
20135 * benchtests/atan-inputs: New inputs. Fix name of multiple
20136 precision fallback inputs.
20137
4c012ed3
SP
20138 * benchtests/atanh-inputs: New inputs.
20139 * benchtests/tanh-inputs: Likewise.
20140
eff98324
SP
20141 * benchtests/acosh-inputs: New inputs.
20142 * benchtests/asinh-inputs: Likewise.
20143
ce641152
SP
20144 * benchtests/cosh-inputs: New inputs.
20145 * benchtests/sinh-inputs: Likewise.
20146
b19221b9
SP
20147 * benchtests/acos-inputs: Add more inputs.
20148 * benchtests/asin-inputs: Likewise.
20149
030a4976 201502013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 20151
030a4976 20152 [BZ #16375]
9dcc8f11
VS
20153 * manual/arith.texi: Fix spelling.
20154 * manual/charset.texi: Likewise.
20155 * manual/errno.texi: Likewise.
20156 * manual/filesys.texi: Likewise.
20157 * manual/lang.texi: Likewise.
20158 * manual/llio.texi: Likewise.
20159 * manual/locale.texi: Likewise.
20160 * manual/message.texi: Likewise.
20161 * manual/resource.texi: Likewise.
20162 * manual/search.texi: Likewise.
20163 * manual/setjmp.texi: Likewise.
20164 * manual/stdio.texi: Likewise.
20165 * manual/string.texi: Likewise.
20166 * manual/sysinfo.texi: Likewise.
20167 * manual/time.texi: Likewise.
20168
11520a57
CD
201692013-12-27 Carlos O'Donell <carlos@redhat.com>
20170
20171 * po/sl.po: New file.
20172
471103ae
MF
201732013-12-27 Mike Frysinger <vapier@gentoo.org>
20174
20175 * .gitignore: Add core/.gdbinit/.gdb_history.
20176
6c9642ed
AM
201772013-12-27 Allan McRae <allan@archlinux.org>
20178
20179 [BZ #16369]
20180 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20181 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20182
3f637079
BM
201832013-12-24 Brooks Moses <bmoses@google.com>
20184
20185 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20186 all compilers that claim C++98 compliance, not just GCC.
20187 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20188 Likewise.
20189
abc26e99
MK
201902013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20191
20192 * NEWS: Restore accidentally deleted bug-fix entries.
20193
362b47fe
MK
201942013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20195 Ondřej Bílka <neleai@seznam.cz>
20196
20197 [BZ #15073]
20198 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 20199 have_lock.
362b47fe 20200
b9bcbbcb
OB
202012013-12-23 Ondřej Bílka <neleai@seznam.cz>
20202
20203 [BZ #12986]
20204 * manual/stdio.texi (String Input Conversions): Clarify that character
20205 classes are not supported.
20206
fb55fcd2
AZ
202072013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20208
20209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20210
ef7344f0
JM
202112013-12-22 Joseph Myers <joseph@codesourcery.com>
20212
4f40e4b3
JM
20213 [BZ #16337]
20214 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20215 Calculate results for small negative arguments directly rather
20216 than using reflection formula with special underflow handling.
20217
ef7344f0
JM
20218 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20219 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20220 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20221 (fchflags): Likewise.
20222 (revoke): Likewise.
20223 (setlogin): Likewise.
20224 (sigaltstack): Likewise.
20225 (wait4): Likewise.
20226 (sigblock): Remove.
20227 (sigsetmask): Likewise.
20228 (wait3): Likewise.
20229 (waitpid): Likewise.
20230 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20231 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20232 file.
20233 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20234 * sysdeps/unix/bsd/Makefile: ... here.
20235 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20236 * sysdeps/unix/bsd/Versions: ... here.
20237 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20238 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20239 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20240 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20241 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20242 * sysdeps/unix/bsd/sigblock.c: ... here.
20243 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20244 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20245 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20246 * sysdeps/unix/bsd/sigvec.c: ... here.
20247 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20248 * sysdeps/unix/bsd/tcdrain.c: ... here.
20249 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20250 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20251 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20252 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20253 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20254 * sysdeps/unix/bsd/wait.c: ... here.
20255 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20256 * sysdeps/unix/bsd/wait3.c: ... here.
20257 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20258 * sysdeps/unix/bsd/waitpid.c: ... here.
20259
5b0626b9
JM
202602013-12-21 Joseph Myers <joseph@codesourcery.com>
20261
20262 [BZ #16356]
20263 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20264 round-to-nearest for [!USE_AS_EXPM1L].
20265 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20266 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20267 more tests of exp and exp10. Expect some exp10 tests to miss
20268 exceptions or fail in directed rounding modes.
20269 * math/auto-libm-test-out: Regenerated.
20270 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20271 (exp10_test_tonearest): New function.
20272 (exp10_towardzero_test_data): New array.
20273 (exp10_test_towardzero): New function.
20274 (exp10_downward_test_data): New array.
20275 (exp10_test_downward): New function.
20276 (exp10_upward_test_data): New array.
20277 (exp10_test_upward): New function.
20278 (main): Call the new functions.
20279 * sysdeps/i386/fpu/libm-test-ulps: Update.
20280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20281
7fda5682
JM
202822013-12-20 Joseph Myers <joseph@codesourcery.com>
20283
31e3a405
JM
20284 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20285 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20286 * math/auto-libm-test-out: Regenerated.
20287 * math/libm-test.inc (acosh_test_data): Add more tests.
20288 (atanh_test_data): Likewise.
20289 (ceil_test_data): Likewise.
20290 (copysign_test_data): Likewise.
20291 * sysdeps/i386/fpu/libm-test-ulps: Update.
20292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20293
85bff96a
JM
20294 * timezone/checktab.awk: Update from tzcode 2013i.
20295 * timezone/private.h: Likewise.
20296 * timezone/scheck.c: Likewise.
20297 * timezone/tzfile.h: Likewise.
20298 * timezone/tzselect.ksh: Likewise.
20299 * timezone/zdump.c: Likewise.
20300 * timezone/zic.c: Likewise.
20301
b7867a3b
JM
20302 * math/auto-libm-test-in: Add tests of cpow.
20303 * math/auto-libm-test-out: Regenerated.
20304 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20305 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20306 mpc_cc_c.
20307 (func_calc_desc): Add mpc_cc_c union field.
20308 (test_functions): Add cpow.
20309 (special_fill_2pi): New function.
20310 (special_real_inputs): Add 2pi.
20311 (calc_generic_results): Handle mpc_cc_c.
20312 * sysdeps/i386/fpu/libm-test-ulps: Update.
20313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20314
7fda5682
JM
20315 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20316 csqrt, ctan and ctanh.
20317 * math/auto-libm-test-out: Regenerated.
20318 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20319 (TEST_COND_x86): Likewise.
20320 (ccos_test_data): Use AUTO_TESTS_c_c.
20321 (ccosh_test_data): Likewise.
20322 (cexp_test_data): Likewise.
20323 (clog_test_data): Likewise.
20324 (csqrt_test_data): Likewise.
20325 (ctan_test_data): Likewise.
20326 (ctan_tonearest_test_data): Likewise.
20327 (ctan_towardzero_test_data): Likewise.
20328 (ctan_downward_test_data): Likewise.
20329 (ctan_upward_test_data): Likewise.
20330 (ctanh_test_data): Likewise.
20331 (ctanh_tonearest_test_data): Likewise.
20332 (ctanh_towardzero_test_data): Likewise.
20333 (ctanh_downward_test_data): Likewise.
20334 (ctanh_upward_test_data): Likewise.
20335 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20336 mpc_c_c.
20337 (func_calc_desc): Add mpc_c_c union field.
20338 (FUNC_mpc_c_c): New macro.
20339 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20340 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20341 ctanh.
20342 (special_fill_min_subnorm_p120): New function.
20343 (special_real_inputs): Add min_subnorm_p120.
20344 (calc_generic_results): Handle mpc_c_c.
20345 * sysdeps/i386/fpu/libm-test-ulps: Update.
20346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20347
5ff8d60e
SP
203482013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20349
57f41c40
AS
20350 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20351 (do_sin_slow): New functions.
20352 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20353 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20354
84ba214c
SP
20355 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20356 Use M to change sign of result instead of X. Assume X is
20357 positive.
20358 (csloww1): Likewise.
20359 (__sin): Adjust.
20360 (__cos): Adjust.
20361
975195e4
SP
20362 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20363 arguments A and DA.
20364 (__sin): Adjust.
20365 (__cos): Likewise.
20366
5ff8d60e
SP
20367 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20368 (__cos): Likewise.
20369 (sloww1): Don't adjust sign of DX.
20370 (csloww1): Likewise.
20371 (sloww2): Use X directly and don't adjust sign of DX.
20372 (csloww2): Likewise.
20373
eb983568
JM
203742013-12-19 Joseph Myers <joseph@codesourcery.com>
20375
64a17f1a
JM
20376 * math/auto-libm-test-in: Add tests of cabs and carg.
20377 * math/auto-libm-test-out: Regenerated.
20378 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20379 (carg_test_data): Likewise.
20380 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20381 mpc_c_f.
20382 (func_calc_desc): Add mpc_c_f union field.
20383 (test_functions): Add cabs and carg.
20384 (calc_generic_results): Handle mpc_c_f.
20385
eb983568
JM
20386 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20387 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20388 as a macro and a compat symbol.
20389 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20390 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20391 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20392 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20393 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20394 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20395 not use .hidden.
20396 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20397 Likewise.
20398 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20399 Likewise.
20400 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20401 Likewise.
20402 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20403 Likewise.
20404 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20405 Likewise.
20406 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20407 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20408 from GLIBC_2.3.2.
20409
6eeb678a
AZ
204102013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20411
20412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20413
6f6fc482
JM
204142013-12-19 Joseph Myers <joseph@codesourcery.com>
20415
21fea2e2
JM
20416 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20417 trailing whitespace removed.
20418 * scripts/config.guess: Update to version 2013-11-29.
20419 * scripts/config.sub: Update to version 2013-10-01.
20420
6f6fc482
JM
20421 * math/auto-libm-test-in: Add tests of sincos.
20422 * math/auto-libm-test-out: Regenerated.
20423 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20424 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20425 mpfr_f_11.
20426 (func_calc_desc): Add mpfr_f_11 union field.
20427 (test_functions): Add sincos.
20428 (calc_generic_results): Handle mpfr_f_11.
20429 * sysdeps/i386/fpu/libm-test-ulps: Update.
20430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20431
83f5c32d
AS
204322013-12-19 Andreas Schwab <schwab@suse.de>
20433
20434 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20435 CALL_MCOUNT.
20436 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20437 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20438 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20439
c688b419
JM
204402013-12-19 Joseph Myers <joseph@codesourcery.com>
20441
335ee092
JM
20442 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20443 * sysdeps/i386/fpu/libm-test-ulps: Update.
20444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20445
f88acd39
JM
20446 [BZ #16293]
20447 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20448 round-to-nearest mode when using frndint.
20449 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20450 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20451 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20452 Likewise.
20453 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20454 sinh test to fail.
20455 * math/auto-libm-test-out: Regenerated.
20456 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20457 (TEST_COND_x86): Likewise.
20458 (expm1_tonearest_test_data): New array.
20459 (expm1_test_tonearest): New function.
20460 (expm1_towardzero_test_data): New array.
20461 (expm1_test_towardzero): New function.
20462 (expm1_downward_test_data): New array.
20463 (expm1_test_downward): New function.
20464 (expm1_upward_test_data): New array.
20465 (expm1_test_upward): New function.
20466 (main): Run the new test functions.
20467 * sysdeps/i386/fpu/libm-test-ulps: Update.
20468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20469
c688b419
JM
20470 * include/features.h: Update comment documenting feature test
20471 macros. Mention _DEFAULT_SOURCE in comment.
20472 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20473 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20474 _BSD_SOURCE and _SVID_SOURCE.
20475 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20476 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20477 !_SVID_SOURCE]: Likewise.
20478 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20479 (__USE_POSIX_IMPLICITLY): Define.
20480 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20481 (_POSIX_SOURCE): Undefine and redefine.
20482 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20483 (_POSIX_C_SOURCE): Likewise.
20484 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20485 (Feature Test Macros): Update documentation of default features.
20486
9f6e964c
RS
204872013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20488
20489 * benchtests/Makefile: Add bench-strtok.
20490 * benchtests/bench-strtok.c: New file: strtok benchtest.
20491
ee0a148a
AM
204922013-12-19 Allan McRae <allan@archlinux.org>
20493
20494 * manual/install.texi: Suppress menu for plain text output.
20495 * INSTALL: Regenerated.
20496
b9ab448f
BM
204972013-12-18 Brooks Moses <bmoses@google.com>
20498
20499 [BZ #15846]
20500 * misc/getauxval.c: Include errno.h.
20501 (__getauxval): Set errno to ENOENT if the requested type is not
20502 found.
20503 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20504 don't declare with __attribute_const__.
20505 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20506 * manual/startup.texi: Document that getauxval sets errno.
20507
23776487
JM
205082013-12-18 Joseph Myers <joseph@codesourcery.com>
20509
f889953b
JM
20510 * math/auto-libm-test-in: Add tests of jn and yn.
20511 * math/auto-libm-test-out: Regenerated.
20512 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20513 (yn_test_data): Likewise.
20514 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20515 mpfr_if_f.
20516 (func_calc_desc): Add mpfr_if_f union field.
20517 (FUNC_mpfr_if_f): New macro.
20518 (test_functions): Add jn and yn.
20519 (calc_generic_results): Assert type of second input for
20520 mpfr_ff_f. Handle mpfr_if_f.
20521 (output_for_one_input_case): Disable all checking for arguments
20522 fitting floating-point types in case of an integer argument.
20523 * sysdeps/i386/fpu/libm-test-ulps: Update.
20524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20525
23776487
JM
20526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20527 Don't expect fegetround reference in libm.so.
20528
cb756c6d
MS
205292013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20530
20531 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20532 $(config-cflags-nofma).
20533
2dec468f
JM
205342013-12-18 Joseph Myers <joseph@codesourcery.com>
20535
5953eb3a
JM
20536 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20537 * math/auto-libm-test-out: Regenerated.
20538
2dec468f
JM
20539 [BZ #16338]
20540 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20541 to determine exponent and adjust argument to have exponent of -1.
20542 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20543 log2.
20544 * math/auto-libm-test-out: Regenerated.
20545 * sysdeps/i386/fpu/libm-test-ulps: Update.
20546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20547
4d84e6ad
OB
205482013-12-18 Ondřej Bílka <neleai@seznam.cz>
20549
20550 * manual/probes.texi: Remove cases when per-thread arenas are
20551 disabled.
20552
1818483b
AS
205532013-12-18 Andreas Schwab <schwab@suse.de>
20554
20555 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20556 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20557 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20558 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20559 * sysdeps/i386/i686/multiarch/Makefile: Update.
20560 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20561
25de95bf
JM
205622013-12-17 Joseph Myers <joseph@codesourcery.com>
20563
20564 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20565 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20566
674762d9
PE
205672013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20568
ed27ed83 20569 [BZ #15968]
0748546f
PE
20570 Support TZ transition times < 00:00:00.
20571 This is needed for version-3 tz-format files; it supports time
20572 stamps past 2037 for America/Godthab (the only entry in the tz
20573 database for which this change is relevant).
20574 * manual/time.texi (TZ Variable): Document transition times
20575 from -167:59:59 through -00:00:01.
20576 * time/tzset.c (tz_rule): Time of day is now signed.
20577 (__tzset_parse_tz): Parse negative time of day.
20578
4480e934
PE
20579 Document TZ transition times >= 25:00:00.
20580 * manual/time.texi (TZ Variable): Document transition times from
20581 25:00:00 through 167:59:59. These are already supported, and this
20582 support will help with version-3 tz-format files.
20583
69947401
PE
20584 * manual/time.texi (TZ Variable): Modernize North America example
20585 to reflect current (i.e., 2007-and-later) daylight saving rules.
20586
674762d9
PE
20587 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20588
7011c262
JM
205892013-12-17 Joseph Myers <joseph@codesourcery.com>
20590
2fc6557e
JM
20591 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20592 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20593 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20594 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20595 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20596 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20597 * sysdeps/unix/bsd/clock.c: Likewise.
20598 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20599 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20600 * sysdeps/unix/bsd/init-posix.c: Likewise.
20601 * sysdeps/unix/bsd/poll.c: Likewise.
20602 * sysdeps/unix/bsd/ptsname.c: Likewise.
20603 * sysdeps/unix/bsd/seekdir.c: Likewise.
20604 * sysdeps/unix/bsd/setegid.c: Likewise.
20605 * sysdeps/unix/bsd/seteuid.c: Likewise.
20606 * sysdeps/unix/bsd/setgid.c: Likewise.
20607 * sysdeps/unix/bsd/setrgid.c: Likewise.
20608 * sysdeps/unix/bsd/setruid.c: Likewise.
20609 * sysdeps/unix/bsd/setsid.c: Likewise.
20610 * sysdeps/unix/bsd/setuid.c: Likewise.
20611 * sysdeps/unix/bsd/sigaction.c: Likewise.
20612 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20613 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20614 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20615 * sysdeps/unix/bsd/telldir.c: Likewise.
20616 * sysdeps/unix/bsd/times.c: Likewise.
20617 * sysdeps/unix/bsd/usleep.c: Likewise.
20618
029c7b25
JM
20619 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20620 ($(objpfx)libbsd-compat.a): Remove rule.
20621
7011c262
JM
20622 * include/features.h (__FAVOR_BSD): Do not define.
20623 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20624 features conflicting with POSIX.
20625 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20626 (_BSD_SOURCE): Remove description of not being a subset of other
20627 feature test macros.
20628 * manual/job.texi (getpgrp): Do not document BSD version.
20629 (getpgid): Do not document by reference to BSD getpgrp.
20630 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20631 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20632 * signal/signal.h [__FAVOR_BSD]: Likewise.
20633 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20634 instead of making contents conditional on [__FAVOR_BSD].
20635 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20636
affb6f78
AZ
206372013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20638
20639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20640
c88769dd
JM
206412013-12-17 Joseph Myers <joseph@codesourcery.com>
20642
6432a540
JM
20643 [BZ #16314]
20644 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20645 values below 2**-450, not 2**-500.
20646 * math/auto-libm-test-in: Don't allow spurious underflow from
20647 hypot.
20648 * math/auto-libm-test-out: Regenerated.
20649
c88769dd
JM
20650 [BZ #16316]
20651 [BZ #16330]
20652 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20653 values of ha and hb and sort them after adjusting subnormal
20654 arguments.
20655 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20656 Likewise.
20657 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20658 values of ea and eb and sort them after adjusting subnormal
20659 arguments.
20660 * math/auto-libm-test-in: Do not expect some hypot tests of
20661 subnormals to fail. Add more hypot tests.
20662 * math/auto-libm-test-out: Regenerated.
20663
29618f6b
KK
206642013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20665
20666 [BZ #13304]
20667 * sysdeps/sh/s_fma.c: New file.
20668 * sysdeps/sh/s_fmaf.c: New file.
20669 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20670 version.
20671 * sysdeps/sh/Implies: Add sh/soft-fp.
20672
eacfdfbf
RM
206732013-12-16 Roland McGrath <roland@hack.frob.com>
20674
20675 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20676 level of indirection to members `objname', `errstring', `malloced'.
20677 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20678 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20679 it as the __longjmp argument (just pass 1 instead).
20680 (_dl_catch_error): Initialize C with argument pointers and address of
20681 volatile local ERRCODE rather than copying values out of C at return.
20682
ff362e5b
JM
206832013-12-16 Joseph Myers <joseph@codesourcery.com>
20684
20685 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20686 * math/auto-libm-test-out: Regenerated.
20687 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20688 (hypot_test_data): Likewise.
20689 (pow_test_data): Likewise.
20690 (pow_tonearest_test_data): Likewise.
20691 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20692 mpfr_ff_f.
20693 (func_calc_desc): Add mpfr_ff_f union field.
20694 (FUNC_mpfr_ff_f): New macro.
20695 (test_functions): Add atan2, hypot and pow.
20696 (special_fill_min): New function.
20697 (special_fill_minus_min): Likewise.
20698 (special_fill_min_subnorm): Likewise.
20699 (special_fill_minus_min_subnorm): Likewise.
20700 (special_real_inputs): Add min, -min, min_subnorm and
20701 -min_subnorm.
20702 (calc_generic_results): Handle mpfr_ff_f.
20703 * sysdeps/i386/fpu/libm-test-ulps: Update.
20704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20705
5764c27f
WN
207062013-12-16 Will Newton <will.newton@linaro.org>
20707
20708 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20709 (Aligned Memory Blocks): Add documentation for aligned_alloc
20710 and suggest it as an alternative to posix_memalign.
20711 (Hooks for Malloc): Document __memalign_hook is also called
20712 for aligned_alloc. (Summary of Malloc): Add summary for
20713 aligned alloc. Document __memalign_hook is also called
20714 for aligned_alloc.
20715
0a096e44
WN
207162013-12-16 Will Newton <will.newton@linaro.org>
20717
20718 * manual/memory.texi (Malloc Examples): Clarify default
20719 alignment documentation. Suggest posix_memalign rather
20720 than memalign or valloc.
20721 (Aligned Memory Blocks): Remove suggestion to use memalign
20722 or valloc. Remove obsolete comment about BSD.
20723 Document memalign errno values and mark the function obsolete.
20724 Document posix_memalign returned error codes. Mark valloc
20725 as obsolete. (Hooks for Malloc): __memalign_hook is also
20726 called for posix_memalign and valloc.
20727 (Summary of Malloc): Add posix_memalign to function summary.
20728 __memalign_hook is also called for posix_memalign and valloc.
20729
8d561986
SP
207302013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20731
20732 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20733 TAYLOR_SIN.
20734 (__sin): Adjust.
20735 (__cos): Likewise.
20736 (sloww): Use mynumber union. Expand ternary operator into
20737 if-else statements.
20738 (cslow): use mynumber union.
20739
73616a74
AM
207402013-12-16 Allan McRae <allan@archlinux.org>
20741
9e8ac24b
AM
20742 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20743 * configure: Regenerated.
20744
6f8e37eb
AM
20745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20746
8894bad3
AM
20747 [BZ #14120]
20748 * configure.ac: Added --enable-maintainer-mode. Check for
20749 autoconf when enabled.
20750 * configure: Regenerated.
20751
73616a74
AM
20752 * nscd/nscd.service: New file.
20753 * nscd/nscd.tmpfiles: New file.
20754
584b18eb
OB
207552013-12-14 Ondřej Bílka <neleai@seznam.cz>
20756
20757 [BZ #12100]
20758 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20759 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20760 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20761 (strstr): Add __strstr_sse2_unaligned ifunc.
20762 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20763 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20764 (strcasestr): Remove __strcasestr_sse42 ifunc.
20765 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20766 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20768
8a5c7897
KK
207692013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20770
20771 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20772 * sysdeps/sh/bits/fenv.h: ... here.
20773 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20774
fd712ef3
AZ
207752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20776
20777 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20778
42fcb46c
AZ
20779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20780 hypotf multiarch implementations.
20781 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20782 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20783 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20784 multiarch hypot for PPC64.
20785 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20786 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20787 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20788 multiarch hypotf for PPC64.
20789
83efded4
AZ
20790 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20791 modff multiarch implementations.
20792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20795 multiarch modf for PPC64.
20796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20799 multiarch modff for PPC64.
20800
43e246d2
AZ
20801 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20802 and logl multiarch implementations.
20803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20806 multiarch logb for PPC64.
20807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20810 multiarch logb for PPC64.
20811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20814 multiarch logb for PPC64.
20815
8fdad123
AZ
20816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20817 isinff multiarch implementation.
20818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20819 file.
20820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20822 multiarch isinf for PPC64.
20823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20824 file.
20825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20826 multiarch isinff for PPC64.
20827
1481d706
AZ
20828 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20829 finitef multiarch implementation.
20830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20831 file.
20832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20834 multiarch finite for PPC64.
20835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20836 file.
20837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20838 multiarch finitef for PPC64.
20839
5ccd5fc8
AZ
20840 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20841 lrint multiarch implementation.
20842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20843 file.
20844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20846 multiarch llrint for PPC64.
20847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20848 multiarch lrint for PPC64.
20849
2568f3fa
AZ
20850 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20851 copysignf multiarch implementation.
20852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20853 file.
20854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20855 file.
20856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20857 multiarch copysign for PPC64.
20858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20859 multiarch copysignf for PPC64.
20860
1cb341fd
AZ
20861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20862 multiarch implementation.
20863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20864 file.
20865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20866 file.
20867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20868 file.
20869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20870 file.
20871 multiarch llround for PPC64.
20872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20873 multiarch trunc for PPC64.
20874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20875 multiarch truncf for PPC64.
20876
59a3e194
AZ
20877 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20878 multiarch implementation.
20879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20880 file.
20881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20882 file.
20883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20884 file.
20885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20886 file.
20887 multiarch llround for PPC64.
20888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20889 multiarch round for PPC64.
20890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20891 multiarch roundf for PPC64.
20892
357fd3b4
AZ
20893 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20894 multiarch implementation.
20895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20896 file.
20897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20898 file.
20899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20900 file.
20901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20902 file.
20903 multiarch llround for PPC64.
20904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20905 multiarch floor for PPC64.
20906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20907 multiarch floorf for PPC64.
20908
96770f12
AZ
20909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20910 multiarch implementation.
20911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20912 file.
20913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20914 file.
20915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20916 file.
20917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20918 file.
20919 multiarch llround for PPC64.
20920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20921 multiarch ceil for PPC64.
20922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20923 multiarch ceilf for PPC64.
20924
c3627f6e
AZ
20925 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20926 multiarch implementation.
20927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20928 file.
20929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20930 file.
20931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20932 file.
20933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20934 multiarch llround for PPC64.
20935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20936 multiarch lround for PPC64.
20937
b2284ad7
AZ
20938 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20939 multiarch implementation.
20940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20943 file.
20944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20947 multiarch isnan for PPC64.
20948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20949 multiarch isnanf for PPC64.
20950
69bbc63d
AZ
20951 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20952 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20953 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20954 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20955 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20957
c24517c9
AZ
20958 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20959 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20960 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20961 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20962
a52374e8
AZ
20963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20964 multiarch implementations.
20965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20966 (__libc_ifunc_impl_list): Likewise.
20967 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20968 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20969 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20970 multiarch stpcpy for PPC64.
20971
7f5ec113
AZ
20972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20973 multiarch implementations.
20974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20975 (__libc_ifunc_impl_list): Likewise.
20976 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20977 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20978 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20979 multiarch strcpy for PPC64.
20980
e28bcd42
AZ
20981 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20982 redefine function name.
20983 (_wordcopy_fwd_dest_aligned): Likewise.
20984 (_wordcopy_bwd_aligned): Likewise.
20985 (_wordcopy_bwd_dest_aligned): Likewise.
20986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20987 multiarch implementations.
20988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20989 (__libc_ifunc_impl_list): Likewise.
20990 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20991 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20992 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20993 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20994 multiarch wcscpy for PPC64.
20995
92cacfce
AZ
20996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20997 multiarch implementations.
20998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20999 (__libc_ifunc_impl_list): Likewise.
21000 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21001 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21002 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21003 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21004 multiarch wcscpy for PPC64.
21005
7b714620
AZ
21006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21007 multiarch implementations.
21008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21009 (__libc_ifunc_impl_list): Likewise.
21010 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21011 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21012 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21013 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21014 multiarch wcsrchr for PPC64.
21015
16fd2ae3
AZ
21016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21017 multiarch implementations.
21018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21019 (__libc_ifunc_impl_list): Likewise.
21020 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21021 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21022 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21023 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21024 multiarch wcschr for PPC64.
21025
9ee2969b
AZ
21026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21027 multiarch implementations.
21028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21029 (__libc_ifunc_impl_list): Likewise.
21030 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21031 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21032 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21033 multiarch strchrnul for PPC64.
21034
372dc060
AZ
21035 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21036 implementations.
21037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21038 (__libc_ifunc_impl_list): Likewise.
21039 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21040 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21041 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21042 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21043 strchr for PPC64.
21044
24c2c3b9
AZ
21045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21046 implementations.
21047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21048 (__libc_ifunc_impl_list): Likewise.
21049 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21050 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21051 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21052 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21053 strncmp for PPC64.
21054
1c92d9a0
AZ
21055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21056 multiarch implementations.
21057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21058 (__libc_ifunc_impl_list): Likewise.
21059 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21060 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21061 strncasecmp for PPC64.
21062 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21063 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21064 multiarch strncasecmp_l for PPC64.
21065
17de3ee3
AZ
21066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21067 multiarch implementations.
21068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21069 (__libc_ifunc_impl_list): Likewise.
21070 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21071 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21072 multiarch strcasecmp for PPC64.
21073 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21074 file.
21075 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21076 multiarch strcasecmp_l for PPC64.
21077
62982bf9
AZ
21078 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21079 implementations.
21080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21081 (__libc_ifunc_impl_list): Likewise.
21082 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21083 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21084 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21085 strnlen for PPC64.
21086
a65f4904
AZ
21087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21088 implementations.
21089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21090 (__libc_ifunc_impl_list): Likewise.
21091 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21092 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21093 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21094 strlen for PPC64.
21095
1fd005ad
AZ
21096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21097 implementations.
21098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21099 (__libc_ifunc_impl_list): Likewise.
21100 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21101 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21102 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21103 rawmemrchr for PPC64.
21104
cd05ba91
AZ
21105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21106 implementation.
21107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21108 (__libc_ifunc_impl_list): Likewise.
21109 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21110 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21111 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21112 memrchr for PPC64.
21113
870f8676
AZ
21114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21115 implementation.
21116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21117 (__libc_ifunc_impl_list): Likewise.
21118 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21119 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21120 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21121 memchr for PPC64.
21122
f00be62b
AZ
21123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21124 implementation.
21125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21126 (__libc_ifunc_impl_list): Likewise.
21127 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21128 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21129 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21130 mempcpy for PPC64.
21131
8a29a3d0
AZ
21132 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21133 avoid cretion of __bzero symbol.
21134 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21135 Likewise.
21136 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21137 Likewise.
21138 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21139 Likewise.
21140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21141 multiarch implementations.
21142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21143 (__libc_ifunc_impl_list): Likewise.
21144 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21145 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21146 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21147 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21148 bzero for PPC32.
21149 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21150 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21151 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21152 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21153 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21154 memset for PPC64.
21155 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21156
07253fcf
AZ
21157 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21159 implementations.
21160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21161 (__libc_ifunc_impl_list): Likewise.
21162 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21163 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21164 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21165 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21166 memcmp for PPC64.
21167
b5beafbc
AZ
21168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21169 multiarch for POWER/PPC64.
21170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21171 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21172 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21173 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21174 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21175 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21176 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21177 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21178 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21179 memcpy for PPC64.
21180
5e6a4d4b
AZ
21181 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21182 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21183 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21184 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21185 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21186 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21187 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21188 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21189 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21190 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21191 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21192 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21193 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21194 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21195 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21203
ddfab6dc
KK
212042013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21205
21206 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21207
19b5525e
SP
212082013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21209
21210 * benchtests/Makefile (bench): Add exp2 and log2.
21211 (LDLIBS-bench-exp2): Add -lm.
21212 (LDLIBS-bench-log2): Likewise.
21213 * benchtests/exp2-inputs: New inputs file.
21214 * benchtests/log2-inputs: New inputs file.
21215 * benchtests/log-inputs: Add new inputs.
21216 * benchtests/tan-inputs: Likewise.
21217
196f7f5d
SP
212182013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21219
7a74607f
SP
21220 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21221 definition...
57f41c40
AS
21222 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21223 (csloww2): ... from here.
7a74607f 21224
196f7f5d
SP
21225 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21226 instead of structures.
21227 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21228 (POLYNOMIAL): Likewise.
21229 (TAYLOR_SLOW): Likewise.
21230 (__sin): Likewise.
21231 (__cos): Likewise.
21232 (slow1): Likewise.
21233 (slow2): Likewise.
21234 (sloww): Likewise.
21235 (sloww1); Likewise.
21236 (sloww2): Likewise.
21237 (bsloww1): Likewise.
21238 (bsloww2): Likewise.
21239 (cslow2): Likewise.
21240 (csloww): Likewise.
21241 (csloww1): Likewise.
21242 (csloww2): Likewise.
21243
0dfa665c
OB
212442013-12-10 Ondřej Bílka <neleai@seznam.cz>
21245
21246 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21247 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21248 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21249 * malloc/hooks.c (realloc_check): Likewise.
21250
5782a80f
OB
21251 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21252 * malloc/arena.c: Remove PER_THREAD conditional.
21253 [!PER_THREAD]: Remove code.
21254 (ptmalloc_unlock_all2): Likewise.
21255 (ptmalloc_init): Likewise.
21256 (_int_new_arena): Likewise.
21257 (arena_get2): Likewise.
21258 * malloc/hooks.c (__malloc_get_state): Likewise.
21259 (__malloc_set_state): Likewise.
21260 * malloc/malloc.c: Likewise.
21261 (struct malloc_state): Likewise.
21262 (struct malloc_par): Likewise.
21263 (__libc_realloc): Likewise.
21264 (__libc_mallopt): Likewise.
21265
aeb95445
AZ
212662013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21267
21268 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21269
e8349efd
OB
212702013-12-09 Ondřej Bílka <neleai@seznam.cz>
21271
21272 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21273 macro to a function. Check for zero perturb_byte.
21274 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21275
f3eeb3fc 21276 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21277 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21278 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21279 force_reg by atomic_forced_read.
21280 * malloc/arena.c (ptmalloc_init): Likewise.
21281 * malloc/hooks.c (top_check): Likewise.
21282
be2f9009
AZ
212832013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21284
21285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21286
e7b914bd
MT
212872013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21288
21289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21290
9f0be4f8
JM
212912013-12-08 Joseph Myers <joseph@codesourcery.com>
21292
21293 * math/auto-libm-test-in: Add tests of lgamma.
21294 * math/auto-libm-test-out: Regenerated.
21295 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21296 (M_LOG_2_SQRT_PIl): Likewise.
21297 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21298 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21299 mpfr_f_f1.
21300 (func_calc_desc): Add mpfr_f_f1 union field.
21301 (ARGS1): New macro.
21302 (ARGS2): Likewise.
21303 (ARGS3): Likewise.
21304 (ARGS4): Likewise.
21305 (RET1): Likewise.
21306 (RET2): Likewise.
21307 (CALC): Likewise.
21308 (FUNC): Likewise.
21309 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21310 (test_functions): Add lgamma.
21311 (calc_generic_results): Handle mpfr_f_f1.
21312 * sysdeps/i386/fpu/libm-test-ulps: Update.
21313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21314
24eeafdb
AZ
213152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21316
21317 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21318 __mpn_add_n for PowerPC64/POWER7.
21319 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21320 __mpn_sub_n for PowerPC64/POWER7.
21321
4a2c0fd4
AZ
21322 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21323 __mpn_addmul_1 for PowerPC64.
21324 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21325 __mpn_submul_1 for PowerPC64.
21326 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21327 for PowerPC64.
21328 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21329 for PowerPC64.
21330
4b5b548c
FS
213312013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21332
21333 [BZ #15089]
21334 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21335
0a3ac0aa
AZ
213362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21337
21338 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21339
ccdc8438
AZ
21340 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21341 add multiarch folders.
21342 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21343 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21344 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21345 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21346 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21347 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21348 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21349 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21350 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21351 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21352 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21359
2e973d99
AZ
21360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21361 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21363 New file.
21364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21365 New file.
21366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21367 multiarch __ieee754_hypot for PowerPC32.
21368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21369 New file.
21370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21371 New file.
21372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21373 multiarch __ieee754_hypotf for PowerPC32.
21374
2d9470b2
AZ
21375 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21376 long_double_symbol only if __logbl is defined.
21377 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21378 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21379 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21380 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21381 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21382 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21383 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21384 path for implementation.
21385 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21386 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21388 logb, and logbl multiarch implementations for PowerPC32.
21389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21390 file.
21391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21392 file.
21393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21394 multiarch logb for PowerPC32.
21395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21396 file.
21397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21398 file.
21399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21400 multiarch logbf for PowerPC32.
21401 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21403 file.
21404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21405 multiarch logbl implementation for PowerPC32.
21406
5212ffce
AZ
21407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21408 and modff multiarch implementations.
21409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21410 New file.
21411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21412 New file.
21413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21414 multiarch modf for PowerPC32.
21415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21416 New file.
21417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21418 New file.
21419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21420 multiarch modff for PowerPC32.
21421
79dccf31
AZ
21422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21423 and lrintf multiarch implementations.
21424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21425 New file.
21426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21427 New file.
21428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21429 multiarch lrint for PowerPC32.
21430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21431 file: multiarch lrintf for PowerPC32.
21432
deb66480
AZ
21433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21434 and lroundf multiarch implementations.
21435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21436 New file.
21437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21438 New file.
21439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21440 New file.
21441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21442 multiarch lround for PowerPC32.
21443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21444 file: multiarch lroundf for PowerPC32.
21445
264b036b
AZ
21446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21447 copysign and copysignf multiarch implementations.
21448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21449 New file.
21450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21451 New file.
21452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21453 file: multiarch copysign for PowerPC32.
21454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21455 file: multiarch copysignf for PowerPC32.
21456
d47db6c9
AZ
21457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21458 and truncf multiarch implementations.
21459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21460 New file.
21461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21462 file.
21463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21464 multiarch trunc for PowerPC32.
21465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21466 New file.
21467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21468 New file.
21469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21470 multiarch truncf for PowerPC32.
21471
ddb60b5a
AZ
21472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21473 and roundf multiarch implementations.
21474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21475 New file.
21476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21477 file.
21478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21479 multiarch round for PowerPC32.
21480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21481 New file.
21482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21483 New file.
21484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21485 multiarch roundf for PowerPC32.
21486
bedcf49b
AZ
21487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21488 and floorf multiarch implementations.
21489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21490 New file.
21491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21492 file.
21493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21494 multiarch floor for PowerPC32.
21495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21496 New file.
21497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21498 New file.
21499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21500 multiarch floorf for PowerPC32.
21501
35ae5b40
AZ
21502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21503 and ceilf multiarch implementations.
21504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21505 New file.
21506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21507 file.
21508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21509 multiarch ceil for PowerPC32.
21510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21511 New file.
21512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21513 file.
21514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21515 multiarch ceilf for PowerPC32.
21516
ae1a4cd9
AZ
21517 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21518 is defined.
21519 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21520 FINITEF is defined.
21521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21522 and finitef multiarch implementations.
21523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21524 New file.
21525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21526 file.
21527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21528 multiarch finite for PowerPC32.
21529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21530 New file.
21531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21532 file: multiarch finitef for PowerPC32.
21533
64fffd65
AZ
21534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21535 and isinff multiarch implementations.
21536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21537 file.
21538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21539 file.
21540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21541 multiarch isinf for PowerPC32.
21542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21543 New file.
21544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21545 multiarch isinff for PowerPC32.
21546
8e4e7ba2
AZ
21547 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21548 alias when __isnan is defined.
21549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21550 and isnanf multiarch implementations.
21551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21552 file.
21553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21554 file.
21555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21556 file.
21557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21558 file.
21559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21560 multiarch isnan for PowerPC32.
21561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21562 New file.
21563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21564 New file.
21565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21566 multiarch isnanf for PowerPC32.
21567
ddba588e
AZ
21568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21569 and sqrtf multiarch implementations.
21570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21571 file.
21572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21573 file.
21574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21575 multiarch sqrt for PowerPC32.
21576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21577 file.
21578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21579 file.
21580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21581 multiarch sqrtf for PowerPC32.
21582
0f96a2f0
AZ
21583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21584 and llroundf multiarch implementations.
21585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21586 New file.
21587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21588 New file.
21589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21590 New file.
21591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21592 file: multiarch llround for PowerPC32.
21593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21594 file: multiarch llroundf for PowerPC32.
21595
c9b5d79e
AZ
21596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21597 multiarch PowerPC32 fpu implementations.
21598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21599 New file.
21600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21601 New file.
21602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21603 multiarch llrint for PowerPC32.
21604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21605 New file.
21606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21607 New file.
21608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21609 file.
21610
9cbb3aab
AZ
21611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21612
ea5a72f8
AZ
21613 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21614 file.
21615 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21616 file.
21617 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21618 file.
21619 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21620 multiarch wordcopy for PPC32.
21621 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21622 wordcopy objects.
21623 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21624 (__libc_ifunc_impl_list): Likewise.
21625 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21626 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21627 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21628 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21629 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21630 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21631
93be09e7
AZ
21632 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21633 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21634 file.
21635 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21636 file.
21637 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21638 file.
21639 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21640 multiarch wcscpy for PPC32.
21641 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21642 multiarch objects.
21643 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21644 (__libc_ifunc_impl_list): Likewise.
21645 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21646 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21647 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21648 sysdeps/powerpc/power6/wcscpy.c.
21649
bb04e529
AZ
21650 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21652 file.
21653 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21654 file.
21655 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21656 file.
21657 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21658 multiarch wcsrchr for PPC32.
21659 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21660 multiarch objects.
21661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21662 (__libc_ifunc_impl_list): Likewise.
21663 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21664 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21665 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21666 sysdeps/powerpc/power6/wcsrchr.c.
21667
05b5cd1c
AZ
21668 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21669 file.
21670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21671 file.
21672 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21673 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21674 multiarch wcschr for PPc32.
21675 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21676 multiarch objects.
21677 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21678 (__libc_ifunc_impl_list): Likewise.
21679 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21680 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21681 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21682 sysdeps/powerpc/power6/wcschr.c.
21683
ba964147
AZ
21684 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21685 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21686 file.
21687 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21688 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21689 file: multiarch strchr for PPC32.
21690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21691 multiarch objects.
21692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21693 (__libc_ifunc_impl_list): Likewise.
21694
31c81aaa
AZ
21695 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21696 name.
21697 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21698 file.
21699 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21700 file.
21701 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21702 multiarch strchrnul for PPC32.
21703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21704 multiarch objects.
21705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21706 (__libc_ifunc_impl_list): Likewise.
21707
0d0607d9
AZ
21708 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21709 file.
21710 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21711 multiarch strncasecmp for PPC32.
21712 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21713 file.
21714 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21715 multiarch strncasecmp_l for PPC32.
21716 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21717 strncasecmp multiarch objects.
21718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21719 (__libc_ifunc_impl_list): Likewise.
21720
4dfd5c86
AZ
21721 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21722 file.
21723 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21724 multiarch strncasecmp for PPC32.
21725 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21726 New file.
21727 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21728 multiarch strcasecmp_l for PPC32.
21729 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21730 multiarch objects.
21731 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21732 (__libc_ifunc_impl_list): Likewise.
21733
a19e01a3
AZ
21734 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21735 file.
21736 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21737 file.
21738 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21739 multiarch strncmp for PPC32.
21740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21741 multiarch objects.
21742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21743 (__libc_ifunc_impl_list): Likewise.
21744
ae9cf7a2
AZ
21745 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21746 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21747 file.
21748 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21749 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21750 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21751 multiarch objects.
21752 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21753 (__libc_ifunc_impl_list): Likewise.
21754
3148bb7d
AZ
21755 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21756 file.
21757 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21758 file.
21759 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21761 multiarch objects.
21762 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21763 (__libc_ifunc_impl_list): Likewise.
21764
7af8b946
AZ
21765 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21766 file.
21767 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21768 file.
21769 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21770 multiarch rawmemchr for PPC32.
21771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21772 multiarch objects.
21773 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21774 (__libc_ifunc_impl_list): Likewise.
21775
03a6aa6a
AZ
21776 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21777 file.
21778 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21779 file.
21780 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21781 file: memrchr multiarch for PPC32.
21782 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21783 multiarch objects.
21784 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21785 (__libc_ifunc_impl_list): Likewise.
21786
1c62e6d9
AZ
21787 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21788 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21789 file.
21790 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21791 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21792 multiarch memchr for PPC32.
21793 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21794 multiarch objects.
21795 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21796 (__libc_ifunc_impl_list): Likewise.
21797
87da8bdb
AZ
21798 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21799 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21800 file.
21801 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21802 file.
21803 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21804 file: multiarch mempcpy for PPC32.
21805 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21806 multiarch objects.
21807 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21808 (__libc_ifunc_impl_list): Likewise.
21809
20ed4714
AZ
21810 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21811 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21812 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21813 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21814 multiarch bzero for PPC32.
21815 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21816 file.
21817 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21818 file.
21819 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21820 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21821 file: multiarch memset for PPC32.
21822 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21824 memset multiarch objects.
21825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21826 (__libc_ifunc_impl_list): Likewise.
21827
ab3e3a46
AZ
21828 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21829 file.
21830 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21831 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21832 memcmp for PPC32.
21833 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21834 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21835 multiarch objects.
21836 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21837 (__libc_ifunc_impl_list): Likewise.
21838
930de6f0
AZ
21839 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21840 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21841 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21842 file.
21843 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21844 file.
21845 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21846 file.
21847 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21848 multiarch memcpy for PPC32.
21849 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21850 multiarch objects.
21851 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21852 (__libc_ifunc_impl_list): Likewise.
21853
4c628e00
AZ
21854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21855 support multiarch for POWER/PPC32.
21856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21857 Likewise.
21858 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21860 Implies file to make multiarch folder appers before the fpu and
21861 default folder for power4 configuration.
21862
f4479220
SP
218632013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21864
21865 * scripts/bench.pl: Append volatile keyword to type.
21866
8517800f
KK
218672013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21868
21869 * sysdeps/sh/sotruss-lib.c: New file.
21870 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21871
180138f1
AZ
218722013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21873
21874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21875
bbf37bdc
JM
218762013-12-05 Joseph Myers <joseph@codesourcery.com>
21877
e47cc4e0
JM
21878 [BZ #6810]
21879 * math/w_tgamma.c: Include <errno.h>.
21880 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21881 * math/w_tgammaf.c: Include <errno.h>.
21882 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21883 * math/w_tgammal.c: Include <errno.h>.
21884 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21885 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21886 underflow. Add more tgamma tests.
21887 * math/auto-libm-test-out: Regenerated.
21888 * sysdeps/i386/fpu/libm-test-ulps: Update.
21889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21890
bbf37bdc
JM
21891 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21892 sin, sinh, tan, tanh, tgamma, y0 and y1.
21893 * math/auto-libm-test-out: Regenerated.
21894 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21895 (TEST_COND_x86): Likewise.
21896 (M_E2l): Remove macro.
21897 (M_E3l): Likewise.
21898 (M_2_SQRT_PIl): Likewise.
21899 (M_SQRT_PIl): Likewise.
21900 (M_1_DIV_El): Likewise.
21901 (log_test_data): Use AUTO_TESTS_f_f.
21902 (log10_test_data): Likewise.
21903 (log1p_test_data): Likewise.
21904 (log2_test_data): Likewise.
21905 (sin_test_data): Likewise.
21906 (sin_tonearest_test_data): Likewise.
21907 (sin_towardzero_test_data): Likewise.
21908 (sin_downward_test_data): Likewise.
21909 (sin_upward_test_data): Likewise.
21910 (sinh_test_data): Likewise.
21911 (sinh_tonearest_test_data): Likewise.
21912 (sinh_towardzero_test_data): Likewise.
21913 (sinh_downward_test_data): Likewise.
21914 (sinh_upward_test_data): Likewise.
21915 (tan_test_data): Likewise.
21916 (tan_tonearest_test_data): Likewise.
21917 (tan_towardzero_test_data): Likewise.
21918 (tan_downward_test_data): Likewise.
21919 (tan_upward_test_data): Likewise.
21920 (tanh_test_data): Likewise.
21921 (tgamma_test_data): Likewise.
21922 (y0_test_data): Likewise.
21923 (y1_test_data): Likewise.
21924 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21925 (special_real_inputs): Add pi/4.
21926 * sysdeps/i386/fpu/libm-test-ulps: Update.
21927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21928
eb5ad6b9
AZ
219292013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21930
21931 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21932 "longjmp_target" static probes.
21933 (__longjmp): Rename to __longjmp_symbol.
21934 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21935 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21936 on which longjmp to generate.
21937 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21938 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21939 probe.
21940 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21941 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21942 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21943 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21944 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21945 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21947 __longjmp_symbol based on which __longjmp to generate.
21948 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21949 probe.
21950 (setjmp): Rename to setjmp_symbol.
21951 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21952 (_setjmp): Rename to _setjmp_symbol.
21953 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21954 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21955 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21956 which setjmp to generate.
21957 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21958 "longjmp_target" static probes.
21959
d136c6dc
SP
219602013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21961
9298ecba
SP
21962 * benchtests/README: Add note about output arguments.
21963 * benchtests/bench-sincos.c: Remove file.
21964 * benchtests/sincos-inputs: New file.
21965 * scripts/bench.pl: Identify output arguments and define
21966 static variables for them.
21967
232983e9
SP
21968 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21969
d136c6dc
SP
21970 [BZ #15941]
21971 * Makefile (INSTALL): Add install-plain.texi as the primary
21972 dependency.
21973 * manual/install-plain.texi: New file.
21974 * manual/install.texi: Include node directive only for
21975 non-plaintext output.
21976
699ff837
JM
219772013-12-04 Joseph Myers <joseph@codesourcery.com>
21978
ab07cea8
JM
21979 * stdlib/longlong.h: Update from GCC.
21980
699ff837
JM
21981 [BZ #6807]
21982 [BZ #15901]
21983 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21984 * math/w_j0f.c (y0f): Likewise.
21985 * math/w_j0l.c (__y0l): Likewise.
21986 * math/w_j1.c (y1): Likewise.
21987 * math/w_j1f.c (y1f): Likewise.
21988 * math/w_j1l.c (__y1l): Likewise
21989 * math/w_jn.c (yn): Likewise.
21990 * math/w_jnf.c (ynf): Likewise.
21991 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21992 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21993 value for Bessel function domain errors outside _SVID_ mode.
21994 Adjust sign of return value for yn (negative integer, 0).
21995 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21996 by zero in return for negative x and set sign appropriately for
21997 negative n.
21998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21999 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22000 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22001 expectations in error cases.
22002 (y1_test_data): Likewise.
22003 (yn_test_data): Likewise.
22004 * sysdeps/i386/fpu/libm-test-ulps: Update.
22005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22006
5b118558
UW
220072013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22008
22009 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22010 "64" to "64-v1". Add "64-v2".
22011 (abi-64-options): Rename to ...
22012 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22013 (abi-64-condition): Rename to ...
22014 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22015 (abi-64-ld-soname): Rename to ...
22016 (abi-64-v1-ld-soname): ... this.
22017 (abi-64-v2-options): Define.
22018 (abi-64-v2-condition): Likewise.
22019 (abi-64-v2-ld-soname): Likewise.
22020 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22021 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22025
61cd8fe4
UW
220262013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22027 Alan Modra <amodra@gmail.com>
22028
22029 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22030 New versions for use with the ELFv2 ABI.
22031 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22032 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22033 declaration.
22034 (struct La_ppc64v2_retval): Likewise.
22035 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22036 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22037 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22038 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22039 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22040 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22041 Do not save or restore CR.
22042 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22043 (_dl_profile_resolve): Do no save or restore CR. Support extended
22044 return values for ELFv2 ABI. Fix location of FPR return registers.
22045 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22046 updated values for _CALL_ELF == 2.
22047 (La_regs, La_retval, int_retval): Likewise.
22048
8b8a692c
UW
220492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22050
22051 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22052 (FRAME_MIN_SIZE_PARM): Likewise.
22053 (FRAME_BACKCHAIN): Likewise.
22054 (FRAME_CR_SAVE): Likewise.
22055 (FRAME_LR_SAVE): Likewise.
22056 (FRAME_TOC_SAVE): Likewise.
22057 (FRAME_PARM_SAVE): Likewise.
22058 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22059 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22060 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22061 (call_mcount_parm_offset): New macro.
22062 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22063 (PROF): Use symbolic stack frame offsets.
22064 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22065 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22066 Redefine in terms of FRAME_MIN_SIZE.
22067 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22068 (_dl_profile_resolve): Likewise. Update comment.
22069 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22070 symbols stack frame offsets.
22071 (__sigsetjmp): Likewise.
22072 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22073 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22074 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22075 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22076
22077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22078 (FRAME_BACKCHAIN): Remove.
22079 (FRAME_CR_SAVE): Likewise.
22080 (FRAME_LR_SAVE): Likewise.
22081 (FRAME_COMPILER_DW): Likewise.
22082 (FRAME_LINKER_DW): Likewise.
22083 (FRAME_TOC_SAVE): Likewise.
22084 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
22085 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22086 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22087 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
22088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22089 (CHECK_SP): Use symbolic stack frame offsets.
22090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22091 zone" instead of caller's parameter save area for temp storage.
22092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22093 Likewise. Also, use symbolic stack frame offsets.
22094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22095 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22096 our own stack frame instead of the caller's.
22097 (__socket): Use symbolic stack frame offsets.
22098
122b66de
UW
220992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22100 Alan Modra <amodra@gmail.com>
22101
22102 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22103 Define.
57f41c40
AS
22104 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22105 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
22106 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22107 New function.
22108 (elf_machine_fixup_plt): Call it.
22109 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22110 reloc arguments.
22111 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
22112 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22113 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
22114 r2 before calling target.
22115
696caf1d
UW
221162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22117 Alan Modra <amodra@gmail.com>
22118
22119 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22120 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22121 versions of macros to support ELFv2 ABI.
22122 (LOCALENTRY): New macro.
22123 (ENTRY, EALIGN): Use it.
22124 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22125 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22126 fall through into ENTRY entry point.
22127 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22128 Only define if _CALL_ELF != 2.
22129
22130 (elf_machine_matches_host): Verify ABI version matches.
22131 (RTLD_START): Use LOCALENTRY.
22132 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22133 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22134 (PLT_ENTRY_WORDS): New macro.
22135 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22136 (elf_machine_runtime_setup): Support ELFv2 ABI.
22137 (elf_machine_fixup_plt): Likewise.
22138 (elf_machine_plt_conflict): Likewise.
22139 (resolve_ifunc): Likewise.
22140 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22141 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22142 Likewise.
22143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22144 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22146 (makecontext): Support ELFv2 ABI.
22147 * elf/elf.h (EF_PPC64_ABI): Define.
22148
d31beafa
UW
221492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22150
57f41c40
AS
22151 * sysdeps/powerpc/powerpc64/sysdep.h
22152 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22153 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22154 (ENTRY) [ASSEMBLER]: ... but instead here ...
22155 (EALIGN) [ASSEMBLER]: ... and here.
22156 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22157 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22158 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
22159 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22160 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
22161 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22162 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
22163 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22165 Use PPC64_LOAD_FUNCPTR.
22166
b525166b
UW
22167 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22168
7ec07d9a
AM
221692013-12-04 Alan Modra <amodra@gmail.com>
22170
22171 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22172 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22173 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22174 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22175
22176 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22177 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22178 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22179 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22180 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22181 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22182
5162e7dd
UW
221832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22184
22185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22186 (__makecontext): Fix incorrect CFI when backtracing out of
22187 context created via makecontext.
22188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22189 (__setcontext): Fix incorrect CFI during switch to new context.
22190 (__novec_setcontext): Likewise.
22191
19e3372b
OB
221922013-12-04 Ondřej Bílka <neleai@seznam.cz>
22193
22194 [BZ #4772]
22195 * time/strptime_l.c (__strptime_internal): Allow modifiers
22196 in strptime.
22197 * time/tst-strptime.c (day_tests): Add testcase.
22198
ecaf142d
SP
221992013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22200
22201 * scripts/bench.pl: Skip over blank lines.
22202
fbf964ae
PE
222032013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22204
22205 [BZ #926]
22206 * manual/time.texi (Calendar Time): Clarify what timezone functions
22207 use.
22208
fa60a674
AZ
222092013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22210
22211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22212
d674f0ef
OB
222132013-12-04 Ondřej Bílka <neleai@seznam.cz>
22214
22215 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22216 implementation.
22217 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22218 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22219 * debug/memset_chk.c (__memset_chk): Likewise.
22220 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22221 * debug/strncpy_chk.c: Likewise.
22222
17dea188
JM
222232013-12-03 Joseph Myers <joseph@codesourcery.com>
22224
749008ff
JM
22225 [BZ #15268]
22226 [BZ #15425]
22227 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22228 (__ieee754_exp): For possibly underflowing results, check size of
22229 result and force underflow exception if required.
22230 * math/auto-libm-test-in: Add more tests of exp.
22231 * math/auto-libm-test-out: Regenerated.
22232 * sysdeps/i386/fpu/libm-test-ulps: Update.
22233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22234
17dea188
JM
22235 [BZ #16283]
22236 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22237 * math/w_exp2f.c (__exp2f): Likewise.
22238 * math/w_exp2l.c (__exp2l): Likewise.
22239 * math/auto-libm-test-in: Do not allow missing errno on exp2
22240 underflow.
22241 * math/auto-libm-test-out: Regenerated.
22242
b20de2c3
OB
222432013-12-03 Ondřej Bílka <neleai@seznam.cz>
22244
22245 [BZ #16274]
22246 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22247 handle filename validation.
22248 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22249 (do_open): Delete.
22250
d8e2dbe3
JM
222512013-12-03 Joseph Myers <joseph@codesourcery.com>
22252
34e16df5
JM
22253 [BZ #6786]
22254 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22255 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22256 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22257 <float.h>.
22258 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22259 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22260 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22261 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22262 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22263 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22264 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22265 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22266 Add more erfc tests.
22267 * math/auto-libm-test-out: Regenerated.
22268 * sysdeps/i386/fpu/libm-test-ulps: Update.
22269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22270
d8e2dbe3
JM
22271 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22272 exp2, expm1, j0 and j1.
22273 * math/auto-libm-test-out: Regenerated.
22274 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22275 (erfc_test_data): Likewise.
22276 (exp_test_data): Likewise.
22277 (exp_tonearest_test_data): Likewise.
22278 (exp_towardzero_test_data): Likewise.
22279 (exp_downward_test_data): Likewise.
22280 (exp_upward_test_data): Likewise.
22281 (exp10_test_data): Likewise.
22282 (exp2_test_data): Likewise.
22283 (expm1_test_data): Likewise.
22284 (j0_test_data): Likewise.
22285 (j1_test_data): Likewise.
22286 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22287 (input_flag_type): Add flag_xfail_rounding.
22288 (input_flags): Add xfail-rounding.
22289 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22290 (output_for_one_input_case): Handle flag_xfail_rounding.
22291 * sysdeps/i386/fpu/libm-test-ulps: Update.
22292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22293
18d14251
AJ
222942013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22295
3d2e6075 22296 [BZ #16289]
18d14251
AJ
22297 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22298 division by 0.
22299
520d437b
SP
223002013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22301
22302 [BZ #16195]
22303 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22304 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22305 (STAP_PROBE0): New macro.
22306 (STAP_PROBE1): Likewise.
22307 (STAP_PROBE2): Likewise.
22308 (STAP_PROBE3): Likewise.
22309 (STAP_PROBE4): Likewise.
22310
416e0145
OB
223112013-12-02 Ondřej Bílka <neleai@seznam.cz>
22312
22313 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22314
9d17796a
SE
223152013-12-02 Steve Ellcey <sellcey@mips.com>
22316
22317 * benchtests/Makefile (bench): Add sqrt.
22318 (LDLIBS-bench-sqrt): New.
22319 * benchtests/sqrt-input: New.
22320
f524d6a8
PS
223212013-12-02 Pavel Simerda <psimerda@redhat.com>
22322
639a0ef8
PS
22323 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22324 (GAIH_EAI): Likewise.
22325 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22326 (gaih_inet): Likewise.
22327 (getaddrinfo): Don't use GAIH_EAI.
22328
f524d6a8
PS
22329 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22330 (struct gaih): Remove definition.
22331
df3aedaf
SP
223322013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22333
22334 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22335 Use HERRNOP directly.
22336
1ab19dec
AZ
223372013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22338
b42ad38d 22339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22340
176b0c79
JM
223412013-11-30 Joseph Myers <joseph@codesourcery.com>
22342
22343 * math/gen-auto-libm-tests.c (test_functions): Add more
22344 single-argument functions.
22345 (special_fill_pi_2): New function.
22346 (special_fill_minus_pi_2): Likewise.
22347 (special_fill_pi_6): Likewise.
22348 (special_fill_minus_pi_6): Likewise.
22349 (special_fill_pi_3): Likewise.
22350 (special_fill_2pi_3): Likewise.
22351 (special_fill_e): Likewise.
22352 (special_fill_1_e): Likewise.
22353 (special_fill_e_minus_1): Likewise.
22354 (special_real_inputs): Add more special inputs.
22355 (output_for_one_input_case): Do not require ERANGE on underflow to
22356 zero if round-to-nearest result does not underflow to zero, unless
22357 exact results required.
22358 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22359 atan, atanh, cbrt, cos and cosh.
22360 * math/auto-libm-test-out: Regenerated.
22361 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22362 (acos_tonearest_test_data): Likewise.
22363 (acos_towardzero_test_data): Likewise.
22364 (acos_downward_test_data): Likewise.
22365 (acos_upward_test_data): Likewise.
22366 (acosh_test_data): Likewise.
22367 (asin_test_data): Likewise.
22368 (asin_tonearest_test_data): Likewise.
22369 (asin_towardzero_test_data): Likewise.
22370 (asin_upward_test_data): Likewise.
22371 (asinh_test_data): Likewise.
22372 (atan_test_data): Likewise.
22373 (atanh_test_data): Likewise.
22374 (cbrt_test_data): Likewise.
22375 (cos_test_data): Likewise.
22376 (cos_tonearest_test_data): Likewise.
22377 (cos_towardzero_test_data): Likewise.
22378 (cos_downward_test_data): Likewise.
22379 (cos_upward_test_data): Likewise.
22380 (cosh_test_data): Likewise.
22381 (cosh_tonearest_test_data): Likewise.
22382 (cosh_towardzero_test_data): Likewise.
22383 (cosh_downward_test_data): Likewise.
22384 (cosh_upward_test_data): Likewise.
22385 * sysdeps/i386/fpu/libm-test-ulps: Update.
22386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22387
ffb536d0
JM
223882013-11-29 Joseph Myers <joseph@codesourcery.com>
22389
2a77a467
JM
22390 [BZ #6787]
22391 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22392 * math/w_exp10f.c (__exp10f): Likewise.
22393 * math/w_exp10l.c (__exp10l): Likewise.
22394 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22395 errno settings in existing tests.
22396
ea3bc4e8
JM
22397 [BZ #14032]
22398 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22399 precision control set to double precision.
22400 * sysdeps/i386/fpu/w_sqrt.c: New file.
22401 * math/auto-libm-test-in: Add more tests.
22402 * math/auto-libm-test-out: Update.
22403
0712c9d8
JM
22404 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22405 (sqrt_test_tonearest): New function.
22406 (sqrt_towardzero_test_data): New variable.
22407 (sqrt_test_towardzero): New function.
22408 (sqrt_downward_test_data): New variable.
22409 (sqrt_test_downward): New function.
22410 (sqrt_upward_test_data): New variable.
22411 (sqrt_test_upward): New function.
22412 (main): Call the new functions.
22413
ffb536d0
JM
22414 * math/gen-auto-libm-tests.c: New file.
22415 * math/auto-libm-test-in: Likewise.
22416 * math/auto-libm-test-out: New generated file.
22417 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22418 variables.
22419 (%beautify): Add generated representations of zero.
22420 (top level): Set $auto_input and call parse_auto_input.
22421 (beautify): Remove trailing "f" from hex float constants.
22422 (parse_args): Handle XFAIL_TEST.
22423 (convert_condition): New function.
22424 (or_value): Likewise.
22425 (or_cond_value): Likewise.
22426 (generate_testfile): Handle AUTO_TESTS_* lines.
22427 (parse_auto_input): New function.
22428 * math/libm-test.inc (XFAIL_TEST): New macro.
22429 (ERRNO_UNCHANGED): Update value.
22430 (ERRNO_EDOM): Likewise.
22431 (ERRNO_ERANGE): Likewise.
22432 (IGNORE_RESULT): Likewise.
22433 (TEST_COND_flt_32): New macro.
22434 (TEST_COND_dbl_64): Likewise.
22435 (TEST_COND_ldbl_96_intel): Likewise.
22436 (TEST_COND_ldbl_96_m68k): Likewise.
22437 (TEST_COND_ldbl_128): Likewise.
22438 (TEST_COND_ldbl_128ibm): Likewise.
22439 (TEST_COND_long32): Likewise.
22440 (TEST_COND_long64): Likewise.
22441 (TEST_COND_before_rounding): Likewise.
22442 (TEST_COND_after_rounding): Likewise.
22443 (enable_test): Handle XFAIL_TEST flag.
22444 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22445 with finite results.
22446 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22447 auto-libm-test-out.
22448
acd98a8e
AK
224492013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22450 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22451
22452 [BZ #16214]
22453 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22454 __tls_get_addr_internal instead of __tls_get_offset in order to
22455 avoid GOT pointer dependency. Make rtld export
22456 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22457 __tls_get_addr since we are a __tls_get_offset platform.
22458 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22459 GOT pointer being set up before.
22460 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22461
3c1c46a6
JM
224622013-11-28 Joseph Myers <joseph@codesourcery.com>
22463
7475aef5
JM
22464 * manual/math.texi (Errors in Math Functions): Document accuracy
22465 goals.
22466
8bca7cd8
JM
22467 [BZ #15004]
22468 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22469 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22470 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22471 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22472 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22473 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22474 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22475 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22476 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22477 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22478 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22479 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22480 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22481 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22482 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22483 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22484
91a1f3fe
JM
22485 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22486 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22487 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22488 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22489 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22490 Likewise.
22491 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22492 Likewise.
22493 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22494 Likewise.
22495 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22496 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22497 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22498 atomic-feupdateenv and flt-rounds.
22499 * sysdeps/powerpc/nofpu/Versions (libc): Add
22500 __atomic_feholdexcept, __atomic_feclearexcept,
22501 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22502 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22503 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22504 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22505 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22506 here.
22507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22508 Update.
22509
c5df7609
JM
22510 * manual/arith.texi (FP Exceptions): Document that exceptions may
22511 not be raised when matherr is used.
22512 (Math Error Reporting): Document overflow in directed rounding
22513 modes. Document that errno may not be set when finite values are
22514 returned on overflow. Document intent to set errno on underflow
22515 only for underflow to zero.
22516
3c1c46a6
JM
22517 [BZ #16271]
22518 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22519 round-to-nearest then adjust result for other rounding modes.
22520 * include/fenv.h (fegetround): Use libm_hidden_proto.
22521 * math/fegetround.c (fegetround): Use libm_hidden_def.
22522 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22523 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22524 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22525 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22526 Likewise.
22527 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22528 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22529 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22530 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22531
5a4c6d53
SP
225322013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22533
22534 [BZ #16077]
22535 * nss/Versions (libnss_files): Add
22536 _nss_files_gethostbyname3_r.
22537 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22538 New function.
22539 (HOST_DB_LOOKUP): Remove macro.
22540 (_nss_files_gethostbyname_r): Implement function without the
22541 HOST_DB_LOOKUP macro.
22542 (_nss_files_gethostbyname2_r): Likewise.
22543
897b98ba
OB
225442013-11-28 Ondřej Bílka <neleai@seznam.cz>
22545
22546 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22547
6f476861
UB
225482013-11-26 Uros Bizjak <ubizjak@gmail.com>
22549
22550 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22551 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22552 warning.
22553
bd12ab55
AZ
225542013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22555
22556 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22557 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22558 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22559 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22560 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22561 __fe_nomask_env_priv and attribute_hidden.
22562 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22563 (libc_feupdateenv_test_ppc): Likewise.
22564 (libc_feresetround_ppc): Likewise.
22565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22566 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22567 compat_symbol macro.
22568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22569 (__fe_nomask_env): Likewise.
22570 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22571
52bb6543
OB
225722013-11-26 Ondřej Bílka <neleai@seznam.cz>
22573
22574 * string/Makefile: Remove ifunc tests.
22575 * string/test-string.h: Define TEST_IFUNC.
22576 * string/test-bcopy-ifunc.c: Remove.
22577 * string/test-bzero-ifunc.c: Likewise.
22578 * string/test-memccpy-ifunc.c: Likewise.
22579 * string/test-memchr-ifunc.c: Likewise.
22580 * string/test-memcmp-ifunc.c: Likewise.
22581 * string/test-memcpy-ifunc.c: Likewise.
22582 * string/test-memmem-ifunc.c: Likewise.
22583 * string/test-memmove-ifunc.c: Likewise.
22584 * string/test-mempcpy-ifunc.c: Likewise.
22585 * string/test-memrchr-ifunc.c: Likewise.
22586 * string/test-memset-ifunc.c: Likewise.
22587 * string/test-rawmemchr-ifunc.c: Likewise.
22588 * string/test-stpcpy-ifunc.c: Likewise.
22589 * string/test-stpncpy-ifunc.c: Likewise.
22590 * string/test-strcasecmp-ifunc.c: Likewise.
22591 * string/test-strcasestr-ifunc.c: Likewise.
22592 * string/test-strcat-ifunc.c: Likewise.
22593 * string/test-strchr-ifunc.c: Likewise.
22594 * string/test-strchrnul-ifunc.c: Likewise.
22595 * string/test-strcmp-ifunc.c: Likewise.
22596 * string/test-strcpy-ifunc.c: Likewise.
22597 * string/test-strcspn-ifunc.c: Likewise.
22598 * string/test-strlen-ifunc.c: Likewise.
22599 * string/test-strncasecmp-ifunc.c: Likewise.
22600 * string/test-strncat-ifunc.c: Likewise.
22601 * string/test-strncmp-ifunc.c: Likewise.
22602 * string/test-strncpy-ifunc.c: Likewise.
22603 * string/test-strnlen-ifunc.c: Likewise.
22604 * string/test-strpbrk-ifunc.c: Likewise.
22605 * string/test-strrchr-ifunc.c: Likewise.
22606 * string/test-strspn-ifunc.c: Likewise.
22607 * string/test-strstr-ifunc.c: Likewise.
22608
ab260039 226092013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22610
22611 * benchtests/Makefile: Remove ifunc tests.
22612 * benchtests/bench-string.h: Define TEST_IFUNC.
22613 * benchtests/bench-bcopy-ifunc.c: Remove.
22614 * benchtests/bench-bzero-ifunc.c: Likewise.
22615 * benchtests/bench-memccpy-ifunc.c: Likewise.
22616 * benchtests/bench-memchr-ifunc.c: Likewise.
22617 * benchtests/bench-memcmp-ifunc.c: Likewise.
22618 * benchtests/bench-memcpy-ifunc.c: Likewise.
22619 * benchtests/bench-memmem-ifunc.c: Likewise.
22620 * benchtests/bench-memmove-ifunc.c: Likewise.
22621 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22622 * benchtests/bench-memrchr-ifunc.c: Likewise.
22623 * benchtests/bench-memset-ifunc.c: Likewise.
22624 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22625 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22626 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22627 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22628 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22629 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22630 * benchtests/bench-strcat-ifunc.c: Likewise.
22631 * benchtests/bench-strchr-ifunc.c: Likewise.
22632 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22633 * benchtests/bench-strcmp-ifunc.c: Likewise.
22634 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22635 * benchtests/bench-strcpy-ifunc.c: Likewise.
22636 * benchtests/bench-strcspn-ifunc.c: Likewise.
22637 * benchtests/bench-strlen-ifunc.c: Likewise.
22638 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22639 * benchtests/bench-strncat-ifunc.c: Likewise.
22640 * benchtests/bench-strncmp-ifunc.c: Likewise.
22641 * benchtests/bench-strncpy-ifunc.c: Likewise.
22642 * benchtests/bench-strnlen-ifunc.c: Likewise.
22643 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22644 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22645 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22646 * benchtests/bench-strspn-ifunc.c: Likewise.
22647 * benchtests/bench-strstr-ifunc.c: Likewise.
22648
226492013-11-26 Ondřej Bílka <neleai@seznam.cz>
22650
ab260039
OB
22651 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22652
d1d9eaf4 226532013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22654
d1d9eaf4
OB
22655 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22656 * rt/aio.h: Likewise.
22657 * sysdeps/gnu/bits/utmp.h: Likewise.
22658 * sysdeps/gnu/bits/utmpx.h: Likewise.
22659 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22660 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22661 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22662 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22663 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22664 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22665 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22666 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22667 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22668 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22669 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22670 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22671 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22673 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22674 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22675 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22676 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22677 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22678 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22679 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22680 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22681 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22682 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22683 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22685 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22686 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22687 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22688 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22689 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22690 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22691 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22692 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22693 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22694 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22695 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22696 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22697 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22698 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22699 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22700 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22701
a7624ed9
CD
227022013-11-25 Carlos O'Donell <carlos@redhat.com>
22703
22704 [BZ #16245]
22705 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22706 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22707
63cfe52b
JM
227082013-11-25 Joseph Myers <joseph@codesourcery.com>
22709
22710 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22711 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22712 Likewise.
22713
41e8926a
AZ
227142013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22715
22716 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22717 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22718 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22719 (__fesetround): Remove define.
22720 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22721 rounding and exceptions handling.
22722 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22723 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22724 (__fe_nomask_env): Likewise.
22725 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22726 __fegetround instead of fegetround.
22727 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22728 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22729
6851bd4d
RM
227302013-11-21 Roland McGrath <roland@hack.frob.com>
22731
070906ff
RM
22732 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22733 it's there.
22734
6851bd4d
RM
22735 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22736
84ae135d
MI
227372013-11-21 Meador Inge <meadori@codesourcery.com>
22738
22739 [BZ #11157]
22740 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22741 (encrypt_r): Likewise.
22742 * malloc/obstack.h (obstack_free): Likewise.
22743 * posix/unistd.h (encrypt): Likewise.
22744
daf75146
GM
227452013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22746
22747 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22748 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22749 DL_CALL_DT_FINI() that call the functions directly.
22750 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22751 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22752 * elf/dl-fini.c: Likewise.
22753
10ad46bc
OB
227542013-11-20 Ondřej Bílka <neleai@seznam.cz>
22755
22756 * malloc/hooks.c (memalign_check): Add alignment rounding.
22757 * malloc/malloc.c (_mid_memalign): New function.
22758 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22759 Implement by calling _mid_memalign.
22760 * manual/probes.texi (Memory Allocation Probes): Remove
22761 memory_valloc_retry and memory_pvalloc_retry.
22762
f3fd2628
SP
227632013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22764
4712799f
SP
22765 * locale/programs/locarchive.c (open_archive): Add const
22766 qualifier to ARCHIVEFNAME and copy default fname to
22767 DEFAULT_FNAME.
22768
0417b20f
SP
22769 [BZ #15601]
22770 * libio/tst-widetext.input: Rename Oriya to Odia.
22771 * locale/iso-639.def: Likewise.
22772
f3fd2628
SP
22773 * manual/probes.texi (Mathematical Function Probes): Add
22774 documentation for sin, cos, asin and acos probes.
22775 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22776 (__sin32): Add slowasin probe.
22777 (__cos32): Add slowacos probe.
22778 (__mpsin): Add slowsin probe.
22779 (__mpcos): Add slowcos probe.
22780
73c1ce4f
JM
227812013-11-19 Joseph Myers <joseph@codesourcery.com>
22782
22783 [BZ #15483]
22784 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22785 thread-local __sim_exceptions_thread and global
22786 __sim_exceptions_global.
22787 (__sim_disabled_exceptions): Change to thread-local
22788 __sim_disabled_exceptions_thread and global
22789 __sim_disabled_exceptions_global.
22790 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22791 and global __sim_round_mode_global.
22792 (__simulate_exceptions): Use thread-local floating-point state and
22793 set global state from it as needed.
22794 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22795 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22796 __sim_round_mode_thread.
22797 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22798 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22799 and global __sim_exceptions_global.
22800 (__sim_disabled_exceptions): Change to thread-local
22801 __sim_disabled_exceptions_thread and global
22802 __sim_disabled_exceptions_global.
22803 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22804 and global __sim_round_mode_global.
22805 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22806 (SIM_SET_GLOBAL): Likewise.
22807 * sysdeps/powerpc/soft-fp/sfp-machine.h
22808 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22809 __sim_round_mode_thread.
22810 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22811 __sim_disabled_exceptions_thread.
22812 (__sim_exceptions): Change to __sim_exceptions_thread.
22813 (__sim_disabled_exceptions): Change to
22814 __sim_disabled_exceptions_thread.
22815 (__sim_round_mode): Change to __sim_round_mode_thread.
22816 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22817 thread-local floating-point state and set global state from it as
22818 needed.
22819 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22820 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22821 (__sim_disabled_exceptions): Remove extern declaration.
22822 (feenableexcept): Use thread-local floating-point state and set
22823 global state from it as needed.
22824 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22825 extern declaration.
22826 (__sim_disabled_exceptions): Likewise.
22827 (__sim_round_mode): Likewise.
22828 (__fegetenv): Use thread-local floating-point state.
22829 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22830 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22831 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22832 floating-point state and set global state from it as needed.
22833 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22834 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22835 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22836 Likewise.
22837 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22838 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22839 Likewise.
22840 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22841 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22842 Use __sim_round_mode_thread.
22843 * math/test-fenv-tls.c: New file.
22844 * math/Makefile (tests): Add test-fenv-tls.
22845 ($(objpfx)test-fenv-tls): Depend on
22846 $(common-objpfx)nptl/libpthread.so.
22847
b5449b12
AS
228482013-11-19 Andreas Schwab <schwab@suse.de>
22849
22850 * locale/programs/locale.c (show_info): Decode wordarray elements.
22851 * locale/categories.def (LC_MONETARY): Add element for
22852 _NL_MONETARY_CRNCYSTR.
22853 * locale/C-monetary.c (conversion_rate): New variable.
22854 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22855 element.
22856
e186536b
CM
228572013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22858
22859 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22860 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22861
5c349950
PP
228622013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22863
22864 * elf/Makefile (tst-auxv): New test.
22865 * elf/tst-auxv.c: New
22866 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22867
699df45b
JM
228682013-11-18 Joseph Myers <joseph@codesourcery.com>
22869
22870 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22871 (hidden_proto): Caller changed.
22872 (hidden_tls_proto): New macro.
22873 (libc_hidden_tls_proto): Likewise.
22874 (rtld_hidden_tls_proto): Likewise.
22875 (libm_hidden_tls_proto): Likewise.
22876 (libresolv_hidden_tls_proto): Likewise.
22877 (librt_hidden_tls_proto): Likewise.
22878 (libdl_hidden_tls_proto): Likewise.
22879 (libnss_files_hidden_tls_proto): Likewise.
22880 (libnsl_hidden_tls_proto): Likewise.
22881 (libnss_nisplus_hidden_tls_proto): Likewise.
22882 (libutil_hidden_tls_proto): Likewise.
22883
b7589107
OB
228842013-11-18 Ondřej Bílka <neleai@seznam.cz>
22885
22886 [BZ #10253]
22887 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22888 (decompose_rpath): Defer expansion to fillin_rpath.
22889 (_dl_init_paths): Pass linkmap to fillin_rpath.
22890
250c23bd
RS
228912013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22892
22893 * benchtests/Makefile: Add strsep.
22894 * benchtests/bench-strsep.c: New file: strsep benchtest.
22895 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22896
a7931fcf
AS
228972013-11-18 Andreas Schwab <schwab@suse.de>
22898
22899 * locale/programs/locale.c (show_info) [case byte]: Check for
22900 '\377' instead of '\177'.
22901 * locale/C-monetary.c (not_available): Always use "\377".
22902 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22903 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22904 detect unavailable sign_posn locale elements.
22905 * locale/localeconv.c (__localeconv): For grouping and
22906 mon_grouping handle "\177" and "\377" like no grouping.
22907 (INT_ELEM): New macro. Use it to set all numeric members.
22908 * locale/programs/ld-monetary.c (monetary_read)
22909 <tok_mon_grouping>: Normalize single -1 to the empty string.
22910 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22911 Likewise.
22912
728dab0e
OB
229132013-11-07 Ondřej Bílka <neleai@seznam.cz>
22914
22915 [BZ #16055]
22916 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22917 when we match (nil).
22918 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22919
66294491
JM
229202013-11-16 Joseph Myers <joseph@codesourcery.com>
22921
ce665817
JM
22922 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22923 (NO_TEST_INLINE): Update value.
22924 (ERRNO_UNCHANGED): Likewise.
22925 (ERRNO_EDOM): Likewise.
22926 (ERRNO_ERANGE): Likewise.
22927 (IGNORE_RESULT): Likewise.
22928 (check_float_internal): Check signs of NaN results if
22929 TEST_NAN_SIGN used.
22930 (check_complex): Pass TEST_NAN_SIGN flag through to second
22931 check_float_internal call.
22932 (copysign_test_data): Add tests with quiet NaNs as second
22933 argument. Use TEST_NAN_SIGN.
22934 (fabs_test_data): Add test of negative quiet NaN argument. Use
22935 TEST_NAN_SIGN.
22936 (signbit_test_data): Add tests of quiet NaN argument.
22937 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22938
ee1466a9
JM
22939 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22940 $ignore_result.
22941 (parse_args): Handle function results specified as IGNORE.
22942 * math/libm-test.inc (IGNORE_RESULT): New macro.
22943 (check_float_internal): Do not check numerical result if flag
22944 IGNORE_RESULT set.
22945 (check_complex): Pass through IGNORE_RESULT to second
22946 check_float_internal call.
22947 (check_int): Do not check numerical result if flag IGNORE_RESULT
22948 set.
22949 (check_long): Likewise.
22950 (check_bool): Likewise.
22951 (check_longlong): Likewise.
22952 (lrint_test_data): Add tests of infinite and NaN arguments.
22953 (lrint_tonearest_test_data): Likewise.
22954 (lrint_towardzero_test_data): Likewise.
22955 (lrint_downward_test_data): Likewise.
22956 (lrint_upward_test_data): Likewise.
22957 (llrint_test_data): Likewise.
22958 (llrint_tonearest_test_data): Likewise.
22959 (llrint_towardzero_test_data): Likewise.
22960 (llrint_downward_test_data): Likewise.
22961 (llrint_upward_test_data): Likewise.
22962 (lround_test_data): Likewise.
22963 (llround_test_data): Likewise.
22964
14407b7e
JM
22965 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22966 (ERRNO_UNCHANGED): Update value.
22967 (ERRNO_EDOM): Likewise.
22968 (ERRNO_ERANGE): Likewise.
22969 (NO_TEST_INLINE_FLOAT): New macro.
22970 (NO_TEST_INLINE_DOUBLE): Likewise.
22971 (enable_test): New function.
22972 (RUN_TEST_f_f): Check enable_test before running test.
22973 (RUN_TEST_2_f): Likewise.
22974 (RUN_TEST_fff_f): Likewise.
22975 (RUN_TEST_c_f): Likewise.
22976 (RUN_TEST_f_f1): Likewise.
22977 (RUN_TEST_fF_f1): Likewise.
22978 (RUN_TEST_fI_f1): Likewise.
22979 (RUN_TEST_ffI_f1): Likewise.
22980 (RUN_TEST_c_c): Likewise.
22981 (RUN_TEST_cc_c): Likewise.
22982 (RUN_TEST_f_i): Likewise.
22983 (RUN_TEST_f_i_tg): Likewise.
22984 (RUN_TEST_ff_i_tg): Likewise.
22985 (RUN_TEST_f_b): Likewise.
22986 (RUN_TEST_f_b_tg): Likewise.
22987 (RUN_TEST_f_l): Likewise.
22988 (RUN_TEST_f_L): Likewise.
22989 (RUN_TEST_fFF_11): Likewise.
22990 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22991 conditionals.
22992 (cosh_test_data): Likewise.
22993 (exp_test_data): Likewise.
22994 (expm1_test_data): Likewise.
22995 (hypot_test_data): Likewise.
22996 (pow_test_data): Likewise.
22997 (sinh_test_data): Likewise.
22998 (tanh_test_data): Likewise.
22999 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23000 flags argument.
23001
ca07f197
JM
23002 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23003 tests with quiet NaN input and output.
23004 (acosh_test_data): Likewise.
23005 (asin_test_data): Likewise.
23006 (asinh_test_data): Likewise.
23007 (atan_test_data): Likewise.
23008 (atanh_test_data): Likewise.
23009 (atan2_test_data): Likewise.
23010 (cbrt_test_data): Likewise.
23011 (cos_test_data): Likewise.
23012 (cosh_test_data): Likewise.
23013 (erf_test_data): Likewise.
23014 (erfc_test_data): Likewise.
23015 (exp_test_data): Likewise.
23016 (exp10_test_data): Likewise.
23017 (exp2_test_data): Likewise.
23018 (expm1_test_data): Likewise.
23019 (hypot_test_data): Likewise.
23020 (j0_test_data): Likewise.
23021 (j1_test_data): Likewise.
23022 (jn_test_data): Likewise.
23023 (lgamma_test_data): Likewise.
23024 (log_test_data): Likewise.
23025 (log10_test_data): Likewise.
23026 (log1p_test_data): Likewise.
23027 (log2_test_data): Likewise.
23028 (pow_test_data): Likewise.
23029 (scalb_test_data): Likewise.
23030 (sin_test_data): Likewise.
23031 (sincos_test_data): Likewise.
23032 (sinh_test_data): Likewise.
23033 (tan_test_data): Likewise.
23034 (tanh_test_data): Likewise.
23035 (tgamma_test_data): Likewise.
23036 (y0_test_data): Likewise.
23037 (y1_test_data): Likewise.
23038 (yn_test_data): Likewise.
23039
66294491
JM
23040 [BZ #16167]
23041 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23042 argument being NaN and avoid computations with second argument in
23043 that case.
23044 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23045 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23046 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23047
1820b143
CL
230482013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23049
23050 * locale/iso-639.def: Add Chitwani Tharu (the).
23051
714bd261
AS
230522013-11-14 Andreas Schwab <schwab@suse.de>
23053
23054 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23055 word instead of empty string.
23056
7ab44563
AZ
230572013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23058
23059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23060 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23062 (__fe_nomask_env): Likewise.
23063
e8470ea2
SE
230642013-11-13 Steve Ellcey <sellcey@mips.com>
23065
23066 * benchtests/bench-timing.h: Include time.h.
23067
17c1d9f0
L
230682013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23069
23070 [BZ #15997]
23071 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23072 to 3.4.0 for x32.
23073 * sysdeps/unix/sysv/linux/configure: Regenerated.
23074
9310c284
JM
230752013-11-13 Joseph Myers <joseph@codesourcery.com>
23076
23077 [BZ #16151]
23078 * stdlib/strtod_l.c (round_and_return): Do not consider
23079 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23080 exponent one less than half the least subnormal exponent.
23081 * stdlib/test-strtod-round-data: Add more tests.
23082 * stdlib/tst-strtod-round.c (tests): Regenerated.
23083
7a2ad8cf
AZ
230842013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23085
23086 [BZ #14143]
23087 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23088 (__fe_mask_env): Likewise.
23089 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23090 libm_hidden_proto and add function prototype.
23091 (__fe_mask_env): Add function prototype.
23092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23093 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23095 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23097 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23098
50727aa7
MS
230992013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23100
b2f386c1 23101 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
23102 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23103
a615be46
MS
231042013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23105
23106 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23107 of htab_find_slot().
23108
7ddace62
DM
231092013-11-11 David S. Miller <davem@davemloft.net>
23110
23111 [BZ #16150]
23112 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23113 symbol in the non-vis3 case in static builds.
23114 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23115 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23116 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23117 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23118
9182aa67
JK
231192013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23120
23121 [BZ #387]
23122 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23123 it is empty.
23124
450a2e2d
AZ
231252013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23126
b2f386c1
SP
23127 * benchtests/Makefile: Add bench-strtod.
23128 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 23129
8ec3f656
AS
231302013-11-11 Andreas Schwab <schwab@suse.de>
23131
23132 [BZ #16153]
23133 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23134 terminating NUL in key length.
23135
76a9b998
AZ
231362013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23137
23138 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23139 Add artificial ODP entry for vDSO symbol for PPC64.
23140 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23141 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23142
e4368156
OB
231432013-11-07 Ondřej Bílka <neleai@seznam.cz>
23144
23145 [BZ #15374]
23146 * nss/getent.c (services_keys): Recognize services starting with digit.
23147
8d6bb57c
DM
231482013-11-06 David S. Miller <davem@davemloft.net>
23149
23150 [BZ #15985]
23151 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23152 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23153
e256c421
WN
231542013-11-06 Will Newton <will.newton@linaro.org>
23155
23156 * manual/memory.texi (Malloc Examples): Remove register
23157 keyword from examples.
23158
f6e12daa 231592013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 23160
f6e12daa 23161 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 23162
9d880655
AS
231632013-11-04 Joseph Myers <joseph@codesourcery.com>
23164
fd2f9486 23165 [BZ #6981]
9d880655
AS
23166 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23167 depending on [__GCC_IEC_559 > 0].
23168 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23169 depending on [__GCC_IEC_559_COMPLEX > 0].
23170
ae129d3c
CL
231712013-11-03 Chris Leonard <cjl@sugarlabs.org>
23172
23173 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23174 to iso-639.def.
23175
4a15c2a4 231762013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
23177
23178 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23179
8b35e35d
OB
231802013-11-01 Ondřej Bílka <neleai@seznam.cz>
23181
23182 [BZ #16112]
23183 * malloc/malloc (malloc_info): Do not handle first bin as
23184 special case.
23185
1d70fd6c
CL
231862013-11-01 Chris Leonard <cjl@sugarlabs.org>
23187
23188 * locale/iso-639.def: Add Central Nahuatl (nhn).
23189
8c5c2600
BH
231902013-11-01 Bruno Haible <bruno@clisp.org>
23191
23192 [BZ #7003]
23193 * manual/math.texi (BSD Random): Specify range upper bound as
23194 in POSIX.
23195
da5579c2
CL
231962013-10-31 Chris Leonard <cjl@sugarlabs.org>
23197
23198 * locale/iso-639.def: Add Meadow Mari (mhr).
23199
5d30d853
OB
232002013-10-31 Ondřej Bílka <neleai@seznam.cz>
23201
23202 [BZ #14752], [BZ #15763]
23203 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23204 Validate name.
23205 * rt/tst_shm.c: Add test for escaping directory.
23206
a4966c61
AS
232072013-10-31 Andreas Schwab <schwab@suse.de>
23208
8a43e768 23209 [BZ #15917]
a4966c61
AS
23210 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23211 followed by 'x' as part of digit sequence.
23212 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23213
28d708c4
MAP
232142013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23215
23216 [BZ #16037]
23217 * configure.ac: allow GNU Make 4.0 and greater.
23218 * configure: Regenerated.
23219
a56ee40b
WN
232202013-10-30 Will Newton <will.newton@linaro.org>
23221
23222 [BZ #16038]
23223 * malloc/hooks.c (memalign_check): Limit alignment to the
23224 maximum representable power of two.
23225 * malloc/malloc.c (__libc_memalign): Likewise.
23226 * malloc/tst-memalign.c (do_test): Add test for very
23227 large alignment values.
23228 * malloc/tst-posix_memalign.c (do_test): Likewise.
23229
c6e4925d
OB
232302013-10-30 Ondřej Bílka <neleai@seznam.cz>
23231
23232 [BZ #11087]
23233 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23234 (munmap_chunk): Likewise.
23235 (mremap_chunk): Likewise.
23236
232372013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23238
8a43e768 23239 [BZ #15799]
bbea82f7
OB
23240 * stdlib/div.c (div): Remove obsolete code.
23241 * stdlib/ldiv.c (ldiv): Likewise.
23242 * stdlib/lldiv.c (lldiv): Likewise.
23243
977f4b31
SP
232442013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23245
23246 [BZ #16071]
23247 * nss/nss_files/files-XXX.c (get_contents_ret): New
23248 enumerator.
23249 (get_contents): New function.
23250 (internal_getent): Use it. Expand size of LINEBUFLEN.
23251
cb8a6dbd
MF
232522013-10-30 Mike Frysinger <vapier@gentoo.org>
23253
23254 * configure.in: Moved to ...
23255 * configure.ac: ... here. Change reference to configure.in
23256 to configure.ac.
23257 * sysdeps/arm/preconfigure.ac: ... here.
23258 configure.in to configure.ac.
23259 * sysdeps/gnu/configure.in: Moved to ...
23260 * sysdeps/gnu/configure.ac: ... here.
23261 * sysdeps/i386/configure.in: Moved to ...
23262 * sysdeps/i386/configure.ac: ... here.
23263 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23264 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23265 * sysdeps/mach/configure.in: Moved to ...
23266 * sysdeps/mach/configure.ac: ... here.
23267 * sysdeps/mach/hurd/configure.in: Moved to ...
23268 * sysdeps/mach/hurd/configure.ac: ... here.
23269 * sysdeps/powerpc/configure.in: Moved to ...
23270 * sysdeps/powerpc/configure.ac: ... here.
23271 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23272 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23273 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23274 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23275 * sysdeps/s390/s390-32/configure.in: Moved to ...
23276 * sysdeps/s390/s390-32/configure.ac: ... here.
23277 * sysdeps/s390/s390-64/configure.in: Moved to ...
23278 * sysdeps/s390/s390-64/configure.ac: ... here.
23279 * sysdeps/sh/configure.in: Moved to ...
23280 * sysdeps/sh/configure.ac: ... here.
23281 * sysdeps/sparc/configure.in: Moved to ...
23282 * sysdeps/sparc/configure.ac: ... here.
23283 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23284 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23285 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23286 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23287 * sysdeps/x86_64/configure.in: Moved to ...
23288 * sysdeps/x86_64/configure.ac: ... here.
23289 * sysdeps/x86_64/preconfigure.in: Moved to ...
23290 * sysdeps/x86_64/preconfigure.ac: ... here.
23291 * aclocal.m4: Change reference to configure.in to configure.ac.
23292 * config.h.in: Likewise.
23293 * manual/install.texi: Likewise.
23294 * manual/maint.texi: Likewise.
23295 * Makefile: Likewise.
23296 * malloc/Makefile: Likewise.
23297 * nscd/Makefile: Likewise.
23298 * Makeconfig: Change reference to configure.in and
23299 preconfigure.in to configure.ac and preconfigure.ac
23300 respectively.
23301 * INSTALL: Regenerated.
23302 * configure: Likewise.
23303 * sysdeps/gnu/configure: Likewise.
23304 * sysdeps/i386/configure: Likewise.
23305 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23306 * sysdeps/mach/configure: Likewise.
23307 * sysdeps/mach/hurd/configure: Likewise.
23308 * sysdeps/powerpc/configure: Likewise.
23309 * sysdeps/powerpc/powerpc32/configure: Likewise.
23310 * sysdeps/powerpc/powerpc64/configure: Likewise.
23311 * sysdeps/s390/s390-32/configure: Likewise.
23312 * sysdeps/s390/s390-64/configure: Likewise.
23313 * sysdeps/sh/configure: Likewise.
23314 * sysdeps/sparc/configure: Likewise.
23315 * sysdeps/unix/sysv/linux/configure: Likewise.
23316 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23317 * sysdeps/x86_64/configure: Likewise.
23318 * sysdeps/x86_64/preconfigure: Likewise.
23319
36a4953a
AS
233202013-10-29 Andreas Schwab <schwab@suse.de>
23321
23322 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23323
c79a1204
SP
233242013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23325
dfa1b402
SP
23326 * benchtests/pow-inputs: Add new inputs.
23327
54f73d9c
SP
23328 * benchtests/exp-inputs: Add new inputs.
23329
c79a1204
SP
23330 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23331 conditional check for return value.
23332 (__cos32): Likewise.
23333
67beb545 233342013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23335
23336 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23337 to provide a boost for large inputs with word alignment.
23338 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23339 implementation based on optimized PPC64 strcpy.
23340 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23341 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23342 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23343 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23344
151659f6
OB
233452013-10-25 Ondřej Bílka <neleai@seznam.cz>
23346
482a077e 23347 [BZ #2801]
151659f6
OB
23348 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23349
10b0f26b
OB
233502013-10-25 Ondřej Bílka <neleai@seznam.cz>
23351
23352 [BZ #14876]
23353 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23354 * time/tst-strptime.c (day_tests): Add testcase.
23355
ca42d35e
OB
233562013-10-25 Ondřej Bílka <neleai@seznam.cz>
23357
482a077e 23358 [BZ #14029]
ca42d35e
OB
23359 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23360
52e6d801
FB
233612013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23362
23363 [BZ #16074]
23364 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23365 MAP_FAILED on error.
23366
7cbcdb36
SP
233672013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23368
23369 [BZ #16072]
23370 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23371 heap for large requests.
23372
894f3f10
AM
233732013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23374
23375 [BZ #9954]
23376 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23377 result if the result has no associated interface.
23378 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23379 interface for all 127.X.Y.Z addresses.
23380
b85545a6
CL
233812013-10-24 Chris Leonard <cjl@sugarlabs.org>
23382
23383 * locale/iso-639.def: Add Ligurian (lij)
23384
d1f23d46
OB
233852013-10-21 Ondřej Bílka <neleai@seznam.cz>
23386
23387 [BZ #15825]
23388 * sunrpc/rpc_main.c: Document rpcgen -5.
23389
4db5b08f
MS
233902013-10-19 Michael Stahl <mstahl@redhat.com>
23391
23392 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23393
a471e96a
OB
233942013-10-19 Ondřej Bílka <neleai@seznam.cz>
23395
d1f23d46 23396 [BZ #10278]
a471e96a
OB
23397 * posix/glob.c: Match only directories when trailing slash is present.
23398 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23399 (main): Add testcase.
23400
45c30c61
OB
234012013-10-19 Ondřej Bílka <neleai@seznam.cz>
23402
23403 [BZ #15670]
23404 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23405
484c12fb
CD
234062013-10-18 Carlos O'Donell <carlos@redhat.com>
23407
3d7dc513
CD
23408 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23409 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23410 AUTH_DES and cindex for FIPS 140-2.
23411 (DES Encryption): Add cindex FIPS 46-3.
23412
484c12fb
CD
23413 * locale/locarchive.h (struct locarhandle): Add fname.
23414 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23415 if an optional argument was specified to --list-archive,
23416 otherwise NULL.
23417 * locale/programs/locarchive.c (show_archive_content): Take new
23418 argument fname and pass it via ah.fname to open_archive.
23419 * locale/programs/localedef.h: Update decl.
23420 (open_archive): If AH->fname is non-null, open that file
23421 rather than the default file name, and don't ignore ENOENT.
23422 (create_archive): Set AH.fname to NULL.
23423 (delete_locales_from_archive): Likewise.
23424 (add_locales_to_archive): Likewise.
23425 * locale/programs/locfile.c (write_all_categories): Likewise.
23426
3c8325fb
JM
234272013-10-18 Joseph Myers <joseph@codesourcery.com>
23428 Aldy Hernandez <aldyh@redhat.com>
23429
23430 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23431 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23432 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23433 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23434 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23435 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23436 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23437 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23438 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23439 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23440 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23441 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23442 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23443 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23444 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23445 Likewise.
23446 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23447 Likewise.
23448 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23449 Likewise.
23450 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23451 Likewise.
23452 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23453 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23454 Likewise.
23455 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23456 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23457 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23458 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23459 Likewise.
23460 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23461 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23462 * sysdeps/powerpc/preconfigure: Likewise.
23463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23464 Likewise.
23465 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23466 Replace contents of file by #include of <fenv_libc.h>.
23467 * sysdeps/powerpc/soft-fp/sfp-machine.h
23468 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23469 and <sys/prctl.h>.
23470 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23471 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23472 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23473 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23474 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23475 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23476 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23477 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23478 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23479 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23480 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23481 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23483 Allow copysignl PLT reference to be missing.
23484
5abe0682
RS
234852013-10-18 Richard Sandiford <richard@codesourcery.com>
23486 Joseph Myers <joseph@codesourcery.com
23487
23488 [BZ #15948]
23489 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23490 single character.
23491 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23492
c7738d08
SP
234932013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23494
23495 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23496 * elf/tst-tls1.c: Likewise.
23497 * elf/tst-tls10.h: Likewise.
23498 * elf/tst-tls14.c: Likewise.
23499 * elf/tst-tls2.c: Likewise.
23500 * elf/tst-tls3.c: Likewise.
23501 * elf/tst-tls4.c: Likewise.
23502 * elf/tst-tls5.c: Likewise.
23503 * elf/tst-tls6.c: Likewise.
23504 * elf/tst-tls7.c: Likewise.
23505 * elf/tst-tls8.c: Likewise.
23506 * elf/tst-tls9.c: Likewise.
23507 * elf/tst-tlsmod1.c: Likewise.
23508 * elf/tst-tlsmod13.c: Likewise.
23509 * elf/tst-tlsmod13a.c: Likewise.
23510 * elf/tst-tlsmod14a.c: Likewise.
23511 * elf/tst-tlsmod16a.c: Likewise.
23512 * elf/tst-tlsmod16b.c: Likewise.
23513 * elf/tst-tlsmod2.c: Likewise.
23514 * elf/tst-tlsmod3.c: Likewise.
23515 * elf/tst-tlsmod4.c: Likewise.
23516 * elf/tst-tlsmod5.c: Likewise.
23517 * elf/tst-tlsmod6.c: Likewise.
23518
0bfcf2c7
OB
235192013-10-18 Ondřej Bílka <neleai@seznam.cz>
23520
23521 [BZ #12486]
23522 * malloc/malloc.c: remove checks for statistics.
23523
264aad1e
OB
235242013-10-17 Ondřej Bílka <neleai@seznam.cz>
23525
23526 [BZ #15277]
23527 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23528 * inet/tst-network.c: Add testcase.
23529
b957ced8
AS
235302013-10-17 Andreas Schwab <schwab@suse.de>
23531
23532 [BZ #15218]
23533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23534 to determine canonical name.
23535
c5d5d574
OB
235362013-10-17 Ondřej Bílka <neleai@seznam.cz>
23537
23538 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23539 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23541 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23543 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23544 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23545 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23546 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23547 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23548 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23549 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23550 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23551 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23552 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23553 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23554 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23555 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23556 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23557 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23558 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23559 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23560 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23561 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23562 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23563 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23564 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23565 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23566 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23567 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23568 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23569 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23570 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23571 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23572 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23573 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23574 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23575 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23576 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23577 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23578 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23579 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23580 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23581 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23582 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23583 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23584 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23585 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23586 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23587 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23588 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23589 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23590 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23591 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23592 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23593 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23594 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23595 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23596
e5c2c2d0
JM
235972013-10-17 Joseph Myers <joseph@codesourcery.com>
23598
23599 [BZ #16041]
23600 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23601 make result into a quiet NaN.
23602
51ca9e29
JM
236032013-10-16 Joseph Myers <joseph@codesourcery.com>
23604
23605 * soft-fp/adddf3.c: Fix horizontal whitespace.
23606 * soft-fp/addsf3.c: Likewise.
23607 * soft-fp/addtf3.c: Likewise.
23608 * soft-fp/divdf3.c: Likewise.
23609 * soft-fp/divsf3.c: Likewise.
23610 * soft-fp/divtf3.c: Likewise.
23611 * soft-fp/double.h: Likewise.
23612 * soft-fp/eqdf2.c: Likewise.
23613 * soft-fp/eqsf2.c: Likewise.
23614 * soft-fp/eqtf2.c: Likewise.
23615 * soft-fp/extenddftf2.c: Likewise.
23616 * soft-fp/extended.h: Likewise.
23617 * soft-fp/extendsfdf2.c: Likewise.
23618 * soft-fp/extendsftf2.c: Likewise.
23619 * soft-fp/extendxftf2.c: Likewise.
23620 * soft-fp/fixdfdi.c: Likewise.
23621 * soft-fp/fixdfsi.c: Likewise.
23622 * soft-fp/fixdfti.c: Likewise.
23623 * soft-fp/fixsfdi.c: Likewise.
23624 * soft-fp/fixsfsi.c: Likewise.
23625 * soft-fp/fixsfti.c: Likewise.
23626 * soft-fp/fixtfdi.c: Likewise.
23627 * soft-fp/fixtfsi.c: Likewise.
23628 * soft-fp/fixtfti.c: Likewise.
23629 * soft-fp/fixunsdfdi.c: Likewise.
23630 * soft-fp/fixunsdfsi.c: Likewise.
23631 * soft-fp/fixunsdfti.c: Likewise.
23632 * soft-fp/fixunssfdi.c: Likewise.
23633 * soft-fp/fixunssfsi.c: Likewise.
23634 * soft-fp/fixunssfti.c: Likewise.
23635 * soft-fp/fixunstfdi.c: Likewise.
23636 * soft-fp/fixunstfsi.c: Likewise.
23637 * soft-fp/fixunstfti.c: Likewise.
23638 * soft-fp/floatdidf.c: Likewise.
23639 * soft-fp/floatdisf.c: Likewise.
23640 * soft-fp/floatditf.c: Likewise.
23641 * soft-fp/floatsidf.c: Likewise.
23642 * soft-fp/floatsisf.c: Likewise.
23643 * soft-fp/floatsitf.c: Likewise.
23644 * soft-fp/floattidf.c: Likewise.
23645 * soft-fp/floattisf.c: Likewise.
23646 * soft-fp/floattitf.c: Likewise.
23647 * soft-fp/floatundidf.c: Likewise.
23648 * soft-fp/floatundisf.c: Likewise.
23649 * soft-fp/floatunditf.c: Likewise.
23650 * soft-fp/floatunsidf.c: Likewise.
23651 * soft-fp/floatunsisf.c: Likewise.
23652 * soft-fp/floatunsitf.c: Likewise.
23653 * soft-fp/floatuntidf.c: Likewise.
23654 * soft-fp/floatuntisf.c: Likewise.
23655 * soft-fp/floatuntitf.c: Likewise.
23656 * soft-fp/fmadf4.c: Likewise.
23657 * soft-fp/fmasf4.c: Likewise.
23658 * soft-fp/fmatf4.c: Likewise.
23659 * soft-fp/gedf2.c: Likewise.
23660 * soft-fp/gesf2.c: Likewise.
23661 * soft-fp/getf2.c: Likewise.
23662 * soft-fp/ledf2.c: Likewise.
23663 * soft-fp/lesf2.c: Likewise.
23664 * soft-fp/letf2.c: Likewise.
23665 * soft-fp/muldf3.c: Likewise.
23666 * soft-fp/mulsf3.c: Likewise.
23667 * soft-fp/multf3.c: Likewise.
23668 * soft-fp/negdf2.c: Likewise.
23669 * soft-fp/negsf2.c: Likewise.
23670 * soft-fp/negtf2.c: Likewise.
23671 * soft-fp/op-1.h: Likewise.
23672 * soft-fp/op-2.h: Likewise.
23673 * soft-fp/op-4.h: Likewise.
23674 * soft-fp/op-8.h: Likewise.
23675 * soft-fp/op-common.h: Likewise.
23676 * soft-fp/quad.h: Likewise.
23677 * soft-fp/single.h: Likewise.
23678 * soft-fp/soft-fp.h: Likewise.
23679 * soft-fp/sqrtdf2.c: Likewise.
23680 * soft-fp/sqrtsf2.c: Likewise.
23681 * soft-fp/sqrttf2.c: Likewise.
23682 * soft-fp/subdf3.c: Likewise.
23683 * soft-fp/subsf3.c: Likewise.
23684 * soft-fp/subtf3.c: Likewise.
23685 * soft-fp/truncdfsf2.c: Likewise.
23686 * soft-fp/trunctfdf2.c: Likewise.
23687 * soft-fp/trunctfsf2.c: Likewise.
23688 * soft-fp/trunctfxf2.c: Likewise.
23689 * soft-fp/unorddf2.c: Likewise.
23690 * soft-fp/unordsf2.c: Likewise.
23691 * soft-fp/unordtf2.c: Likewise.
23692
9ebb0332
JM
236932013-10-15 Joseph Myers <joseph@codesourcery.com>
23694
23695 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23696 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23697
4b1a6d8b
OB
236982013-10-15 Ondřej Bílka <neleai@seznam.cz>
23699
23700 * elf/dl-libc.c: Clear initfini list after freeing.
23701
1e145589
JM
237022013-10-14 Joseph Myers <joseph@codesourcery.com>
23703
23704 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23705 * soft-fp/addsf3.c: Likewise.
23706 * soft-fp/addtf3.c: Likewise.
23707 * soft-fp/divdf3.c: Likewise.
23708 * soft-fp/divsf3.c: Likewise.
23709 * soft-fp/divtf3.c: Likewise.
23710 * soft-fp/double.h: Likewise.
23711 * soft-fp/eqdf2.c: Likewise.
23712 * soft-fp/eqsf2.c: Likewise.
23713 * soft-fp/eqtf2.c: Likewise.
23714 * soft-fp/extenddftf2.c: Likewise.
23715 * soft-fp/extended.h: Likewise.
23716 * soft-fp/extendsfdf2.c: Likewise.
23717 * soft-fp/extendsftf2.c: Likewise.
23718 * soft-fp/extendxftf2.c: Likewise.
23719 * soft-fp/fixdfdi.c: Likewise.
23720 * soft-fp/fixdfsi.c: Likewise.
23721 * soft-fp/fixdfti.c: Likewise.
23722 * soft-fp/fixsfdi.c: Likewise.
23723 * soft-fp/fixsfsi.c: Likewise.
23724 * soft-fp/fixsfti.c: Likewise.
23725 * soft-fp/fixtfdi.c: Likewise.
23726 * soft-fp/fixtfsi.c: Likewise.
23727 * soft-fp/fixtfti.c: Likewise.
23728 * soft-fp/fixunsdfdi.c: Likewise.
23729 * soft-fp/fixunsdfsi.c: Likewise.
23730 * soft-fp/fixunsdfti.c: Likewise.
23731 * soft-fp/fixunssfdi.c: Likewise.
23732 * soft-fp/fixunssfsi.c: Likewise.
23733 * soft-fp/fixunssfti.c: Likewise.
23734 * soft-fp/fixunstfdi.c: Likewise.
23735 * soft-fp/fixunstfsi.c: Likewise.
23736 * soft-fp/fixunstfti.c: Likewise.
23737 * soft-fp/floatdidf.c: Likewise.
23738 * soft-fp/floatdisf.c: Likewise.
23739 * soft-fp/floatditf.c: Likewise.
23740 * soft-fp/floatsidf.c: Likewise.
23741 * soft-fp/floatsisf.c: Likewise.
23742 * soft-fp/floatsitf.c: Likewise.
23743 * soft-fp/floattidf.c: Likewise.
23744 * soft-fp/floattisf.c: Likewise.
23745 * soft-fp/floattitf.c: Likewise.
23746 * soft-fp/floatundidf.c: Likewise.
23747 * soft-fp/floatundisf.c: Likewise.
23748 * soft-fp/floatunsidf.c: Likewise.
23749 * soft-fp/floatunsisf.c: Likewise.
23750 * soft-fp/floatuntidf.c: Likewise.
23751 * soft-fp/floatuntisf.c: Likewise.
23752 * soft-fp/floatuntitf.c: Likewise.
23753 * soft-fp/fmadf4.c: Likewise.
23754 * soft-fp/fmasf4.c: Likewise.
23755 * soft-fp/fmatf4.c: Likewise.
23756 * soft-fp/gedf2.c: Likewise.
23757 * soft-fp/gesf2.c: Likewise.
23758 * soft-fp/getf2.c: Likewise.
23759 * soft-fp/ledf2.c: Likewise.
23760 * soft-fp/lesf2.c: Likewise.
23761 * soft-fp/letf2.c: Likewise.
23762 * soft-fp/muldf3.c: Likewise.
23763 * soft-fp/mulsf3.c: Likewise.
23764 * soft-fp/multf3.c: Likewise.
23765 * soft-fp/negdf2.c: Likewise.
23766 * soft-fp/negsf2.c: Likewise.
23767 * soft-fp/negtf2.c: Likewise.
23768 * soft-fp/op-1.h: Likewise.
23769 * soft-fp/op-2.h: Likewise.
23770 * soft-fp/op-4.h: Likewise.
23771 * soft-fp/op-8.h: Likewise.
23772 * soft-fp/op-common.h: Likewise.
23773 * soft-fp/quad.h: Likewise.
23774 * soft-fp/single.h: Likewise.
23775 * soft-fp/soft-fp.h: Likewise.
23776 * soft-fp/sqrtdf2.c: Likewise.
23777 * soft-fp/sqrtsf2.c: Likewise.
23778 * soft-fp/sqrttf2.c: Likewise.
23779 * soft-fp/subdf3.c: Likewise.
23780 * soft-fp/subsf3.c: Likewise.
23781 * soft-fp/subtf3.c: Likewise.
23782 * soft-fp/truncdfsf2.c: Likewise.
23783 * soft-fp/trunctfdf2.c: Likewise.
23784 * soft-fp/trunctfsf2.c: Likewise.
23785 * soft-fp/trunctfxf2.c: Likewise.
23786 * soft-fp/unorddf2.c: Likewise.
23787 * soft-fp/unordsf2.c: Likewise.
23788 * soft-fp/unordtf2.c: Likewise.
23789
17c48a60
OB
237902013-10-14 Ondřej Bílka <neleai@seznam.cz>
23791
23792 [BZ #15672]
23793 * misc/error.c (error_tail): Fix possible buffer overflow.
23794
cabba934
OB
237952013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23796
23797 [BZ #13028]
23798 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23799 address.
23800
94bf958a
PM
238012013-10-14 P. J. McDermott <pj@pehjota.net>
23802
23803 [BZ #832]
23804 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23805 testing pipefail option.
23806
71b4dea7
JM
238072013-10-12 Joseph Myers <joseph@codesourcery.com>
23808
23809 * soft-fp/double.h: Indent preprocessor directives inside #if.
23810 * soft-fp/extended.h: Likewise.
23811 * soft-fp/op-2.h: Likewise.
23812 * soft-fp/op-4.h: Likewise.
23813 * soft-fp/op-common.h: Likewise.
23814 * soft-fp/quad.h: Likewise.
23815 * soft-fp/single.h: Likewise.
23816 * soft-fp/soft-fp.h: Likewise.
23817
55602758
YC
238182013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23819
23820 * iconv/iconv_prog.c: Fix typos.
23821 * stdio-common/psiginfo-data.h: Likewise.
23822
9cd83302
RT
238232013-10-12 Reuben Thomas <rrt@sc3d.org>
23824
23825 [BZ #15764]
23826 * locale/setlocale.c: Fix typo.
23827
99fd9f47
JM
238282013-10-12 Joseph Myers <joseph@codesourcery.com>
23829
b7ea74f0
JM
23830 [BZ #16036]
23831 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23832 signaling NaN arguments.
23833 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23834 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23835
8a509447
JM
23836 [BZ #14910]
23837 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23838 unordered operands.
23839 * soft-fp/gesf2.c (__gesf2): Likewise.
23840 * soft-fp/getf2.c (__getf2): Likewise.
23841 * soft-fp/ledf2.c (__ledf2): Likewise.
23842 * soft-fp/lesf2.c (__lesf2): Likewise.
23843 * soft-fp/letf2.c (__letf2): Likewise.
23844
98998e9f
JM
23845 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23846 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23847 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23848 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23849 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23850 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23851 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23852 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23853 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23854 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23855 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23856 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23857 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23858 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23859 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23860 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23861 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23862 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23863 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23864 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23865 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23866 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23867 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23868 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23869 * soft-fp/floattidf.c (__floattidf): Likewise.
23870 * soft-fp/floattisf.c (__floattisf): Likewise.
23871 * soft-fp/floattitf.c (__floattitf): Likewise.
23872 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23873 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23874 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23875 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23876 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23877 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23878 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23879 * soft-fp/gesf2.c (__gesf2): Likewise.
23880 * soft-fp/getf2.c (__getf2): Likewise.
23881 * soft-fp/ledf2.c (__ledf2): Likewise.
23882 * soft-fp/lesf2.c (__lesf2): Likewise.
23883 * soft-fp/letf2.c (__letf2): Likewise.
23884
8edc4a11
JM
23885 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23886 Undefine and redefine.
23887 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23888 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23889 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23890 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23891 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23892 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23893 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23894 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23895 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23896 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23897 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23898 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23899 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23900 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23901 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23902
8399acaf
JM
23903 [BZ #16032]
23904 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23905 without decrementing exponent if mantissa >= that for the
23906 denominator, not >.
23907 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23908 denominator, not >. Decrement exponent in < case instead of
23909 incrementing in >= case.
23910 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23911 without decrementing exponent if mantissa >= that for the
23912 denominator, not >.
23913
99fd9f47
JM
23914 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23915 computing saturated result for unsigned overflow.
23916
10e1cf6b
SP
239172013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23918 Jeff Law <law@redhat.com>
23919
23920 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23921 (atan2Mp): Add systemtap probe marker.
23922 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23923 (__ieee754_log): Add systemtap probe marker.
23924 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23925 (atanMp): Add systemtap probe marker.
23926 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23927 (tanMp): Add systemtap probe marker.
23928 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23929 (__slowexp): Add systemtap probe marker.
23930 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23931 (__slowpow): Add systemtap probe marker.
23932 * manual/probes.texi: Document probes.
23933
3d110c7c
EB
239342013-10-11 Eric Biggers <ebiggers3@gmail.com>
23935
23936 [BZ #15362]
23937 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23938 written.
23939 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23940 written.
23941 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23942 written to buffer but not flushed.
23943 * libio/iofwrite_u.c: Likewise.
23944 * libio/iopadn.c: Return bytes returned even if EOF was
23945 encountered.
23946 * libio/iowpadn.c: Likewise.
23947 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23948 if _IO_padn does not write the whole buffer.
23949 [!COMPILE_WPRINTF] (PAD): Likewise.
23950
75b4202a
DM
239512013-10-10 David S. Miller <davem@davemloft.net>
23952
23953 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23954 directory block.
23955
6c6352e6
JM
239562013-10-10 Joseph Myers <joseph@codesourcery.com>
23957
33b853c3
JM
23958 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23959 instead of FSF address.
23960 * soft-fp/fixdfti.c: Likewise.
23961 * soft-fp/fixsfti.c: Likewise.
23962 * soft-fp/fixtfti.c: Likewise.
23963 * soft-fp/fixunsdfti.c: Likewise.
23964 * soft-fp/fixunssfti.c: Likewise.
23965 * soft-fp/fixunstfti.c: Likewise.
23966 * soft-fp/floattidf.c: Likewise.
23967 * soft-fp/floattisf.c: Likewise.
23968 * soft-fp/floattitf.c: Likewise.
23969 * soft-fp/floatuntidf.c: Likewise.
23970 * soft-fp/floatuntisf.c: Likewise.
23971 * soft-fp/floatuntitf.c: Likewise.
23972 * soft-fp/trunctfxf2.c: Likewise.
23973
6c6352e6
JM
23974 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23975 * soft-fp/fixdfti.c: Likewise.
23976 * soft-fp/fixsfti.c: Likewise.
23977 * soft-fp/fixtfti.c: Likewise.
23978 * soft-fp/fixunsdfti.c: Likewise.
23979 * soft-fp/fixunssfti.c: Likewise.
23980 * soft-fp/fixunstfti.c: Likewise.
23981 * soft-fp/floattidf.c: Likewise.
23982 * soft-fp/floattisf.c: Likewise.
23983 * soft-fp/floattitf.c: Likewise.
23984 * soft-fp/floatuntidf.c: Likewise.
23985 * soft-fp/floatuntisf.c: Likewise.
23986 * soft-fp/floatuntitf.c: Likewise.
23987 * soft-fp/trunctfxf2.c: Likewise.
23988
3bf78b71
DM
239892013-10-10 David S. Miller <davem@davemloft.net>
23990
23991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23992
6f10289e
JM
239932013-10-10 Joseph Myers <joseph@codsourcery.com>
23994
bd878fc0
JM
23995 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23996 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23997 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23998 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23999 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24000 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24001 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24002
6f10289e
JM
24003 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24004 for NaNs before doing comparisons on argument.
24005 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24006 Likewise.
24007
321e2684
WN
240082013-10-10 Will Newton <will.newton@linaro.org>
24009
24010 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24011 passed to _int_memalign does not overflow.
24012
40fefba1
TR
240132013-10-10 Torvald Riegel <triegel@redhat.com>
24014
24015 * scripts/bench.pl: Add include-sources directive.
24016 * benchtests/README: Update documentation.
24017
2ae21ed2
JM
240182013-10-10 Joseph Myers <joseph@codesourcery.com>
24019
dcc2dd3f
JM
24020 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24021 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24022 instead of FP_INIT_ROUNDMODE.
24023 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24024 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24025
2ae21ed2
JM
24026 [BZ #16034]
24027 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24028 copy class of input value.
24029 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24030 not handle exceptions.
24031 * soft-fp/negsf2.c (__negsf2): Likewise.
24032 * soft-fp/negtf2.c (__negtf2): Likewise.
24033 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24034
cb8f9562
JM
240352013-10-09 Joseph Myers <joseph@codesourcery.com>
24036
24037 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24038 semicolon. From Linux kernel.
24039
5b60c59d
AB
240402013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24041
24042 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24043
b86835ca
YC
240442013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24045
24046 [BZ #156]
24047 * manual/socket.texi: Added statement about buffer
24048 for gethostbyname2_r.
24049
e7044ea7
OB
240502013-10-08 Ondřej Bílka <neleai@seznam.cz>
24051
24052 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24053 Use .p2align directive instead, throughout.
24054 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24055 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24056 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24057 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24058 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24059 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24060 * sysdeps/x86_64/strchr.S: Likewise.
24061 * sysdeps/x86_64/strrchr.S: Likewise.
24062
09544cbc
SP
240632013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24064
88576635
SP
24065 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24066
e7b2d1dd
SP
24067 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24068
09544cbc
SP
24069 * sysdeps/generic/math_private.h (__mpsin1): Remove
24070 declaration.
24071 (__mpcos1): Likewise.
24072 (__mpsin): New argument __range_reduce.
24073 (__mpcos): Likewise.
24074 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24075 (slow): Use __mpsin and __mpcos.
24076 (slow1): Likewise.
24077 (slow2): Likewise.
24078 (sloww): Likewise.
24079 (sloww1): Likewise.
24080 (sloww2): Likewise.
24081 (bsloww): Likewise.
24082 (bsloww1): Likewise.
24083 (bsloww2): Likewise.
24084 (cslow2): Likewise.
24085 (csloww): Likewise.
24086 (csloww1): Likewise.
24087 (csloww2): Likewise.
24088 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24089 range_reduce. Merge in __mpsin1.
24090 (__mpcos): Likewise.
24091 (__mpsin1): Remove.
24092 (__mpcos1): Likewise.
24093
7602d070
JM
240942013-10-07 Joseph Myers <joseph@codesourcery.com>
24095
24096 * locale/loadlocale.c (_nl_intern_locale_data): Use
24097 LOCFILE_ALIGNED_P.
24098 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24099 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24100 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24101 obstack data is appropriately aligned.
24102 (obstack_int32_grow_fast): Likewise.
24103 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24104 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24105 (add_locale_uint32_array): Likewise.
24106
a357259b
SP
241072013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24108
24109 * benchtests/Makefile: Remove ARGLIST and RET variables.
24110 ($(objpfx)bench-%.c): Pass only function name to the script.
24111 * benchtests/README: Update documentation.
24112 * benchtests/acos-inputs: Add new directives.
24113 * benchtests/acosh-inputs: Likewise.
24114 * benchtests/asin-inputs: Likewise.
24115 * benchtests/asinh-inputs: Likewise.
24116 * benchtests/atan-inputs: Likewise.
24117 * benchtests/atanh-inputs: Likewise.
24118 * benchtests/cos-inputs: Likewise.
24119 * benchtests/cosh-inputs: Likewise.
24120 * benchtests/exp-inputs: Likewise.
24121 * benchtests/log-inputs: Likewise.
24122 * benchtests/pow-inputs: Likewise.
24123 * benchtests/rint-inputs: Likewise.
24124 * benchtests/sin-inputs: Likewise.
24125 * benchtests/sinh-inputs: Likewise.
24126 * benchtests/tan-inputs: Likewise.
24127 * benchtests/tanh-inputs: Likewise.
24128 * scripts/bench.pl: Add support for new directives.
24129
9ec1b13d
AM
241302013-10-07 Alan Modra <amodra@gmail.com>
24131
24132 * README: Fix careless merge.
24133
8b7d57cd
AM
241342013-10-05 Alan Modra <amodra@gmail.com>
24135
24136 * NEWS: Mention powerpc64le support and bugs fixed.
24137 * README: Both big-endian and little-endian powerpc64 supported.
24138
7b7bab13
ST
241392013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24140
57f41c40
AS
24141 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24142 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
24143 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24144 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24145
d39baad1
RA
241462013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24147
24148 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24149 match prototype.
24150
cd78f7e7
JM
241512013-10-04 Joseph Myers <joseph@codesourcery.com>
24152
29d73d86
JM
24153 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24154 Move -mhard-float appending from
24155 ports/sysdeps/powerpc/powerpc32/Makefile.
24156 [$(with-fp) = yes] (ASFLAGS): Likewise.
24157 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24158 * sysdeps/powerpc/nofpu: Move directory from
24159 ports/sysdeps/powerpc/nofpu.
24160 * sysdeps/powerpc/soft-fp: Move directory from
24161 ports/sysdeps/powerpc/soft-fp.
24162 * sysdeps/powerpc/powerpc32/405: Move directory from
24163 ports/sysdeps/powerpc/powerpc32/405.
24164 * sysdeps/powerpc/powerpc32/440: Move directory from
24165 ports/sysdeps/powerpc/powerpc32/440.
24166 * sysdeps/powerpc/powerpc32/464: Move directory from
24167 ports/sysdeps/powerpc/powerpc32/464.
24168 * sysdeps/powerpc/powerpc32/476: Move directory from
24169 ports/sysdeps/powerpc/powerpc32/476.
24170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24171 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24173 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24175 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24177 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24179 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24180 * README: Update for powerpc-*-linux-gnu software floating point
24181 support in libc.
24182
e246b347
JM
24183 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24184 case to powerpc/powerpc32*.
24185 * sysdeps/unix/sysv/linux/configure: Regenerated.
24186
89c2003e
JM
24187 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24188 (_FPU_MASK_OM): Define as 0x04.
24189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24191 0x00c10080.
24192 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24193 0x0000003c.
24194 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24195
cd78f7e7
JM
24196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24197 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24198 getcontext_e500.
24199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24200 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24201 setcontext_e500.
24202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24203 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24204 and setcontext_e500.
24205
c755294d
CL
242062013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24207
24208 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24209
e16d221c
SP
242102013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24211
24212 * manual/threads.texi (Default Thread Attributes): Fix typo.
24213
215c7d43
WN
242142013-10-04 Will Newton <will.newton@linaro.org>
24215
24216 * malloc/Makefile: Add tst-memalign.
24217 * malloc/tst-memalign.c: New file.
24218
27d0461b
WN
24219 * malloc/tst-posix_memalign.c: Add comments.
24220 (do_test): Add comments and call free on all potentially
24221 allocated pointers. Add space after cast.
24222
1bc92709
WN
24223 * malloc/tst-pvalloc.c: Add comments.
24224 (do_test): Add comments and call free on all potentially
24225 allocated pointers. Remove duplicate check for NULL pointer.
24226 Add space after cast.
24227
66a9be9d
WN
24228 * malloc/tst-valloc.c: Add comments.
24229 (do_test): Add comments and call free on all potentially
24230 allocated pointers. Remove duplicate check for NULL pointer.
24231 Add space after cast.
24232
4cb81307
AM
242332013-10-04 Alan Modra <amodra@gmail.com>
24234
24235 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24236 Use stdint types in rather than __attribute__((mode())).
24237 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24238
f8e3e9f3
AM
242392013-10-04 Alan Modra <amodra@gmail.com>
24240
24241 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24242 Correct handling of unaligned relocs for little-endian.
24243 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24244
8f9ebb08
AM
242452013-10-04 Alan Modra <amodra@gmail.com>
24246
24247 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24248 * configure: Regenerate.
24249 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24250 * shlib-versions: Likewise.
24251
0edf96c2
AM
242522013-10-04 Alan Modra <amodra@gmail.com>
24253
24254 * string/tester.c (test_memrchr): Increment reported test cycle.
24255
e0f7a380
AM
242562013-10-04 Alan Modra <amodra@gmail.com>
24257
24258 * string/test-memcpy.c (do_one_test): When reporting errors, print
24259 string address and don't overrun end of string.
24260
466b0393
AM
242612013-10-04 Alan Modra <amodra@gmail.com>
24262
24263 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24264 insrdi. Make better use of reg selection to speed exit slightly.
24265 Schedule entry path a little better. Remove useless "are we done"
24266 checks on entry to main loop. Handle wrapping around zero address.
24267 Correct main loop count. Handle single left-over word from main
24268 loop inline rather than by using loop_small. Remove extra word
24269 case in loop_small caused by wrong loop count. Add little-endian
24270 support.
24271 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24272 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24273 cache hint.
24274 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24275 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24276 support. Avoid rlwimi.
24277 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24278
3be87c77
AM
242792013-10-04 Alan Modra <amodra@gmail.com>
24280
24281 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24282 insrdi. Formatting.
3be87c77
AM
24283 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24284 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24285 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24286 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24287 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24288 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24289
759cfef3
AM
242902013-10-04 Alan Modra <amodra@gmail.com>
24291
24292 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24293 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24294 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24295 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24296 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24297 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24298 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24299 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24300 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24301 use of regs. Use power7 mtocrf. Tidy function tails.
24302
fe6e95d7
AM
243032013-10-04 Alan Modra <amodra@gmail.com>
24304
24305 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24306 Formatting. Consistently use rXXX register defines or rN defines.
24307 Use early exit labels that avoid restoring unused non-volatile regs.
24308 Make cr field use more consistent with rWORDn compares. Rename
24309 regs used as shift registers for unaligned loop, using rN defines
24310 for short lifetime/multiple use regs.
24311 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24312 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24313 addi 1,1,64 to pop stack frame. Simplify return value code.
24314 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24315
664318c3
AM
243162013-10-04 Alan Modra <amodra@gmail.com>
24317
24318 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24319 support. Correct typos, formatting. Optimize tail. Use insrdi
24320 rather than rlwimi.
24321 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24322 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24323 little-endian support. Correct typos.
24324 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24325 rather than rlwimi.
24326 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24327 in loop and entry code to keep "and." results.
24328 (strchr): Add little-endian support. Comment. Move cntlzd
24329 earlier in tail.
24330 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24331
43b84013
AM
243322013-10-04 Alan Modra <amodra@gmail.com>
24333
24334 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24335 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24336 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24337 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24338
8a7413f9
AM
243392013-10-04 Alan Modra <amodra@gmail.com>
24340
24341 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24342 (rTMP): Define as r11.
24343 (strcmp): Add little-endian support. Optimise tail.
24344 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24345 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24346 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24347 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24348 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24349 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24350 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24351
33ee81de
AM
243522013-10-04 Alan Modra <amodra@gmail.com>
24353
24354 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24355 little-endian support. Remove unnecessary "are we done" tests.
24356 Handle "s" wrapping around zero and extremely large "size".
24357 Correct main loop count. Handle single left-over word from main
24358 loop inline rather than by using small_loop. Correct comments.
24359 Delete "zero" tail, use "end_max" instead.
24360 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24361
db9b4570
AM
243622013-10-04 Alan Modra <amodra@gmail.com>
24363
24364 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24365 support. Don't branch over align.
24366 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24367 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24368 support. Rearrange tmp reg use to suit. Comment.
24369 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24370
f7c399cf
AM
243712013-10-04 Alan Modra <amodra@gmail.com>
24372
24373 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24374
0b2c2ace
AM
243752013-10-04 Alan Modra <amodra@gmail.com>
24376
24377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24378 conditional form of branch and link when obtaining pc.
24379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24380
02f04a6c
AM
243812013-10-04 Alan Modra <amodra@gmail.com>
24382
24383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24384 HIWORD/LOWORD.
24385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24387
9b874b2f
AM
243882013-10-04 Alan Modra <amodra@gmail.com>
24389
24390 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24391 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24392 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24393 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24394 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24395 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24396 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24397 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24398 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24399 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24400
be1e5d31
AB
244012013-10-04 Anton Blanchard <anton@au1.ibm.com>
24402 Alistair Popple <alistair@ozlabs.au.ibm.com>
24403 Alan Modra <amodra@gmail.com>
24404
24405 [BZ #15723]
24406 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24407 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24408 _dl_hwcap access for little-endian.
24409 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24410 destroy vmx regs when saving unaligned.
24411 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24412 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24413 destroy vmx regs when saving unaligned.
24414
fef13a78
AM
244152013-10-04 Alan Modra <amodra@gmail.com>
24416
24417 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24418 Don't use a union to pack hi/low value.
24419
76a66d51
AB
244202013-10-04 Anton Blanchard <anton@au1.ibm.com>
24421
24422 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24423 for little-endian.
24424 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24425 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24426 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24427 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24428 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24429
6a31fe7f
AM
244302013-10-04 Alan Modra <amodra@gmail.com>
24431
24432 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24433 constants to usual value for .cst8 section, and remove redundant
24434 high address load.
24435 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24436 constant for 0x1p52. Load little-endian words of double from
24437 correct stack offsets.
24438
7b88401f
AM
244392013-10-04 Alan Modra <amodra@gmail.com>
24440
24441 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24442 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24443 words of double from correct stack offsets.
24444 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24445 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24446 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24447 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24448 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24449 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24450 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24451 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24452 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24453 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24454 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24455 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24456 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24457 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24458 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24459 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24460 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24461
9c008155
AM
244622013-10-04 Alan Modra <amodra@gmail.com>
24463
24464 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24465 64-bit int/double union.
24466 (_FPU_SETCW): Likewise.
24467 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24468 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24469
da13146d
AM
244702013-10-04 Alan Modra <amodra@gmail.com>
24471
24472 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24473 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24474
603e8410
AM
244752013-10-04 Alan Modra <amodra@gmail.com>
24476
24477 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24478 use vector int constants.
24479 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24480
4a28b3ca
AB
244812013-10-04 Anton Blanchard <anton@au1.ibm.com>
24482
24483 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24484 array with long long.
24485 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24486 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24487 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24488 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24489 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24490 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24491 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24492 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24493 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24494 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24495 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24496 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24497 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24498
2ca85d2b
AB
244992013-10-04 Anton Blanchard <anton@au1.ibm.com>
24500
24501 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24502 (__signbit): Likewise. Correct for little-endian.
24503 (__signbitl): Call __signbit.
24504 (lrint): Correct for little-endian.
24505 (lrintf): Call lrint.
24506
62a728ae
AM
245072013-10-04 Alan Modra <amodra@gmail.com>
24508
24509 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24510 union 32-bit int array member with 64-bit int array.
24511 (t515, tm256): Double rather than long double.
24512 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24513
32c301df
AM
245142013-10-04 Alan Modra <amodra@gmail.com>
24515
24516 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24517 Delete.
24518 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24519 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24520 version of math_ldbl.h.
24521
650ef4bd
AM
245222013-10-04 Alan Modra <amodra@gmail.com>
24523
24524 [BZ #15734], [BZ #15735]
24525 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24526 all uses of ieee875 long double macros and unions. Simplify test
24527 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24528 ldbl_extract_mantissa value for ix,iy exponents. Properly
24529 normalize after ldbl_extract_mantissa, and don't add hidden bit
24530 already handled. Don't treat low word of ieee854 mantissa like
24531 low word of IBM long double and mask off bit when testing for
24532 zero.
24533 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24534 all uses of ieee875 long double macros and unions. Simplify tests
24535 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24536 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24537 two1022, instead use their values. Recognise that tests for large
24538 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24539 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24540 Rewrite all uses of ieee875 long double macros and unions. Simplify
24541 test for 0.0L and nan. Correct negation.
24542 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24543 ieee875 long double macros and unions. Correct output for large
24544 magnitude x. Correct absolute value calculation.
24545 (__erfcl): Likewise.
24546 * math/libm-test.inc: Add tests for errors discovered in IBM long
24547 double versions of fmodl, remainderl, erfl and erfcl.
24548
765714ca
AM
245492013-10-04 Alan Modra <amodra@gmail.com>
24550
24551 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24552 all uses of ieee854 long double macros and unions. Simplify tests
24553 for long doubles that are fully specified by the high double.
24554 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24555 Likewise.
24556 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24557 Remove dead code too.
24558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24559 (__ieee754_ynl): Likewise.
24560 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24561 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24563 Remove dead code too.
24564 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24565 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24566 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24567 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24568 Simplify.
24569 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24570 Simplify.
24571 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24572 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24573 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24574 Comment on variable precision.
24575 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24576 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24577 Likewise.
24578 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24579 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24580 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24581 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24582 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24583
4ebd120c
AM
245842013-10-04 Alan Modra <amodra@gmail.com>
24585
24586 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24587 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24588 all uses of ieee854 long double macros and unions.
24589 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24590 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24591 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24592 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24593 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24594 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24595 Likewise.
24596 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24597 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24598 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24599 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24600 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24601 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24602 Simplify sign and nan test too.
24603 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24604 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24605 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24606 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24607 Likewise.
24608 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24609 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24610 Likewise.
24611 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24612 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24613 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24614 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24615 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24616 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24617
1b6adf88
AM
246182013-10-04 Alan Modra <amodra@gmail.com>
24619
24620 * stdio-common/printf_size.c (__printf_size): Don't use
24621 union ieee854_long_double in fpnum union.
24622 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24623 signbit macro to retrieve sign from long double.
24624 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24625 retrieve sign from long double.
24626 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24627 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24628 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24629 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24630 * math/test-misc.c (main): Don't use union ieee854_long_double.
24631
4cf69995
AM
246322013-10-04 Alan Modra <amodra@gmail.com>
24633
24634 [BZ #15680]
24635 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24636 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24637 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24638 calculation. Remove unnecessary test for denormal exponent.
24639 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24640 Correct handling of denormals. Avoid undefined shift behaviour.
24641 Correct normalisation of low mantissa when low double is denormal.
24642 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24643 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24644 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24645 Correct normalisation of low mantissa. Test for overflow of high
24646 mantissa and normalise.
24647 (ldbl_nearbyint): Use more readable constant for two52.
24648 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24649 (__mpn_construct_long_double): Fix test for overflow of high
24650 mantissa and correct normalisation. Avoid undefined shift.
24651
9605ca6c
AM
246522013-10-04 Alan Modra <amodra@gmail.com>
24653
24654 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24655 (union ibm_extended_long_double): Define as an array of ieee754_double.
24656 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24657 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24658 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24659 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24660 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24661 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24662 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24663 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24664 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24665 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24666 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24667
975569d0
JM
246682013-10-03 Joseph Myers <joseph@codesourcery.com>
24669
d3d23756
JM
24670 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24671 page size instead of calling getpagesize.
24672
975569d0
JM
24673 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24674 (LOCFILE_ALIGN_MASK): Likewise.
24675 (LOCFILE_ALIGN_UP): Likewise.
24676 (LOCFILE_ALIGNED_P): Likewise.
24677 * locale/programs/ld-collate.c (collate_output): Use the new
24678 macros instead of __alignof__ (int32_t).
24679 * locale/weight.h (findidx): Likewise.
24680
b1fe1f2b
OB
246812013-10-03 Ondřej Bílka <neleai@seznam.cz>
24682
24683 [BZ #431]
24684 * manual/string.texi: Fix strncat and wcsncat.
24685
5f855e35
BM
246862013-10-03 Brooks Moses <bmoses@google.com>
24687
24688 [BZ #15915]
24689 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24690 * Makerules: ...here, and adjust associated comments.
24691
3cef6009
WN
246922013-10-02 Will Newton <will.newton@linaro.org>
24693
24694 * malloc/Makefile: Add tst-pvalloc.
24695 * malloc/tst-pvalloc.c: New file.
24696
7815420b
WN
246972013-10-02 Will Newton <will.newton@linaro.org>
24698
24699 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24700 improve test coverage.
24701
4868b204
WN
247022013-10-02 Will Newton <will.newton@linaro.org>
24703
24704 * malloc/Makefile: Add tst-posix_memalign.
24705 * malloc/tst-posix_memalign.c: New file.
24706
29c793b3
EB
247072013-10-01 Eric Blake <eblake@redhat.com>
24708
24709 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24710 Use __THROWNL rather than __THROW on static functions.
24711
fd967522
PM
247122013-09-30 Petr Machata <pmachata@redhat.com>
24713
24714 * elf/elf.h (R_AARCH64_ABS16): New macro.
24715 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24716 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24717 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24718 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24719 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24720 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24721 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24722 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24723 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24724 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24725 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24726 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24727 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24728 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24729 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24730 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24731 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24732 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24733 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24734 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24735 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24736 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24737 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24738 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24739 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24740 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24741 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24742 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24743 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24744 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24745 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24746 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24747 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24748 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24749 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24750 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24751 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24752 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24753 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24754 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24755 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24756 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24757 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24758 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24759 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24760 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24761 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24762 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24763 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24764 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24765 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24766 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24767 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24768 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24769 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24770 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24771 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24772 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24773 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24774 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24775 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24776 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24777 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24778 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24779 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24780 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24781 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24782 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24783 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24784 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24785 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24786 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24787 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24788 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24789 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24790 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24791 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24792 (R_AARCH64_TLSDESC_LDR): Likewise.
24793 (R_AARCH64_TLSDESC_ADD): Likewise.
24794 (R_AARCH64_TLSDESC_CALL): Likewise.
24795
b2179107
AS
247962013-09-30 Andreas Schwab <schwab@suse.de>
24797
24798 [BZ #15048]
24799 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24800 the nss database lookup.
24801 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24803
47f28d0a
MF
248042013-09-28 Mike Frysinger <vapier@gentoo.org>
24805
24806 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24807
248082013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24809
24810 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24811 ${Bash-specific parameter/pattern/string} parameter expansion.
24812 * sysdeps/unix/make-syscalls.sh: Likewise.
24813
f4518a17
KK
248142013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24815
24816 * sysdeps/sh/stackguard-macros.h: New file.
24817
dc1a95c7
OB
248182013-09-26 Ondřej Bílka <neleai@seznam.cz>
24819
24820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24821 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24822 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24823 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24824 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24825 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24826
5ebbff8f
AZ
248272013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24828
24829 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24830 Fix thread ID register.
24831
4fd2cf9f
JM
248322013-09-25 Joseph Myers <joseph@codesourcery.com>
24833
24834 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24835 [POSIX || UNIX98]: Require rather than permitting all symbols from
24836 <time.h>.
24837 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24838 element of struct sched_param.
24839 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24840 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24841 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24842 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24843 constant.
24844
12c22bc4
OL
248452013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24846
24847 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24848 argument calculation.
24849
a03d8ea7
JM
248502013-09-24 Joseph Myers <joseph@codesourcery.com>
24851
24852 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24853 Expect macro.
24854 [POSIX] (pthread_attr_t): Do not require type.
24855 [POSIX] (pthread_cond_t): Likewise.
24856 [POSIX] (pthread_condattr_t): Likewise.
24857 [POSIX] (pthread_key_t): Likewise.
24858 [POSIX] (pthread_mutex_t): Likewise.
24859 [POSIX] (pthread_mutexattr_t): Likewise.
24860 [POSIX] (pthread_once_t): Likewise.
24861 [POSIX] (pthread_t): Likewise.
24862 [POSIX-based standards] (pthread_atfork): Expect function.
24863
6055173a
JM
248642013-09-24 Joseph Myers <joseph@codesourcery.com>
24865 Richard Sandiford <richard@codesourcery.com>
24866
24867 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24868 (swap_endianness_p): New extern variable.
24869 (set_big_endian): New inline function.
24870 (maybe_swap_uint32): Likewise.
24871 (maybe_swap_uint32_array): Likewise.
24872 (maybe_swap_uint32_obstack): Likewise.
24873 * locale/programs/locfile.c: Include <stdbool.h>.
24874 (swap_endianness_p): New variable.
24875 (add_locale_uint32): Call maybe_swap_uint32.
24876 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24877 (write_locale_data): Call maybe_swap_uint32_array.
24878 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24879 maybe_swap_uint32.
24880 (obstack_int32_grow_fast): Likewise.
24881 (output_weightwc): Call maybe_swap_uint32_obstack.
24882 (collate_output): Likewise.
24883 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24884 (OPT_LITTLE_ENDIAN): Likewise.
24885 (options): Add --little-endian and --big-endian options.
24886 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24887 * locale/programs/locarchive.c: Include "locfile.h".
24888 (GET): New macro.
24889 (SET): Likewise.
24890 (INC): Likewise.
24891 (create_archive): Use the new macros to access fields of
24892 structures directly mapped from or written to locale archives.
24893 (oldlocrecentcmp): Likewise.
24894 (enlarge_archive): Likewise.
24895 (insert_name): Likewise.
24896 (add_alias): Likewise.
24897 (add_locale): Likewise.
24898 (delete_locales_from_archive): Likewise.
24899 (show_archive_content): Likewise.
24900 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24901 locale data.
24902
39bf0bb4
RM
249032013-09-24 Roland McGrath <roland@hack.frob.com>
24904
24905 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24906 http://www.gnu.org/doc/freemanuals.texi.
24907 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24908
f02eed10
WN
249092013-09-24 Will Newton <will.newton@linaro.org>
24910
24911 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24912 macro.
24913
a3a6c312
JM
249142013-09-23 Joseph Myers <joseph@codesourcery.com>
24915
24916 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24917 unsigned char.
24918
107375ac
MR
249192013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24920
24921 * manual/threads.texi (POSIX Threads): Fix a typo.
24922
141f3a77
SP
249232013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24924
303e567a
SP
24925 [BZ #14547]
24926 * string/tst-strcoll-overflow.c: New test case.
24927 * string/Makefile (xtests): Add tst-strcoll-overflow.
24928 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24929 cache if string sizes may cause integer overflow.
24930
141f3a77
SP
24931 [BZ #14547]
24932 * string/strcoll_l.c (coll_seq): New members rule, idx,
24933 save_idx and back_us.
24934 (get_next_seq_nocache): New function.
24935 (do_compare_nocache): New function.
24936 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24937 when malloc fails.
24938
c61b4d41
CD
249392013-09-23 Carlos O'Donell <carlos@redhat.com>
24940
0b1f8e35
CD
24941 [BZ #15754]
24942 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24943 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24944 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24945
c61b4d41
CD
24946 [BZ #15754]
24947 * elf/Makefile (tests): Add tst-ptrguard1.
24948 (tests-static): Add tst-ptrguard1-static.
24949 (tst-ptrguard1-ARGS): Define.
24950 (tst-ptrguard1-static-ARGS): Define.
24951 * elf/tst-ptrguard1.c: New file.
24952 * elf/tst-ptrguard1-static.c: New file.
24953 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24954 * sysdeps/i386/stackguard-macros.h: Likewise.
24955 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24956 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24957 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24958 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24959 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24960 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24961
249622013-09-23 Hector Marco <hecmargi@upv.es>
24963 Ismael Ripoll <iripoll@disca.upv.es>
24964 Carlos O'Donell <carlos@redhat.com>
24965
24966 [BZ #15754]
24967 * sysdeps/generic/stackguard-macros.h: Define
24968 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24969 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24970 Define __pointer_chk_guard_local.
24971 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24972 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24973
f5f4e7b4
VV
249742013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24975
24976 [BZ #15859]
24977 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24978
5bb43a43
AS
249792013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24980
24981 * include/string.h (__ffs): Declare as hidden.
24982 * string/ffs.c (__ffs): Define as hidden.
24983 * sysdeps/i386/ffs.c (__ffs): Likewise.
24984 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24985 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24986 * sysdeps/s390/ffs.c (__ffs): Likewise.
24987 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24988
3ea5be54
AO
249892013-09-20 Alexandre Oliva <aoliva@redhat.com>
24990
ffb89e53
AO
24991 * NEWS: Mention malloc probes.
24992
322dea08
AO
24993 * malloc/arena.c (new_heap): New memory_heap_new probe.
24994 (grow_heap): New memory_heap_more probe.
24995 (shrink_heap): New memory_heap_less probe.
24996 (heap_trim): New memory_heap_free probe.
24997 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24998 (systrim): New memory_sbrk_less probe.
24999 * manual/probes.texi: Document them.
25000
655673f3
AO
25001 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25002 * manual/probes.texi: Document it.
25003
35fed6f1
AO
25004 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25005 (__libc_realloc): Add memory_realloc_retry probe.
25006 (__libc_memalign): Add memory_memalign_retry probe.
25007 (__libc_valloc): Add memory_valloc_retry probe.
25008 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25009 (__libc_calloc): Add memory_calloc_retry probe.
25010 * manual/probes.texi: Document them.
25011
6999d38c
AO
25012 * malloc/arena.c (get_free_list): Add probe
25013 memory_arena_reuse_free_list.
25014 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25015 and memory_arena_reuse.
25016 (arena_get2) [!PER_THREAD]: Likewise.
25017 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25018 memory_arena_reuse_realloc.
25019 * manual/probes.texi: Document them.
25020
0653427f
AO
25021 * malloc/malloc.c (__libc_free): Add
25022 memory_mallopt_free_dyn_thresholds probe.
25023 (__libc_mallopt): Add multiple memory_mallopt probes.
25024 * manual/probes.texi: Document them.
25025
3ea5be54
AO
25026 * malloc/malloc.c: Include stap-probe.h.
25027 (__libc_mallopt): Add memory_mallopt probe.
25028 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25029 * manual/probes.texi: New.
25030 * manual/Makefile (chapters): Add probes.
25031 * manual/threads.texi: Set next node.
25032
e35696c3 250332013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 25034
e35696c3
CL
25035 [BZ #15963, #13985]
25036 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25037 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25038 Add `Chinese' to `nan' entry name.
25039
4aafb73c
SP
250402013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25041
25042 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25043 (POLYNOMIAL): Likewise.
25044 (TAYLOR_SINCOS): Likewise.
25045 (TAYLOR_SLOW): Likewise.
25046 (__sin): Use TAYLOR_SINCOS.
25047 (__cos): Likewise.
25048 (slow): Use TAYLOR_SLOW.
25049 (sloww): Likewise.
25050 (bsloww): Likewise.
25051 (csloww): Likewise.
25052
d84f25c7
LD
250532013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25054
25055 * stdlib/strtod_l.c: Fix buffer overrun.
25056
5eea0404
SP
250572013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25058
7849ff93
SP
25059 * benchtests/Makefile (bench): Add sincos.
25060 * benchtests/bench-sincos.c: New file.
25061
cfa3c886
SP
25062 * math/libm-test.inc (cos_test_data): New test inputs.
25063 (sin_test_data): Likewise.
25064
b348e1e3
SP
25065 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25066 macro.
25067 (__sin): Use it.
25068 (__cos): Likewise.
25069 (slow1): Likewise.
25070 (slow2): Likewise.
25071 (sloww1): Likewise.
25072 (sloww2): Likewise.
25073 (bsloww1): Likewise.
25074 (bsloww2): Likewise.
25075 (cslow2): Likewise.
25076 (csloww1): Likewise.
25077 (csloww2): Likewise.
25078
6cce25f8
SP
25079 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25080 function.
25081 (__sin): Use it.
25082 (__cos): Likewise.
25083
5eea0404
SP
25084 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25085 gotos.
25086 (__cos): Likewise.
25087
9c21573c
MR
250882013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25089
25090 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25091 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25092 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25093 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25094 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25095 * elf/cache.c (print_entry): Handle the new cache flags.
25096
24d22e65
JM
250972013-09-18 Joseph Myers <joseph@codesourcery.com>
25098 Aldy Hernandez <aldyh@redhat.com>
25099
25100 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25101 Change condition to [_SOFT_FLOAT].
25102 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25103 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25104 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25105 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25106 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25107 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25108 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25109 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25111 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25112 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25113 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25114 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25115 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25116 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25117 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25118 declaration.
25119
d13ef066
JM
251202013-09-18 Joseph Myers <joseph@codesourcery.com>
25121
2e071de0
JM
25122 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25123 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25124 (__longjmp): Use LOAD_GP to load saved GPRs.
25125 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25126 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25127 (__sigsetjmp): Use SAVE_GP to save GPRs.
25128
d13ef066
JM
25129 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25130 Do not append -msoft-float.
25131 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25132
97a0650b
SP
251332013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25134
25135 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25136
11ca09e9
JM
251372013-09-17 Joseph Myers <joseph@codesourcery.com>
25138
25139 [BZ #15966]
25140 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25141 (_FPU_GETCW): Use initial "__" on variable and field names but not
25142 on macro parameter name.
25143 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25144 parentheses around reference to macro parameter.
25145
08ffcf34
RS
251462013-09-13 Richard Sandiford <richard@codesourcery.com>
25147
25148 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25149 prototype.
25150 (ctype_startup): Use uint32_t in cast and sizeof for
25151 ctype->charnames.
25152
ae7080d3
JL
251532013-09-11 Jia Liu <proljc@gmail.com>
25154
25155 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25156 __daddr_t_defined.
25157 [__FreeBSD__]: Likewise.
25158
5905e7b3
OB
251592013-09-11 Ondřej Bílka <neleai@seznam.cz>
25160
25161 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25162 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25163 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25164 (strchr): Remove __strchr_sse42 ifunc selection.
25165 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25166 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25167
b987c776
WN
251682013-09-11 Will Newton <will.newton@linaro.org>
25169
25170 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25171 parameter to RES. Remove hardcoded 1000 value.
25172 * benchtests/bench-skeleton.c (main): Pass RES parameter
25173 to TIMING_INIT and multiply result by 1000.
25174
ddf985af
AZ
251752013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25176
25177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25178
ffdd3181
AS
251792013-09-11 Andreas Schwab <schwab@suse.de>
25180
25181 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25182 if not defined.
25183 (O_TMPFILE) [__USE_GNU]: Define.
25184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25185 Define.
25186
b73ed247
WN
251872013-09-11 Will Newton <will.newton@linaro.org>
25188
25189 [BZ #15857]
25190 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25191 does not overflow.
25192
55e17aad
WN
251932013-09-11 Will Newton <will.newton@linaro.org>
25194
25195 [BZ #15856]
25196 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25197 does not overflow.
25198
1159a193
WN
251992013-09-11 Will Newton <will.newton@linaro.org>
25200
25201 [BZ #15855]
25202 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25203 does not overflow.
25204
5905e7b3 252052013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
25206
25207 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25208 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25209 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25210 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25211 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25212
cdfc721b
AM
252132013-09-10 Allan McRae <allan@archlinux.org>
25214
aa04af00
AM
25215 [BZ #15748]
25216 * manual/arith.texi (Parsing of Floats): Clarify
25217 cross-reference.
25218
cdfc721b
AM
25219 [BZ #15849]
25220 * manual/install.texi (Running make install): Mention
25221 --enable-pt-chown.
25222 * INSTALL: Regenerated.
25223
95e7cf29
MR
252242013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25225
25226 * csu/init-first.c (_init): Remove the !SHARED condition around
25227 FPU control word initialization.
25228 * elf/dl-support.c (_dl_fpu_control): New variable.
25229 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25230 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25231 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25232 * math/test-fpucw-static.c: New file.
25233 * math/test-fpucw-ieee.c: New file.
25234 * math/test-fpucw-ieee-static.c: New file.
25235 * math/Makefile (tests): Add `test-fpucw-ieee' and
25236 `$(tests-static)'.
25237 (tests-static): New variable.
25238 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25239 dependency to...
25240 [($(build-shared),yes)]
25241 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25242 ... this.
25243 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25244 New dependency.
25245
83e43bf0
AM
252462013-09-09 Allan McRae <allan@archlinux.org>
25247
a9f5ce09
AM
25248 [BZ #15939]
25249 * manual/string.texi (Collation Functions): Fix typo in
25250 strcoll example.
25251 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25252
34829bc2
AM
25253 [BZ #15893]
25254 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25255
3932737d
AM
25256 [BZ #15892]
25257 * libio/memstream.c (open_memstream): Fix memory leak.
25258 * libio/wmemstream.c (open_wmemstream): Likewise.
25259
83e43bf0
AM
25260 [BZ #15895]
25261 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25262
0c66b8e9
WN
252632013-09-09 Will Newton <will.newton@linaro.org>
25264
25265 * malloc/Makefile: Add tst-realloc to tests.
25266 * malloc/tst-realloc.c: New file.
25267
f6b00fd1
AM
252682013-09-09 Allan McRae <allan@archlinux.org>
25269
25270 [BZ #15844]
25271 * COPYING: Update from GNU website to fix FSF address.
25272 * COPYING.LIB: Likewise.
25273
eec55e16
DM
252742013-09-06 David S. Miller <davem@davemloft.net>
25275
25276 * po/zh_TW.po: Update Chinese (traditional) translation from
25277 translation project.
25278
1ecbb381
RS
252792013-09-06 Richard Sandiford <richard@codesourcery.com>
25280 Joseph Myers <joseph@codesourcery.com>
25281
25282 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25283 "localeinfo.h".
25284 (obstack_chunk_alloc): New macro.
25285 (obstack_chunk_free): Likewise.
25286 (record_offset): New function.
25287 (init_locale_data): Likewise.
25288 (align_locale_data): Likewise.
25289 (add_locale_empty): Likewise.
25290 (add_locale_raw_data): Likewise.
25291 (add_locale_raw_obstack): Likewise.
25292 (add_locale_string): Likewise.
25293 (add_locale_wstring): Likewise.
25294 (add_locale_uint32): Likewise.
25295 (add_locale_uint32_array): Likewise.
25296 (add_locale_char): Likewise.
25297 (start_locale_structure): Likewise.
25298 (end_locale_structure): Likewise.
25299 (start_locale_prelude): Likewise.
25300 (end_locale_prelude): Likewise.
25301 (write_locale_data): Take locale_file structure rather than an
25302 iovec.
25303 * locale/programs/locfile.h: Include "obstack.h".
25304 (struct locale_file): Change to store locale file contents instead
25305 of header.
25306 (init_locale_data): New prototype.
25307 (align_locale_data): Likewise.
25308 (add_locale_empty): Likewise.
25309 (add_locale_raw_data): Likewise.
25310 (add_locale_raw_obstack): Likewise.
25311 (add_locale_string): Likewise.
25312 (add_locale_wstring): Likewise.
25313 (add_locale_uint32): Likewise.
25314 (add_locale_uint32_array): Likewise.
25315 (add_locale_char): Likewise.
25316 (start_locale_structure): Likewise.
25317 (end_locale_structure): Likewise.
25318 (start_locale_prelude): Likewise.
25319 (end_locale_prelude): Likewise.
25320 (write_locale_data): Update prototype.
25321 * locale/programs/3level.h (struct TABLE): Remove result field.
25322 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25323 Use new locale_file interface.
25324 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25325 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25326 * locale/programs/ld-address.c (address_output): Use new
25327 locale_file interface.
25328 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25329 NO_ADD_LOCALE.
25330 (collate_finish): Don't call collseq_table_finalize.
25331 (collate_output): Use new locale_file interface.
25332 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25333 in file.
25334 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25335 (TABLE): Move defines earlier in file.
25336 (ELEMENT): Likewise.
25337 (DEFAULT): Likewise.
25338 (wctrans_table_add): Move macro and inline function earlier in
25339 file.
25340 (struct wctype_table): Move type earlier in file.
25341 (add_locale_wctype_table): New static prototype.
25342 (struct locale_ctype_t): Use logical types instead of struct iovec
25343 pointers for members.
25344 (ctype_output): Use new locale_file interface.
25345 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25346 new locale_file interface.
25347 (allocate_arrays): Update for use of new locale_file interface.
25348 * locale/programs/ld-identification.c (identification_output): Use
25349 new locale_file interface.
25350 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25351 * locale/programs/ld-messages.c (messages_output): Likewise.
25352 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25353 * locale/programs/ld-name.c (name_output): Likewise.
25354 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25355 * locale/programs/ld-paper.c (paper_output): Likewise.
25356 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25357 * locale/programs/ld-time.c (time_output): Likewise.
25358
e029e2e5
AZ
253592013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25360
25361 * benchtests/Makefile: Add memrchr benchmark.
25362 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25363 benchmark as memrchr.
25364 * benchtests/bench-memrchr-ifunc.c: New file.
25365 * benchtests/bench-memrchr.c: New file.
25366
bbf6e8e4
WN
253672013-09-06 Will Newton <will.newton@linaro.org>
25368
25369 * benchtests/Makefile (string-bench): Add memcpy.
25370
6c82a2f8
CD
253712013-09-05 Carlos O'Donell <carlos@redhat.com>
25372 Cong Wang <amwang@redhat.com>
25373
e732c5f0 25374 [BZ #15850]
6c82a2f8
CD
25375 * sysdeps/unix/sysv/linux/bits/in.h
25376 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25377 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25378 before __USE_KERNEL_IPV6_DEFS uses.
25379 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25380 IPPROTO_BEETPH.
25381 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25382 sockaddr_in6, or ipv6_mreq.
25383
5430fc65
AZ
253842013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25385
25386 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25387 memory access for final bytes in some large inputs.
25388 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25389
4660856c
AZ
253902013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25391
25392 * string/test-memrchr.c: New file.
25393 * string/test-memrchr-ifunc.c: New file.
25394 * string/Makefile: Add new memrchr testcase.
25395
bb8ea713
MF
253962013-09-05 Mike Frysinger <vapier@gentoo.org>
25397
25398 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25399 fanotify_init returns EPERM.
25400
b92a20b5
JM
254012013-09-04 Joseph Myers <joseph@codesourcery.com>
25402
25403 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25404 errors.
25405 (top level): Treat second token from macro or constant entries for
25406 allowed headers as allowed.
25407 * include/complex.h: Condition internal declarations on
25408 [!_ISOMAC].
25409 * include/fenv.h: Condition include of <stdbool.h> and internal
25410 declarations on [!_ISOMAC].
7447ccd9
CL
25411
254122013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25413
3e181dda 25414 [BZ #15923]
7447ccd9
CL
25415 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25416
3f2e46a4
JM
254172013-09-04 Joseph Myers <joseph@codesourcery.com>
25418
25419 * configure.in (--enable-versioning): Remove configure option.
25420 (libc_cv_asm_symver_directive): Remove configure test.
25421 (libc_cv_ld_version_script_option): Likewise.
25422 (VERSIONING): Remove variable and AC_SUBST.
25423 (DO_VERSIONING): Remove AC_DEFINE.
25424 * configure: Regenerated.
25425 * config.h.in (DO_VERSIONING): Remove macro.
25426 * Makerules [$(versioning) = yes]: Change conditionals to
25427 [$(build-shared) = yes].
25428 * config.make.in (versioning): Remove variable.
25429 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25430 [$(build-shared) = yes].
25431 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25432 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25433 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25434 [$(build-shared) = yes].
25435 * extra-lib.mk [$(versioning) = yes]: Likewise.
25436 * hurd/Makefile [$(versioning) = yes]: Likewise.
25437 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25438 [SHARED].
25439 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25440 [SHARED].
25441 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25442 [SHARED && !NO_HIDDEN].
25443 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25444 [SHARED].
25445 [SHARED && DO_VERSIONING]: Likewise..
25446 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25447 [$(build-shared) = yes].
25448 * manual/install.texi (--disable-versioning): Remove
25449 documentation.
25450 * INSTALL: Regenerated.
25451 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25452 to [SHARED].
25453 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25454 [$(build-shared) = yes].
25455 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25456 * sysdeps/i386/i686/multiarch/strstr-c.c
25457 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25458 [SHARED && !NO_HIDDEN].
25459 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25460 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25461 * sysdeps/powerpc/powerpc32/dl-machine.c
25462 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25463 * sysdeps/powerpc/powerpc32/sysdep.h
25464 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25465 to [SHARED && PIC && !NO_HIDDEN].
25466 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25467 conditional to [SHARED].
25468
44558701
WN
254692013-09-04 Will Newton <will.newton@linaro.org>
25470
25471 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25472 * benchtests/bench-string.h: Include bench-timing.h instead
25473 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25474 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25475 call to HP_TIMING_DIFF_INIT.
25476 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25477 instead of hp-timing.h macros.
25478 * benchtests/bench-memchr.c: Likewise.
25479 * benchtests/bench-memcmp.c: Likewise.
25480 * benchtests/bench-memcpy.c: Likewise.
25481 * benchtests/bench-memmem.c: Likewise.
25482 * benchtests/bench-memmove.c: Likewise.
25483 * benchtests/bench-memset.c: Likewise.
25484 * benchtests/bench-rawmemchr.c: Likewise.
25485 * benchtests/bench-strcasecmp.c: Likewise.
25486 * benchtests/bench-strcasestr.c: Likewise.
25487 * benchtests/bench-strcat.c: Likewise.
25488 * benchtests/bench-strchr.c: Likewise.
25489 * benchtests/bench-strcmp.c: Likewise.
25490 * benchtests/bench-strcpy.c: Likewise.
25491 * benchtests/bench-strcpy_chk.c: Likewise.
25492 * benchtests/bench-strlen.c: Likewise.
25493 * benchtests/bench-strncasecmp.c: Likewise.
25494 * benchtests/bench-strncat.c: Likewise.
25495 * benchtests/bench-strncmp.c: Likewise.
25496 * benchtests/bench-strncpy.c: Likewise.
25497 * benchtests/bench-strnlen.c: Likewise.
25498 * benchtests/bench-strpbrk.c: Likewise.
25499 * benchtests/bench-strrchr.c: Likewise.
25500 * benchtests/bench-strspn.c: Likewise.
25501 * benchtests/bench-strstr.c: Likewise.
25502
cae16d66
WN
255032013-09-04 Will Newton <will.newton@linaro.org>
25504
25505 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25506
ffa3cd7f
JM
255072013-09-03 Joseph Myers <joseph@codesourcery.com>
25508
25509 [BZ #15427]
25510 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25511 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25512 * math/libm-test.inc (lgamma_test_data): Add more tests.
25513 * sysdeps/i386/fpu/libm-test-ulps: Update.
25514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25515
8f02859f
OB
255162013-09-03 Ondřej Bílka <neleai@seznam.cz>
25517
25518 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25520 Add ifunc.
25521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25522 Add strcmp-sse2-unaligned
25523 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25524
18d43716
MF
255252013-09-02 Mike Frysinger <vapier@gentoo.org>
25526
25527 * Versions.def (libc): Add GLIBC_2.19.
25528
ac444012
MF
255292013-09-02 Mike Frysinger <vapier@gentoo.org>
25530
25531 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25532 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25533
b7835e32
JM
255342013-09-02 Joseph Myers <joseph@codesourcery.com>
25535
25536 [BZ #14155]
25537 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25538 intermediate calculations in recurrence.
25539 (__ieee754_ynf): Likewise.
25540 * math/libm-test.inc (jn_test_data): Do not allow spurious
25541 underflow exception. Add more tests.
25542 (yn_test_data): Add more tests.
25543 * sysdeps/i386/fpu/libm-test-ulps: Update.
25544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25545
8220f4f0
OB
255462013-09-02 Ondřej Bílka <neleai@seznam.cz>
25547
25548 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25549
f24a6d08
OB
255502013-08-30 Ondřej Bílka <neleai@seznam.cz>
25551
25552 * csu/init-first.c: Fix then/than typos.
25553 * locale/programs/ld-collate.c: Likewise.
25554 * locale/programs/linereader.h: Likewise.
25555 * manual/charset.texi: Likewise.
25556 * manual/filesys.texi: Likewise.
25557 * manual/stdio.texi: Likewise.
25558 * manual/string.texi: Likewise.
25559 * stdlib/fmtmsg.c: Likewise.
25560 * sysdeps/i386/stpncpy.S: Likewise.
25561 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25562 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25563 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25564 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25565
382466e0
OB
255662013-08-30 Ondřej Bílka <neleai@seznam.cz>
25567
25568 * elf/dl-open.c: Fix typos.
25569 * iconvdata/gbbig5.c: Likewise.
25570 * iconvdata/iso-2022-jp.c: Likewise.
25571 * iconv/gconv_int.h: Likewise.
25572 * iconv/loop.c: Likewise.
25573 * nis/rpcsvc/nis.h: Likewise.
25574 * resolv/ns_name.c: Likewise.
25575 * stdio-common/vfscanf.c: Likewise.
25576 * streams/stropts.h: Likewise.
25577 * sunrpc/rpc_thread.c: Likewise.
25578 * sysdeps/i386/strpbrk.S: Likewise.
25579 * sysdeps/ieee754/k_standard.c: Likewise.
25580 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25581 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25582 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25583 * sysdeps/mach/hurd/profil.c: Likewise.
25584 * sysdeps/s390/dl-procinfo.h: Likewise.
25585 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25586 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25587 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25588 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25589 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25590
0186c6e9
OB
255912013-08-30 Ondřej Bílka <neleai@seznam.cz>
25592
25593 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25594 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25595
d4e16af1
OB
255962013-08-29 Ondřej Bílka <neleai@seznam.cz>
25597
25598 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25599 aix specific files.
25600 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25601 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25602 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25603 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25604 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25605 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25606 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25607 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25608
88335980
TS
256092013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25610 Roland McGrath <roland@hack.frob.com>
25611
25612 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25613 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25614
ed479b02
ST
256152013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25616
25617 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25618 __executable_start symbol instead of _start.
25619
f1cc4c86
TS
256202013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25621
d821f07c
TS
25622 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25623 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25624 Move macros to...
25625 * sysdeps/gnu/ldsodefs.h: ... this new file.
25626
c54290cf
TS
25627 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25628 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25629 instead of ELFOSABI_LINUX.
25630
0007fc9b 25631 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25632 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25633 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25634 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25635 Likewise.
25636 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25637 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25638 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25639 Likewise.
25640 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25641 (ibm_extended_long_double): Add ieee_nan member.
25642 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25643 (do_test): New function.
25644
f1cc4c86
TS
25645 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25646 TEST_TRUNC.
25647 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25648 functions, renamed from truncdfsf_test, trunctfsf_test,
25649 trunctfdf_test.
25650 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25651 functions.
25652 (do_test): Run all these.
25653
6f65e668
OB
256542013-08-29 Ondřej Bílka <neleai@seznam.cz>
25655
25656 * argp/argp-help.c: Fix typos.
25657 * argp/argp-parse.c: Likewise.
25658 * debug/backtracesyms.c: Likewise.
25659 * elf/elf.h: Likewise.
25660 * malloc/malloc.c: Likewise.
25661 * nis/nis_print.c: Likewise.
25662 * resolv/res_comp.c: Likewise.
25663 * stdlib/stdlib.h: Likewise.
25664 * sunrpc/clnt_tcp.c: Likewise.
25665 * sunrpc/clnt_udp.c: Likewise.
25666 * sunrpc/clnt_unix.c: Likewise.
25667 * sysdeps/unix/bsd/ptsname.c: Likewise.
25668 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25669 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25671 Likewise.
25672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25673 Likewise.
25674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25675 Likewise.
6f65e668
OB
25676 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25677
3a309239
SP
256782013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25679
25680 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25682
3b813b29
MF
256832013-08-27 Mike Frysinger <vapier@gentoo.org>
25684
25685 [BZ #15897]
25686 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25687 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25688 ($(objpfx)bug-dl-leaf): New rule.
25689 ($(objpfx)bug-dl-leaf.so): Likewise.
25690 ($(objpfx)bug-dl-leaf.out): Likewise.
25691 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25692 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25693 * dlfcn/bug-dl-leaf.c: New test.
25694 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25695 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25696 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25697 (dlclose): Likewise.
25698 (dlmopen): Likewise.
25699
8cc3269f
RM
257002013-08-27 Roland McGrath <roland@hack.frob.com>
25701
7f9d0034
RM
25702 * include/netdb.h [!_ISOMAC]:
25703 Don't include <tls.h>.
25704 (h_errno, __libc_h_errno): Move declaration and macros out of
25705 [_LIBC_REENTRANT].
25706
fb431262
RM
25707 * include/resolv.h [_RESOLV_H_]:
25708 Don't include <tls.h>.
25709 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25710 * resolv/res_libc.c: Don't include <tls.h>.
25711 (_res): Use __attribute__ ((nocommon)) in place of
25712 __attribute__ ((section (".bss"))).
25713
bd81123a
RM
25714 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25715 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25716
c4e42566
RM
25717 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25718
f890a59b
RM
25719 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25720 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25721
25722 * resolv/res_mkquery.c: Include <sys/time.h>.
25723
5d1f0a09
RM
25724 * inet/ifreq.c: Moved to ...
25725 * sysdeps/unix/ifreq.c: ... here.
25726 * inet/ifreq.c: New file, true stub version.
25727
6fcf28b3
RM
25728 * socket/sa_len.c: New file.
25729 * socket/Makefile (aux): Add it.
25730 * sysdeps/unix/sysv/linux/Makefile
25731 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25732 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25733 and #include <socket/sa_len.c>.
25734 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25735 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25736
e041fb8b
RM
25737 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25738 * bits/socket.h: ... here.
25739
8cc3269f
RM
25740 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25741 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25742 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25743
5d228a43
AS
257442013-08-27 Andreas Schwab <schwab@suse.de>
25745
45b8accc
AS
25746 [BZ #15736]
25747 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25748 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25749 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25750 * string/test-strcasecmp.c (test_main): Run tests in several
25751 locales.
25752 * string/test-strncasecmp.c (test_main): Likewise.
25753
5d228a43
AS
25754 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25755 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25756 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25757 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25758 (__strncasecmp_ssse3) [PIC]: Likewise.
25759
59d112a4
RM
257602013-08-26 Roland McGrath <roland@hack.frob.com>
25761
53234cc3
RM
25762 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25763
59d112a4
RM
25764 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25765 instead of explicitly declaring xdecrypt.
25766 * nis/nss_nis/nis-publickey.c: Likewise.
25767
595aba70
SP
257682013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25769
25770 [BZ #15890]
25771 * nscd/aicache.c: Include res_hconf.h.
25772 (addhstaiX): Initialize res_hconf.
25773
ffabd393
AS
257742013-08-26 Andreas Schwab <schwab@suse.de>
25775
25776 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25777 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25778
e0a69f5c
SP
257792013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25780
25781 * nscd/aicache.c (addhstaiX): Fix indentation.
25782
8c12f01d
MF
257832013-08-25 Mike Frysinger <vapier@gentoo.org>
25784
25785 * configure.ac: Quote $build_pt_chown test.
25786 * configure: Regenerated.
25787
8fe89494
JM
257882013-08-23 Joseph Myers <joseph@codesourcery.com>
25789
25790 [BZ #15532]
25791 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25792 * math/s_cexpf.c (__cexpf): Likewise.
25793 * math/s_cexpl.c (__cexpl): Likewise.
25794 * math/libm-test.inc (cexp_test_data): Correct expected return
25795 value for NaN + i0. Add another test.
25796
75b181d6
DM
257972013-08-22 David S. Miller <davem@davemloft.net>
25798
25799 * po/ca.po: Update Catalan translation from translation project.
936241e4 25800 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25801
acd06bb1
JM
258022013-08-21 Joseph Myers <joseph@codesourcery.com>
25803
25804 [BZ #15797]
25805 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25806 is infinite, not alongside NaN test.
25807 * math/s_fdimf.c (__fdimf): Likewise.
25808 * math/s_fdiml.c (__fdiml): Likewise.
25809 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25810 errno is unchanged.
25811
c0c3f78a
OB
258122013-08-21 Ondřej Bílka <neleai@seznam.cz>
25813
25814 * argp/argp-help.c: Fix typos.
25815 * crypt/speeds.c: Likewise.
25816 * csu/check_fds.c: Likewise.
25817 * elf/dl-load.c: Likewise.
25818 * elf/dl-open.c: Likewise.
25819 * elf/reldep3.c: Likewise.
25820 * elf/reldep.c: Likewise.
25821 * elf/sprof.c: Likewise.
25822 * iconv/iconv_charmap.c: Likewise.
25823 * iconv/skeleton.c: Likewise.
25824 * iconv/strtab.c: Likewise.
25825 * io/lockf64.c: Likewise.
25826 * libio/libioP.h: Likewise.
25827 * resolv/gai_notify.c: Likewise.
25828 * resolv/ns_name.c: Likewise.
25829 * resolv/ns_samedomain.c: Likewise.
25830 * resolv/res_send.c: Likewise.
25831 * stdlib/random.c: Likewise.
25832 * sunrpc/rpc/xdr.h: Likewise.
25833 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25834 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25835 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25836 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25837 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25838 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25839 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25840 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25841 * sysdeps/mach/hurd/check_fds.c: Likewise.
25842 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25843 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25844 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25845 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25846 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25847 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25848 * sysdeps/pthread/aio_notify.c: Likewise.
25849 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25850 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25851 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25852 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25853 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25854
46ed1038
LD
258552013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25856
25857 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25858 version if bit_Slow_SSE4_2 is set.
25859 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25860 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25861
d400dcac
AZ
258622013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25863
25864 [BZ #15867]
25865 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25866 trampoline stack frame information.
25867 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25868 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25869 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25870 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25871 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25872 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25873 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25874 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25875 sa_flags value.
25876 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25877 interrupting a syscall and set with option SA_SIGINFO.
25878
42c8fdd8
JM
258792013-08-20 Joseph Myers <joseph@codesourcery.com>
25880
c980f2f4
JM
25881 [BZ #15531]
25882 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25883 argument is infinite.
25884 * math/s_cprojf.c (__cprojf): Likewise.
25885 * math/s_cprojl.c (__cprojl): Likewise.
25886 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25887 * math/libm-test.inc (cproj_test_data): Add more tests.
25888
0716c4fc
JM
25889 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25890
42c8fdd8
JM
25891 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25892 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25893 size. Use __ffs to determine corresponding shift.
25894
b31469d0
JM
258952013-08-20 Joseph Myers <joseph@codesourcery.com>
25896 Roland McGrath <roland@hack.frob.com>
25897
25898 * Makefile (INSTALL): Remove trailing blank lines from output of
25899 makeinfo.
25900
4e39af6e
AK
259012013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25902
25903 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25904 Align 32 bit compat elf_greg to 8 bytes.
25905
f315524e
AA
259062013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25907
25908 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25909
1326ba1a
SP
259102013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25911
25912 * string/strcoll_l.c (coll_seq): New structure.
25913 (get_next_seq_cached): New function.
25914 (get_next_seq): New function.
25915 (do_compare): New function.
25916 (STRCOLL): Use GNU style definition. Simplify implementation
25917 by using get_next_seq, get_next_seq_cached and do_compare.
25918
91ce4085
FW
259192013-08-16 Florian Weimer <fweimer@redhat.com>
25920
25921 [BZ #14699]
25922 CVE-2013-4237
25923 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25924 member.
25925 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25926 member.
25927 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25928 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25929 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25930 conditional.
25931 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25932 GETDENTS_64BIT_ALIGNED.
25933 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25934 * manual/filesys.texi (Reading/Closing Directory): Document
25935 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25936 strongly.
25937 * manual/conf.texi (Limits for Files): Add portability note to
25938 NAME_MAX, PATH_MAX.
25939 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25940
ca0a6bc4
AS
259412013-08-13 Andreas Schwab <schwab@suse.de>
25942
25943 [BZ #15749]
25944 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25945 of fabs.
25946 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25947 LDBL_MAX_EXP >= 16384]: Add tests for it.
25948
6c1fd795
DM
259492013-08-12 David S. Miller <davem@davemloft.net>
25950
25951 * version.h (RELEASE): Set to "development".
25952 (VERSION): Set to "2.18.90".
25953 * NEWS: Add 2.19 section.
25954
31ad488d
DM
259552013-08-03 David S. Miller <davem@davemloft.net>
25956
25957 * po/ko.po: Update Korean translation from translation project.
25958
db24e684
DM
259592013-08-01 David S. Miller <davem@davemloft.net>
25960
25961 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25962 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25963 Bilka.
25964
f723285b
DM
259652013-07-30 David S. Miller <davem@davemloft.net>
25966
25967 * po/fr.po: Update French translation from translation project.
25968
3cbc52db
DM
259692013-07-28 David S. Miller <davem@davemloft.net>
25970
30bbc0cc
DM
25971 * po/cs.po: Update Czech translation from translation project.
25972
3cbc52db
DM
25973 * po/sv.po: Update Swedish translation from translation project.
25974
d492e6d0
DM
259752013-07-27 David S. Miller <davem@davemloft.net>
25976
f1a7f492
DM
25977 * po/eo.po: Update Esperanto translation from translation project.
25978
90e62a4a
DM
25979 * po/vi.po: Update Vietnamese translation from translation project.
25980
d492e6d0
DM
25981 * po/de.po: Update German translation from translation project.
25982
d4baa62d
DM
259832013-07-26 David S. Miller <davem@davemloft.net>
25984
641aa7b4
DM
25985 * po/bg.po: Update Bulgarian translation from translation project.
25986
d4baa62d
DM
25987 * po/nl.po: Update Dutch translation from translation project.
25988 * po/pl.po: Update Polish translation from translation project.
25989 * po/ru.po: Update Russian translation from translation project.
25990
61a9dcb9
DM
259912013-07-24 David S. Miller <davem@davemloft.net>
25992
25993 * po/libc.pot: Update.
25994
7b1f8b58
AZ
259952013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25996
25997 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25998 variable page size.
25999 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26000 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26001 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26002
a8fc7a03
AK
260032013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26004
26005 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26006
e4608715
CD
260072013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26008 Andreas Schwab <schwab@suse.de>
26009 Roland McGrath <roland@hack.frob.com>
26010 Joseph Myers <joseph@codesourcery.com>
26011 Carlos O'Donell <carlos@redhat.com>
26012
26013 [BZ #15755]
26014 * config.h.in: Define HAVE_PT_CHOWN.
26015 * config.make.in (build-pt-chown): New variable.
26016 * configure.in (--enable-pt_chown): New configure option.
26017 * configure: Regenerate.
26018 * login/Makefile: Include Makeconfig. Build pt_chown only if
26019 build-pt-chown is enabled.
26020 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26021 pt_chown to fix pty ownership.
26022 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26023 CLOSE_ALL_FDS.
26024 * manual/install.texi (Configuring and compiling): Mention
26025 --enable-pt_chown. Add @findex for grantpt.
26026 * INSTALL: Regenerate.
26027
da2d62df
DM
260282013-07-20 David S. Miller <davem@davemloft.net>
26029
26030 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26031 difference between 32-bit and 64-bit.
26032
d7e06450
CD
260332013-07-15 Carlos O'Donell <carlos@redhat.com>
26034
26035 [BZ #15711]
26036 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26037 Avoid system header dependency with -ffreestanding.
26038 ($(objpfx)bits/syscall%d): Likewise.
26039
f959cfd7
DM
260402013-07-13 David S. Miller <davem@davemloft.net>
26041
26042 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26043 underflows from atanl/atan2l due to bug 15319.
26044 (casinh_test_data): Likewise.
26045
c61f8513
DM
260462013-07-07 David S. Miller <davem@davemloft.net>
26047
26048 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26049
72c90ed0
JA
260502013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26051
26052 * sysdeps/i386/fpu/libm-test-ulps: Update.
26053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26054
52dfbe13
SP
260552013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26056
26057 * configure.in (--enable-lock-elision): Fix message text.
26058 * INSTALL: Regenerate.
26059 * configure: Regenerate.
26060
3f169543
AZ
260612013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26062
26063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26064
521c6785
AJ
260652013-07-03 Andreas Jaeger <aj@suse.de>
26066
26067 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26068 define.
26069 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26070 (ptrace_peeksiginfo_args): Add.
26071 (__ptrace_peeksiginfo_flags): Add.
26072 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26073 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26074 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26075
d2cc15cb
AM
260762013-07-03 Allan McRae <allan@archlinux.org>
26077
26078 * sysdeps/i386/fpu/libm-test-ulps: Update.
26079
3aaeeca7
DM
260802013-07-02 David S. Miller <davem@davemloft.net>
26081
26082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26083
5314ed1a
MT
260842013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26085
26086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26087
67338156
JM
260882013-07-02 Joseph Myers <joseph@codesourcery.com>
26089
26090 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26092
1717da59
AK
260932013-07-02 Andi Kleen <ak@linux.intel.com>
26094
26095 * config.h.in (ENABLE_LOCK_ELISION): Add.
26096 * configure.in (--enable-lock-elision): Add option.
26097 * manual/install.texi: Document --enable lock elision.
26098 * configure: Regenerate
26099 * INSTALL: Regenerate.
26100
1c81621c
L
261012013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26102
26103 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26104 SSE4.2 strcasecmp for libc.a.
26105 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26106
77f01ab5
JM
261072013-07-02 Joseph Myers <joseph@codesourcery.com>
26108
26109 [BZ #13304]
26110 * soft-fp/op-common.h (_FP_FMA): New macro.
26111 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26112 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26113 (_FP_MUL_MEAT_1_imm): ... here.
26114 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26115 (_FP_MUL_MEAT_1_wide): ... here.
26116 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26117 (_FP_MUL_MEAT_1_hard): ... here.
26118 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26119 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26120 (_FP_MUL_MEAT_2_wide): ... here.
26121 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26122 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26123 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26124 (_FP_MUL_MEAT_2_gmp): ... here.
26125 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26126 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26127 (_FP_MUL_MEAT_4_wide): ... here.
26128 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26129 (_FP_MUL_MEAT_4_gmp): ... here.
26130 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26131 (_FP_WFRACBITS_DW_S): Likewise.
26132 (_FP_WFRACXBITS_DW_S): Likewise.
26133 (_FP_HIGHBIT_DW_S): Likewise.
26134 (FP_FMA_S): Likewise.
26135 (_FP_FRAC_HIGH_DW_S): Likewise.
26136 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26137 (_FP_WFRACBITS_DW_D): Likewise.
26138 (_FP_WFRACXBITS_DW_D): Likewise.
26139 (_FP_HIGHBIT_DW_D): Likewise.
26140 (FP_FMA_D): Likewise.
26141 (_FP_FRAC_HIGH_DW_D): Likewise.
26142 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26143 (_FP_WFRACBITS_DW_E): Likewise.
26144 (_FP_WFRACXBITS_DW_E): Likewise.
26145 (_FP_HIGHBIT_DW_E): Likewise.
26146 (FP_FMA_E): Likewise.
26147 (_FP_FRAC_HIGH_DW_E): Likewise.
26148 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26149 (_FP_WFRACBITS_DW_Q): Likewise.
26150 (_FP_WFRACXBITS_DW_Q): Likewise.
26151 (_FP_HIGHBIT_DW_Q): Likewise.
26152 (FP_FMA_Q): Likewise.
26153 (_FP_FRAC_HIGH_DW_Q): Likewise.
26154 * soft-fp/fmasf4.c: New file.
26155 * soft-fp/fmadf4.c: Likewise.
26156 * soft-fp/fmatf4.c: Likewise.
26157
6308fd9a
LD
261582013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26159
26160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26161 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26162 Silvermont.
26163 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26164 macro.
26165 (index_Slow_SSE4_2): Likewise.
26166 (index_Prefer_PMINUB_for_stringop): Likewise.
26167 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26168 bit_Slow_SSE4_2 is set.
26169 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26170 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26171
89cd9569
RA
261722013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26173
26174 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26175 rtld_global._dl_hwcap2.
26176 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26177 POWER8.
26178 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26179 POWER8 feature descriptions defined in _dl_hwcap2.
26180 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26181 string handling for POWER8 feature bits.
26182 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26183 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26184 _dl_powerpc_cap_flags.
26185 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26186 * sysdeps/powerpc/rtld-global-offsets.sym
26187 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26188 _dl_hwcap2 in the rtld_global_ro structure.
26189
1ae8bfe0
RA
261902013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26191
26192 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26193 hardware capabilities in support of AT_HWCAP2.
26194 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26195 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26196 GLRO(dl_hwcap2).
26197 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26198 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26199 explicitly the unknown a_type display mechanism is used.
26200 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26201 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26202 struct member.
26203 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26204 to macro prototype for AT_HWCAP2 support.
26205 * sysdeps/i386/dl-procinfo.h: Likewise.
26206 * sysdeps/s390/dl-procinfo.h: Likewise.
26207 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26208 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26209 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26210 return -1 for unknown a_type display fallback.
26211 * sysdeps/sparc/dl-procinfo.h: Likewise.
26212 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26213 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26214
8fbec010
JM
262152013-06-28 Joseph Myers <joseph@codesourcery.com>
26216
26217 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26218 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26219
0432680e
PY
262202013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26221
26222 [BZ #12492]
26223 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26224 mprotect making __stack_prot writable.
26225
ce61a2ad
NF
262262013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26227 Joseph Myers <joseph@codesourcery.com>
26228
26229 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26230 as being properly aligned.
26231
f91f1c0f
MR
262322013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26233
3d0f5d0c
MR
26234 * dlfcn/modstatic5.c: New file.
26235 * dlfcn/tststatic5.c: New file.
26236 * dlfcn/Makefile (tests): Add tststatic5.
26237 (tests-static): Likewise.
26238 (modules-names): Add modstatic5.
26239 (tststatic5-ENV): New variable.
26240 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26241
f91f1c0f
MR
26242 [BZ #15022]
26243 * elf/dl-support.c (_dl_main_map): New variable.
26244 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26245 (_dl_nns, _dl_load_adds): Set to 1.
26246 (_dl_initial_searchlist): Refer to _dl_main_map.
26247 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26248 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26249 call to _dl_get_origin.
26250 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26251 around call_map.
26252 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26253 * dlfcn/modstatic3.c: New file.
26254 * dlfcn/tststatic3.c: New file.
26255 * dlfcn/tststatic4.c: New file.
26256 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26257 (tests-static): Likewise.
26258 (modules-names): Add modstatic3.
26259 (tststatic3-ENV, tststatic4-ENV): New variables.
26260 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26261 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26262
cbe7d24b
JM
262632013-06-26 Joseph Myers <joseph@codesourcery.com>
26264
26265 * configure.in (CC): Require GCC version 4.4 or later.
26266 * configure: Regenerated.
26267 * manual/install.texi (Tools for Compilation): Update GCC version
26268 requirement.
26269 * INSTALL: Regenerated.
26270
11b8a0e1
LD
262712013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26272
26273 [BZ #15674]
bb5bb87c
L
26274 * string/test-memcmp.c (check2): New.
26275 (main): Call check2.
26276
11b8a0e1
LD
26277 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26278
b0037103
MR
262792013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26280
26281 [BZ #15022]
26282 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26283 over to...
26284 (dl_open_worker) [!SHARED]: ... here.
26285
c18c701d
RA
262862013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26287
26288 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26289
1d17fa5f
RH
262902013-06-25 Richard Henderson <rth@redhat.com>
26291
26292 * locale/programs/locarchive.c: Include <libc-internal.h>
26293
8fcb833a
JM
262942013-06-25 Joseph Myers <joseph@codesourcery.com>
26295
26296 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26297 trailing whitespace removed.
26298
17db6e8d
MF
262992013-06-24 Mike Frysinger <vapier@gentoo.org>
26300
26301 [BZ #10283]
17db6e8d
MF
26302 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26303 * locale/programs/locarchive.c: Include libc-mmap.h.
26304 (prepare_address_space): Take two new outputs (the mmap base and len).
26305 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26306 values.
26307 (create_archive): Declare new mmap base and len values for
26308 prepare_address_space, and store the result in ah.
26309 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26310 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26311 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26312 Declare new mmap base and len values for
26313 prepare_address_space, and store the result in new_ah.
26314 (open_archive): Declare new mmap base and len values for
26315 prepare_address_space, and store the result in ah.
26316 (close_archive): If ah->mmap_base is not NULL, use that and
26317 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26318 * sysdeps/generic/libc-mmap.h: New file.
26319
d605071e
MF
263202013-06-24 Mike Frysinger <vapier@gentoo.org>
26321
26322 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26323 (ALIGN_UP): Likewise.
26324 (PTR_ALIGN_DOWN): Likewise.
26325 (PTR_ALIGN_UP): Likewise.
26326
2f063a6e
RA
263272013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26328
26329 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26330 entry mapped to PPC_PLATFORM_POWER8.
26331 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26332 POWER8.
26333 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26334 (_dl_string_platform): Add case for exporting platform position for
26335 POWER8.
26336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26337 search path to sysdeps/powerpc/powerpc32/power8 directory.
26338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26339 search path to sysdeps/powerpc/powerpc64/power8 directory.
26340 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26341 power7 directories.
26342 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26343 power7 directories.
26344
a31ee4b3
SP
263452013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26346
a74ca98f
SP
26347 * INSTALL: Regenerate.
26348
a31ee4b3
SP
26349 * nscd/connections.c (nscd_init): Fix comment.
26350
695c378f
JM
263512013-06-22 Joseph Myers <joseph@codesourcery.com>
26352
d8412221
JM
26353 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26354
695c378f
JM
26355 [BZ #15667]
26356 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26357 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26358
d1d54715
MR
263592013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26360
26361 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26362 DL_DST_REQ_STATIC.
26363 (DL_DST_REQ_STATIC): Remove macro.
26364
8fdda7af
JM
263652013-06-21 Joseph Myers <joseph@codesourcery.com>
26366
26367 [BZ #7006]
26368 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26369 with a shift of 0 bits.
26370
f3bc5e5a
MR
263712013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26372
26373 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26374 $(tststatic-ENV).
26375
be09e8c9
KK
263762013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26377
26378 [BZ #15655]
26379 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26380
85c2e611
AZ
263812013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26382
26383 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26384 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26385 accepts -fno-tree-loop-distribute-patterns.
26386 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26387 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26388 recursive call.
26389 * string/memset.c (memset): Likewise.
26390 * string/test-memmove.c (simple_memmove): Disable loop transformation
26391 to library calls.
26392 * string/test-memset.c (simple_memset): Likewise.
26393 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26394 * benchtests/bench-memset.c (simple_memset): Likewise.
26395 * configure: Regenerated.
26396
c91e0825
JM
263972013-06-20 Joseph Myers <joseph@codesourcery.com>
26398
b8c792af
JM
26399 * math/test-misc.c (main): Ignore fesetround failure when failures
26400 of subsequent rounding tests would be ignored.
26401
c91e0825
JM
26402 [BZ #15654]
26403 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26404 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26405 * math/fegetenv.c (__fegetenv): Return 0.
26406 * math/fegetexcept.c (fegetexcept): Return 0.
26407 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26408 FE_TONEAREST.
26409 * math/feholdexcpt.c (feholdexcept): Return 0.
26410 * math/fesetenv.c (__fesetenv): Return 0.
26411 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26412 argument FE_TONEAREST.
26413 * math/feupdateenv.c (__feupdateenv): Return 0.
26414 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26415
bfcacbde
RM
264162013-06-18 Roland McGrath <roland@hack.frob.com>
26417
26418 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26419 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26420 ($(objpfx)rtld-%.os rules): Use them.
26421
e55a9b25
AZ
264222013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26423
26424 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26425 fields.
26426
346d65b3
RM
264272013-06-17 Roland McGrath <roland@hack.frob.com>
26428
12086fb4
RM
26429 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26430 length of target pattern, then descending length of dependency pattern.
26431 * configure.in (AWK): Require gawk 3.1.2 or newer.
26432 * manual/install.texi (Tools for Compilation): Say that we do.
26433 * configure: Regenerated.
26434
346d65b3
RM
26435 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26436 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26437 * scripts/sysd-rules.awk: ... this new script.
26438 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26439 than a glob-style pattern.
26440
1a846317
JM
264412013-06-17 Joseph Myers <joseph@codesourcery.com>
26442
26443 * math/test-misc.c (main): Do not treat incorrectly rounded
26444 conversions as failure unless ROUNDING_TESTS passes.
26445
8fc75e6f
JM
264462013-06-15 Joseph Myers <joseph@codesourcery.com>
26447
3711a167
JM
26448 [BZ #15631]
26449 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26450 restore exception state around main square root computation, then
26451 check for inexactness explicitly.
26452
8fc75e6f
JM
26453 * math/libm-test.inc (fma_test_data): Add another test.
26454
61dd6208
SP
264552013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26456
adf23d2c
SP
26457 * manual/threads.texi (Non-POSIX Extensions): New document
26458 node. Document pthread_getattr_default_np and
26459 pthread_setattr_default_np.
26460
61dd6208
SP
26461 * Versions.def (libpthread): Add GLIBC_2.18.
26462 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26464 Likewise.
26465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26466 Likewise.
26467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26468 Likewise.
26469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26470 Likewise.
26471 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26472 Likewise.
26473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26474 Likewise.
26475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26476 Likewise.
26477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26478 Likewise.
26479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26480 Likewise.
26481
d086fc7b
LD
264822013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26483
26484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26485 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26486
747ef469
SP
264872013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26488 H.J. Lu <hjl.tools@gmail.com>
26489
26490 [BZ #15627]
26491 * sysdeps/x86_64/rtld-memset.c: Remove file.
26492 * sysdeps/x86_64/rtld-memset.S: New file.
26493
1b2feed2
JM
264942013-06-14 Joseph Myers <joseph@codesourcery.com>
26495
26496 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26497 (test_in_one_mode): Take arguments for whether the rounding mode
26498 is supported for each floating-point type.
26499 (do_test): Pass new arguments to test_in_one_mode using
26500 ROUNDING_TESTS.
26501
a58ad3f8
RM
265022013-06-13 Roland McGrath <roland@hack.frob.com>
26503
26504 * posix/tst-waitid.c (do_test): Distinguish different instances of
26505 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26506 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26507 before entering the kernel for waitpid.
26508
c204ab28
SP
265092013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26510
26511 * NEWS: Fix note on clock function precision. Text by Roland
26512 McGrath.
26513
f4a29fba
RM
265142013-06-13 Roland McGrath <roland@hack.frob.com>
26515
26516 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26517 it into place only when and if the sanity check passes.
26518
1f24b9ad
JM
265192013-06-13 Joseph Myers <joseph@codesourcery.com>
26520
26521 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26522 output for whether conversion result is exact. Take argument
26523 indicating whether type is IBM long double.
26524 (round_for_all): Change need_exact field to ibm_ld.
26525 * stdlib/tst-strtod-round.c (struct exactness): New type.
26526 (struct test): Change bool ld_ok field to struct exactness exact.
26527 (TEST): Update all definitions for change to field.
26528 (tests): Regenerate array contents.
26529 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26530 field value. Check for IBM long double here.
26531 (do_test): Update calls to test_in_one_mode.
26532
58206c68
SP
265332013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26534
26535 [BZ #12515]
26536 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26537 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26538
2d6f4c5b 265392013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
26540
26541 [BZ #15605]
26542 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26543 generated by the compiler on loop optimizations.
26544 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26545 general definitions.
26546
94f2c076
JM
265472013-06-12 Joseph Myers <joseph@codesourcery.com>
26548
26549 * math/bug-nextafter.c: Include <math-tests.h>.
26550 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26551 the relevant type.
26552 * math/bug-nexttoward.c: Include <math-tests.h>.
26553 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26554 the relevant type.
26555 * math/test-misc.c: Include <math-tests.h>.
26556 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26557 the relevant type.
26558
e0e50a0a
AJ
265592013-06-12 Andreas Jaeger <aj@suse.de>
26560
26561 * po/ia.po: Update Interlingua translation from translation
26562 project.
26563
25061094
SP
265642013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26565
26566 * include/fenv.h: Include stdbool.h.
26567 (struct rm_ctx): New structure.
26568 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26569 Define macro.
26570 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26571 (SET_RESTORE_ROUNDF): Likewise.
26572 (SET_RESTORE_ROUNDL): Likewise.
26573 (SET_RESTORE_ROUND_NOEX): Likewise.
26574 (SET_RESTORE_ROUND_NOEXF): Likewise.
26575 (SET_RESTORE_ROUND_NOEXL): Likewise.
26576 (SET_RESTORE_ROUND_53BIT): Likewise.
26577 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26578 (libc_feresetround_noexf_ctx): Likewise.
26579 (libc_feresetround_noexl_ctx): Likewise.
26580 (libc_feholdsetround_53bit_ctx): Likewise.
26581 (libc_feresetround_53bit_ctx): Likewise.
26582 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26583 (libc_feholdexcept_setround_sse_ctx): New function.
26584 (libc_fesetenv_sse_ctx): Likewise.
26585 (libc_feupdateenv_sse_ctx): Likewise.
26586 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26587 (libc_feholdexcept_setround_387_ctx): Likewise.
26588 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26589 (libc_feholdsetround_387_prec_ctx): Likewise.
26590 (libc_feholdsetround_387_ctx): Likewise.
26591 (libc_feholdsetround_387_53bit_ctx): Likewise.
26592 (libc_feholdsetround_sse_ctx): Likewise.
26593 (libc_feresetround_sse_ctx): Likewise.
26594 (libc_feresetround_387_ctx): Likewise.
26595 (libc_feupdateenv_387_ctx): Likewise.
26596 (libc_feholdexcept_setroundf_ctx): Define macro.
26597 (libc_fesetenvf_ctx): Likewise.
26598 (libc_feupdateenvf_ctx): Likewise.
26599 (libc_feholdsetroundf_ctx): Likewise.
26600 (libc_feresetroundf_ctx): Likewise.
26601 (libc_feholdexcept_setround_ctx): Likewise.
26602 (libc_fesetenv_ctx): Likewise.
26603 (libc_feupdateenv_ctx): Likewise.
26604 (libc_feholdsetround_ctx): Likewise.
26605 (libc_feresetround_ctx): Likewise.
26606 (libc_feholdexcept_setroundl_ctx): Likewise.
26607 (libc_feupdateenvl_ctx): Likewise.
26608 (libc_feholdsetroundl_ctx): Likewise.
26609 (libc_feresetroundl_ctx): Likewise.
26610 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26611 (libc_feresetround_53bit_ctx): Likewise.
26612
59b30555
SP
266132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26614
26615 * locale/iso-639.def: Convert to UTF-8.
26616
f1d73d30
JM
266172013-06-11 Joseph Myers <joseph@codesourcery.com>
26618
26619 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26620 (EXCEPTION_TESTS_double): Likewise.
26621 (EXCEPTION_TESTS_long_double): Likewise.
26622 (EXCEPTION_TESTS): Likewise.
26623 * math/libm-test.inc (test_exceptions): Only test exceptions if
26624 EXCEPTION_TESTS (FLOAT).
26625
94aca5e7
SP
266262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26627
26628 * benchtests/Makefile (string-bench): Add strcpy_chk and
26629 stpcpy_chk.
26630 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26631 * benchtests/bench-stpcpy_chk.c: New file.
26632 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26633 * benchtests/bench-strcpy_chk.c: New file.
26634 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26635 code.
26636 (do_test): Likewise.
26637
fac0c5f2
RA
266382013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26639
26640 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26641 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26642 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26643 with tabs where appropriate.
26644 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26645 dl-procinfo.h.
26646 [PPC_PLATFORM_PPC440]: Likewise.
26647 [PPC_PLATFORM_PPC464]: Likewise.
26648 [PPC_PLATFORM_PPC476]: Likewise.
26649 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26650 ppc464, and ppc476 platform strings merging from ports/
26651 dl-procinfo.h.
26652
f22bc486
AS
266532013-06-11 Andreas Schwab <schwab@suse.de>
26654
26655 [BZ #14991]
26656 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26657 (from_ucs4_idx): Regenerate.
26658 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26659 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26660 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26661 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26662 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26663 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26664 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26665 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26666 from FROM_LOOP and TO_LOOP specific macros.
26667 (BODY): Handle combining characters.
26668 * iconvdata/BIG5HKSCS.irreversible: Update.
26669 * iconvdata/BIG5HKSCS.precomposed: New file.
26670 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26671 characters.
26672 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26673
c1f75dc3
SP
266742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26675
4eacded2
SP
26676 * include/sys/time.h: Fix indentation and add copyright header.
26677
fec799f8
SP
26678 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26679 (do_test): Likewise.
26680 * string/test-memchr.c (do_one_test): Likewise.
26681 (do_test): Likewise.
26682 * string/test-memcmp.c (do_one_test): Likewise.
26683 (do_test): Likewise.
26684 * string/test-memcpy.c (do_one_test): Likewise.
26685 (do_test): Likewise.
26686 * string/test-memmem.c (do_one_test): Likewise.
26687 (do_test): Likewise.
26688 (do_random_tests): Likewise.
26689 * string/test-memmove.c (do_one_test): Likewise.
26690 (do_test): Likewise.
26691 * string/test-memset.c (do_one_test): Likewise.
26692 (do_test): Likewise.
26693 * string/test-rawmemchr.c (do_one_test): Likewise.
26694 (do_test): Likewise.
26695 * string/test-strcasecmp.c (do_one_test): Likewise.
26696 (do_test): Likewise.
26697 * string/test-strcasestr.c (do_one_test): Likewise.
26698 (do_test): Likewise.
26699 * string/test-strcat.c (do_one_test): Likewise.
26700 (do_test): Likewise.
26701 * string/test-strchr.c (do_one_test): Likewise.
26702 (do_test): Likewise.
26703 * string/test-strcmp.c (do_one_test): Likewise.
26704 (do_test): Likewise.
26705 * string/test-strcpy.c (do_one_test): Likewise.
26706 (do_test): Likewise.
26707 * string/test-string.h: Likewise.
26708 (test_init): Likewise.
26709 * string/test-strlen.c (do_one_test): Likewise.
26710 (do_test): Likewise.
26711 * string/test-strncasecmp.c (do_one_test): Likewise.
26712 (do_test): Likewise.
26713 * string/test-strncat.c (do_one_test): Likewise.
26714 (do_test): Likewise.
26715 * string/test-strncmp.c (do_one_test): Likewise.
26716 (do_test_limit): Likewise.
26717 (do_test): Likewise.
26718 * string/test-strncpy.c (do_one_test): Likewise.
26719 (do_test): Likewise.
26720 * string/test-strnlen.c (do_one_test): Likewise.
26721 (do_test): Likewise.
26722 * string/test-strpbrk.c (do_one_test): Likewise.
26723 (do_test): Likewise.
26724 * string/test-strrchr.c (do_one_test): Likewise.
26725 (do_test): Likewise.
26726 * string/test-strspn.c (do_one_test): Likewise.
26727 (do_test): Likewise.
26728 * string/test-strstr.c (do_one_test): Likewise.
26729 (do_test): Likewise.
26730
97020474
SP
26731 * benchtests/Makefile (string-bench): Add string benchmarks.
26732 * benchtests/bench-bcopy-ifunc.c: New file.
26733 * benchtests/bench-bcopy.c: New file.
26734 * benchtests/bench-bzero-ifunc.c: New file.
26735 * benchtests/bench-bzero.c: New file.
26736 * benchtests/bench-memccpy-ifunc.c: New file.
26737 * benchtests/bench-memccpy.c: New file.
26738 * benchtests/bench-memchr-ifunc.c: New file.
26739 * benchtests/bench-memchr.c: New file.
26740 * benchtests/bench-memcmp-ifunc.c: New file.
26741 * benchtests/bench-memcmp.c: New file.
26742 * benchtests/bench-memmem-ifunc.c: New file.
26743 * benchtests/bench-memmem.c: New file.
26744 * benchtests/bench-memmove-ifunc.c: New file.
26745 * benchtests/bench-memmove.c: New file.
26746 * benchtests/bench-mempcpy-ifunc.c: New file.
26747 * benchtests/bench-mempcpy.c: New file.
26748 * benchtests/bench-memset-ifunc.c: New file.
26749 * benchtests/bench-memset.c: New file.
26750 * benchtests/bench-rawmemchr-ifunc.c: New file.
26751 * benchtests/bench-rawmemchr.c: New file.
26752 * benchtests/bench-stpcpy-ifunc.c: New file.
26753 * benchtests/bench-stpcpy.c: New file.
26754 * benchtests/bench-stpncpy-ifunc.c: New file.
26755 * benchtests/bench-stpncpy.c: New file.
26756 * benchtests/bench-strcasecmp-ifunc.c: New file.
26757 * benchtests/bench-strcasecmp.c: New file.
26758 * benchtests/bench-strcasestr-ifunc.c: New file.
26759 * benchtests/bench-strcasestr.c: New file.
26760 * benchtests/bench-strcat-ifunc.c: New file.
26761 * benchtests/bench-strcat.c: New file.
26762 * benchtests/bench-strchr-ifunc.c: New file.
26763 * benchtests/bench-strchr.c: New file.
26764 * benchtests/bench-strchrnul-ifunc.c: New file.
26765 * benchtests/bench-strchrnul.c: New file.
26766 * benchtests/bench-strcmp-ifunc.c: New file.
26767 * benchtests/bench-strcmp.c: New file.
26768 * benchtests/bench-strcpy-ifunc.c: New file.
26769 * benchtests/bench-strcpy.c: New file.
26770 * benchtests/bench-strcspn-ifunc.c: New file.
26771 * benchtests/bench-strcspn.c: New file.
26772 * benchtests/bench-strlen-ifunc.c: New file.
26773 * benchtests/bench-strlen.c: New file.
26774 * benchtests/bench-strncasecmp-ifunc.c: New file.
26775 * benchtests/bench-strncasecmp.c: New file.
26776 * benchtests/bench-strncat-ifunc.c: New file.
26777 * benchtests/bench-strncat.c: New file.
26778 * benchtests/bench-strncmp-ifunc.c: New file.
26779 * benchtests/bench-strncmp.c: New file.
26780 * benchtests/bench-strncpy-ifunc.c: New file.
26781 * benchtests/bench-strncpy.c: New file.
26782 * benchtests/bench-strnlen-ifunc.c: New file.
26783 * benchtests/bench-strnlen.c: New file.
26784 * benchtests/bench-strpbrk-ifunc.c: New file.
26785 * benchtests/bench-strpbrk.c: New file.
26786 * benchtests/bench-strrchr-ifunc.c: New file.
26787 * benchtests/bench-strrchr.c: New file.
26788 * benchtests/bench-strspn-ifunc.c: New file.
26789 * benchtests/bench-strspn.c: New file.
26790 * benchtests/bench-strstr-ifunc.c: New file.
26791 * benchtests/bench-strstr.c: New file.
26792
c1f75dc3
SP
26793 * benchtests/Makefile: Disable parallel execution of targets.
26794 (string-bench): Add memcpy.
26795 (benchset): New variable to store a list of benchmark sets.
26796 (bench-func): Renamed from bench.
26797 (bench-set): New target.
26798 (bench): Depend on bench-func and bench-set.
26799 * benchtests/README: Add section on benchmark sets.
26800 * benchtests/bench-memcpy-ifunc.c: New file.
26801 * benchtests/bench-memcpy.c: New file.
26802 * benchtests/bench-string.h: New file.
26803
50fd745b
AS
268042013-06-11 Andreas Schwab <schwab@suse.de>
26805
26806 [BZ #15577]
26807 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26808 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26809 values in the triple.
26810 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26811 terminator in the group key.
26812
3ee7e9fe
AJ
268132013-06-11 Andreas Jaeger <aj@suse.de>
26814
26815 * po/zh_TW.po: Update Chinese (traditional) translation from
26816 translation project.
26817
89fb6835
SP
268182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26819
26820 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26821 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26822 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26823 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26824 (clock_getcpuclockid): Likewise.
26825 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26826 Add weak_alias and libc_hidden_def.
26827 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26828 * rt/clock_gettime.c (clock_gettime): Rename to
26829 __clock_gettime. Add weak_alias and libc_hidden_def.
26830 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26831 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26832 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26833 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26834 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26835 Likewise.
26836 * rt/clock_settime.c (clock_settime): Rename to
26837 __clock_settime. Add weak_alias and libc_hidden_def.
26838 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26839
0efa6f8b
JM
268402013-06-10 Joseph Myers <joseph@codesourcery.com>
26841
b8c61b4b
JM
26842 * mach/err_boot.sub: Remove trailing whitespace.
26843 * mach/err_ipc.sub: Likewise.
26844 * mach/err_mach.sub: Likewise.
26845
0efa6f8b
JM
26846 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26847 (ROUNDING_TESTS_double): Likewise.
26848 (ROUNDING_TESTS_long_double): Likewise.
26849 (ROUNDING_TESTS): Likewise.
26850 * math/libm-test.inc: Include <math-tests.h>.
26851 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26852 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26853 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26854 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26855
50b818bf
SP
268562013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26857
26858 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26859 of assigning.
26860
60d2f8f3
JM
268612013-06-08 Joseph Myers <joseph@codesourcery.com>
26862
4902d2c3
JM
26863 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26864 otherwise empty TRANS lines.
26865 * sysdeps/gnu/errlist.c: Regenerated.
26866
60d2f8f3
JM
26867 * catgets/gencat.c (error_print): Use (void) in function
26868 definition.
26869 * crypt/crypt_util.c (__init_des): Likewise.
26870 * crypt/speeds.c (Stop): Likewise.
26871 (main): Likewise.
26872 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26873 * inet/ruserpass.c (token): Likewise.
26874 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26875 * intl/localealias.c (extend_alias_table): Likewise.
26876 * intl/plural-exp.c (init_germanic_plural): Likewise.
26877 * libio/fcloseall.c (__fcloseall): Likewise.
26878 * libio/genops.c (_IO_flush_all): Likewise.
26879 (_IO_flush_all_linebuffered): Likewise.
26880 (_IO_cleanup): Likewise.
26881 (_IO_iter_begin): Likewise.
26882 (_IO_iter_end): Likewise.
26883 (_IO_list_lock): Likewise.
26884 (_IO_list_unlock): Likewise.
26885 (_IO_list_resetlock): Likewise.
26886 * libio/getchar.c (getchar): Likewise.
26887 * libio/getchar_u.c (getchar_unlocked): Likewise.
26888 * libio/getwchar.c (getwchar): Likewise.
26889 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26890 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26891 * login/getpt.c (__getpt): Likewise.
26892 * login/tst-utmp.c (main): Likewise.
26893 * malloc/hooks.c (__malloc_check_init): Likewise.
26894 * malloc/malloc.c (__malloc_stats): Likewise.
26895 * malloc/mtrace.c (tr_break): Likewise.
26896 (mtrace): Likewise.
26897 (muntrace): Likewise.
26898 * misc/fstab.c (endfsent): Likewise.
26899 * misc/getclktck.c (__getclktck): Likewise.
26900 * misc/getdtsz.c (__getdtablesize): Likewise.
26901 * misc/gethostid.c (gethostid): Likewise.
26902 * misc/getpagesize.c (__getpagesize): Likewise.
26903 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26904 (__get_nprocs): Likewise.
26905 (__get_phys_pages): Likewise.
26906 (__get_avphys_pages): Likewise.
26907 * misc/getttyent.c (getttyent): Likewise.
26908 (setttyent): Likewise.
26909 (endttyent): Likewise.
26910 * misc/getusershell.c (getusershell): Likewise.
26911 (endusershell): Likewise.
26912 (setusershell): Likewise.
26913 (initshells): Likewise.
26914 * misc/hsearch.c (__hdestroy): Likewise.
26915 * misc/sync.c (sync): Likewise.
26916 * misc/syslog.c (closelog_internal): Likewise.
26917 (closelog): Likewise.
26918 * misc/ttyslot.c (ttyslot): Likewise.
26919 * misc/vhangup.c (vhangup): Likewise.
26920 * posix/fork.c (__fork): Likewise.
26921 * posix/getegid.c (__getegid): Likewise.
26922 * posix/geteuid.c (__geteuid): Likewise.
26923 * posix/getgid.c (__getgid): Likewise.
26924 * posix/getpid.c (__getpid): Likewise.
26925 * posix/getppid.c (__getppid): Likewise.
26926 * posix/getuid.c (__getuid): Likewise.
26927 * posix/pause.c (pause): Likewise.
26928 * posix/setpgrp.c (setpgrp): Likewise.
26929 * posix/setsid.c (__setsid): Likewise.
26930 * posix/test-vfork.c (noop): Likewise.
26931 * resolv/gethnamaddr.c (_endhtent): Likewise.
26932 (_gethtent): Likewise.
26933 (ht_endhostent): Likewise.
26934 (gethostent): Likewise.
26935 (dns_service): Likewise.
26936 * stdlib/drand48.c (drand48): Likewise.
26937 * stdlib/lrand48.c (lrand48): Likewise.
26938 * stdlib/mrand48.c (mrand48): Likewise.
26939 * stdlib/rand.c (rand): Likewise.
26940 * stdlib/random.c (__random): Likewise.
26941 * stdlib/setenv.c (clearenv): Likewise.
26942 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26943 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26944 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26945 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26946 (__get_nprocs): Likewise.
26947 (__get_phys_pages): Likewise.
26948 (__get_avphys_pages): Likewise.
26949 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26950 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26951 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26952 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26953 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26954 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26955 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26956 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26957 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26958 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26959 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26960 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26961 * sysdeps/posix/clock.c (clock): Likewise.
26962 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26963 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26964 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26965 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26966 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26967 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26968 (__get_nprocs_conf): Likewise.
26969 (__get_phys_pages): Likewise.
26970 (__get_avphys_pages): Likewise.
26971 * time/clock.c (clock): Likewise.
26972 * time/tzset.c (__tzname_max): Likewise.
26973
2e09a79a
JM
269742013-06-07 Joseph Myers <joseph@codesourcery.com>
26975
26976 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26977 (__bswap_32): Do not use "register".
26978 * crypt/crypt.c (_ufc_doit_r): Likewise.
26979 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26980 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26981 * gmon/gmon.c (__monstartup): Likewise.
26982 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26983 * hurd/hurdmalloc.c (more_memory): Likewise.
26984 (malloc): Likewise.
26985 (free): Likewise.
26986 (realloc): Likewise.
26987 (malloc_fork_prepare): Likewise.
26988 (malloc_fork_parent): Likewise.
26989 (malloc_fork_child): Likewise.
26990 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26991 (_svcauth_des): Likewise.
26992 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26993 * inet/inet_net.c (inet_network): Likewise.
26994 * inet/inet_netof.c (inet_netof): Likewise.
26995 * inet/rcmd.c (__validuser2_sa): Likewise.
26996 * io/fts.c (fts_open): Likewise.
26997 (fts_load): Likewise.
26998 (fts_close): Likewise.
26999 (fts_read): Likewise.
27000 (fts_children): Likewise.
27001 (fts_build): Likewise.
27002 (fts_stat): Likewise.
27003 (fts_sort): Likewise.
27004 (fts_alloc): Likewise.
27005 (fts_lfree): Likewise.
27006 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27007 (_IO_file_xsgetn): Likewise.
27008 (_IO_file_xsgetn_mmap): Likewise.
27009 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27010 (_IO_cookie_write): Likewise.
27011 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27012 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27013 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27014 * malloc/obstack.c (_obstack_begin): Likewise.
27015 (_obstack_begin_1): Likewise.
27016 (_obstack_newchunk): Likewise.
27017 (_obstack_allocated_p): Likewise.
27018 (obstack_free): Likewise.
27019 (_obstack_memory_used): Likewise.
27020 * misc/getttyent.c (getttynam): Likewise.
27021 (getttyent): Likewise.
27022 (skip): Likewise.
27023 (value): Likewise.
27024 * misc/getusershell.c (initshells): Likewise.
27025 * misc/syslog.c (__vsyslog_chk): Likewise.
27026 * misc/ttyslot.c (ttyslot): Likewise.
27027 * nis/nis_hash.c (__nis_hash): Likewise.
27028 * posix/fnmatch_loop.c (FCT): Likewise.
27029 * posix/getconf.c (print_all): Likewise.
27030 (main): Likewise.
27031 * posix/getopt.c (exchange): Likewise.
27032 * posix/glob.c (globfree): Likewise.
27033 (prefix_array): Likewise.
27034 (__glob_pattern_type): Likewise.
27035 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27036 (NS_GET32): Likewise.
27037 (NS_PUT16): Likewise.
27038 (NS_PUT32): Likewise.
27039 * resolv/gethnamaddr.c (getanswer): Likewise.
27040 (gethostbyname2): Likewise.
27041 (gethostbyaddr): Likewise.
27042 (_gethtent): Likewise.
27043 (_gethtbyname2): Likewise.
27044 (_gethtbyaddr): Likewise.
27045 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27046 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27047 * resolv/res_init.c (__res_vinit): Likewise.
27048 (net_mask): Likewise.
27049 * resolv/res_mkquery.c (outchar): Likewise.
27050 (PRINT): Likewise.
27051 * stdio-common/printf_fp.c (outchar): Likewise.
27052 (PRINT): Likewise.
27053 * stdio-common/printf_fphex.c (outchar): Likewise.
27054 (PRINT): Likewise.
27055 * stdio-common/printf_size.c (outchar): Likewise.
27056 (PRINT): Likewise.
27057 * stdio-common/test_rdwr.c (main): Likewise.
27058 * stdio-common/tfformat.c (matches): Likewise.
27059 * stdio-common/vfprintf.c (outchar): Likewise.
27060 (printf_unknown): Likewise.
27061 (buffered_vfprintf): Likewise.
27062 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27063 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27064 (ReadFile): Likewise.
27065 * stdlib/qsort.c (SWAP): Likewise.
27066 (_quicksort): Likewise.
27067 * stdlib/setenv.c (__add_to_environ): Likewise.
27068 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27069 * stdlib/strtol_l.c (__strtol_l): Likewise.
27070 * stdlib/tst-strtod.c (main): Likewise.
27071 * stdlib/tst-strtol.c (main): Likewise.
27072 * stdlib/tst-strtoll.c (main): Likewise.
27073 * string/bits/string2.h (__strcmp_cc): Likewise.
27074 (__strcmp_cg): Likewise.
27075 (__strcspn_c1): Likewise.
27076 (__strcspn_c2): Likewise.
27077 (__strcspn_c3): Likewise.
27078 (__strspn_c1): Likewise.
27079 (__strspn_c2): Likewise.
27080 (__strspn_c3): Likewise.
27081 (__strsep_1c): Likewise.
27082 (__strsep_2c): Likewise.
27083 (__strsep_3c): Likewise.
27084 * string/memccpy.c (__memccpy): Likewise.
27085 * string/stpcpy.c (__stpcpy): Likewise.
27086 * string/strcmp.c (strcmp): Likewise.
27087 * string/strrchr.c (strrchr): Likewise.
27088 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27089 Likewise.
27090 * sysdeps/mach/hurd/getcwd.c
27091 (_hurd_canonicalize_directory_name_internal): Likewise.
27092 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27093 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27094 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27095 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27096 Likewise, in both definitions.
27097 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27098 definitions.
27099 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27100 64] (__bswap_64): Likewise.
27101 * time/test_time.c (main): Likewise.
27102 * time/tzfile.c (__tzfile_read): Likewise.
27103 (__tzfile_compute): Likewise.
27104 * time/tzset.c (__tzset_parse_tz): Likewise.
27105 (tzset_internal): Likewise.
27106 (compute_change): Likewise.
27107 * wcsmbs/wcscat.c (__wcscat): Likewise.
27108 * wcsmbs/wcschr.c (wcschr): Likewise.
27109 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27110 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27111 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27112 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27113 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27114 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27115 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27116 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27117 * wcsmbs/wmemset.c (wmemset): Likewise.
27118
9e54314b
JM
271192013-06-06 Joseph Myers <joseph@codesourcery.com>
27120
27121 * scripts/config.guess: Update to version 2013-05-16.
27122 * scripts/config.sub: Update to version 2013-04-24.
27123 * scripts/install-sh: Update to version 2011-11-20.07.
27124 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27125 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27126
350635a5
OB
271272013-06-06 Ondřej Bílka <neleai@seznam.cz>
27128
27129 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27130 * elf/sln.c: Likewise.
27131 * hurd/hurd/ioctl.h: Likewise.
27132 * hurd/hurdmalloc.c: Likewise.
27133 * hurd/xattr.c: Likewise.
27134 * include/shlib-compat.h: Likewise.
27135 * inet/ruserpass.c: Likewise.
27136 * libio/iofgets_u.c: Likewise.
27137 * libio/iofgetws_u.c: Likewise.
27138 * locale/programs/ld-identification.c: Likewise.
27139 * locale/programs/ld-time.c: Likewise.
27140 * mach/msg-destroy.c: Likewise.
27141 * nss/nss_files/files-netgrp.c: Likewise.
27142 * resolv/res_data.c: Likewise.
27143 * soft-fp/op-1.h: Likewise.
27144 * soft-fp/op-2.h: Likewise.
27145 * soft-fp/op-4.h: Likewise.
27146 * soft-fp/op-common.h: Likewise.
27147 * stdio-common/printf_fphex.c: Likewise.
27148 * stdlib/strtod_l.c: Likewise.
27149 * sunrpc/rpc/clnt.h: Likewise.
27150 * sysdeps/generic/framestate.c: Likewise.
27151 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27152 * sysdeps/i386/bsd-setjmp.S: Likewise.
27153 * sysdeps/i386/__longjmp.S: Likewise.
27154 * sysdeps/i386/setjmp.S: Likewise.
27155 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27156 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27157 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27158 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27159 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27160 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27161 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27162 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27163 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27164 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27165 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27166 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27167 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27168 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27169 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27170 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27171 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27172 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27173 * sysdeps/ieee754/support.c: Likewise.
27174 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27175 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27176 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27177 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27178 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27179 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27180 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27181 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27182 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27183 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27184 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27185 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27186 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27187 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27188 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27189 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27190 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27192
44a988af
OB
271932013-06-05 Ondřej Bílka <neleai@seznam.cz>
27194
25506f09 27195 * posix/transbug.c: Remove executable mode.
44a988af 27196
9c84384c
JM
271972013-06-05 Joseph Myers <joseph@codesourcery.com>
27198
27199 * crypt/speeds.c: Remove trailing whitespace.
27200 * dlfcn/default.c: Likewise.
27201 * elf/ifuncdep2.c: Likewise.
27202 * elf/ifuncmain1.c: Likewise.
27203 * elf/ifuncmain1vis.c: Likewise.
27204 * elf/testobj.h: Likewise.
27205 * elf/tst-stackguard1.c: Likewise.
27206 * gmon/sys/gmon.h: Likewise.
27207 * hurd/hurdmsg.c: Likewise.
27208 * hurd/new-fd.c: Likewise.
27209 * hurd/ports-get.c: Likewise.
27210 * iconvdata/ibm1008_420.c: Likewise.
27211 * inet/tst-getni1.c: Likewise.
27212 * inet/tst-getni2.c: Likewise.
27213 * libio/ioungetc.c: Likewise.
27214 * libio/wfiledoalloc.c: Likewise.
27215 * manual/libm-err-tab.pl: Likewise.
27216 * math/w_dremf.c: Likewise.
27217 * misc/ftruncate.c: Likewise.
27218 * posix/bug-glob2.c: Likewise.
27219 * posix/tst-pcre.c: Likewise.
27220 * posix/wait4.c: Likewise.
27221 * resolv/README: Likewise.
27222 * resolv/res_debug.h: Likewise.
27223 * resolv/tst-inet_ntop.c: Likewise.
27224 * setjmp/bug269-setjmp.c: Likewise.
27225 * soft-fp/extended.h: Likewise.
27226 * soft-fp/op-1.h: Likewise.
27227 * soft-fp/op-2.h: Likewise.
27228 * soft-fp/op-4.h: Likewise.
27229 * soft-fp/op-8.h: Likewise.
27230 * soft-fp/testit.c: Likewise.
27231 * stdio-common/bug16.c: Likewise.
27232 * stdlib/random.c: Likewise.
27233 * sunrpc/rpcsvc/rquota.x: Likewise.
27234 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27235 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27236 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27237 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27238 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27239 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27240 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27241 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27242 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27243 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27244 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27245 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27246 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27247 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27249 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27250 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27251 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27252 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27253 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27254 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27255 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27256 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27257 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27258 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27259 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27260 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27261 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27262 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27263 * sysdeps/ieee754/s_lib_version.c: Likewise.
27264 * sysdeps/mach/hurd/check_fds.c: Likewise.
27265 * sysdeps/mach/hurd/getsockname.c: Likewise.
27266 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27267 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27268 * sysdeps/powerpc/bits/link.h: Likewise.
27269 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27270 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27271 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27272 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27273 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27274 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27275 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27276 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27277 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27278 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27279 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27280 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27281 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27282 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27283 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27284 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27285 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27286 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27287 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27288 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27289 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27290 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27291 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27292 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27293 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27294 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27295 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27296 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27297 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27298 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27299 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27300 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27301 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27302 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27303 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27304 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27305 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27306 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27307 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27308 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27309 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27310 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27311 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27312 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27313 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27314 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27315 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27316 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27317 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27318 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27319 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27320 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27321 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27322 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27323 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27324 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27325 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27326 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27327 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27328 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27329 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27330 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27331 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27332 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27333 * sysdeps/powerpc/sysdep.h: Likewise.
27334 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27335 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27336 * sysdeps/sh/dl-trampoline.S: Likewise.
27337 * sysdeps/sh/memset.S: Likewise.
27338 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27339 * sysdeps/sh/strlen.S: Likewise.
27340 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27341 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27342 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27343 * sysdeps/sparc/sparc32/rem.S: Likewise.
27344 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27345 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27346 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27347 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27348 * sysdeps/sparc/sparc32/urem.S: Likewise.
27349 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27350 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27351 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27352 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27353 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27354 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27355 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27356 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27357 * sysdeps/unix/bsd/times.c: Likewise.
27358 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27359 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27363 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27364 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27365 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27366 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27367 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27368 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27369 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27370 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27371 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27372 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27373 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27374 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27375 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27376 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27377 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27378 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27379 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27380 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27381 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27382 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27383 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27384 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27385 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27386 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27387 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27388 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27389 * sysdeps/x86_64/strcspn.S: Likewise.
27390
869378a5
RA
273912013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27392
27393 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27394 generated file. Regenerate properly from gen-translit.pl.
27395 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27396 locale/C-translit.h.
27397
840e2943
AS
273982013-06-05 Andreas Schwab <schwab@suse.de>
27399
27400 [BZ #15100]
27401 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27402 week as 6 instead of -1.
27403 * time/tst-strptime.c (day_tests): Add test case.
27404
4c60cb0c
SP
274052013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27406
27407 * sysdeps/generic/math_private.h
27408 (libc_feholdexcept_setround_53bit): Replace with
27409 libc_feholdsetround_53bit.
27410 (libc_feupdateenv_53bit): Replace with
27411 libc_feresetround_53bit.
27412 (SET_RESTORE_ROUND_53BIT): Adjust.
27413
d180203e
SP
274142013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27415
96df079a
SP
27416 * string/test-strchrnul.c: Add copyright header.
27417
d180203e
SP
27418 * posix/tst-getaddrinfo4.c: Increase test timeout.
27419
8b0ccb2d
CD
274202013-06-03 Carlos O'Donell <carlos@redhat.com>
27421
27422 [BZ #15536]
27423 * math/libm-test.inc (MAX_EXP): Remove
27424 (MIN_EXP): Define.
27425 (ulp): Use MIN_EXP - MANT_DIG.
27426 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27427
3b3c4d40
CD
274282013-05-31 Carlos O'Donell <carlos@redhat.com>
27429
27430 * po/be.po: Revert last change.
27431 * po/zh_CN.po: Likewise.
27432 * po/header.pot: Likewise.
27433
fab7ce3f
JM
274342013-05-31 Joseph Myers <joseph@codesourcery.com>
27435
27436 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27437 link-libc-deps to empty as target-specific variable.
27438 * Makerules (link-libc-args): New variable.
27439 (libc-for-link): Likewise.
27440 (link-libc-deps): Likewise.
27441 (lib%.so): Depend on $(link-libc-deps). Link with
27442 $(link-libc-args).
27443 (build-module): Link with $(link-libc-args).
27444 (build-module-asneeded): Likewise.
27445 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27446 list of objects.
27447 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27448 target-specific variable.
27449 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27450 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27451 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27452 libc.
27453 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27454 libc and ld.so.
27455 ($(objpfx)libpcprofile.so): Likewise.
27456 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27457 libc_nonshared.a.
27458 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27459 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27460 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27461 $(link-libc-deps).
27462 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27463 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27464 * login/Makefile ($(objpfx)libutil.so): Likewise.
27465 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27466 * math/Makefile ($(objpfx)libm.so): Likewise.
27467 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27468 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27469 variable instead of depending directly on libc.
27470 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27471 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27472 $(link-libc-deps).
27473 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27474 libc.
27475 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27476 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27477 ($(objpfx)libanl.so): Likewise.
27478 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27479 ld.so.
27480 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27481 $(link-libc-deps).
27482 * sysdeps/i386/fpu/Makefile: Remove file.
27483 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27484 ($(objpfx)libm.so): Remove dependency on ld.so.
27485
eca5920c
PF
274862013-05-30 Patsy Franklin <pfrankli@redhat.com>
27487
27488 [BZ # 15553]
27489 * nis/yp_xdr.c (XDRMAXNAME): Define.
27490 (XDRMAXRECORD): Define.
27491 (xdr_domainname): Use XDRMAXNAME.
27492 (xdr_mapname): Likewise.
27493 (xdr_peername): Likewise.
27494 (xdr_keydat): Use XDRMAXRECORD.
27495 (xdr_valdat): Likewise.
27496
274972013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27498
27499 [BZ #14256]
27500 * manual/errno.texi (ESTALE): Update to account for more than
27501 just NFS file systems.
27502 * sysdeps/gnu/errlist.c: Regenerated.
27503
b9375348
SP
275042013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27505
27506 [BZ #15465]
27507 * elf/Makefile (tests): Add tst-null-argv.
27508 (modules-names): Add tst-null-argv-lib.
27509 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27510 (tst-null-argv-ENV): Set environment for tst-null-argv.
27511 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27512 (RTLD_PROGNAME): New macro.
27513 * elf/tst-null-argv.c: New test case.
27514 * elf/tst-null-argv-lib.c: Library for test case.
27515 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27516 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27517 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27518 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27519 * elf/dl-init.c (call_init): Likewise.
27520 (_dl_init): Likewise.
27521 * elf/dl-load.c (print_search_path): Likewise.
27522 (_dl_map_object): Likewise.
27523 * elf/dl-lookup.c (do_lookup_x): Likewise.
27524 (add_dependency): Likewise.
27525 (_dl_lookup_symbol_x): Likewise.
27526 (_dl_debug_bindings): Likewise.
27527 * elf/dl-open.c (_dl_show_scope): Likewise.
27528 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27529 * elf/dl-version.c (match_symbol): Likewise.
27530 (_dl_check_map_versions): Likewise.
27531 * elf/rtld.c (dl_main): Likewise.
27532 (print_unresolved): Use RTLD_PROGNAME.
27533 (print_missing_version): Likewise.
27534 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27535 (elf_machine_rela): Likewise.
27536 * sysdeps/powerpc/powerpc32/dl-machine.c
27537 (__process_machine_rela): Likewise.
27538 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27539 Likewise.
27540 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27541 Likewise.
27542 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27543 Likewise.
27544 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27545 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27546 Likewise.
27547 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27548 Likewise.
27549 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27550
8a9f20c8
CD
275512013-05-28 Carlos O'Donell <carlos@redhat.com>
27552
27553 * po/be.po: Add descriptive title.
27554 * po/zh_CN.po: Likewise.
27555 * po/header.pot: Likewise.
27556
0e60d68e
MF
275572013-05-28 Mike Frysinger <vapier@gentoo.org>
27558
27559 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27560 error message.
27561 (enlarge_archive): Likewise.
27562
56b672e9
BN
275632013-05-28 Ben North <ben@redfrontdoor.org>
27564
27565 * manual/arith.texi (frexp): It is the magnitude of the return
27566 value which lies in [0.5, 1), not the return value itself.
27567
5e056687
AZ
275682013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27569
27570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27571
2b66ef5d
TS
275722013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27573
528c2405
TS
27574 * stdio-common/bug26.c (main): Correct fscanf template.
27575
07b4c13d
TS
27576 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27577 declare _dl_skip_args.
27578
ec9dd97c
TS
27579 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27580 Don't declare.
27581
2b66ef5d
TS
27582 * manual/platform.texi: Add missing @end deftypefun.
27583
4f8dfe27
JM
275842013-05-24 Joseph Myers <joseph@codesourcery.com>
27585
0323d086
JM
27586 [BZ #15529]
27587 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27588 bit of mantissa of 2^16382.
27589 * math/libm-test.inc (hypot_test_data): Add more tests.
27590
dd4259b9
JM
27591 * math/libm-test.inc: Add drem and pow10 to list of tested
27592 functions.
27593 (pow10_test): New function.
27594 (drem_test): Likewise.
27595 (drem_test_tonearest): Likewise.
27596 (drem_test_towardzero): Likewise.
27597 (drem_test_downward): Likewise.
27598 (drem_test_upward): Likewise.
27599 (main): Call the new functions.
27600
4f8dfe27
JM
27601 * math/libm-test.inc (finite_test_data): Remove.
27602 (finite_test): Run tests from isfinite_test_data.
27603 (gamma_test_data): Remove.
27604 (gamma_test): Run tests from lgamma_test_data.
27605 * sysdeps/i386/fpu/libm-test-ulps: Update.
27606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27607
d116b7c4
AZ
276082013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27609
27610 * manual/platform.texi: Add PowerPC PPR function set documentation.
27611 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27612 implementation.
27613
e96e3767
CD
276142013-05-24 Carlos O'Donell <carlos@redhat.com>
27615
27616 * math/libm-test.inc (MAX_EXP): Define.
27617 (ULPDIFF): Define.
27618 (ulp): New function.
27619 (check_float_internal): Use ULPDIFF.
27620 (cpow_test): Disable failing test.
27621 (check_ulp): Test ulp() implemetnation.
27622 (main): Call check_ulp before starting tests.
27623
b679a606
JM
276242013-05-24 Joseph Myers <joseph@codesourcery.com>
27625
e8bdba36
JM
27626 * math/gen-libm-test.pl (generate_testfile): Do not handle
27627 START_DATA and END_DATA.
27628 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27629 END_DATA.
27630 (acos_tonearest_test_data): Likewise.
27631 (acos_towardzero_test_data): Likewise.
27632 (acos_downward_test_data): Likewise.
27633 (acos_upward_test_data): Likewise.
27634 (acosh_test_data): Likewise.
27635 (asin_test_data): Likewise.
27636 (asin_tonearest_test_data): Likewise.
27637 (asin_towardzero_test_data): Likewise.
27638 (asin_downward_test_data): Likewise.
27639 (asin_upward_test_data): Likewise.
27640 (asinh_test_data): Likewise.
27641 (atan_test_data): Likewise.
27642 (atanh_test_data): Likewise.
27643 (atan2_test_data): Likewise.
27644 (cabs_test_data): Likewise.
27645 (cacos_test_data): Likewise.
27646 (cacosh_test_data): Likewise.
27647 (carg_test_data): Likewise.
27648 (casin_test_data): Likewise.
27649 (casinh_test_data): Likewise.
27650 (catan_test_data): Likewise.
27651 (catanh_test_data): Likewise.
27652 (cbrt_test_data): Likewise.
27653 (ccos_test_data): Likewise.
27654 (ccosh_test_data): Likewise.
27655 (ceil_test_data): Likewise.
27656 (cexp_test_data): Likewise.
27657 (cimag_test_data): Likewise.
27658 (clog_test_data): Likewise.
27659 (clog10_test_data): Likewise.
27660 (conj_test_data): Likewise.
27661 (copysign_test_data): Likewise.
27662 (cos_test_data): Likewise.
27663 (cos_tonearest_test_data): Likewise.
27664 (cos_towardzero_test_data): Likewise.
27665 (cos_downward_test_data): Likewise.
27666 (cos_upward_test_data): Likewise.
27667 (cosh_test_data): Likewise.
27668 (cosh_tonearest_test_data): Likewise.
27669 (cosh_towardzero_test_data): Likewise.
27670 (cosh_downward_test_data): Likewise.
27671 (cosh_upward_test_data): Likewise.
27672 (cpow_test_data): Likewise.
27673 (cproj_test_data): Likewise.
27674 (creal_test_data): Likewise.
27675 (csin_test_data): Likewise.
27676 (csinh_test_data): Likewise.
27677 (csqrt_test_data): Likewise.
27678 (ctan_test_data): Likewise.
27679 (ctan_tonearest_test_data): Likewise.
27680 (ctan_towardzero_test_data): Likewise.
27681 (ctan_downward_test_data): Likewise.
27682 (ctan_upward_test_data): Likewise.
27683 (ctanh_test_data): Likewise.
27684 (ctanh_tonearest_test_data): Likewise.
27685 (ctanh_towardzero_test_data): Likewise.
27686 (ctanh_downward_test_data): Likewise.
27687 (ctanh_upward_test_data): Likewise.
27688 (erf_test_data): Likewise.
27689 (erfc_test_data): Likewise.
27690 (exp_test_data): Likewise.
27691 (exp_tonearest_test_data): Likewise.
27692 (exp_towardzero_test_data): Likewise.
27693 (exp_downward_test_data): Likewise.
27694 (exp_upward_test_data): Likewise.
27695 (exp10_test_data): Likewise.
27696 (exp2_test_data): Likewise.
27697 (expm1_test_data): Likewise.
27698 (fabs_test_data): Likewise.
27699 (fdim_test_data): Likewise.
27700 (finite_test_data): Likewise.
27701 (floor_test_data): Likewise.
27702 (fma_test_data): Likewise.
27703 (fma_towardzero_test_data): Likewise.
27704 (fma_downward_test_data): Likewise.
27705 (fma_upward_test_data): Likewise.
27706 (fmax_test_data): Likewise.
27707 (fmin_test_data): Likewise.
27708 (fmod_test_data): Likewise.
27709 (fpclassify_test_data): Likewise.
27710 (frexp_test_data): Likewise.
27711 (gamma_test_data): Likewise.
27712 (hypot_test_data): Likewise.
27713 (ilogb_test_data): Likewise.
27714 (isfinite_test_data): Likewise.
27715 (isgreater_test_data): Likewise.
27716 (isgreaterequal_test_data): Likewise.
27717 (isinf_test_data): Likewise.
27718 (isless_test_data): Likewise.
27719 (islessequal_test_data): Likewise.
27720 (islessgreater_test_data): Likewise.
27721 (isnan_test_data): Likewise.
27722 (isnormal_test_data): Likewise.
27723 (issignaling_test_data): Likewise.
27724 (isunordered_test_data): Likewise.
27725 (j0_test_data): Likewise.
27726 (j1_test_data): Likewise.
27727 (jn_test_data): Likewise.
27728 (ldexp_test_data): Likewise.
27729 (lgamma_test_data): Likewise.
27730 (lrint_test_data): Likewise.
27731 (lrint_tonearest_test_data): Likewise.
27732 (lrint_towardzero_test_data): Likewise.
27733 (lrint_downward_test_data): Likewise.
27734 (lrint_upward_test_data): Likewise.
27735 (llrint_test_data): Likewise.
27736 (llrint_tonearest_test_data): Likewise.
27737 (llrint_towardzero_test_data): Likewise.
27738 (llrint_downward_test_data): Likewise.
27739 (llrint_upward_test_data): Likewise.
27740 (log_test_data): Likewise.
27741 (log10_test_data): Likewise.
27742 (log1p_test_data): Likewise.
27743 (log2_test_data): Likewise.
27744 (logb_test_data): Likewise.
27745 (logb_downward_test_data): Likewise.
27746 (lround_test_data): Likewise.
27747 (llround_test_data): Likewise.
27748 (modf_test_data): Likewise.
27749 (nearbyint_test_data): Likewise.
27750 (nextafter_test_data): Likewise.
27751 (nexttoward_test_data): Likewise.
27752 (pow_test_data): Likewise.
27753 (pow_tonearest_test_data): Likewise.
27754 (pow_towardzero_test_data): Likewise.
27755 (pow_downward_test_data): Likewise.
27756 (pow_upward_test_data): Likewise.
27757 (remainder_test_data): Likewise.
27758 (remainder_tonearest_test_data): Likewise.
27759 (remainder_towardzero_test_data): Likewise.
27760 (remainder_downward_test_data): Likewise.
27761 (remainder_upward_test_data): Likewise.
27762 (remquo_test_data): Likewise.
27763 (rint_test_data): Likewise.
27764 (rint_tonearest_test_data): Likewise.
27765 (rint_towardzero_test_data): Likewise.
27766 (rint_downward_test_data): Likewise.
27767 (rint_upward_test_data): Likewise.
27768 (round_test_data): Likewise.
27769 (scalb_test_data): Likewise.
27770 (scalbn_test_data): Likewise.
27771 (scalbln_test_data): Likewise.
27772 (signbit_test_data): Likewise.
27773 (sin_test_data): Likewise.
27774 (sin_tonearest_test_data): Likewise.
27775 (sin_towardzero_test_data): Likewise.
27776 (sin_downward_test_data): Likewise.
27777 (sin_upward_test_data): Likewise.
27778 (sincos_test_data): Likewise.
27779 (sinh_test_data): Likewise.
27780 (sinh_tonearest_test_data): Likewise.
27781 (sinh_towardzero_test_data): Likewise.
27782 (sinh_downward_test_data): Likewise.
27783 (sinh_upward_test_data): Likewise.
27784 (sqrt_test_data): Likewise.
27785 (tan_test_data): Likewise.
27786 (tan_tonearest_test_data): Likewise.
27787 (tan_towardzero_test_data): Likewise.
27788 (tan_downward_test_data): Likewise.
27789 (tan_upward_test_data): Likewise.
27790 (tanh_test_data): Likewise.
27791 (tgamma_test_data): Likewise.
27792 (trunc_test_data): Likewise.
27793 (y0_test_data): Likewise.
27794 (y1_test_data): Likewise.
27795 (yn_test_data): Likewise.
27796 (significand_test_data): Likewise.
27797
b679a606
JM
27798 * math/gen-libm-test.pl (@functions): Remove variable.
27799 (generate_testfile): Don't handle START and END lines.
27800 * math/libm-test.inc (START): New macro.
27801 (END): Likewise.
27802 (END_COMPLEX): Likewise.
27803 (acos_test): Use END macro without arguments.
27804 (acos_test_tonearest): Likewise.
27805 (acos_test_towardzero): Likewise.
27806 (acos_test_downward): Likewise.
27807 (acos_test_upward): Likewise.
27808 (acosh_test): Likewise.
27809 (asin_test): Likewise.
27810 (asin_test_tonearest): Likewise.
27811 (asin_test_towardzero): Likewise.
27812 (asin_test_downward): Likewise.
27813 (asin_test_upward): Likewise.
27814 (asinh_test): Likewise.
27815 (atan_test): Likewise.
27816 (atanh_test): Likewise.
27817 (atan2_test): Likewise.
27818 (cabs_test): Likewise.
27819 (cacos_test): Use END_COMPLEX macro without arguments.
27820 (cacosh_test): Likewise.
27821 (carg_test): Use END macro without arguments.
27822 (casin_test): Use END_COMPLEX macro without arguments.
27823 (casinh_test): Likewise.
27824 (catan_test): Likewise.
27825 (catanh_test): Likewise.
27826 (cbrt_test): Use END macro without arguments.
27827 (ccos_test): Use END_COMPLEX macro without arguments.
27828 (ccosh_test): Likewise.
27829 (ceil_test): Use END macro without arguments.
27830 (cexp_test): Use END_COMPLEX macro without arguments.
27831 (cimag_test): Use END macro without arguments.
27832 (clog_test): Use END_COMPLEX macro without arguments.
27833 (clog10_test): Likewise.
27834 (conj_test): Likewise.
27835 (copysign_test): Use END macro without arguments.
27836 (cos_test): Likewise.
27837 (cos_test_tonearest): Likewise.
27838 (cos_test_towardzero): Likewise.
27839 (cos_test_downward): Likewise.
27840 (cos_test_upward): Likewise.
27841 (cosh_test): Likewise.
27842 (cosh_test_tonearest): Likewise.
27843 (cosh_test_towardzero): Likewise.
27844 (cosh_test_downward): Likewise.
27845 (cosh_test_upward): Likewise.
27846 (cpow_test): Use END_COMPLEX macro without arguments.
27847 (cproj_test): Likewise.
27848 (creal_test): Use END macro without arguments.
27849 (csin_test): Use END_COMPLEX macro without arguments.
27850 (csinh_test): Likewise.
27851 (csqrt_test): Likewise.
27852 (ctan_test): Likewise.
27853 (ctan_test_tonearest): Likewise.
27854 (ctan_test_towardzero): Likewise.
27855 (ctan_test_downward): Likewise.
27856 (ctan_test_upward): Likewise.
27857 (ctanh_test): Likewise.
27858 (ctanh_test_tonearest): Likewise.
27859 (ctanh_test_towardzero): Likewise.
27860 (ctanh_test_downward): Likewise.
27861 (ctanh_test_upward): Likewise.
27862 (erf_test): Use END macro without arguments.
27863 (erfc_test): Likewise.
27864 (exp_test): Likewise.
27865 (exp_test_tonearest): Likewise.
27866 (exp_test_towardzero): Likewise.
27867 (exp_test_downward): Likewise.
27868 (exp_test_upward): Likewise.
27869 (exp10_test): Likewise.
27870 (exp2_test): Likewise.
27871 (expm1_test): Likewise.
27872 (fabs_test): Likewise.
27873 (fdim_test): Likewise.
27874 (finite_test): Likewise.
27875 (floor_test): Likewise.
27876 (fma_test): Likewise.
27877 (fma_test_towardzero): Likewise.
27878 (fma_test_downward): Likewise.
27879 (fma_test_upward): Likewise.
27880 (fmax_test): Likewise.
27881 (fmin_test): Likewise.
27882 (fmod_test): Likewise.
27883 (fpclassify_test): Likewise.
27884 (frexp_test): Likewise.
27885 (gamma_test): Likewise.
27886 (hypot_test): Likewise.
27887 (ilogb_test): Likewise.
27888 (isfinite_test): Likewise.
27889 (isgreater_test): Likewise.
27890 (isgreaterequal_test): Likewise.
27891 (isinf_test): Likewise.
27892 (isless_test): Likewise.
27893 (islessequal_test): Likewise.
27894 (islessgreater_test): Likewise.
27895 (isnan_test): Likewise.
27896 (isnormal_test): Likewise.
27897 (issignaling_test): Likewise.
27898 (isunordered_test): Likewise.
27899 (j0_test): Likewise.
27900 (j1_test): Likewise.
27901 (jn_test): Likewise.
27902 (ldexp_test): Likewise.
27903 (lgamma_test): Likewise.
27904 (lrint_test): Likewise.
27905 (lrint_test_tonearest): Likewise.
27906 (lrint_test_towardzero): Likewise.
27907 (lrint_test_downward): Likewise.
27908 (lrint_test_upward): Likewise.
27909 (llrint_test): Likewise.
27910 (llrint_test_tonearest): Likewise.
27911 (llrint_test_towardzero): Likewise.
27912 (llrint_test_downward): Likewise.
27913 (llrint_test_upward): Likewise.
27914 (log_test): Likewise.
27915 (log10_test): Likewise.
27916 (log1p_test): Likewise.
27917 (log2_test): Likewise.
27918 (logb_test): Likewise.
27919 (logb_test_downward): Likewise.
27920 (lround_test): Likewise.
27921 (llround_test): Likewise.
27922 (modf_test): Likewise.
27923 (nearbyint_test): Likewise.
27924 (nextafter_test): Likewise.
27925 (nexttoward_test): Likewise.
27926 (pow_test): Likewise.
27927 (pow_test_tonearest): Likewise.
27928 (pow_test_towardzero): Likewise.
27929 (pow_test_downward): Likewise.
27930 (pow_test_upward): Likewise.
27931 (remainder_test): Likewise.
27932 (remainder_test_tonearest): Likewise.
27933 (remainder_test_towardzero): Likewise.
27934 (remainder_test_downward): Likewise.
27935 (remainder_test_upward): Likewise.
27936 (remquo_test): Likewise.
27937 (rint_test): Likewise.
27938 (rint_test_tonearest): Likewise.
27939 (rint_test_towardzero): Likewise.
27940 (rint_test_downward): Likewise.
27941 (rint_test_upward): Likewise.
27942 (round_test): Likewise.
27943 (scalb_test): Likewise.
27944 (scalbn_test): Likewise.
27945 (scalbln_test): Likewise.
27946 (signbit_test): Likewise.
27947 (sin_test): Likewise.
27948 (sin_test_tonearest): Likewise.
27949 (sin_test_towardzero): Likewise.
27950 (sin_test_downward): Likewise.
27951 (sin_test_upward): Likewise.
27952 (sincos_test): Likewise.
27953 (sinh_test): Likewise.
27954 (sinh_test_tonearest): Likewise.
27955 (sinh_test_towardzero): Likewise.
27956 (sinh_test_downward): Likewise.
27957 (sinh_test_upward): Likewise.
27958 (sqrt_test): Likewise.
27959 (tan_test): Likewise.
27960 (tan_test_tonearest): Likewise.
27961 (tan_test_towardzero): Likewise.
27962 (tan_test_downward): Likewise.
27963 (tan_test_upward): Likewise.
27964 (tanh_test): Likewise.
27965 (tgamma_test): Likewise.
27966 (trunc_test): Likewise.
27967 (y0_test): Likewise.
27968 (y1_test): Likewise.
27969 (yn_test): Likewise.
27970 (significand_test): Likewise.
27971
bae143d2
OB
279722013-05-24 Ondřej Bílka <neleai@seznam.cz>
27973
27974 [BZ #15381]
27975 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27976
9323d39b
EM
279772013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27978
d4ea44a0 27979 [BZ #14894]
9323d39b
EM
27980 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27981 __ppc_mdoio and __ppc_mdoom.
27982 * manual/platform.texi: Document new functions __ppc_yield,
27983 __ppc_mdoio and __ppc_mdoom.
27984
13e23af7
CD
279852013-05-22 Carlos O'Donell <carlos@redhat.com>
27986
27987 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27988 (main): Mention "tls" pseudo-hwcap is legacy.
27989 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27990
351fe550
JM
279912013-05-22 Joseph Myers <joseph@codesourcery.com>
27992
27993 * math/gen-libm-test.pl (parse_args): Output only string of
27994 arguments as text for test name, not full call or descriptions of
27995 tests for extra outputs.
27996 (generate_testfile): Do not pass function name to parse_args.
27997 Generate this_func variable from START.
27998 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27999 field to arg_str.
28000 (struct test_ff_f_data): Likewise.
28001 (test_ff_f_data_nexttoward): Likewise.
28002 (struct test_fi_f_data): Likewise.
28003 (struct test_fl_f_data): Likewise.
28004 (struct test_if_f_data): Likewise.
28005 (struct test_fff_f_data): Likewise.
28006 (struct test_c_f_data): Likewise.
28007 (struct test_f_f1_data): Likewise. Remove field extra_name.
28008 (struct test_fF_f1_data): Likewise.
28009 (struct test_ffI_f1_data): Likewise.
28010 (struct test_c_c_data): Rename test_name field to arg_str.
28011 (struct test_cc_c_data): Likewise.
28012 (struct test_f_i_data): Likewise.
28013 (struct test_ff_i_data): Likewise.
28014 (struct test_f_l_data): Likewise.
28015 (struct test_f_L_data): Likewise.
28016 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28017 and extra2_name.
28018 (COMMON_TEST_SETUP): New macro.
28019 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28020 (COMMON_TEST_CLEANUP): Likewise.
28021 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28022 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28023 macros.
28024 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28025 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28026 macros.
28027 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28028 (RUN_TEST_fff_f): Take argument string. Call new setup and
28029 cleanup macros.
28030 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28031 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28032 macros.
28033 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28034 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28035 macros.
28036 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28037 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28038 cleanup macros.
28039 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28040 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28041 cleanup macros.
28042 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28043 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28044 cleanup macros.
28045 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28046 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28047 macros.
28048 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28049 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28050 macros.
28051 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28052 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28053 macros.
28054 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28055 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28056 cleanup macros.
28057 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28058 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28059 cleanup macros.
28060 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28061 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28062 macros.
28063 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28064 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28065 cleanup macros.
28066 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28067 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28068 macros.
28069 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28070 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28071 macros.
28072 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28073 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28074 cleanup macros.
28075 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28076
85118d4d
EBM
280772013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28078
28079 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28080 to _sifields.sigfault.
28081 (si_addr_lsb): Define new macro.
28082 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28083 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28084 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28085
7a44c18f
CD
280862013-05-03 Carlos O'Donell <carlos at redhat.com>
28087
28088 [BZ #15441]
28089 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28090 returns -1.
28091 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28092 null return -1.
28093 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28094 loading the domain.
28095
b50a7181
JM
280962013-05-22 Joseph Myers <joseph@codesourcery.com>
28097
28098 * math/gen-libm-test.pl (parse_args): Do not include expected
28099 result in test name.
28100 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28101 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28102 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28103 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28104 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28106
051063c8
SP
281072013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28108
3ce9e010
SP
28109 * benchtests/Makefile: Sort function entries.
28110
051063c8
SP
28111 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28112 tanh, asinh, acosh, atanh.
28113 * benchtests/acos-inputs: New file.
28114 * benchtests/acosh-inputs: New file.
28115 * benchtests/asin-inputs: New file.
28116 * benchtests/asinh-inputs: New file.
28117 * benchtests/atanh-inputs: New file.
28118 * benchtests/cosh-inputs: New file.
28119 * benchtests/log-inputs: New file.
28120 * benchtests/sinh-inputs: New file.
28121 * benchtests/tanh-inputs: New file.
28122
47c22455
DL
281232013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28124
28125 [BZ #15339]
28126 * posix/tst-getaddrinfo4.c: New test.
28127 * posix/Makefile (tests): Add it.
28128
3d04f5db
SP
281292013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28130
28131 [BZ #15339]
28132 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28133 when no services were used.
28134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28135 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28136
d5dd6189
AS
281372013-05-21 Andreas Schwab <schwab@suse.de>
28138
28139 [BZ #15014]
28140 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28141 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28142 successful.
28143 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28144 redundant variable declarations and reallocation of buffer when
28145 parsing as IPv6 address. Always set NSS status when called from
28146 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28147 buffer too small. Correct computation of needed size.
28148 * nss/Makefile (tests): Add test-digits-dots.
28149 * nss/test-digits-dots.c: New test.
28150
fef94eab
SP
281512013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28152
28153 * benchtests/Makefile: Remove instructions for adding
28154 benchmark tests.
28155 * benchtests/README: New file to explain how to execute and
28156 enhance the benchmark tests.
28157
e39adf43
AS
281582013-05-21 Andreas Schwab <schwab@suse.de>
28159
28160 [BZ #15493]
28161 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28162 * setjmp/tst-sigsetjmp.c: New test.
28163
b2b671b6
OB
281642013-05-20 Ondřej Bílka <neleai@seznam.cz>
28165
28166 * sysdeps/x86_64/memset.S (memset): New implementation.
28167 (__bzero): Likewise.
28168 (__memset_tail): New function.
28169
2d48b41c
OB
281702013-05-20 Ondřej Bílka <neleai@seznam.cz>
28171
28172 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28173 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28174 __memcpy_sse2_unaligned ifunc selection.
28175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28176 Add memcpy-sse2-unaligned.S.
28177 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28178 Add: __memcpy_sse2_unaligned.
28179
f16cc3eb
JM
281802013-05-19 Joseph Myers <joseph@codesourcery.com>
28181
3e694268
JM
28182 [BZ #15490]
28183 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28184 math_force_eval before restoring floating-point envrionment.
28185 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28186 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28187 Likewise.
28188 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28189 <math_private.h>.
28190 (__nearbyintl): Use math_force_eval before restoring
28191 floating-point environment.
28192 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28193
db62a907
JM
28194 * math/gen-libm-test.pl (special_functions): Remove.
28195 (parse_args): Don't handle TEST_extra. Handle functions with no
28196 return value.
28197 * math/libm-test.inc (struct test_sincos_data): Replace with
28198 struct test_fFF_11_data.
28199 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28200 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28201 (sincos_test_data): Change element type to struct
28202 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28203 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28204 RUN_TEST_LOOP_sincos.
28205 * math/README.libm-test: Don't mention special handling of
28206 individual functions.
28207 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28208 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28209 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28210 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28211 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28213
f16cc3eb
JM
28214 * math/gen-libm-test.pl (get_variable): Remove function.
28215 (parse_args): Don't show pointer parameters to call in test
28216 names. Use "extra output N" in test names for extra outputs
28217 rather than naming variables.
28218
3779b5b6
JM
282192013-05-18 Joseph Myers <joseph@codesourcery.com>
28220
2ee094ff
JM
28221 [BZ #15488]
28222 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28223 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28224 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28225 double tests.
28226 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28227 disable.
28228 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28229 check_long_double.
28230
3779b5b6
JM
28231 * math/gen-libm-test.pl (@tests): Remove variable.
28232 ($count): Likewise.
28233 (new_test): Remove function.
28234 (show_exceptions): New function.
28235 (special_functions): Use show_exceptions instead of new_test.
28236 (parse_args): Likewise.
28237 (generate_testfile): Pass only function name in generated call to
28238 print_max_error or print_complex_max_error.
28239 (get_ulps): Do not handle complex tests specially.
28240 (output_test): Rename to ...
28241 (get_all_ulps_for_test): ... this. Return a string rather than
28242 printing to a file. Require ulps to be present.
28243 (output_ulps): Generate arrays rather than #defines.
28244 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28245 (struct ulp_data): New type.
28246 (BUILD_COMPLEX_ULP): Remove macro.
28247 (compare_ulp_data): New function.
28248 (find_ulps): Likewise.
28249 (find_test_ulps): Likewise.
28250 (find_function_ulps): Likewise.
28251 (find_complex_function_ulps): Likewise.
28252 (print_max_error): Determine allowed ulps using
28253 find_function_ulps.
28254 (print_complex_max_error): Determine allowed ulps using
28255 find_complex_function_ulps.
28256 (check_float_internal): Determine max ulps using find_test_ulps.
28257 (check_float): Do not take max_ulp parameter. Update call to
28258 check_float_internal.
28259 (check_complex): Likewise.
28260 (check_int): Do not take max_ulp parameter.
28261 (check_long): Likewise.
28262 (check_bool): Likewise.
28263 (check_longlong): Likewise.
28264 (struct test_f_f_data): Remove max_ulp field.
28265 (struct test_ff_f_data): Likewise.
28266 (struct test_ff_f_data_nexttoward): Likewise.
28267 (struct test_fi_f_data): Likewise.
28268 (struct test_fl_f_data): Likewise.
28269 (struct test_if_f_data): Likewise.
28270 (struct test_fff_f_data): Likewise.
28271 (struct test_c_f_data): Likewise.
28272 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28273 (struct test_fF_f1_data): Likewise.
28274 (struct test_ffI_f1_data): Likewise.
28275 (struct test_c_c_data): Remove max_ulp field.
28276 (struct test_cc_c_data): Likewise.
28277 (struct test_f_i_data): Likewise.
28278 (struct test_ff_i_data): Likewise.
28279 (struct test_f_l_data): Likewise.
28280 (struct test_f_L_data): Likewise.
28281 (struct test_sincos_data): Likewise.
28282 (RUN_TEST_f_f): Do not handle ulps.
28283 (RUN_TEST_LOOP_f_f): Likewise.
28284 (RUN_TEST_2_f): Likewise.
28285 (RUN_TEST_LOOP_2_f): Likewise.
28286 (RUN_TEST_fff_f): Likewise.
28287 (RUN_TEST_LOOP_fff_f): Likewise.
28288 (RUN_TEST_c_f): Likewise.
28289 (RUN_TEST_LOOP_c_f): Likewise.
28290 (RUN_TEST_f_f1): Likewise.
28291 (RUN_TEST_LOOP_f_f1): Likewise.
28292 (RUN_TEST_fF_f1): Likewise.
28293 (RUN_TEST_LOOP_fF_f1): Likewise.
28294 (RUN_TEST_fI_f1): Likewise.
28295 (RUN_TEST_LOOP_fI_f1): Likewise.
28296 (RUN_TEST_ffI_f1): Likewise.
28297 (RUN_TEST_LOOP_ffI_f1): Likewise.
28298 (RUN_TEST_c_c): Likewise.
28299 (RUN_TEST_LOOP_c_c): Likewise.
28300 (RUN_TEST_cc_c): Likewise.
28301 (RUN_TEST_LOOP_cc_c): Likewise.
28302 (RUN_TEST_f_i): Likewise.
28303 (RUN_TEST_LOOP_f_i): Likewise.
28304 (RUN_TEST_f_i_tg): Likewise.
28305 (RUN_TEST_LOOP_f_i_tg): Likewise.
28306 (RUN_TEST_ff_i_tg): Likewise.
28307 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28308 (RUN_TEST_f_b): Likewise.
28309 (RUN_TEST_LOOP_f_b): Likewise.
28310 (RUN_TEST_f_b_tg): Likewise.
28311 (RUN_TEST_LOOP_f_b_tg): Likewise.
28312 (RUN_TEST_f_l): Likewise.
28313 (RUN_TEST_LOOP_f_l): Likewise.
28314 (RUN_TEST_f_L): Likewise.
28315 (RUN_TEST_LOOP_f_L): Likewise.
28316 (RUN_TEST_sincos): Likewise.
28317 (RUN_TEST_LOOP_sincos): Likewise.
28318
8269107f
JM
283192013-05-17 Joseph Myers <joseph@codesourcery.com>
28320
bb38759d
JM
28321 [BZ #15480]
28322 [BZ #15485]
28323 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28324 main case of finite arguments, set rounding mode to FE_TONEAREST
28325 and discard exceptions.
28326 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28327 exceptions.
28328 (remainder_tonearest_test_data): New variable.
28329 (remainder_test_tonearest): New function.
28330 (remainder_towardzero_test_data): New variable.
28331 (remainder_test_towardzero): New function.
28332 (remainder_downward_test_data): New variable.
28333 (remainder_test_downward): New function.
28334 (remainder_upward_test_data): New variable.
28335 (remainder_test_upward): New function.
28336 (main): Call the new test functions.
28337
a00bdcf0
JM
28338 * math/libm-test.inc (struct test_f_f1_data): Remove field
28339 extra_init.
28340 (struct test_fF_f1_data): Likewise.
28341 (struct test_ffI_f1_data): Likewise.
28342 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28343 based on value of EXTRA_EXPECTED.
28344 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28345 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28346 EXTRA_VAR based on value of EXTRA_EXPECTED.
28347 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28348 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28349 EXTRA_VAR based on value of EXTRA_EXPECTED.
28350 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28351 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28352 EXTRA_VAR based on value of EXTRA_EXPECTED.
28353 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28354 * math/gen-libm-test.pl (parse_args): Don't output initializers
28355 for extra output values.
28356
de407f79
JM
28357 * math/libm-test.inc (check_int): Expect result to be exactly
28358 equal to expected value and do not handle ulps.
28359 (check_long): Likewise.
28360 (check_longlong): Likewise.
28361
8269107f
JM
28362 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28363 exceptions.
28364 (cimag_test_data): Likewise.
28365 (conj_test_data): Likewise.
28366 (copysign_test_data): Likewise.
28367 (cproj_test_data): Likewise.
28368 (creal_test_data): Likewise.
28369 (fabs_test_data): Likewise.
28370 (fdim_test_data): Likewise.
28371 (finite_test_data): Likewise.
28372 (floor_test_data): Likewise.
28373 (fmax_test_data): Likewise.
28374 (fmin_test_data): Likewise.
28375 (fmod_test_data): Likewise.
28376 (fpclassify_test_data): Likewise.
28377 (frexp_test_data): Likewise.
28378 (ilogb_test_data): Likewise.
28379 (isfinite_test_data): Likewise.
28380 (isgreater_test_data): Likewise.
28381 (isgreaterequal_test_data): Likewise.
28382 (isinf_test_data): Likewise.
28383 (isless_test_data): Likewise.
28384 (islessequal_test_data): Likewise.
28385 (islessgreater_test_data): Likewise.
28386 (isnan_test_data): Likewise.
28387 (isnormal_test_data): Likewise.
28388 (issignaling_test_data): Likewise.
28389 (isunordered_test_data): Likewise.
28390 (ldexp_test_data): Likewise.
28391 (lrint_test_data): Likewise.
28392 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28393 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28394 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28395 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28396 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28397 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28398 test input.
28399 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28400 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28401 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28402 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28403 that test input.
28404 (lrint_downward_test_data): Test for "inexact" exceptions.
28405 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28406 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28407 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28408 test input.
28409 (lrint_upward_test_data): Test for "inexact" exceptions.
28410 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28411 test input.
28412 (llrint_test_data): Test for "inexact" exceptions.
28413 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28414 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28415 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28416 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28417 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28418 (llrint_downward_test_data): Test for "inexact" exceptions.
28419 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28420 (llrint_upward_test_data): Test for "inexact" exceptions.
28421 (logb_test_data): Likewise.
28422 (logb_downward_test_data): Likewise.
28423 (nextafter_test_data): Likewise.
28424 (nexttoward_test_data): Likewise.
28425 (remainder_test_data): Likewise.
28426 (remquo_test_data): Likewise.
28427 (scalbn_test_data): Likewise.
28428 (scalbln_test_data): Likewise.
28429 (signbit_test_data): Likewise.
28430 (sqrt_test_data): Likewise.
28431 (significand_test_data): Likewise.
28432
48a18de1
SP
284332013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28434
28435 [BZ #15424]
28436 * benchtests/bench-modf.c (struct args): Mark arg0 as
28437 volatile.
28438 * scripts/bench.pl: Mark members of struct args as volatile.
28439
13d3b41a
AZ
284402013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28441
68191c1d 28442 [BZ # 15497]
13d3b41a
AZ
28443 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28444 negative infinity on POWER6 or lower.
28445 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28446
2848b105
MR
284472013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28448
28449 [BZ #15442]
28450 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28451 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28452 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28453 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28454 (_FP_SETQNAN): New macro.
28455 (_FP_SETQNAN_SEMIRAW): Likewise.
28456 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28457 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28458 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28459 (FP_EXTEND): Use _FP_FRAC_SNANP.
28460 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28461 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28462 into account.
28463 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28464 New macro.
28465 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28466 Likewise.
28467
323e5cb7
JM
284682013-05-16 Joseph Myers <joseph@codesourcery.com>
28469
c58b274f
JM
28470 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28471 with DIVIDE_BY_ZERO_EXCEPTION.
28472 (gamma_test_data): Likewise.
28473 (lgamma_test_data): Likewise.
28474 (log_test_data): Likewise.
28475 (log10_test_data): Likewise.
28476 (log2_test_data): Likewise.
28477 (tgamma_test_data): Likewise.
28478
0ab34904
JM
28479 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28480 (acos_test_tonearest): Likewise.
28481 (acos_test_towardzero): Likewise.
28482 (acos_test_downward): Likewise.
28483 (acos_test_upward): Likewise.
28484 (acosh_test): Likewise.
28485 (asin_test): Likewise.
28486 (asin_test_tonearest): Likewise.
28487 (asin_test_towardzero): Likewise.
28488 (asin_test_downward): Likewise.
28489 (asin_test_upward): Likewise.
28490 (asinh_test): Likewise.
28491 (atan_test): Likewise.
28492 (atanh_test): Likewise.
28493 (atan2_test): Likewise.
28494 (cabs_test): Likewise.
28495 (cacos_test): Likewise.
28496 (cacosh_test): Likewise.
28497 (casin_test): Likewise.
28498 (casinh_test): Likewise.
28499 (catan_test): Likewise.
28500 (catanh_test): Likewise.
28501 (cbrt_test): Likewise.
28502 (ccos_test): Likewise.
28503 (ccosh_test): Likewise.
28504 (cexp_test): Likewise.
28505 (clog_test): Likewise.
28506 (clog10_test): Likewise.
28507 (cos_test): Likewise.
28508 (cos_test_tonearest): Likewise.
28509 (cos_test_towardzero): Likewise.
28510 (cos_test_downward): Likewise.
28511 (cos_test_upward): Likewise.
28512 (cosh_test): Likewise.
28513 (cosh_test_tonearest): Likewise.
28514 (cosh_test_towardzero): Likewise.
28515 (cosh_test_downward): Likewise.
28516 (cosh_test_upward): Likewise.
28517 (cpow_test): Likewise.
28518 (csin_test): Likewise.
28519 (csinh_test): Likewise.
28520 (csqrt_test): Likewise.
28521 (ctan_test): Likewise.
28522 (ctan_test_tonearest): Likewise.
28523 (ctan_test_towardzero): Likewise.
28524 (ctan_test_downward): Likewise.
28525 (ctan_test_upward): Likewise.
28526 (ctanh_test): Likewise.
28527 (ctanh_test_tonearest): Likewise.
28528 (ctanh_test_towardzero): Likewise.
28529 (ctanh_test_downward): Likewise.
28530 (ctanh_test_upward): Likewise.
28531 (erf_test): Likewise.
28532 (erfc_test): Likewise.
28533 (exp_test): Likewise.
28534 (exp_test_tonearest): Likewise.
28535 (exp_test_towardzero): Likewise.
28536 (exp_test_downward): Likewise.
28537 (exp_test_upward): Likewise.
28538 (exp10_test): Likewise.
28539 (exp2_test): Likewise.
28540 (expm1_test): Likewise.
28541 (fmod_test): Likewise.
28542 (gamma_test): Likewise.
28543 (hypot_test): Likewise.
28544 (j0_test): Likewise.
28545 (j1_test): Likewise.
28546 (jn_test): Likewise.
28547 (lgamma_test): Likewise.
28548 (log_test): Likewise.
28549 (log10_test): Likewise.
28550 (log1p_test): Likewise.
28551 (log2_test): Likewise.
28552 (logb_test_downward): Likewise.
28553 (pow_test): Likewise.
28554 (pow_test_tonearest): Likewise.
28555 (pow_test_towardzero): Likewise.
28556 (pow_test_downward): Likewise.
28557 (pow_test_upward): Likewise.
28558 (remainder_test): Likewise.
28559 (remquo_test): Likewise.
28560 (sin_test): Likewise.
28561 (sin_test_tonearest): Likewise.
28562 (sin_test_towardzero): Likewise.
28563 (sin_test_downward): Likewise.
28564 (sin_test_upward): Likewise.
28565 (sincos_test): Likewise.
28566 (sinh_test): Likewise.
28567 (sinh_test_tonearest): Likewise.
28568 (sinh_test_towardzero): Likewise.
28569 (sinh_test_downward): Likewise.
28570 (sinh_test_upward): Likewise.
28571 (sqrt_test): Likewise.
28572 (tan_test): Likewise.
28573 (tan_test_tonearest): Likewise.
28574 (tan_test_towardzero): Likewise.
28575 (tan_test_downward): Likewise.
28576 (tan_test_upward): Likewise.
28577 (tanh_test): Likewise.
28578 (tgamma_test): Likewise.
28579 (y0_test): Likewise.
28580 (y1_test): Likewise.
28581 (yn_test): Likewise.
28582
323e5cb7
JM
28583 * math/gen-libm-test.pl (adjust_arg): Remove function.
28584 (special_function): Remove argument $in_func. Only handle
28585 generating output for tables of tests, not inside functions.
28586 (parse_args): Likewise.
28587 (generate_testfile): Remove variable $in_func. Update call to
28588 parse_args.
28589 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28590 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28591 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28592 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28593 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28594 (MAX_VALUE_INIT): Rename macro to max_value.
28595 (MIN_VALUE_INIT): Rename macro to min_value.
28596 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28597 (plus_zero): Remove variable.
28598 (minus_zero): Likewise.
28599 (plus_infty): Likewise.
28600 (minus_infty): Likewise.
28601 (qnan_value): Likewise.
28602 (max_value): Likewise.
28603 (min_value): Likewise.
28604 (min_subnorm_value): Likewise.
28605
e054f494
RA
286062013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28607
28608 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28609 uint64_t or uint32_t usage.
28610 * crypt/sha256-block.c: Likewise.
28611 * crypt/sha256-crypt.c: Likewise.
28612 * crypt/sha256.c: Likewise.
28613 * crypt/sha512-block.c: Likewise.
28614 * crypt/sha512-crypt.c: Likewise.
28615 * crypt/sha512.c: Likewise.
28616 * debug/backtrace-tst.c: Likewise.
28617 * debug/pcprofiledump.c: Likewise.
28618 * elf/cache.c: Likewise.
28619 * elf/dl-cache.c: Likewise.
28620 * elf/dl-misc.c: Likewise.
28621 * elf/dl-profile.c: Likewise.
28622 * elf/dl-support.c: Likewise.
28623 * elf/ldconfig.c: Likewise.
28624 * elf/sprof.c: Likewise.
28625 * iconv/dummy-repertoire.c: Likewise.
28626 * iconv/iconv_charmap.c: Likewise.
28627 * iconv/skeleton.c: Likewise.
28628 * iconvdata/8bit-generic.c: Likewise.
28629 * iconvdata/cp737.h: Likewise.
28630 * iconvdata/cp775.h: Likewise.
28631 * iconvdata/ibm1008.h: Likewise.
28632 * iconvdata/ibm1025.h: Likewise.
28633 * iconvdata/ibm1046.h: Likewise.
28634 * iconvdata/ibm1097.h: Likewise.
28635 * iconvdata/ibm1112.h: Likewise.
28636 * iconvdata/ibm1122.h: Likewise.
28637 * iconvdata/ibm1123.h: Likewise.
28638 * iconvdata/ibm1124.h: Likewise.
28639 * iconvdata/ibm1129.h: Likewise.
28640 * iconvdata/ibm1130.h: Likewise.
28641 * iconvdata/ibm1132.h: Likewise.
28642 * iconvdata/ibm1133.h: Likewise.
28643 * iconvdata/ibm1137.h: Likewise.
28644 * iconvdata/ibm1140.h: Likewise.
28645 * iconvdata/ibm1141.h: Likewise.
28646 * iconvdata/ibm1142.h: Likewise.
28647 * iconvdata/ibm1143.h: Likewise.
28648 * iconvdata/ibm1144.h: Likewise.
28649 * iconvdata/ibm1145.h: Likewise.
28650 * iconvdata/ibm1146.h: Likewise.
28651 * iconvdata/ibm1147.h: Likewise.
28652 * iconvdata/ibm1148.h: Likewise.
28653 * iconvdata/ibm1149.h: Likewise.
28654 * iconvdata/ibm1153.h: Likewise.
28655 * iconvdata/ibm1154.h: Likewise.
28656 * iconvdata/ibm1155.h: Likewise.
28657 * iconvdata/ibm1156.h: Likewise.
28658 * iconvdata/ibm1157.h: Likewise.
28659 * iconvdata/ibm1158.h: Likewise.
28660 * iconvdata/ibm1160.h: Likewise.
28661 * iconvdata/ibm1161.h: Likewise.
28662 * iconvdata/ibm1162.h: Likewise.
28663 * iconvdata/ibm1163.h: Likewise.
28664 * iconvdata/ibm1164.h: Likewise.
28665 * iconvdata/ibm1166.h: Likewise.
28666 * iconvdata/ibm1167.h: Likewise.
28667 * iconvdata/ibm12712.h: Likewise.
28668 * iconvdata/ibm1390.h: Likewise.
28669 * iconvdata/ibm1399.h: Likewise.
28670 * iconvdata/ibm16804.h: Likewise.
28671 * iconvdata/ibm4517.h: Likewise.
28672 * iconvdata/ibm4899.h: Likewise.
28673 * iconvdata/ibm4909.h: Likewise.
28674 * iconvdata/ibm4971.h: Likewise.
28675 * iconvdata/ibm5347.h: Likewise.
28676 * iconvdata/ibm803.h: Likewise.
28677 * iconvdata/ibm856.h: Likewise.
28678 * iconvdata/ibm901.h: Likewise.
28679 * iconvdata/ibm902.h: Likewise.
28680 * iconvdata/ibm9030.h: Likewise.
28681 * iconvdata/ibm9066.h: Likewise.
28682 * iconvdata/ibm921.h: Likewise.
28683 * iconvdata/ibm922.h: Likewise.
28684 * iconvdata/ibm9448.h: Likewise.
28685 * iconvdata/isiri-3342.h: Likewise.
28686 * iconvdata/jis0201.h: Likewise.
28687 * include/link.h: Likewise.
28688 * include/netdb.h: Likewise.
28689 * inet/check_native.c: Likewise.
28690 * inet/check_pf.c: Likewise.
28691 * inet/getipv4sourcefilter.c: Likewise.
28692 * inet/getnameinfo.c: Likewise.
28693 * inet/getsourcefilter.c: Likewise.
28694 * inet/htonl.c: Likewise.
28695 * inet/setipv4sourcefilter.c: Likewise.
28696 * inet/setsourcefilter.c: Likewise.
28697 * inet/test-inet6_opt.c: Likewise.
28698 * inet/tst-network.c: Likewise.
28699 * locale/C-collate.c: Likewise.
28700 * locale/C-ctype.c: Likewise.
28701 * locale/C-time.c: Likewise.
28702 * locale/C-translit.h: Likewise.
28703 * locale/loadarchive.c: Likewise.
28704 * locale/programs/3level.h: Likewise.
28705 * locale/programs/charmap.c: Likewise.
28706 * locale/programs/charmap.h: Likewise.
28707 * locale/programs/ld-address.c: Likewise.
28708 * locale/programs/ld-collate.c: Likewise.
28709 * locale/programs/ld-ctype.c: Likewise.
28710 * locale/programs/ld-identification.c: Likewise.
28711 * locale/programs/ld-measurement.c: Likewise.
28712 * locale/programs/ld-messages.c: Likewise.
28713 * locale/programs/ld-monetary.c: Likewise.
28714 * locale/programs/ld-name.c: Likewise.
28715 * locale/programs/ld-numeric.c: Likewise.
28716 * locale/programs/ld-paper.c: Likewise.
28717 * locale/programs/ld-telephone.c: Likewise.
28718 * locale/programs/ld-time.c: Likewise.
28719 * locale/programs/linereader.c: Likewise.
28720 * locale/programs/locale.c: Likewise.
28721 * locale/programs/locarchive.c: Likewise.
28722 * locale/programs/locfile.h: Likewise.
28723 * locale/programs/repertoire.c: Likewise.
28724 * locale/programs/simple-hash.c: Likewise.
28725 * locale/programs/simple-hash.h: Likewise.
28726 * malloc/memusage.c: Likewise.
28727 * malloc/memusagestat.c: Likewise.
28728 * nis/nis_defaults.c: Likewise.
28729 * nis/nis_hash.c: Likewise.
28730 * nis/nis_print.c: Likewise.
28731 * nis/nis_xdr.c: Likewise.
28732 * nscd/connections.c: Likewise.
28733 * nscd/hstcache.c: Likewise.
28734 * nscd/nscd_gethst_r.c: Likewise.
28735 * nscd/nscd_getserv_r.c: Likewise.
28736 * nscd/nscd_helper.c: Likewise.
28737 * nscd/servicescache.c: Likewise.
28738 * nss/makedb.c: Likewise.
28739 * nss/nss_db/db-XXX.c: Likewise.
28740 * nss/nss_db/db-initgroups.c: Likewise.
28741 * nss/nss_db/db-netgrp.c: Likewise.
28742 * nss/nss_files/files-network.c: Likewise.
28743 * nss/nss_files/files-parse.c: Likewise.
28744 * posix/bug-regex5.c: Likewise.
28745 * posix/fnmatch_loop.c: Likewise.
28746 * posix/regcomp.c: Likewise.
28747 * posix/regexec.c: Likewise.
28748 * posix/tst-rfc3484-2.c: Likewise.
28749 * posix/tst-rfc3484-3.c: Likewise.
28750 * posix/tst-rfc3484.c: Likewise.
28751 * resolv/nss_dns/dns-canon.c: Likewise.
28752 * resolv/nss_dns/dns-network.c: Likewise.
28753 * resolv/res_init.c: Likewise.
28754 * resolv/res_mkquery.c: Likewise.
28755 * resolv/tst-aton.c: Likewise.
28756 * stdlib/cxa_atexit.c: Likewise.
28757 * stdlib/cxa_finalize.c: Likewise.
28758 * stdlib/gen-fpioconst.c: Likewise.
28759 * stdlib/strtol_l.c: Likewise.
28760 * string/tst-endian.c: Likewise.
28761 * sunrpc/auth_des.c: Likewise.
28762 * sunrpc/clnt_udp.c: Likewise.
28763 * sunrpc/rtime.c: Likewise.
28764 * sunrpc/svcauth_des.c: Likewise.
28765 * sunrpc/xdr.c: Likewise.
28766 * sunrpc/xdr_intXX_t.c: Likewise.
28767 * sunrpc/xdr_rec.c: Likewise.
28768 * sysdeps/generic/ldconfig.h: Likewise.
28769 * sysdeps/generic/ldsodefs.h: Likewise.
28770 * sysdeps/generic/memusage.h: Likewise.
28771 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28772 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28773 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28774 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28775 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28776 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28777 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28778 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28779 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28781 * sysdeps/posix/getaddrinfo.c: Likewise.
28782 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28783 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28784 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28785 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28786 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28787 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28788 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28789 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28790 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28791 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28792 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28793 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28794 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28795 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28796 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28797 * sysdeps/x86_64/dl-tls.h: Likewise.
28798 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28799 * time/alt_digit.c: Likewise.
28800 * time/era.c: Likewise.
28801 * wcsmbs/tst-c16c32-1.c: Likewise.
28802
8c75f674
JM
288032013-05-16 Joseph Myers <joseph@codesourcery.com>
28804
28805 * math/libm-test.inc (struct test_sincos_data): New type.
28806 (RUN_TEST_LOOP_sincos): New macro.
28807 (sincos_test_data): New variable.
28808 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28809
e6e49e59
RH
288102013-05-16 Richard Henderson <rth@redhat.com>
28811
28812 * math/atest-exp2.c (LIMB64): New macro.
28813 (CONSTSZ): New macro.
28814 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28815 (hexdig): Move ...
28816 (print_mpn_fp): ... to function scope.
28817 (read_mpn_hex): Remove.
28818 (get_log2): Remove.
28819 (exp2_mpn): Use mp_log2.
28820 (main): Use mp_exp1.
28821
15c7c18d
JM
288222013-05-16 Joseph Myers <joseph@codesourcery.com>
28823
105a07df
JM
28824 * math/libm-test.inc: Remove comment about not testing "inexact"
28825 exceptions.
28826 (INEXACT_EXCEPTION): New macro.
28827 (NO_INEXACT_EXCEPTION): Likewise.
28828 (INVALID_EXCEPTION_OK): Update value.
28829 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28830 (OVERFLOW_EXCEPTION_OK): Likewise.
28831 (UNDERFLOW_EXCEPTION_OK): Likewise.
28832 (IGNORE_ZERO_INF_SIGN): Likewise.
28833 (ERRNO_UNCHANGED): Likewise.
28834 (ERRNO_EDOM): Likewise.
28835 (ERRNO_ERANGE): Likewise.
28836 (test_exceptions): Handle testing "inexact" exceptions.
28837 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28838 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28839 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28840 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28841 INEXACT_EXCEPTION.
28842 (rint_towardzero_test_data): Likewise.
28843 (rint_downward_test_data): Likewise.
28844 (rint_upward_test_data): Likewise.
28845
e9eee333
JM
28846 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28847 with OVERFLOW_EXCEPTION.
28848 (exp10_test_data): Likewise.
28849 (exp2_test_data): Likewise.
28850 (expm1_test_data): Likewise.
28851 (lgamma_test_data): Likewise.
28852 (pow_test_data): Likewise.
28853 (tgamma_test_data): Likewise.
28854 (yn_test_data): Remove duplicate test of overflow.
28855
1c38ff73
JM
28856 * math/libm-test.inc (struct test_cc_c_data): New type.
28857 (RUN_TEST_LOOP_cc_c): New macro.
28858 (cpow_test_data): New variable.
28859 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28860
15c7c18d
JM
28861 * math/libm-test.inc (struct test_f_L_data): New type.
28862 (RUN_TEST_LOOP_f_L): New macro.
28863 (llrint_test_data): New variable.
28864 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28865 (llrint_tonearest_test_data): New variable.
28866 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28867 (llrint_towardzero_test_data): New variable.
28868 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28869 (llrint_downward_test_data): New variable.
28870 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28871 (llrint_upward_test_data): New variable.
28872 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28873 (llround_test_data): New variable.
28874 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28875
f137ff13
PC
288762013-05-13 Peter Collingbourne <pcc@google.com>
28877
28878 * math/atest-exp2.c (get_log2): Remove const attribute.
28879
3608cb24
JM
288802013-05-15 Joseph Myers <joseph@codesourcery.com>
28881
28882 * math/libm-test.inc (struct test_f_l_data): New type.
28883 (RUN_TEST_LOOP_f_l): New macro.
28884 (lrint_test_data): New variable.
28885 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28886 (lrint_tonearest_test_data): New variable.
28887 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28888 (lrint_towardzero_test_data): New variable.
28889 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28890 (lrint_downward_test_data): New variable.
28891 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28892 (lrint_upward_test_data): New variable.
28893 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28894 (lround_test_data): New variable.
28895 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28896
39b1f617
PC
288972013-05-15 Peter Collingbourne <pcc@google.com>
28898
1deff3dc
PC
28899 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28900 (EXTRACT_WORDS64) Use where appropriate.
28901 (INSERT_WORDS64) Likewise.
28902
791f3ba0
PC
28903 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28904 constraints with x constraints.
28905 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28906
39b1f617
PC
28907 * malloc/obstack.c (_obstack_compat): Add initializer.
28908
12fba011
EM
289092013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28910
28911 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28912 si_trapno and add si_addr_lsb to _sifields.sigfault.
28913 (si_trapno): Remove macro.
28914 (si_addr_lsb): Define new macro.
28915 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28916
d369f531
JM
289172013-05-15 Joseph Myers <joseph@codesourcery.com>
28918
b861c6c4
JM
28919 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28920 instead of TEST_f_l.
28921 (llrint_test_tonearest): Likewise.
28922 (llrint_test_towardzero): Likewise.
28923 (llrint_test_downward): Likewise.
28924 (llrint_test_upward): Likewise.
28925 (llround_test): Likewise.
28926
7abeee12
JM
28927 * math/libm-test.inc (struct test_f_i_data): Add comment.
28928 (RUN_TEST_LOOP_f_b): New macro.
28929 (RUN_TEST_LOOP_f_b_tg): Likewise.
28930 (finite_test_data): New variable.
28931 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28932 (isfinite_test_data): New variable.
28933 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28934 (isinf_test_data): New variable.
28935 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28936 (isnan_test_data): New variable.
28937 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28938 (isnormal_test_data): New variable.
28939 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28940 (issignaling_test_data): New variable.
28941 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28942 (signbit_test_data): New variable.
28943 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28944
cbe8c4d3
JM
28945 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28946 with INVALID_EXCEPTION.
28947 (acosh_test_data): Likewise.
28948 (asin_test_data): Likewise.
28949 (atanh_test_data): Likewise.
28950 (fmod_test_data): Likewise.
28951 (log_test_data): Likewise.
28952 (log10_test_data): Likewise.
28953 (log2_test_data): Likewise.
28954 (pow_test_data): Likewise.
28955 (sqrt_test_data): Likewise.
28956 (y0_test_data): Likewise.
28957 (y1_test_data): Likewise.
28958 (yn_test_data): Likewise.
28959
5575c0e5
JM
28960 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28961 function contents.
28962
d369f531
JM
28963 * math/libm-test.inc (struct test_ff_i_data): New type.
28964 (RUN_TEST_LOOP_ff_i_tg): New macro.
28965 (isgreater_test_data): New variable.
28966 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28967 (isgreaterequal_test_data): New variable.
28968 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28969 (isless_test_data): New variable.
28970 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28971 (islessequal_test_data): New variable.
28972 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28973 (islessgreater_test_data): New variable.
28974 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28975 (isunordered_test_data): New variable.
28976 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28977
781fd748
DM
289782013-05-14 David S. Miller <davem@davemloft.net>
28979
28980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28981
87aa21df
JM
289822013-05-14 Joseph Myers <joseph@codesourcery.com>
28983
5e908270
JM
28984 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28985
f71172e5
JM
28986 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28987 extra_test to int.
28988 (struct test_f_i_data): Change type of max_ulp to int.
28989
8cfa635a
JM
28990 * math/libm-test.inc (test_ffI_f1_data): New type.
28991 (RUN_TEST_LOOP_ffI_f1): New macro.
28992 (remquo_test_data): New variable.
28993 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28994
2bcb36b2
JM
28995 * setjmp/tst-setjmp-fp.c: New file.
28996 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28997 (link-libm): New variable.
28998 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28999
acbd839a
JM
29000 * math/libm-test.inc (struct test_f_i_data): New type.
29001 (RUN_TEST_LOOP_f_i): New macro.
29002 (RUN_TEST_LOOP_f_i_tg): Likewise.
29003 (fpclassify_test_data): New variable.
29004 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29005 (ilogb_test_data): New variable.
29006 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29007
e414d745
JM
29008 * math/libm-test.inc (scalbln_test): Correct function name in END
29009 call.
29010
d9c2a0fd
JM
29011 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29012 (RUN_TEST_LOOP_fI_f1): New macro.
29013 (frexp_test_data): New variable.
29014 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29015
9dc9095d
JM
29016 * math/libm-test.inc (struct test_fF_f1_data): New type.
29017 (RUN_TEST_LOOP_fF_f1): New macro.
29018 (modf_test_data): New variable.
29019 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29020
87aa21df
JM
29021 * math/libm-test.inc (struct test_f_f1_data): New type.
29022 (RUN_TEST_LOOP_f_f1): New macro.
29023 (gamma_test_data): New variable.
29024 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29025 (lgamma_test_data): New variable.
29026 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29027
141af660
CD
290282013-05-13 Carlos O'Donell <carlos@redhat.com>
29029
29030 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29031 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29032 (main): Comment "tls" pseudo-hwcap.
29033
6d33265c
JM
290342013-05-13 Joseph Myers <joseph@codesourcery.com>
29035
68fc074c
JM
29036 * math/libm-test.inc (struct test_fl_f_data): New type.
29037 (RUN_TEST_LOOP_fl_f): New variable.
29038 (scalbln_test_data): New variable.
29039 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29040
243216e1
JM
29041 * math/libm-test.inc (struct test_fi_f_data): New type.
29042 (RUN_TEST_LOOP_fi_f): New macro.
29043 (ldexp_test_data): New variable.
29044 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29045 (scalbn_test_data): New variable.
29046 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29047
6a1992e2
JM
29048 * math/libm-test.inc (struct test_c_f_data): New type.
29049 (RUN_TEST_LOOP_c_f): New macro.
29050 (cabs_test_data): New variable.
29051 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29052 (carg_test_data): New variable.
29053 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29054 (cimag_test_data): New variable.
29055 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29056 (creal_test_data): New variable.
29057 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29058
0e400df5
JM
29059 * math/libm-test.inc (struct test_if_f_data): New type.
29060 (RUN_TEST_LOOP_if_f): New macro.
29061 (jn_test_data): New variable.
29062 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29063 (yn_test_data): New variable.
29064 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29065
6d33265c
JM
29066 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29067
f98ece5f
AZ
290682013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29069
29070 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29071 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29072
0f7d347b
SP
290732013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29074
43fe811b
SP
29075 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29076 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29077 (bench-deps): Add bench-timing.h.
29078 * benchtests-bench-skeleton.c: Include bench-timing.h.
29079 (main): Use TIMING_* macros instead of clock_gettime.
29080 * benchtests/bench-timing.h: New file.
29081
0f7d347b
SP
29082 [BZ #14582]
29083 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29084 Renamed from _LIB_VERSION.
29085 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29086
601a3a5f
JM
290872013-05-12 Joseph Myers <joseph@codesourcery.com>
29088
4f184d30
JM
29089 * math/libm-test.inc (struct test_fff_f_data): New type.
29090 (RUN_TEST_LOOP_fff_f): New macro.
29091 (fma_test_data): New variable.
29092 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29093 (fma_towardzero_test_data): New variable.
29094 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29095 (fma_downward_test_data): New variable.
29096 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29097 (fma_upward_test_data): New variable.
29098 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29099
08198877
JM
29100 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29101 (struct test_c_c_data): New type.
29102 (RUN_TEST_LOOP_c_c): New macro.
29103 (cacos_test_data): New variable.
29104 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29105 (cacosh_test_data): New variable.
29106 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29107 (casin_test_data): New variable.
29108 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29109 (casinh_test_data): New variable.
29110 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29111 (catan_test_data): New variable.
29112 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29113 (catanh_test_data): New variable.
29114 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29115 (ccos_test_data): New variable.
29116 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29117 (ccosh_test_data): New variable.
29118 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29119 (cexp_test_data): New variable.
29120 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29121 (clog_test_data): New variable.
29122 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29123 (clog10_test_data): New variable.
29124 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29125 (conj_test_data): New variable.
29126 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29127 (cproj_test_data): New variable.
29128 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29129 (csin_test_data): New variable.
29130 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29131 (csinh_test_data): New variable.
29132 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29133 (csqrt_test_data): New variable.
29134 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29135 (ctan_test_data): New variable.
29136 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29137 (ctan_tonearest_test_data): New variable.
29138 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29139 (ctan_towardzero_test_data): New variable.
29140 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29141 (ctan_downward_test_data): New variable.
29142 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29143 (ctan_upward_test_data): New variable.
29144 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29145 (ctanh_test_data): New variable.
29146 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29147 (ctanh_tonearest_test_data): New variable.
29148 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29149 (ctanh_towardzero_test_data): New variable.
29150 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29151 (ctanh_downward_test_data): New variable.
29152 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29153 (ctanh_upward_test_data): New variable.
29154 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29155 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29156 of BUILD_COMPLEX.
29157
601a3a5f
JM
29158 * math/libm-test.inc (struct test_ff_f_data): New type.
29159 (struct test_ff_f_data_nexttoward): Likewise.
29160 (RUN_TEST_LOOP_2_f): New macro.
29161 (RUN_TEST_LOOP_ff_f): Likewise.
29162 (atan2_test_data): New variable.
29163 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29164 (copysign_test_data): New variable.
29165 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29166 (fdim_test_data): New variable.
29167 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29168 (fmax_test_data): New variable.
29169 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29170 (fmin_test_data): New variable.
29171 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29172 (fmod_test_data): New variable.
29173 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29174 (hypot_test_data): New variable.
29175 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29176 (nextafter_test_data): New variable.
29177 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29178 (nexttoward_test_data): New variable.
29179 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29180 (pow_test_data): New variable.
29181 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29182 (pow_tonearest_test_data): New variable.
29183 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29184 (pow_towardzero_test_data): New variable.
29185 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29186 (pow_downward_test_data): New variable.
29187 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29188 (pow_upward_test_data): New variable.
29189 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29190 (remainder_test_data): New variable.
29191 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29192 (scalb_test_data): New variable.
29193 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29194 * sysdeps/i386/fpu/libm-test-ulps: Update.
29195
74c57478
JM
291962013-05-11 Joseph Myers <joseph@codesourcery.com>
29197
8329e4da
JM
29198 * math/libm-test.inc (fma_test): Use max_value instead of local
29199 variable fltmax.
29200 (nextafter_test): Likewise.
29201
74c57478
JM
29202 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29203 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29204 (acos_downward_test_data): New variable.
29205 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29206 (acos_upward_test_data): New variable.
29207 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29208 (acosh_test_data): New variable.
29209 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29210 (asin_test_data): New variable.
29211 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29212 (asin_tonearest_test_data): New variable.
29213 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29214 (asin_towardzero_test_data): New variable.
29215 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29216 (asin_downward_test_data): New variable.
29217 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29218 (asin_upward_test_data): New variable.
29219 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29220 (asinh_test_data): New variable.
29221 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29222 (atan_test_data): New variable.
29223 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29224 (atanh_test_data): New variable.
29225 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29226 (cbrt_test_data): New variable.
29227 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29228 (ceil_test_data): New variable.
29229 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29230 (cos_test_data): New variable.
29231 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29232 (cos_tonearest_test_data): New variable.
29233 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29234 (cos_towardzero_test_data): New variable.
29235 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29236 (cos_downward_test_data): New variable.
29237 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29238 (cos_upward_test_data): New variable.
29239 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29240 (cosh_test_data): New variable.
29241 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29242 (cosh_tonearest_test_data): New variable.
29243 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29244 (cosh_towardzero_test_data): New variable.
29245 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29246 (cosh_downward_test_data): New variable.
29247 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29248 (cosh_upward_test_data): New variable.
29249 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29250 (erf_test_data): New variable.
29251 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29252 (erfc_test_data): New variable.
29253 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29254 (exp_test_data): New variable.
29255 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29256 (exp_tonearest_test_data): New variable.
29257 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29258 (exp_towardzero_test_data): New variable.
29259 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29260 (exp_downward_test_data): New variable.
29261 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29262 (exp_upward_test_data): New variable.
29263 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29264 (exp10_test_data): New variable.
29265 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29266 (exp2_test_data): New variable.
29267 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29268 (expm1_test_data): New variable.
29269 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29270 (fabs_test_data): New variable.
29271 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29272 (floor_test_data): New variable.
29273 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29274 (j0_test_data): New variable.
29275 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29276 (j1_test_data): New variable.
29277 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29278 (log_test_data): New variable.
29279 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29280 (log10_test_data): New variable.
29281 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29282 (log1p_test_data): New variable.
29283 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29284 (log2_test_data): New variable.
29285 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29286 (logb_test_data): New variable.
29287 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29288 (logb_downward_test_data): New variable.
29289 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29290 (nearbyint_test_data): New variable.
29291 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29292 (rint_test_data): New variable.
29293 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29294 (rint_tonearest_test_data): New variable.
29295 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29296 (rint_towardzero_test_data): New variable.
29297 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29298 (rint_downward_test_data): New variable.
29299 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29300 (rint_upward_test_data): New variable.
29301 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29302 (round_test_data): New variable.
29303 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29304 (sin_test_data): New variable.
29305 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29306 (sin_tonearest_test_data): New variable.
29307 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29308 (sin_towardzero_test_data): New variable.
29309 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29310 (sin_downward_test_data): New variable.
29311 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29312 (sin_upward_test_data): New variable.
29313 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29314 (sinh_test_data): New variable.
29315 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29316 (sinh_tonearest_test_data): New variable.
29317 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29318 (sinh_towardzero_test_data): New variable.
29319 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29320 (sinh_downward_test_data): New variable.
29321 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29322 (sinh_upward_test_data): New variable.
29323 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29324 (sqrt_test_data): New variable.
29325 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29326 (tan_test_data): New variable.
29327 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29328 (tan_tonearest_test_data): New variable.
29329 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29330 (tan_towardzero_test_data): New variable.
29331 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29332 (tan_downward_test_data): New variable.
29333 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29334 (tan_upward_test_data): New variable.
29335 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29336 (tanh_test_data): New variable.
29337 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29338 (tgamma_test_data): New variable.
29339 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29340 (trunc_test_data): New variable.
29341 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29342 (y0_test_data): New variable.
29343 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29344 (y1_test_data): New variable.
29345 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29346 (significand_test_data): New variable.
29347 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29348
7187d844
CG
293492013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29350
29351 [BZ #12387]
29352 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29353
f63fae73
PT
293542013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29355
29356 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29357
8a67a4b3
AJ
293582013-05-10 Andreas Jaeger <aj@suse.de>
29359
29360 [BZ #15448]
29361 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29362 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29363
51df539d
JM
293642013-05-10 Joseph Myers <joseph@codesourcery.com>
29365
29366 * math/gen-libm-test.pl (adjust_arg): New function.
29367 (special_functions): Handle generating output in both functions
29368 and arrays.
29369 (parse_args): Likewise.
29370 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29371 $in_func argument to parse_args.
29372 * math/libm-test.inc (struct test_f_f_data): New type.
29373 (IF_ROUND_INIT_): New macro.
29374 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29375 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29376 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29377 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29378 (ROUND_RESTORE_): Likewise.
29379 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29380 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29381 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29382 (ROUND_RESTORE_FE_UPWARD): Likewise.
29383 (RUN_TEST_LOOP_f_f): New macro.
29384 (acos_test_data): New variable.
29385 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29386 (acos_tonearest_test_data): New variable.
29387 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29388
5c637fe5
SP
293892013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29390
29391 * benchtests/bench-skeleton.c (startup): Fix coding style.
29392
ab2b9461
JM
293932013-05-10 Joseph Myers <joseph@codesourcery.com>
29394
29395 [BZ #6809]
29396 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29397 negative infinity argument.
29398 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29399 negative infinity argument.
29400 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29401 negative infinity argument.
29402 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29403 domain errors.
29404
4c0fe6fe
FW
294052013-05-10 Florian Weimer <fweimer@redhat.com>
29406
29407 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29408 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29409 * iconv/iconv_prog.c (main): Likewise.
29410 * locale/programs/charmap-dir.c (charmap_readdir)
29411 (fopen_uncompressed): Likewise.
29412 * locale/programs/locfile.c (siblings_uncached)
29413 (write_locale_data): Use lstat64 instead of lstat.
29414 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29415 stat.
29416
a3375d29
AJ
294172013-05-10 Andreas Jaeger <aj@suse.de>
29418
29419 [BZ #15395]
29420 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29421 localization.
29422 Include <locale.h>.
29423
36129722
CD
294242013-05-09 Carlos O'Donell <carlos@redhat.com>
29425
29426 * elf/dl-close.c (_dl_close_worker): Add comments.
29427
faa7f811
JM
294282013-05-09 Joseph Myers <joseph@codesourcery.com>
29429
ed41ffef
JM
29430 [BZ #15359]
29431 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29432 high part of pi/2.
29433 (__ieee754_rem_pio2l): Update comments.
29434
d0213cd0
JM
29435 [BZ #15429]
29436 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29437 high part of pi/2.
29438 (__ieee754_rem_pio2l): Update comments.
29439
0d3e777a
JM
29440 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29441 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29442
24f56066
JM
29443 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29444 M_PI_4l.
29445
faa7f811
JM
29446 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29447 (M_PI_34_LOG10El): Likewise.
29448 (M_PI2_LOG10El): Likewise.
29449 (M_PI4_LOG10El): Likewise.
29450 (M_PI_LOG10El): Likewise.
29451
e9a5e0fd
AZ
294522013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29453
29454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29455
d8cd06db
JM
294562013-05-08 Joseph Myers <joseph@codesourcery.com>
29457
a0d9f9d7
JM
29458 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29459 (MINUS_ZERO_INIT): Likewise.
29460 (PLUS_INFTY_INIT): Likewise.
29461 (MINUS_INFTY_INIT): Likewise.
29462 (QNAN_VALUE_INIT): Likewise.
29463 (MAX_VALUE_INIT): Likewise.
29464 (MIN_VALUE_INIT): Likewise.
29465 (MIN_SUBNORM_VALUE_INIT): Likewise.
29466 (plus_zero): Initialize with PLUS_ZERO_INIT.
29467 (minus_zero): Initialize with MINUS_ZERO_INIT.
29468 (plus_infty): Initialize with PLUS_INFTY_INIT.
29469 (minus_infty): Initialize with MINUS_INFTY_INIT.
29470 (qnan_value): Initialize with QNAN_VALUE_INIT.
29471 (max_value): Initialize with MAX_VALUE_INIT.
29472 (min_value): Initialize with MIN_VALUE_INIT.
29473 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29474
ae08db3b
JM
29475 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29476 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29477 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29478 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29479
f44bf14a
JM
29480 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29481 (RUN_TEST_2_f): Likewise.
29482 (RUN_TEST_ff_f): Likewise.
29483 (RUN_TEST_fi_f): Likewise.
29484 (RUN_TEST_fl_f): Likewise.
29485 (RUN_TEST_fff_f): Likewise.
29486 (RUN_TEST_c_f): Likewise.
29487 (RUN_TEST_f_f1): Likewise.
29488 (RUN_TEST_fF_f1): Likewise.
29489 (RUN_TEST_fI_f1): Likewise.
29490 (RUN_TEST_ffI_f1): Likewise.
29491 (RUN_TEST_c_c): Likewise.
29492 (RUN_TEST_cc_c): Likewise.
29493 (RUN_TEST_f_i): Likewise.
29494 (RUN_TEST_f_i_tg): Likewise.
29495 (RUN_TEST_ff_i_tg): Likewise.
29496 (RUN_TEST_f_b): Likewise.
29497 (RUN_TEST_f_b_tg): Likewise.
29498 (RUN_TEST_f_l): Likewise.
29499 (RUN_TEST_f_L): Likewise.
29500 (RUN_TEST_sincos): Likewise.
29501 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29502 whether to show exceptions. Do not include ");\n" in return
29503 value.
29504 (special_functions): Output call to RUN_TEST_sincos instead of
29505 check_float calls. Update calls to new_test.
29506 (parse_args): Output call to single RUN_TEST_* macro instead of
29507 check_* calls and other assignments. Update calls to new_test.
29508
d8cd06db
JM
29509 [BZ #2546]
29510 [BZ #2560]
29511 [BZ #5159]
29512 [BZ #15426]
29513 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29514 input to result for tgamma overflow.
29515 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29516 (gamma_coeff): New variable.
29517 (NCOEFF): New macro.
29518 (gamma_positive): New function.
29519 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29520 underflow here. Use gamma_positive instead of exp (lgamma) for
29521 other arguments.
29522 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29523 (gamma_coeff): New variable.
29524 (NCOEFF): New macro.
29525 (gammaf_positive): New function.
29526 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29527 underflow here. Use gamma_positive instead of exp (lgamma) for
29528 other arguments.
29529 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29530 (gamma_coeff): New variable.
29531 (NCOEFF): New macro.
29532 (gammal_positive): New function.
29533 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29534 underflow here. Use gamma_positive instead of exp (lgamma) for
29535 other arguments.
29536 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29537 (gamma_coeff): New variable.
29538 (NCOEFF): New macro.
29539 (gammal_positive): New function.
29540 (__ieee754_gammal_r): Handle positive infinity, overflow and
29541 underflow here. Handle NaN the same as positive infinity. Remove
29542 check x < 0xffffffff for negative integers. Use gamma_positive
29543 instead of exp (lgamma) for other arguments.
29544 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29545 (gamma_coeff): New variable.
29546 (NCOEFF): New macro.
29547 (gammal_positive): New function.
29548 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29549 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29550 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29551 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29552 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29553 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29554 * sysdeps/generic/math_private.h (__gamma_productf): New
29555 prototype.
29556 (__gamma_product): Likewise.
29557 (__gamma_productl): Likewise.
29558 * math/Makefile (libm-calls): Add gamma_product.
29559 * math/libm-test.inc (tgamma_test): Add more tests.
29560 * sysdeps/i386/fpu/libm-test-ulps: Update.
29561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29562
bb7cf681
OB
295632013-05-08 Ondřej Bílka <neleai@seznam.cz>
29564
29565 * benchtests/bench-skeleton.c (main): Preheat CPU.
29566
ba853947
AJ
295672013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29568
29569 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29570
8347c74c
RM
295712013-05-07 Roland McGrath <roland@hack.frob.com>
29572
29573 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29574 and _dl_skip_args_internal.
29575
e8dd4791
CD
295762013-05-07 Carlos O'Donell <carlos@redhat.com>
29577
29578 * manual/message.texi (Message Translation): Talk about users.
29579 Message to key mapping impacts design.
29580
c7405830
RM
295812013-05-06 Roland McGrath <roland@hack.frob.com>
29582
a9173057
RM
29583 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29584
976e2f03
RM
29585 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29586
9723ffc5
RM
29587 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29588 * sysdeps/wordsize-64/glob64.c: ... here.
29589
962e6658
RM
29590 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29591 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29592 New macros.
29593
ee586a6d
RM
29594 * debug/getlogin_r_chk.c: Moved to ...
29595 * login/getlogin_r_chk.c: ... here.
29596 * debug/Makefile (routines): Move getlogin_r_chk to ...
29597 * login/Makefile (routines): ... here.
29598 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29599 * login/Versions (libc: GLIBC_2.4): ... here.
29600
355f9165
RM
29601 * io/poll.c (__poll): Renamed from poll.
29602 Add libc_hidden_def.
29603 (poll): Define as weak alias.
29604
bd9ffde6
RM
29605 * debug/ptsname_r_chk.c: Moved to ...
29606 * login/ptsname_r_chk.c: ... here.
29607 * debug/Makefile (routines): Move ptsname_r_chk to ...
29608 * login/Makefile (routines): ... here.
29609 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29610 * login/Versions (libc: GLIBC_2.4): ... here.
29611
8fb16a04
RM
29612 * posix/getlogin.c: Moved to ...
29613 * login/getlogin.c: ... here.
29614 * posix/getlogin_r.c: Moved to ...
29615 * login/getlogin_r.c: ... here.
29616 * posix/getlogin_r.c: Moved to ...
29617 * login/getlogin_r.c: ... here.
29618 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29619 * login/Makefile (routines): ... here.
29620 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29621 * login/Versions (libc: GLIBC_2.0): ... here.
29622
b99b892f
RM
29623 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29624 (setrlimit): Define as weak alias.
29625
c7405830
RM
29626 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29627 Call __ names for open, ftruncate, and close.
29628 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29629 (truncate): Define as weak alias.
29630
5bf96de5
JM
296312013-05-06 Joseph Myers <joseph@codesourcery.com>
29632
9ea3513c
JM
29633 * math/gen-libm-test.pl (parse_args): Initialize x before each
29634 test of frexp, modf and remquo.
29635
5bf96de5
JM
29636 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29637 test signgam value.
29638
16e616a7
AZ
296392013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29640
29641 [BZ #15418]
29642 [BZ #15419]
29643 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29644 internal tests.
29645 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29646
d5e82754
RM
296472013-05-06 Roland McGrath <roland@hack.frob.com>
29648
29649 * elf/dl-writev.h: New file.
29650 * elf/dl-misc.c: Include it.
29651 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29652 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29653
a7548d41
JM
296542013-05-04 Joseph Myers <joseph@codesourcery.com>
29655
b7dab1e4
JM
29656 * math/libm-test.inc (noXFails): Remove variable.
29657 (noXPasses): Likewise.
29658 (BUILD_COMPLEX_INT): Remove macro.
29659 (print_screen): Remove xfail argument.
29660 (print_screen_max_error): Likewise.
29661 (update_stats): Likewise.
29662 (print_max_error): Likewise. Update calls to other affected
29663 functions.
29664 (print_complex_max_error): Likewise.
29665 (test_single_exception): Update calls to print_screen.
29666 (test_single_errno): Likewise.
29667 (check_float_internal): Remove xfail argument. Update calls to
29668 other affected functions.
29669 (check_float): Likewise.
29670 (check_complex): Likewise.
29671 (check_int): Likewise.
29672 (check_long): Likewise.
29673 (check_bool): Likewise.
29674 (check_longlong): Likewise.
29675 (main): Don't print noXFails and noXPasses.
29676 * math/gen-libm-test.pl (top level): Don't mention expected
29677 failure handling in comment.
29678 (new_test): Don't handle expected failures.
29679 (parse_args): Don't mention expected failure handling in comment.
29680 (generate_testfile): Don't handle expected failures.
29681 (parse_ulps): Likewise.
29682 (print_ulps_file): Likewise.
29683 (get_failure): Remove function.
29684 (output_test): Don't handle expected failures.
29685 * make/README.libm-test: Don't mention expected failure handling.
29686
a7548d41
JM
29687 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29688 (minus_zero): Likewise.
29689 (plus_infty): Likewise.
29690 (minus_infty): Likewise.
29691 (qnan_value): Likewise.
29692 (max_value): Likewise.
29693 (min_value): Likewise.
29694 (min_subnorm_value): Likewise.
29695 (initialize): Do not initialize those variables dynamically.
29696
60bfd54c
RM
296972013-05-03 Roland McGrath <roland@hack.frob.com>
29698
cc0e6ed8
RM
29699 * io/open.c (__open_2): Moved to ...
29700 * io/open_2.c: ... this new file.
29701 * io/open64.c (__open64_2): Moved to ...
29702 * io/open64_2.c: ... this new file.
29703 * io/openat.c (__openat_2): Moved to ...
29704 * io/openat_2.c: ... this new file.
29705 * io/openat64.c (__openat64_2): Moved to ...
29706 * io/openat64_2.c: ... this new file.
29707 * io/Makefile (routines): Add them.
29708 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29709 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29710 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29711 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29712 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29713 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29714 (__openat64): Add hidden_ver.
29715 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29716 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29717
60bfd54c
RM
29718 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29719 Separately conditionalize setting of GLRO(dl_sysinfo) so
29720 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29721 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29722
83e7640f
AZ
297232013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29724
29725 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29726 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29727 definition.
29728 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29729 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29730 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29731 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29732 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29733
d5dc2af3
JM
297342013-05-03 Joseph Myers <joseph@codesourcery.com>
29735
c31a5b1e
JM
29736 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29737 test signgam value.
29738
d5dc2af3
JM
29739 * math/libm-test.inc (hypot_test): Do not use
29740 IGNORE_ZERO_INF_SIGN.
29741
164fd39d
AJ
297422013-05-03 Andreas Jaeger <aj@suse.de>
29743
29744 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29745 Linux 3.9.
29746 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29747 (PF_MAX): Adjust for VSOCK change.
29748
8237f48c
AZ
297492013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29750
29751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29752
9df02941
CD
297532013-05-02 Carlos O'Donell <carlos@redhat.com>
29754
29755 [BZ #15264]
29756 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29757 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29758 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29759
d422395e
DM
297602013-05-02 David S. Miller <davem@davemloft.net>
29761
29762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29763
a07c5731
OB
297642013-05-01 Ondřej Bílka <neleai@seznam.cz>
29765
29766 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29767
1324e37f
RM
297682013-05-01 Roland McGrath <roland@hack.frob.com>
29769
29770 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29771
0695940b
RS
297722013-05-01 Richard Smith <richard@metafoo.co.uk>
29773
bb5f27ad 29774 [BZ #14952]
0695940b
RS
29775 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29776 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29777 Use __attribute__ ((__gnu_inline__)).
29778 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29779 Don't use __attribute__ ((__gnu_inline__)).
29780
10de07f5
JM
297812013-05-01 Joseph Myers <joseph@codesourcery.com>
29782
29783 [BZ #15423]
29784 * math/s_catan.c (__catan): Handle small real or imaginary part of
29785 input specially to avoid spurious underflow.
29786 * math/s_catanf.c (__catanf): Likewise.
29787 * math/s_catanh.c (__catanh): Likewise.
29788 * math/s_catanhf.c (__catanhf): Likewise.
29789 * math/s_catanhl.c (__catanhl): Likewise.
29790 * math/s_catanl.c (__catanl): Likewise.
29791 * math/libm-test.inc (catan_test): Add more tests.
29792 (catanh_test): Likewise.
29793 * sysdeps/i386/fpu/libm-test-ulps: Update.
29794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29795
cb4d5414
AZ
297962013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29797
29798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29799
caf84319
JM
298002013-04-30 Joseph Myers <joseph@codesourcery.com>
29801
29802 [BZ #15416]
29803 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29804 accurately for denominator in atan2.
29805 * math/s_catanf.c (__catanf): Likewise.
29806 * math/s_catanh.c (__catanh): Likewise.
29807 * math/s_catanhf.c (__catanhf): Likewise.
29808 * math/s_catanhl.c (__catanhl): Likewise.
29809 * math/s_catanl.c (__catanl): Likewise.
29810 * math/libm-test.inc (catan_test): Add more tests.
29811 (catanh_test): Likewise.
29812 * sysdeps/i386/fpu/libm-test-ulps: Update.
29813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29814
d569c6ee
SP
298152013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29816
6dbe713d
SP
29817 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29818
f0ee064b
SP
29819 * benchtests/Makefile (bench): Remove slow benchmarks.
29820 * benchtests/atan-inputs: Add slow benchmark inputs.
29821 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29822 (BENCH_FUNC): Accept variant offset.
29823 (VARIANT): Define.
29824 * benchtests/bench-skeleton.c (main): Run benchmark for each
29825 variant.
29826 * benchtests/cos-inputs: Add slow benchmark inputs.
29827 * benchtests/exp-inputs: Likewise.
29828 * benchtests/pow-inputs: Likewise.
29829 * benchtests/sin-inputs: Likewise.
29830 * benchtests/slowatan-inputs: Remove.
29831 * benchtests/slowatan.c: Remove.
29832 * benchtests/slowcos-inputs: Remove.
29833 * benchtests/slowcos.c: Remove.
29834 * benchtests/slowexp-inputs: Remove.
29835 * benchtests/slowexp.c: Remove.
29836 * benchtests/slowpow-inputs: Remove.
29837 * benchtests/slowpow.c: Remove.
29838 * benchtests/slowsin-inputs: Remove.
29839 * benchtests/slowsin.c: Remove.
29840 * benchtests/slowtan-inputs: Remove.
29841 * benchtests/slowtan.c: Remove.
29842 * benchtests/tan-inputs: Add slow benchmark inputs.
29843 * scripts/bench.pl: Parse comments and directives.
29844
d569c6ee
SP
29845 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29846 in CPPFLAGS.
29847 ($(objpfx)bench-%.c): Remove *-ITER.
29848 * benchtests/bench-modf.c: Remove definition of ITER.
29849 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29850 (main): Loop for DURATION seconds instead of fixed number of
29851 iterations.
29852 * scripts/bench.pl: Don't expect iterations in parameters.
29853
a6a242fe
RM
298542013-04-29 Roland McGrath <roland@hack.frob.com>
29855
29856 * io/fchdir.c (__fchdir): Renamed from fchdir.
29857 (fchdir): Define as weak alias.
29858
f2da7793
JM
298592013-04-29 Joseph Myers <joseph@codesourcery.com>
29860
29861 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29862 (ERRNO_EDOM): Likewise.
29863 (ERRNO_ERANGE): Likewise.
29864 (noErrnoTests): New variable.
29865 (init_max_error): Set errno to 0.
29866 (test_single_errno): New function.
29867 (test_errno): Likewise.
29868 (check_float_internal): Call test_errno. Set errno to 0.
29869 (check_complex): Refer to errno tests in comment.
29870 (check_int): Call test_errno. Set errno to 0.
29871 (check_long): Likewise.
29872 (check_bool): Likewise.
29873 (check_longlong): Likewise.
29874 (cos_test): Use ERRNO_* flags for errno tests instead of
29875 check_int.
29876 (expm1_test): Likewise.
29877 (fmod_test): Likewise.
29878 (ilogb_test): Likewise.
29879 (lgamma_test): Likewise.
29880 (pow_test): Likewise.
29881 (remainder_test): Likewise.
29882 (sin_test): Likewise.
29883 (tan_test): Likewise.
29884 (yn_test): Likewise.
29885 (initialize): Set errno to 0.
29886 (main): Print number of errno tests.
29887 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29888
b1a36ceb
AJ
298892013-04-29 Andreas Jaeger <aj@suse.de>
29890
c3ed8088
AJ
29891 [BZ #15084]
29892 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29893 and RES_USEVC.
29894
f1a24198
AJ
29895 [BZ #15085]
29896 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29897 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29898 unimplemented.
29899
9ce3b2cb
AJ
29900 [BZ #15380]
29901 * stdlib/random.c (__initstate): Return NULL if
29902 __initstate fails.
29903
f1a24198 29904 [BZ #15086]
b1a36ceb
AJ
29905 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29906 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29907 RES_SNGLKUPREOP.
29908
7e7b6f36
AZ
299092013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29910
29911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29912
4d14f449
JM
299132013-04-29 Joseph Myers <joseph@codesourcery.com>
29914
29915 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29916 of individual tests.
29917 (casin_test): Likewise.
29918 (casinh_test): Likewise.
29919
5b4217d7
JM
299202013-04-27 Joseph Myers <joseph@codesourcery.com>
29921
29922 [BZ #15409]
29923 * math/s_catan.c (__catan): Handle arguments with large real or
29924 imaginary part separately without squaring.
29925 * math/s_catanf.c (__catanf): Likewise.
29926 * math/s_catanh.c (__catanh): Likewise.
29927 * math/s_catanhf.c (__catanhf): Likewise.
29928 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29929 and redefine.
29930 (__catanhl): Handle arguments with large real or imaginary part
29931 separately without squaring.
29932 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29933 and redefine.
29934 (__catanl): Handle arguments with large real or imaginary part
29935 separately without squaring.
29936 * math/libm-test.inc (catan_test): Add more tests.
29937 (catanh_test): Likewise.
29938 * sysdeps/i386/fpu/libm-test-ulps: Update.
29939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29940
4220c3ef
AJ
299412013-04-27 Andreas Jaeger <aj@suse.de>
29942
29943 [BZ #15007]
29944 * stdlib/stdlib.h: Update guards for qecvt.
29945 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29946 <stdlib.h>.
29947
4721b2d1
AM
299482013-04-27 Allan McRae <allan@archlinux.org>
29949
29950 * sysdeps/i386/fpu/libm-test-ulps: Update.
29951
f0302940
JM
299522013-04-26 Joseph Myers <joseph@codesourcery.com>
29953
9457fd95
JM
29954 [BZ #15406]
29955 * math/s_catan.c: Include <float.h>.
29956 (__catan): Ensure underflow exception occurs for underflowed
29957 result.
29958 * math/s_catanf.c: Include <float.h>.
29959 (__catanf): Ensure underflow exception occurs for underflowed
29960 result.
29961 * math/s_catanh.c: Include <float.h>.
29962 (__catanh): Ensure underflow exception occurs for underflowed
29963 result.
29964 * math/s_catanhf.c: Include <float.h>.
29965 (__catanhf): Ensure underflow exception occurs for underflowed
29966 result.
29967 * math/s_catanhl.c: Include <float.h>.
29968 (__catanhl): Ensure underflow exception occurs for underflowed
29969 result.
29970 * math/s_catanl.c: Include <float.h>.
29971 (__catanl): Ensure underflow exception occurs for underflowed
29972 result.
29973 * math/libm-test.inc (catan_test): Add more tests.
29974 (catanh_test): Likewise.
29975
f0302940
JM
29976 [BZ #15405]
29977 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29978 underflowed result.
29979 * math/s_ccoshf.c (__ccoshf): Likewise.
29980 * math/s_ccoshl.c (__ccoshl): Likewise.
29981 * math/s_csin.c (__csin): Likewise.
29982 * math/s_csinf.c (__csinf): Likewise.
29983 * math/s_csinh.c (__csinh): Likewise.
29984 * math/s_csinhf.c (__csinhf): Likewise.
29985 * math/s_csinhl.c (__csinhl): Likewise.
29986 * math/s_csinl.c (__csinl): Likewise.
29987 * math/libm-test.inc (ccos_test): Add more tests.
29988 (ccosh_test): Likewise.
29989 (csin_test): Likewise.
29990 (csinh_test): Likewise.
29991
aa630f59
AZ
299922013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29993
29994 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29995 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29996 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29997 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29998 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29999 powerpc/power5+/fpu folders.
30000 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30001
30002
1b835983
MT
300032013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30004
30005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30006
73709b26
JM
300072013-04-25 Joseph Myers <joseph@codesourcery.com>
30008
30009 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30010 additions to variable.
30011 [$(config-machine) = x86_64] (modules-names): Likewise.
30012 ($(objpfx)tst-audit3): Remove dependency.
30013 ($(objpfx)tst-audit3.out): Likewise.
30014 ($(objpfx)tst-audit4): Likewise.
30015 ($(objpfx)tst-audit4.out): Likewise.
30016 ($(objpfx)tst-audit5): Likewise.
30017 ($(objpfx)tst-audit5.out): Likewise.
30018 ($(objpfx)tst-audit6): Likewise.
30019 ($(objpfx)tst-audit6.out): Likewise.
30020 ($(objpfx)tst-audit7): Likewise.
30021 ($(objpfx)tst-audit7.out): Likewise.
30022 (tst-audit3-ENV): Remove variable.
30023 (tst-audit4-ENV): Likewise.
30024 (tst-audit5-ENV): Likewise.
30025 (tst-audit6-ENV): Likewise.
30026 (tst-audit7-ENV): Likewise.
30027 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30028 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30029 addition to variable.
30030 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30031 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30032 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30033 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30034 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30035 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30036 tst-audit3, tst-audit4 and tst-audit5.
30037 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30038 tst-audit6 and tst-audit7.
30039 [$(subdir) = elf] (modules-names): Add audit modules for those
30040 tests.
30041 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30042 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30043 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30044 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30045 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30046 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30047 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30048 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30049 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30050 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30051 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30052 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30053 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30054 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30055 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30056 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30057 Likewise.
30058 [$(subdir) = elf && $(config-cflags-avx) = yes]
30059 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30060 [$(subdir) = elf && $(config-cflags-avx) = yes]
30061 (CFLAGS-tst-auditmod4a.c): Likewise.
30062 [$(subdir) = elf && $(config-cflags-avx) = yes]
30063 (CFLAGS-tst-auditmod4b.c): Likewise.
30064 [$(subdir) = elf && $(config-cflags-avx) = yes]
30065 (CFLAGS-tst-auditmod6b.c): Likewise.
30066 [$(subdir) = elf && $(config-cflags-avx) = yes]
30067 (CFLAGS-tst-auditmod6c.c): Likewise.
30068 [$(subdir) = elf && $(config-cflags-avx) = yes]
30069 (CFLAGS-tst-auditmod7b.c): Likewise.
30070 * elf/tst-audit3.c: Move to ...
30071 * sysdeps/x86_64/tst-audit3.c: ... here.
30072 * elf/tst-audit4.c: Move to ...
30073 * sysdeps/x86_64/tst-audit4.c: ... here.
30074 * elf/tst-audit5.c: Move to ...
30075 * sysdeps/x86_64/tst-audit5.c: ... here.
30076 * elf/tst-audit6.c: Move to ...
30077 * sysdeps/x86_64/tst-audit6.c: ... here.
30078 * elf/tst-audit7.c: Move to ...
30079 * sysdeps/x86_64/tst-audit7.c: ... here.
30080 * elf/tst-auditmod3a.c: Move to ...
30081 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30082 * elf/tst-auditmod3b.c: Move to ...
30083 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30084 * elf/tst-auditmod4a.c: Move to ...
30085 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30086 * elf/tst-auditmod4b.c: Move to ...
30087 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30088 * elf/tst-auditmod5a.c: Move to ...
30089 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30090 * elf/tst-auditmod5b.c: Move to ...
30091 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30092 * elf/tst-auditmod6a.c: Move to ...
30093 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30094 * elf/tst-auditmod6b.c: Move to ...
30095 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30096 * elf/tst-auditmod6c.c: Move to ...
30097 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30098 * elf/tst-auditmod7a.c: Move to ...
30099 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30100 * elf/tst-auditmod7b.c: Move to ...
30101 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30102
1ef74943
PP
301032013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30104
30105 [BZ #15366]
30106 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30107 define unconditionally.
30108 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30109 define unconditionally.
30110 (INT8_C, INT16_C, etc.): Likewise.
30111
93fd48c5
MR
301122013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30113
ae9552cf
MR
30114 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30115 __ehdr_start with hidden visibility.
30116
93fd48c5
MR
30117 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30118
418601aa
CD
301192013-04-24 Carlos O'Donell <carlos@redhat.com>
30120
30121 * math/libm-test.inc (cos_test): Use accurate hex constants.
30122 (sincost_test): Likewise.
30123
2f38fbfe
JM
301242013-04-24 Joseph Myers <joseph@codesourcery.com>
30125
5e221800
JM
30126 * math/libm-test.inc (catan_test): Add more tests.
30127 (catanh_test): Likewise.
30128
77f143fd
JM
30129 * math/s_catanf.c (__catanf): Use suffixed floating-point
30130 constants.
30131 * math/s_catanhf.c (__catanhf): Likewise.
30132 * math/s_catanhl.c (__catanhl): Likewise.
30133 * math/s_catanl.c (__catanl): Likewise.
30134
2f38fbfe
JM
30135 [BZ #15394]
30136 * math/s_catan.c (__catan): Calculate imaginary part of result
30137 with log1p not log unless computing log of number close to 0.
30138 * math/s_catanf.c (__catanf): Likewise.
30139 * math/s_catanl.c (__catanl): Likewise.
30140 * math/s_catanh.c (__catanh): Calculate real part of result with
30141 log1p not log unless computing log of number close to 0.
30142 * math/s_catanhf.c (__catanhf): Likewise.
30143 * math/s_catanhl.c (__catanhl): Likewise.
30144 * math/libm-test.inc (catan_test): Add more tests.
30145 (catanh_test): Likewise.
30146 * sysdeps/i386/fpu/libm-test-ulps: Update.
30147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30148
45d69176
SP
301492013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30150
30151 * benchtests/Makefile: Mention files in which fast and slow
30152 paths of math functions are implemented.
30153
87f51853
RM
301542013-04-23 Roland McGrath <roland@hack.frob.com>
30155
30156 * sysdeps/posix/timespec_get.c: New file.
30157
3c026539
AZ
301582013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30159
30160 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30161 POWER.
30162 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30163 for POWER.
30164 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30165 powerpc/power5/fpu folders.
30166 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30167 * benchtests/Makefile: Add modf testcase.
30168 * benchtests/bench-modf.c: New file: Benchmark test for mo
30169
ff491d14
SP
301702013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30171
30172 [BZ #14888]
30173 * time/Makefile (tests): Add tst-strptime-whitespace.
30174 * time/strptime_l.c (get_number): Use ISSPACE.
30175 (__strptime_internal): Likewise.
30176 * time/tst-strptime-whitespace.c: New test case.
30177
7ed3f4e8
AS
301782013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30179
30180 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30181 member.
30182 (_nss_files_init): Set it here.
30183
5c95f7b6
HC
301842013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30185
30186 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30187 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30188 unsigned.
30189
d34c9158
JBG
301902013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30191
30192 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30193
2169712d
SP
301942013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30195
30196 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30197 size just once.
30198
29c5de99
DM
301992013-04-21 David S. Miller <davem@davemloft.net>
30200
30201 * po/ru.po: Update Russion translation from translation project.
30202
ccdad15d
AC
302032013-04-17 Adam Conrad <adconrad@0c3.net>
30204
30205 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30206 and setfsgid.
30207
0f122b8d
CD
302082013-04-17 Carlos O'Donell <carlos@redhat.com>
30209
5c5b07da 30210 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 30211 * configure: Regenerate.
5c5b07da 30212 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30213 Add example to error message.
30214 * sysdeps/i386/configure: Regenerate.
30215
037714dd
SP
302162013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30217
30218 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30219 slowtan.
30220 * benchtests/cos-inputs: New file.
30221 * benchtests/slowcos-inputs: New file.
30222 * benchtests/slowcos.c: New file.
30223 * benchtests/slowtan-inputs: New file.
30224 * benchtests/slowtan.c: New file.
30225 * benchtests/tan-inputs: New file.
30226
e913141d
RM
302272013-04-16 Roland McGrath <roland@hack.frob.com>
30228
30229 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30230 considered kosher.
30231
a2964074
SP
302322013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30233
4856bcd2
SP
30234 * benchtests/Makefile: Include cppflags-iterator.mk to add
30235 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30236
a2964074
SP
30237 * Makefile.in (bench-clean): New target.
30238 * benchtests/Makefile (bench-clean): Likewise.
30239
9fbf9aca
DH
302402013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30241
30242 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30243
207d1e2a
TS
302442013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30245
30246 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30247
306dfba9
AS
302482013-04-15 Andreas Schwab <schwab@suse.de>
30249
30250 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30251 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30252 * nscd/pwdcache.c (cache_addpw): Likewise.
30253 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30254 more than recsize.
30255
206a6699
SP
302562013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30257
30258 * benchtests/Makefile (bench): Write all output to
30259 bench-out.tmp together.
30260
0582f6b3
AS
302612013-04-15 Andreas Schwab <schwab@suse.de>
30262
30263 * nscd/nscd.c (main): Don't fork again after closing files.
30264
acb4325f
SP
302652013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30266
5cb26d0a
SP
30267 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30268
acb4325f
SP
30269 * benchtests/Rules (bench-deps): Collect dependencies into a
30270 single variable. Add Makefile to dependencies.
30271 ($(objpfx)bench-%.c): Depend on bench-deps.
30272
47792506
RM
302732013-04-12 Roland McGrath <roland@hack.frob.com>
30274 Xavier Roche <roche+kml2@exalead.com>
30275
30276 [BZ #15361]
30277 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30278 just that it's a file descriptor.
30279 * manual/llio.texi (Synchronizing AIO Operations): Update description
30280 for EBADF error from aio_fsync.
30281
8fc1bee5
SP
302822013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30283
30284 * Rules (bench): Move target definition...
30285 * benchtests/Makefile: ... here.
30286
aba5e333
CD
302872013-04-11 Carlos O'Donell <carlos@redhat.com>
30288
30289 * math/libm-test.inc (cos_test): Fix PI/2 test.
30290 (sincos_test): Likewise.
30291 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30292 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30293
273cdee8
AS
302942013-04-11 Andreas Schwab <schwab@suse.de>
30295
6ecec3b6
AS
30296 [BZ #13988]
30297 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30298 accept exponent character only when digits were seen.
30299 * stdio-common/Makefile (tests): Add bug26.
30300 * stdio-common/bug26.c: New file.
30301
273cdee8
AS
30302 [BZ #14293]
30303 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30304 non-freeable.
30305
8da491f5
SP
303062013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30307
01dc6df9
SP
30308 * Makeconfig (rtld-prefix): Define built linker prefix.
30309 * Rules (run-bench): Use it.
30310 * math/Makefile (run-regen-ulps): Likewise.
30311
8da491f5
SP
30312 * Rules (bench): Remove eval.
30313
abe7f530
SP
303142013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30315 Roland McGrath <roland@hack.frob.com>
30316 Ondrej Bilka <neleai@seznam.cz>
30317
30318 [BZ #15346]
30319 * time/getdate.c: Include ctype.h and alloca.h.
30320 (__getdate_r): Trim leading and trailing spaces of input.
30321 * time/tst-getdate.c (tests): Add tests with leading and
30322 trailing spaces.
30323
61c23e62
RM
303242013-04-08 Roland McGrath <roland@hack.frob.com>
30325
30326 [BZ #14280]
30327 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30328 when computing value.
30329
7208a313
CD
303302013-04-06 Carlos O'Donell <carlos@redhat.com>
30331
085b2d41
CD
30332 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30333 Use testrun.sh to run libm tests.
30334
7208a313
CD
30335 [BZ #15309]
30336 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30337
872c0acd
MM
303382013-04-06 Marko Myllynen <myllynen@redhat.com>
30339
30340 [BZ #15264]
30341 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30342
26510bdd
CD
303432013-04-06 Carlos O'Donell <carlos@redhat.com>
30344
30345 * Makefile.in (regen-ulps): New target.
30346 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30347 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30348 [ifneq (no,$(PERL)] (regen-ulps): New target.
30349 [ifeq (no,$(PERL)] (regen-ulps): New target.
30350 * math/libm-test.inc (ulps_file_name): Define.
30351 (output_dir): New variable.
30352 (options): Add "output-dir" option.
30353 (parse_opt): Handle 'o' case.
30354 (main): If output_dir is non-NULL use it as a prefix
30355 otherwise use "".
30356 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30357
a01f19c8
CD
303582013-04-06 Carlos O'Donell <carlos@redhat.com>
30359
30360 [BZ #10060, #10062]
30361 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30362 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30363 fail configure if __sync_val_compare_and_swap is not inlined.
30364 * sysdeps/i386/configure: Regenerate.
30365 * configure.in: Build for i686 when configured for i386.
30366 * configure: Regenerate.
30367 * README: Remove i386 reference.
30368
b7a329a5
CD
303692013-04-06 Carlos O'Donell <carlos@redhat.com>
30370
30371 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30372 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30373
bf0f50df
TS
303742013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30375
ee091edf
TS
30376 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30377 (lmsnanval): New variables.
30378 (F): Add conversion tests.
30379 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30380 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30381
a8b792d6
TS
30382 * stdio-common/tstdiomisc.c (F): Properly collect individual
30383 tests' results.
30384
a1cbf437
TS
30385 [BZ #14686, #15336]
30386 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30387 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30388 Instead, use input NaN values or generate a qNaN by arithmetic
30389 operation. Also fix bugs to comply with the standard.
30390 * math/libm-test.inc (remainder_test): Add more tests.
30391
8b43a0c9
TS
30392 [BZ #15335, #15342]
30393 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30394 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30395 input NaN values or generate a qNaN by arithmetic operation.
30396
d91da4ce
TS
30397 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30398 unreachable code.
30399
bf0f50df
TS
30400 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30401 definitions.
30402
05e166c8
JM
304032013-04-03 Joseph Myers <joseph@codesourcery.com>
30404
30405 [BZ #14478]
30406 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30407 underflowed result.
30408 * math/s_cexpf.c (__cexpf): Likewise.
30409 * math/s_cexpl.c (__cexpl): Likewise.
30410 * math/libm-test.inc (cexp_test): Add more tests.
30411
1cef1b19
AS
304122013-04-03 Andreas Schwab <schwab@suse.de>
30413
30414 [BZ #15330]
30415 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30416 order arrays from heap if bigger than alloca cutoff.
30417
74d87055
TS
304182013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30419
30420 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30421 (SNAN_TESTS_double): Refer to GCC PR56831.
30422 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30423 GCC PR56828.
30424
d755bba4
SP
304252013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30426
90d5d5bb
SP
30427 * Rules (bench): Move bench.out after the run is complete.
30428
73e0cd5d
SP
30429 * Rules (bench): Echo currently running benchmark.
30430
64aabd4b
SP
30431 * benchtests/Makefile (bench): Add atan and slowatan.
30432 * benchtests/atan-inputs: New file.
30433 * benchtests/slowatan-inputs: New file.
30434 * benchtests/slowatan.c: New file.
30435
c871eccd
SP
30436 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30437 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30438 its value.
30439
d755bba4
SP
30440 [BZ #15305]
30441 * sysdeps/unix/sysv/linux/kernel-features.h
30442 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30443 __ASSUME_XFS_RESTRICTED_CHOWN.
30444 * sysdeps/unix/sysv/linux/pathconf.c
30445 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30446 Save and restore errno.
30447
52ce4860
JM
304482013-04-02 Joseph Myers <joseph@codesourcery.com>
30449
30450 [BZ #15327]
30451 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30452 arguments using __kernel_casinh.
30453 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30454 arguments using __kernel_casinhf.
30455 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30456 arguments using __kernel_casinhl.
30457 * math/libm-test.inc (cacosh_test): Add more tests.
30458 * sysdeps/i386/fpu/libm-test-ulps: Update.
30459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30460
81f311c2
SP
304612013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30462
e7906a47
SP
30463 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30464 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30465
92e3664b
SP
30466 * bench/Makefile (bench): Add sin and slowsin.
30467 * benchtests/sin-inputs: New file.
30468 * benchtests/slowsin-inputs: New file.
30469 * benchtests/slowsin.c: New file.
30470
81f311c2
SP
30471 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30472 (bench): Add slowexp and slowpow.
30473 (exp-ITER): Increase iterations.
30474 (pow-ITER): Likewise.
30475 * benchtests/exp-inputs: Change input.
30476 * benchtests/pow-inputs: Likewise.
30477 * benchtests/slowexp-inputs: New file.
30478 * benchtests/slowexp.c: New file.
30479 * benchtests/slowpow-inputs: New file.
30480 * benchtests/slowpow.c: New file.
30481
ab0f1aa9
AZ
304822013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30483
30484 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30485 instructions.
30486 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30487 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30488 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30489 * benchtests/Makefile: Add rint benchtest.
30490 * benchtests/rint-inputs: Input for rint benchtest.
30491
57267616
TS
304922013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30493
30494 * Versions.def (libm): Add GLIBC_2.18.
30495 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30496 hidden libm prototypes.
30497 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30498 * math/Makefile (libm-calls): Add s_issignaling.
30499 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30500 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30501 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30502 declaration.
30503 * math/math.h [__USE_GNU] (issignaling): New macro.
30504 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30505 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30506 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30507 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30508 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30509 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30510 * manual/arith.texi (issignaling): New section.
30511 * manual/libm-err-tab.pl (@all_functions): Update comment.
30512 * math/gen-libm-test.pl (parse_args): Apply special handling for
30513 issignaling.
30514 * math/libm-test.inc (print_float, issignaling_test): New
30515 functions.
30516 (check_float_internal): Add issignaling checks.
30517 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30518 default definition.
30519 * sysdeps/powerpc/math-tests.h: New file.
30520 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30521 tests.
30522 * math/test-snan.c (TEST_FUNC): Likewise.
30523
6142896d
DM
305242013-03-30 David S. Miller <davem@davemloft.net>
30525
30526 * po/de.po: Update from translation team.
30527
ccc8cadf
JM
305282013-03-30 Joseph Myers <joseph@codesourcery.com>
30529
30530 [BZ #10357]
30531 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30532 imaginary part less than 1.0 and real part less than 0.5
30533 specially.
30534 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30535 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30536 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30537 (cacos_test): Add more tests.
30538 (casin_test): Likewise.
30539 (casinh_test): Likewise.
30540 * sysdeps/i386/fpu/libm-test-ulps: Update.
30541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30542
0f6a8d4b
SP
305432013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30544
0d1029de
SP
30545 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30546 ONE with its value.
30547
c2d94018
SP
30548 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30549 (__pow_mp): Replace ONE and MONE with their values.
30550 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30551 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30552 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30553 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30554 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30555 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30556
27ec37f1
SP
30557 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30558
a64d7e0e
SP
30559 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30560 (__pow_mp): Replace ZERO and MZERO with their values.
30561 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30562 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30563 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30564 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30565 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30566 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30567 (__sqr): Likewise.
30568
d26dd3eb
SP
30569 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30570
0f6a8d4b
SP
30571 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30572
e57b0c61
RM
305732013-03-28 Roland McGrath <roland@hack.frob.com>
30574
30575 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30576 Declare with __attribute__ ((weak)).
30577 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30578 Call __call_tls_dtors only if it's not NULL.
30579
356b3480
RM
305802013-03-28 Roland McGrath <roland@hack.frob.com>
30581
288f7d79
RM
30582 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30583 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30584 magic __ehdr_start linker symbol if it's defined.
30585 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30586 them up here if it was already done.
30587
dc0a0263
RM
30588 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30589 (_dl_aux_init): Use const in cast when setting it.
30590 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30591 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30592 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30593
3d3436ae
RM
30594 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30595 Declare them here.
30596 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30597 * csu/libc-tls.c: Nor here.
30598 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30599
356b3480
RM
30600 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30601 (__libc_message): Never call vsyslog.
30602
b0f1246a
AM
306032013-03-28 Alan Modra <amodra@gmail.com>
30604
30605 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30606 Define as empty.
30607 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30608 Likewise.
30609
fbbe2b9a
AZ
306102013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30611
30612 [BZ #15214]
30613 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30614 underflow.
30615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30616
1728ab37
SP
306172013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30618
7a86be6e
SP
30619 [BZ #15304]
30620 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30621 Don't add gid passed as argument.
30622
1728ab37
SP
30623 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30624
3a7182a1
JM
306252013-03-27 Joseph Myers <joseph@codesourcery.com>
30626
30627 [BZ #15307]
30628 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30629 imaginary part between 1.0 and 1.5 and real part less than 0.5
30630 specially.
30631 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30632 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30633 * math/libm-test.inc (cacos_test): Add more tests.
30634 (casin_test): Likewise.
30635 (casinh_test): Likewise.
30636 * sysdeps/i386/fpu/libm-test-ulps: Update.
30637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30638
6f2e90e7
SP
306392013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30640
5739f705
SP
30641 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30642 constants.
30643 (norm): Likewise.
30644 (denorm): Likewise.
30645 (__dbl_mp): Likewise.
30646 (add_magnitudes): Likewise.
30647 (sub_magnitudes): Likewise.
30648 (__add): Likewise.
30649 (__sub): Likewise.
30650 (__mul): Likewise.
30651 (__sqr): Likewise.
30652 (__inv): Likewise.
30653 (__dvd): Likewise.
30654
e375e83d
SP
30655 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30656 commented code.
30657 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30658 (__dubcos): Likewise.
30659 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30660 (__ieee754_acos): Likewise.
30661 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30662 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30663 (__exp1): Likewise.
30664 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30665 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30666 (log1): Likewise.
30667 (my_log2): Likewise.
30668 (checkint): Likewise.
30669 * sysdeps/ieee754/dbl-64/e_remainder.c
30670 (__ieee754_remainder): Likewise.
30671 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30672 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30673 (bsloww): Likewise.
30674 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30675
6f2e90e7
SP
30676 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30677 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30678 MANTISSA_STORE_T to store computations on mantissa. Use
30679 macros for rounding and division.
30680 (denorm): Likewise.
30681 (__dbl_mp): Likewise.
30682 (add_magnitudes): Likewise.
30683 (sub_magnitudes): Likewise.
30684 (__mul): Likewise.
30685 (__sqr): Likewise.
30686 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30687 powers of two in terms of TWOPOW macro.
30688 (mp_no): Make type of mantissa as MANTISSA_T.
30689 [!RADIXI]: Define RADIXI.
30690 [!TWO52]: Define TWO52.
30691 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30692
fce14d4e
AZ
306932013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30694
30695 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30696 llroundl symbol when building for PPC32.
30697
9ad027fb
MW
306982013-03-24 Mark H Weaver <mhw@netris.org>
30699
30700 * manual/arith.texi (Normalization Functions): Fix prototypes for
30701 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30702
e42a38dd
AZ
307032013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30704
30705 [BZ #13889]
30706 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30707 high value to check if expl overflow.
30708 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30709 to check for underflow and overflow.
30710 * math/libm-test.inc: Add exp test.
30711
2e0fb521
DL
307122013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30713
30714 [BZ #11120]
30715 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30716 with NOT_IN_libc.
30717
b5784d95
AZ
307182013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30719
30720 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30721 symbol.
30722
5aa4a1a1
TS
307232013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30724
bdef0be7
TS
30725 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30726 wrap blocks consisting of several statements.
30727
5aa4a1a1
TS
30728 * sysdeps/generic/math-tests.h: New file.
30729 * sysdeps/i386/fpu/math-tests.h: Likewise.
30730 * math/test-snan.c: Include it.
30731 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30732
98c48fe5
JM
307332013-03-21 Joseph Myers <joseph@codesourcery.com>
30734
30735 [BZ #15285]
30736 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30737 (__ieee754_j0l): Do not improve calculations using cos of twice
30738 input for inputs above LDBL_MAX / 2.0L.
30739 (__ieee754_y0l): Likewise.
30740 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30741 (__ieee754_j1l): Do not improve calculations using cos of twice
30742 input for inputs above LDBL_MAX / 2.0L.
30743 (__ieee754_y1l): Likewise.
30744 * math/libm-test.inc (j0_test): Add another test.
30745 (j1_test): Likewise.
30746 (y0_test): Likewise.
30747 (y1_test): Likewise.
30748 * sysdeps/i386/fpu/libm-test-ulps: Update.
30749
3775a8bc
SP
307502013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30751
30752 * Rules ($(objpfx)bench-%.c): Include code from a C source
30753 file.
30754
0a1b2ae6
JM
307552013-03-21 Joseph Myers <joseph@codesourcery.com>
30756
30757 [BZ #15287]
30758 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30759 imaginary part 1.0 and real part less than 0.5 specially.
30760 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30761 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30762 * math/libm-test.inc (cacos_test): Add more tests.
30763 (casin_test): Likewise.
30764 (casinh_test): Likewise.
30765 * sysdeps/i386/fpu/libm-test-ulps: Update.
30766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30767
b33d4ce4
SP
307682013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30769
30770 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30771 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30772
bef0b507
JM
307732013-03-20 Joseph Myers <joseph@codesourcery.com>
30774
30775 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30776 * config.make.in (config-cflags-sse4): Remove variable.
30777 (config-cflags-avx): Likewise.
30778 (config-cflags-sse2avx): Likewise.
30779 (config-cflags-novzeroupper): Likewise.
30780 (config-asflags-i686): Likewise.
30781 (have-mfma4): Likewise.
30782 (have-as-vis3): Likewise.
30783 (MIG): Likewise.
30784 * configure.in (MIG): Do not AC_SUBST.
30785 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30786 (libc_cv_cc_sse4): Do not AC_SUBST.
30787 (libc_cv_cc_avx): Likewise.
30788 (libc_cv_cc_sse2avx): Likewise.
30789 (libc_cv_cc_novzeroupper): Likewise.
30790 (libc_cv_cc_fma4): Likewise.
30791 (libc_cv_as_i686): Likewise.
30792 (libc_cv_sparc_as_vis3): Likewise.
30793 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30794 LIBC_CONFIG_VAR.
30795 (config-asflags-i686): Likewise.
30796 (config-cflags-avx): Likewise.
30797 (config-cflags-sse2avx): Likewise.
30798 (have-mfma4): Likewise.
30799 (config-cflags-novzeroupper): Likewise.
30800 * sysdeps/mach/configure.in (MIG): Likewise.
30801 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30802 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30803 LIBC_CONFIG_VAR.
30804 (config-cflags-avx): Likewise.
30805 (config-cflags-sse2avx): Likewise.
30806 (have-mfma4): Likewise.
30807 (config-cflags-novzeroupper): Likewise.
30808 * configure: Regenerated.
30809 * sysdeps/i386/configure: Likewise.
30810 * sysdeps/mach/configure: Likewise.
30811 * sysdeps/sparc/configure: Likewise.
30812 * sysdeps/x86_64/configure: Likewise.
30813
912cc4b3
RM
308142013-03-20 Roland McGrath <roland@hack.frob.com>
30815
30816 [BZ #14812]
30817 * locale/programs/localedef.c (options): Put N_ translation marker
30818 on argument names, not just descriptions.
30819
04eed2b0
MS
308202013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30821
30822 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30823
a065ceff
OB
308242013-03-20 Ondřej Bílka <neleai@seznam.cz>
30825
9bb2a810 30826 [BZ #14176]
a065ceff
OB
30827 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30828
a600e5ce
RM
308292013-03-19 Roland McGrath <roland@hack.frob.com>
30830
30831 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30832 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30833 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30834 [!BEFORE_ABORT] (before_abort): New function.
30835 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30836 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30837 (writev_for_fatal): New function.
30838 (WRITEV_FOR_FATAL): New macro; call that.
30839 (backtrace_and_maps): New function.
30840 (BEFORE_ABORT): New macro; call that.
30841 (struct str_list): Type removed.
30842 (__libc_message, __libc_fatal): Functions removed.
30843 Include <sysdeps/posix/libc_fatal.c> instead.
30844
6b18bea6
JM
308452013-03-19 Joseph Myers <joseph@codesourcery.com>
30846
30847 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30848 constants.
30849 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30850 double constants.
30851
aaa8cb4b
AS
308522013-03-19 Andreas Schwab <schwab@suse.de>
30853
44673770
AS
30854 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30855 * sysdeps/gnu/configure: Regenerate.
30856
aaa8cb4b
AS
30857 * configure.in: Substitute libc_cv_rtlddir.
30858 * configure: Regenerate.
30859 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30860 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30861 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30862 * elf/Makefile (install-others, CFLAGS-interp.c)
30863 (ldso_install, common-ldd-rewrite): Likewise.
30864 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30865 $(inst_slibdir)/$(rtld-installed-name).
30866 * scripts/rellns-sh: Add -p option.
30867 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30868 for source.
30869
d3cfc668
SP
308702013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30871
30872 * manual/nptl.texi: Renamed to ...
30873 * manual/threads.texi: ... this.
30874 * manual/Makefile (chapters): Update.
30875
0e2b9cdd
RM
308762013-03-18 Roland McGrath <roland@hack.frob.com>
30877
30878 [BZ #14812]
30879 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30880 on argument names, not just descriptions.
0e2b9cdd
RM
30881 * malloc/memusagestat.c (options): Likewise.
30882 * nss/getent.c (options): Likewise.
63270c24
RM
30883
308842013-03-18 Benno Schulenberg <bensberg@justemail.net>
30885
30886 [BZ #14812]
30887 * iconv/iconv_prog.c (options): Put N_ translation marker
30888 on argument names, not just descriptions.
30889 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30890
b2e1393c
OB
308912013-03-18 Ondrej Bilka <neleai@seznam.cz>
30892
30893 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30894 implementation which is faster on all x86_64 architectures.
30895 Tested on AMD, Intel Nehalem, SNB, IVB.
30896 * sysdeps/x86_64/strnlen.S: Likewise.
30897
30898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30899 Remove all multiarch strlen and strnlen versions.
30900 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30901 Remove strlen and strnlen related parts.
30902
30903 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30904 Inline strlen part.
30905 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30906
30907 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30908 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30909 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30910 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30911 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30912 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30913
ec4ff04d
CD
309142013-03-17 Carlos O'Donell <carlos@redhat.com>
30915
30916 * manual/memory.texi (Malloc Tunable Parameters):
30917 Sort parameters alphabetically. Add comments for missing entries.
30918
cd18e90a
DM
309192013-03-17 David S. Miller <davem@davemloft.net>
30920
30921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30922
2a185d32
JM
309232013-03-16 Joseph Myers <joseph@codesourcery.com>
30924
d2f9799e
JM
30925 [BZ #15283]
30926 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30927 for arguments at most half maximum finite value.
30928 * math/libm-test.inc (j0_test): Add more tests.
30929 (j1_test): Likewise.
30930 (y0_test): Likewise.
30931 (y1_test): Likewise.
30932 * sysdeps/i386/fpu/libm-test-ulps: Update.
30933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30934
2a185d32
JM
30935 [BZ #14155]
30936 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30937 1 / x and functions P and Q for arguments above 0x1p256L.
30938 (__ieee754_y0l): Likewise.
30939 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30940 (__ieee754_y1l): Likewise.
30941 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30942 (j1_test): Likewise.
30943 (y0_test): Likewise.
30944 (y1_test): Likewise.
30945
6cbec759
TS
309462013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30947
30948 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30949 variable.
30950
bc16e260
RM
309512013-03-15 Roland McGrath <roland@hack.frob.com>
30952
aefc9b8c
RM
30953 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30954 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30955 zero since it's initialized to EXEC_PAGESIZE.
30956
bc16e260
RM
30957 * sysdeps/unix/sysv/linux/ldsodefs.h
30958 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30959 * sysdeps/generic/ldsodefs.h: ... here.
30960
a57da955
TS
309612013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30962
af00a34d
TS
30963 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30964
495ded2c
TS
30965 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30966 math/test-snan.c.
30967 * math/test-snan.c: Renamed from
30968 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30969 * math/Makefile (tests): Add test-snan.
30970 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30971 test-powerpc-snan.
30972
777b0332
TS
30973 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30974 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30975 functions.
30976 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30977 __builtin_nan family of functions.
30978 * math/libm-test.inc (initialize): Initialize qnan_value with
30979 __builtin_nan family of functions.
30980 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30981 Remove variables.
30982 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30983 Remove functions.
30984 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30985 storage class. Initialize qNaN_var and sNaN_var with
30986 __builtin_nan and __builtin_nans families of functions,
30987 respectively.
30988
64d063b8
TS
30989 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30990 (sqrt_test): Remove duplicate test with qNaN input.
30991 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30992 (round_test, signbit_test, significand_test): Note missing +/-Inf
30993 as well as qNaN tests.
30994
67e971f1
TS
30995 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30996 qNaN_var. Fix a few strings, too.
30997 * math/libm-test.inc (nan_value): Rename to qnan_value.
30998 * math/gen-libm-test.pl (%beautify): Adjust to that.
30999 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31000 * math/test-misc.c (main): Likewise.
31001 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31002 to __qnan_bytes, and __qnan_union, respectively.
31003 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31004 Likewise.
31005 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31006 and lqnanval, respectively.
31007 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31008 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31009 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31010 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31011
64487e12
TS
31012 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31013 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31014 doubles.
31015
e015e27b
TS
31016 * math/test-misc.c (main): Fix copy'n'pastos.
31017 * misc/tst-efgcvt.c (special): Likewise.
31018
a57da955
TS
31019 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31020 Remove declarations.
31021
1e380345
SP
310222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31023
31024 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31025 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31026 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31027 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31028
ef26eece
AZ
310292013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31030
31031 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31032 macro to return vdso values correctly in IFUNC implementations.
31033 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31034 Optimization by using IFUNC.
31035
8cfdb7e0
SP
310362013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31037 Richard Henderson <rth@redhat.com>
31038 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31039
31040 * Makefile.in (bench): New target.
31041 * NEWS: Mention the benchmark framework.
31042 * Rules (bench): Likewise.
31043 (binaries-bench): Generate binaries for functions to
31044 benchmark.
31045 * benchtests/Makefile: New makefile for benchmark tests.
31046 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31047 programs.
31048 * benchtests/exp-inputs: New input file for EXP function.
31049 * benchtests/pow-inputs: New input file for POW function.
31050 * scripts/bench.pl: New script to generate source files for
31051 benchmark programs.
31052
bcda9880
SP
310532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31054
d22ca8cd
SP
31055 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31056 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31057 computations on mantissa. Use macros for rounding and
31058 division.
31059 (denorm): Likewise.
31060 (__dbl_mp): Likewise.
31061 (add_magnitudes): Likewise.
31062 (sub_magnitudes): Likewise.
31063 (__mul): Likewise.
31064 (__sqr): Likewise.
31065 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31066 powers of two in terms of TWOPOW macro.
31067 (mp_no): Make type of mantissa as MANTISSA_T.
31068 [!RADIXI]: Define RADIXI.
31069 [!TWO52]: Define TWO52.
31070 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31071
bcda9880
SP
31072 * manual/nptl.texi (cindex): Modify threads to pthreads.
31073
06d5adfb
JM
310742013-03-15 Joseph Myers <joseph@codesourcery.com>
31075
31076 * sysdeps/x86_64/preconfigure: Regenerated.
31077
41c7328e
JM
310782013-03-14 Joseph Myers <joseph@codesourcery.com>
31079
31080 [BZ #14155]
31081 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31082 0x1p28 and above.
31083 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31084 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31085 0x1p28 and above.
31086 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31087 * math/libm-test.inc (j0_test): Do not allow one spurious
31088 underflow exception.
31089 (y1_test): Likewise.
31090
e25cfa60
SP
310912013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31092
0409959c
SP
31093 * manual/Makefile (chapters): Add nptl.
31094 * manual/debug.texi (Debugging Support): Add link to Threads
31095 chapter.
31096 * manual/nptl.texi: New file.
31097
e25cfa60
SP
31098 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31099
58a1335e
PB
311002013-03-14 Petr Baudis <pasky@ucw.cz>
31101
31102 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31103 for non-NULL pointer before the memory validity test. Pointed
31104 out by Holger Brunck <holger.brunck@keymile.com>.
31105
9dc7c64f
AS
311062013-03-13 Andreas Schwab <schwab@suse.de>
31107
31108 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31109 instead of .os.
31110
54206aa6
JM
311112013-03-13 Joseph Myers <joseph@codesourcery.com>
31112
31113 * timezone/zic.c: Update from tzcode 2013b.
31114
e98cdb38
CD
311152013-03-12 Carlos O'Donell <carlos@redhat.com>
31116
31117 * manual/install.texi (Configuring and compiling):
31118 Mention i686 and i586.
31119 * INSTALL: Regenerate.
31120
9967e003
RM
311212013-03-12 Roland McGrath <roland@hack.frob.com>
31122
31123 * sysdeps/init_array/elf-init.c: New file.
31124 * csu/elf-init.c
31125 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31126 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31127
31128 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31129 __gmon_start__ as global, but as static with a .preinit_array pointer.
31130 * sysdeps/init_array/gmon-start.c: New file. Use that.
31131 * sysdeps/init_array/crti.S: New file, empty except for comments.
31132 * sysdeps/init_array/crtn.S: Likewise.
31133
e6b5a293 311342013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
31135
31136 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31137 definining bcopy.
80f844c9
OB
31138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31139 Remove Prefer_SSE_for_memop.
31140 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31141 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31142 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
31143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31144 memset-x86-64.
80f844c9 31145 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 31146 Remove bzero, memset ifunc support.
80f844c9
OB
31147 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31148 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31149 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31150 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31151
fb6b0fcb
AS
311522013-03-11 Andreas Schwab <schwab@suse.de>
31153
31154 [BZ #15234]
31155 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31156 by SHLIB_COMPAT.
31157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31158 (GLIBC_2.16): Remove pthread_atfork.
31159
3e6bd4b1
PP
311602013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31161
31162 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31163 (ptestcases.h): Likewise.
31164
222d7f00
RM
311652013-03-08 Roland McGrath <roland@hack.frob.com>
31166
31167 * Makeconfig ($(common-objpfx)config.status): Depend on
31168 sysdeps/*/preconfigure{,.in} too.
31169
1ba4f030
JM
311702013-03-08 Joseph Myers <joseph@codesourcery.com>
31171
a222d91a
JM
31172 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31173 (__free_hook): Use void * instead of __malloc_ptr_t.
31174 (__malloc_hook): Likewise.
31175 (__realloc_hook): Likewise.
31176 (__memalign_hook): Likewise.
31177 (__after_morecore_hook): Likewise.
31178 * malloc/arena.c (save_malloc_hook): Likewise.
31179 (save_free_hook): Likewise.
31180 * malloc/hooks.c (malloc_hook_ini): Likewise.
31181 (realloc_hook_ini): Likewise.
31182 (memalign_hook_ini): Likewise.
31183 * malloc/malloc.c (malloc_hook_ini): Likewise.
31184 (realloc_hook_ini): Likewise.
31185 (memalign_hook_ini): Likewise.
31186 (__free_hook): Likewise.
31187 (__malloc_hook): Likewise.
31188 (__realloc_hook): Likewise.
31189 (__memalign_hook): Likewise.
31190 (__libc_malloc): Likewise.
31191 (__libc_free): Likewise.
31192 (__libc_realloc): Likewise.
31193 (__libc_memalign): Likewise.
31194 (__libc_valloc): Likewise.
31195 (__libc_pvalloc): Likewise.
31196 (__libc_calloc): Likewise.
31197 (__posix_memalign): Likewise.
31198 * malloc/morecore.c (__sbrk): Likewise.
31199 (__default_morecore): Likewise.
31200
5cc45e10
JM
31201 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31202
dd54b864
JM
31203 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31204 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31205 __malloc_ptrdiff_t.
31206
1ba4f030
JM
31207 * malloc/malloc.h (__malloc_size_t): Remove macro.
31208 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31209 __malloc_size_t.
31210 (old_memalign_hook): Likewise.
31211 (old_realloc_hook): Likewise.
31212 (struct hdr): Likewise.
31213 (flood): Likewise.
31214 (mallochook): Likewise.
31215 (memalignhook): Likewise.
31216 (reallochook): Likewise.
31217 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31218 (tr_old_realloc_hook): Likewise.
31219 (tr_old_memalign_hook): Likewise.
31220 (tr_mallochook): Likewise.
31221 (tr_reallochook): Likewise.
31222 (tr_memalignhook): Likewise.
31223
edf66e57
AZ
312242013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31225
31226 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31227 default_ldbl_pack and using as default implementation.
31228 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31229 implementation.
31230 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31231 redundant definition.
31232 (ldbl_insert_mantissa): Likewise.
31233 (ldbl_canonicalize): Likewise.
31234 (ldbl_nearbyint): Likewise.
31235 (ldbl_pack): Rename to ldbl_pack_ppc.
31236 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31237 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31238 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31239
6d9145d8
SP
312402013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31241
31242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31243 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31244 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31245 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31247 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31248 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31249 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31250
4dd4e157
AJ
312512013-03-07 Andreas Jaeger <aj@suse.de>
31252
31253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31254 bits/mman-linux.h.
31255
adbb8027
SP
312562013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31257
ce544b5b
SP
31258 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31259 Include mpa.h and declare __MPEXP.
31260 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31261 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31262 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31263 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31264 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31265 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31266 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31267
4cc149fd
SP
31268 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31269 (__slowpow): Use long double EXPL and LOGL functions to
31270 compute POW.
31271 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31272 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31273 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31274 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31275 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31276 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31277
e6ebd4a7
SP
31278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31279 intermediate variable to calculate exponent.
31280 (__sqr): Likewise.
31281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31282 Likewise.
31283 (__sqr): Likewise.
31284
82a9811d
SP
31285 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31286 [!NO__SQR]: Define __sqr.
31287 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31288 and NO__SQR. Remove all code except __mul and __sqr. Include
31289 sysdeps/ieee754/dbl-64/mpa.c.
31290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31291
adbb8027
SP
31292 [BZ #12723]
31293 * posix/Makefile (tests): Add tst-pathconf.
31294 * posix/tst-pathconf.c: New test case.
31295 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31296 _PC_PIPE_BUF.
31297 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31298
39120df9
PF
312992013-03-06 Patsy Franklin <pfrankli@redhat.com>
31300
31301 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31302
67525cb8
AJ
313032013-03-06 Andreas Jaeger <aj@suse.de>
31304
664a9ce4
AJ
31305 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31306 definition via __MAP_ANONYMOUS.
31307
8e39047d
AJ
31308 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31309 it's not part of Linux headers.
31310
67525cb8
AJ
31311 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31312 (MAP_HUGE_MASK): Define.
31313
31314 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31315 Define.
31316 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31317 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31318 Define.
31319 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31320 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31321 Define.
31322 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31323 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31324 Define.
31325 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31326
31327 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31328 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31329 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31330 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31331 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31332 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31333
31334 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31335 Handle f2fs.
31336
31337 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31338 Handle f2fs and efivarfs.
31339
31340 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31341 f2fs.
31342
31343 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31344 (EFIVARFS_MAGIC): Add.
31345 (F2FS_LINK_MAX): Add.
31346
e1b42695
PP
313472013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31348
31349 * stdio-common/vfprintf.c: Replace __builtin_expect with
31350 __glibc_unlikely.
31351
2d67d91a
JM
313522013-03-06 Joseph Myers <joseph@codesourcery.com>
31353
31354 [BZ #13550]
31355 * sysdeps/generic/bp-sym.h: Remove file.
31356 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31357 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31358 <bp-sym.h> and <bp-asm.h>.
31359 (__longjmp): Don't use BP_SYM.
31360 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31361 and <bp-asm.h>.
31362 (memcpy): Don't use BP_SYM.
31363 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31364 <bp-sym.h> and <bp-asm.h>.
31365 (memcpy): Don't use BP_SYM.
31366 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31367 <bp-asm.h>.
31368 (memcpy): Don't use BP_SYM.
31369 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31370 <bp-asm.h>.
31371 (memset): Don't use BP_SYM.
31372 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31373 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31374 (__bzero): Don't use BP_SYM.
31375 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31376 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31377 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31378 <bp-sym.h> and <bp-asm.h>.
31379 (memcmp): Don't use BP_SYM. Remove comment about bounded
31380 pointers.
31381 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31382 <bp-sym.h> and <bp-asm.h>.
31383 (memcpy): Don't use BP_SYM.
31384 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31385 <bp-sym.h> and <bp-asm.h>.
31386 (memset): Don't use BP_SYM.
31387 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31388 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31389 (__bzero): Don't use BP_SYM.
31390 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31391 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31392 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31393 <bp-sym.h> and <bp-asm.h>.
31394 (strncmp): Don't use BP_SYM. Remove comment about bounded
31395 pointers.
31396 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31397 <bp-sym.h> and <bp-asm.h>.
31398 (memcpy): Don't use BP_SYM.
31399 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31400 <bp-sym.h> and <bp-asm.h>.
31401 (memset): Don't use BP_SYM.
31402 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31403 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31404 (__bzero): Don't use BP_SYM.
31405 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31406 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31407 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31408 <bp-sym.h> and <bp-asm.h>.
31409 (__memchr): Don't use BP_SYM.
31410 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31411 <bp-sym.h> and <bp-asm.h>.
31412 (memcmp): Don't use BP_SYM. Remove comment about bounded
31413 pointers.
31414 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31415 <bp-sym.h> and <bp-asm.h>.
31416 (memcpy): Don't use BP_SYM.
31417 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31418 <bp-sym.h> and <bp-asm.h>.
31419 (__mempcpy): Don't use BP_SYM.
31420 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31421 <bp-sym.h> and <bp-asm.h>.
31422 (__memrchr): Don't use BP_SYM.
31423 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31424 <bp-sym.h> and <bp-asm.h>.
31425 (memset): Don't use BP_SYM.
31426 (__bzero): Likewise.
31427 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31428 <bp-sym.h> and <bp-asm.h>.
31429 (__rawmemchr): Don't use BP_SYM.
31430 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31431 <bp-sym.h> and <bp-asm.h>.
31432 (__STRCMP): Don't use BP_SYM.
31433 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31434 <bp-sym.h> and <bp-asm.h>.
31435 (strchr): Don't use BP_SYM.
31436 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31437 <bp-sym.h> and <bp-asm.h>.
31438 (__strchrnul): Don't use BP_SYM.
31439 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31440 <bp-sym.h> and <bp-asm.h>.
31441 (strlen): Don't use BP_SYM.
31442 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31443 <bp-sym.h> and <bp-asm.h>.
31444 (strncmp): Don't use BP_SYM. Remove comment about bounded
31445 pointers.
31446 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31447 <bp-sym.h> and <bp-asm.h>.
31448 (__strnlen): Don't use BP_SYM.
31449 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31450 <bp-sym.h> and <bp-asm.h>.
31451 (__GI__setjmp): Don't use BP_SYM.
31452 (_setjmp): Likewise.
31453 (__sigsetjmp): Likewise.
31454 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31455 (L(start_addresses)): Don't use BP_SYM.
31456 (_start): Likewise.
31457 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31458 <bp-asm.h>.
31459 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31460 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31461 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31462 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31463 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31464 <bp-asm.h>.
31465 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31466 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31467 about bounded pointers.
31468 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31469 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31470 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31471 <bp-asm.h>.
31472 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31473 about bounded pointers. Remove GKM FIXME comments.
31474 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31475 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31476 <bp-asm.h>.
31477 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31478 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31479 Remove GKM FIXME comments.
31480 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31481 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31482 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31483 <bp-asm.h>.
31484 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31485 about bounded pointers. Remove GKM FIXME comment.
31486 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31487 and <bp-asm.h>.
31488 (strncmp): Don't use BP_SYM. Remove comment about bounded
31489 pointers.
31490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31491 <bp-sym.h> and <bp-asm.h>.
31492 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31494 <bp-sym.h> and <bp-asm.h>.
31495 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31496 comment.
31497
cdcf361f
PP
314982013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31499
31500 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31501 call free(NULL).
31502
3c4a2b15
DM
315032013-03-05 David S. Miller <davem@davemloft.net>
31504
31505 * po/es.po: Update from translation team.
31506
cdcf361f 315072013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31508
31509 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31510 <bits/mman-linux.h>.
31511 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31512 is fine.
31513 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31514 <bits/mman-linux.h> to end of file.
31515 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31516 is fine.
31517 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31518 <bits/mman-linux.h> to end of file.
31519 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31520 is fine.
31521 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31522 <bits/mman-linux.h> to end of file.
31523
31524 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31525 (MCL_CURRENT, MCL_FUTURE): Define here.
31526
5f67c04f
AK
315272013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31528
8a4473cc 31529 [BZ #15232]
5f67c04f
AK
31530 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31531 attribute_hidden.
31532 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31533
c3e94a95
AK
315342013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31535
31536 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31537 fourth parameter needed for rt_sigprocmask syscall.
31538 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31539 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31540 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31541 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31542 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31543 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31544
cfb6382a
JM
315452013-03-04 Joseph Myers <joseph@codesourcery.com>
31546
31547 [BZ #13550]
31548 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31549 comment about bounded pointers.
31550 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31551 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31552
539d8e01
AJ
315532013-03-04 Andreas Jaeger <aj@suse.de>
31554
31555 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31556 common definitions.
31557
31558 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31559 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31560 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31561 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31562 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31563 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31564
2e167a70 315652013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31566
31567 [BZ #15055]
31568 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31569 __ieee754_sqrl instead of __sqrl.
31570
68508633
JM
315712013-03-01 Joseph Myers <joseph@codesourcery.com>
31572
31573 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31574 * sysdeps/powerpc/fpu_control.h: ... here.
31575 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31576 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31577 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31578 * sysdeps/powerpc/bits/mathinline.h: ... here.
31579
7775448e
RM
315802013-03-01 Roland McGrath <roland@hack.frob.com>
31581
31582 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31583 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31584 to just [NEED_DL_SYSINFO_DSO].
31585 * elf/dl-support.c: Likewise.
31586 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31587 * elf/rtld.c (dl_main): Likewise.
31588 * elf/setup-vdso.h (setup_vdso): Likewise.
31589 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31590 * sysdeps/unix/sysv/linux/dl-sysdep.c
31591 (_dl_discover_osversion): Likewise.
31592
4e9b5995
CD
315932013-03-01 Carlos O'Donell <carlos@redhat.com>
31594
31595 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31596 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31597
e23872c8
SP
315982013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31599
e5c74c63
SP
31600 * NEWS: Mention libm performance improvements and non-x86 PI
31601 futex support.
31602
e23872c8
SP
31603 * csu/libc-start.c (__pthread_initialize_minimal): Change
31604 function arguments.
31605 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31606
b5510883
JM
316072013-02-28 Joseph Myers <joseph@codesourcery.com>
31608
31609 [BZ #13550]
31610 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31611 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31612 <bp-sym.h> and <bp-asm.h>.
31613 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31614 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31615 and <bp-asm.h>.
31616 (memcpy): Don't use BP_SYM.
31617 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31618 <bp-asm.h>.
31619 (__mpn_add_n): Don't use BP_SYM.
31620 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31621 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31622 and <bp-asm.h>.
31623 (__mpn_addmul_1): Don't use BP_SYM.
31624 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31625 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31626 <bp-sym.h>.
31627 (_setjmp): Don't use BP_SYM.
31628 (__novmx_setjmp): Likewise.
31629 (__GI__setjmp): Likewise.
31630 (__vmx_setjmp): Likewise.
31631 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31632 <bp-sym.h>.
31633 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31634 (__bzero): Don't use BP_SYM.
31635 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31636 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31637 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31638 <bp-sym.h> and <bp-asm.h>.
31639 (memcpy): Don't use BP_SYM.
31640 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31641 <bp-sym.h> and <bp-asm.h>.
31642 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31643 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31644 <bp-sym.h> and <bp-asm.h>.
31645 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31646 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31647 <bp-asm.h>.
31648 (__mpn_lshift): Don't use BP_SYM.
31649 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31650 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31651 <bp-asm.h>.
31652 (memset): Don't use BP_SYM.
31653 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31654 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31655 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31656 <bp-asm.h>.
31657 (__mpn_mul_1): Don't use BP_SYM.
31658 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31659 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31660 <bp-sym.h> and <bp-asm.h>.
31661 (memcmp): Don't use BP_SYM.
31662 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31663 <bp-sym.h> and <bp-asm.h>.
31664 (memcpy): Don't use BP_SYM.
31665 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31666 <bp-sym.h> and <bp-asm.h>.
31667 (memset): Don't use BP_SYM.
31668 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31669 <bp-sym.h> and <bp-asm.h>.
31670 (strncmp): Don't use BP_SYM.
31671 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31672 <bp-sym.h> and <bp-asm.h>.
31673 (memcpy): Don't use BP_SYM.
31674 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31675 <bp-sym.h> and <bp-asm.h>.
31676 (memset): Don't use BP_SYM.
31677 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31678 <bp-sym.h> and <bp-asm.h>.
31679 (__memchr): Don't use BP_SYM.
31680 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31681 <bp-sym.h> and <bp-asm.h>.
31682 (memcmp): Don't use BP_SYM.
31683 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31684 <bp-sym.h> and <bp-asm.h>.
31685 (memcpy): Don't use BP_SYM.
31686 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31687 <bp-sym.h> and <bp-asm.h>.
31688 (__mempcpy): Don't use BP_SYM.
31689 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31690 <bp-sym.h> and <bp-asm.h>.
31691 (__memrchr): Don't use BP_SYM.
31692 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31693 <bp-sym.h> and <bp-asm.h>.
31694 (memset): Don't use BP_SYM.
31695 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31696 <bp-sym.h> and <bp-asm.h>.
31697 (__rawmemchr): Don't use BP_SYM.
31698 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31699 <bp-sym.h> and <bp-asm.h>.
31700 (__STRCMP): Don't use BP_SYM.
31701 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31702 <bp-sym.h> and <bp-asm.h>.
31703 (strchr): Don't use BP_SYM.
31704 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31705 <bp-sym.h> and <bp-asm.h>.
31706 (__strchrnul): Don't use BP_SYM.
31707 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31708 <bp-sym.h> and <bp-asm.h>.
31709 (strlen): Don't use BP_SYM.
31710 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31711 <bp-sym.h> and <bp-asm.h>.
31712 (strncmp): Don't use BP_SYM.
31713 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31714 <bp-sym.h> and <bp-asm.h>.
31715 (__strnlen): Don't use BP_SYM.
31716 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31717 <bp-asm.h>.
31718 (__mpn_rshift): Don't use BP_SYM.
31719 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31720 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31721 <bp-sym.h> and <bp-asm.h>.
31722 (__sigsetjmp): Don't use BP_SYM.
31723 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31724 (L(start_addresses)): Don't use BP_SYM.
31725 (_start): Likewise.
31726 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31727 <bp-asm.h>.
31728 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31729 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31730 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31731 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31732 <bp-asm.h>.
31733 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31734 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31735 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31736 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31737 <bp-asm.h>.
31738 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31739 comments.
31740 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31741 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31742 <bp-asm.h>.
31743 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31744 FIXME comments.
31745 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31746 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31747 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31748 <bp-asm.h>.
31749 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31750 comment.
31751 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31752 and <bp-asm.h>.
31753 (strncmp): Don't use BP_SYM,
31754 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31755 <bp-asm.h>.
31756 (__mpn_sub_n): Don't use BP_SYM.
31757 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31758 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31759 and <bp-asm.h>.
31760 (__mpn_submul_1): Don't use BP_SYM.
31761 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31763 <bp-sym.h> and <bp-asm.h>.
31764 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31766 <bp-sym.h> and <bp-asm.h>.
31767 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31768 comment.
31769
8d19fe64
SP
317702013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31771
31772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31773 Use ZK to minimize writes to Z.
31774 (sub_magnitudes): Simplify code a bit.
31775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31776 Use ZK to minimize writes to Z.
31777 (sub_magnitudes): Simplify code a bit.
31778
85bd816a
RM
317792013-02-27 Roland McGrath <roland@hack.frob.com>
31780
31781 * csu/gmon-start.c: Add special exception to license text.
31782
b5977bf2
RH
317832013-02-27 Richard Henderson <rth@redhat.com>
31784
31785 * scripts/config.guess: Update from config.git.
31786 * scripts/config.sub: Likewise.
31787
11d6e2f2
SP
317882013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31789
09c14ed2
SP
31790 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31791
a688864e
SP
31792 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31793
6295157a
SP
31794 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31795
b8de2202
SP
31796 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31797
11d6e2f2
SP
31798 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31799
7e80ddb8
RM
318002013-02-26 Roland McGrath <roland@hack.frob.com>
31801
31802 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31803 [$(build-shared = yes].
7e80ddb8 31804
7da6d9ed
SP
318052013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31806
45f05884
SP
31807 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31808 (__mul): Reduce iterations for calculating mantissa.
31809
2236d359
SP
31810 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31811 MPTWO.
31812 (__mpranred): Likewise.
31813
7da6d9ed
SP
31814 [BZ #15160]
31815 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31816 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31817
b7688c42
PE
318182013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31819
31820 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31821 Define __attribute__.
31822
53a5c423
SP
318232013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31824
31825 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31826 unused.
31827 * posix/regex_internal.h (__attribute): Remove.
31828 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31829 (re_string_context_at): Likewise.
31830 (bitset_not): Use __attribute__ and mark function as possibly
31831 unused.
31832 (bitset_merge): Likewise.
31833 (bitset_mask): Likewise.
31834 (re_string_char_size_at): Likewise.
31835 (re_string_wchar_at): Likewise.
31836 (re_string_elem_size_at): Likewise.
31837
60f5a8b5
SP
318382013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31839
2a983a2e
SP
31840 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31841 code.
31842 (cc32): Likewise.
31843
e69804d1
SP
31844 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31845 (__acr): Likewise.
31846 (__cpy): Likewise.
31847 (norm): Likewise.
31848 (denorm): Likewise.
31849 (__dbl_mp): Likewise.
31850 (add_magnitudes): Likewise.
31851 (sub_magnitudes): Likewise.
31852 (__mul): Likewise.
31853 (__inv): Likewise.
31854
2f22a1e8
SP
31855 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31856 style.
31857
8930ddc7
SP
31858 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31859 style.
31860
dc60cb11
SP
31861 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31862 code.
31863
60f5a8b5
SP
31864 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31865 up changes with default code.
31866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31867 Likewise.
31868
b4d1fd33
AM
318692013-02-24 Allan McRae <allan@archlinux.org>
31870
faf6f8bc
AM
31871 * manual/socket.texi (The Internet Namespace): Order menu items
31872 to match that in the file.
31873
b4d1fd33
AM
31874 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31875 node listing of the info page menu.
31876
2366713d
JM
318772013-02-21 Joseph Myers <joseph@codesourcery.com>
31878
31879 [BZ #13550]
31880 * sysdeps/i386/bp-asm.h: Remove file.
31881 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31882 (PARMS): Do not use macros from bp-asm.h.
31883 (S1): Likewise.
31884 (S2): Likewise.
31885 (SIZE): Likewise.
31886 (__mpn_add_n): Do not use BP_SYM
31887 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31888 "bp-asm.h".
31889 (PARMS): Do not use macros from bp-asm.h.
31890 (S1): Likewise.
31891 (SIZE): Likewise.
31892 (__mpn_addmul_1): Do not use BP_SYM
31893 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31894 "bp-asm.h".
31895 (PARMS): Do not use macros from bp-asm.h.
31896 (SIGMSK): Likewise.
31897 (_setjmp): Likewise. Do not use BP_SYM.
31898 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31899 "bp-asm.h".
31900 (PARMS): Do not use macros from bp-asm.h.
31901 (SIGMSK): Likewise.
31902 (setjmp): Likewise. Do not use BP_SYM.
31903 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31904 "bp-asm.h".
31905 (PARMS): Do not use macros from bp-asm.h.
31906 (__frexp): Do not use BP_SYM.
31907 (frexp): Likewise.
31908 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31909 "bp-asm.h".
31910 (PARMS): Do not use macros from bp-asm.h.
31911 (__frexpf): Do not use BP_SYM.
31912 (frexpf): Likewise.
31913 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31914 "bp-asm.h".
31915 (PARMS): Do not use macros from bp-asm.h.
31916 (__frexpl): Do not use BP_SYM.
31917 (frexpl): Likewise.
31918 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31919 "bp-asm.h".
31920 (PARMS): Do not use macros from bp-asm.h.
31921 (__remquo): Do not use BP_SYM.
31922 (remquo): Likewise.
31923 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31924 "bp-asm.h".
31925 (PARMS): Do not use macros from bp-asm.h.
31926 (__remquof): Do not use BP_SYM.
31927 (remquof): Likewise.
31928 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31929 "bp-asm.h".
31930 (PARMS): Do not use macros from bp-asm.h.
31931 (__remquol): Do not use BP_SYM.
31932 (remquol): Likewise.
31933 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31934 "bp-asm.h".
31935 (PARMS): Do not use macros from bp-asm.h.
31936 (DEST): Likewise.
31937 (SRC): Likewise.
31938 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31939 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31940 "bp-asm.h".
31941 (PARMS): Do not use macros from bp-asm.h.
31942 (strlen): Do not use BP_SYM.
31943 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31944 "bp-asm.h".
31945 (PARMS): Do not use macros from bp-asm.h.
31946 (S1): Likewise.
31947 (S2): Likewise.
31948 (SIZE): Likewise.
31949 (__mpn_add_n): Do not use BP_SYM.
31950 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31951 "bp-asm.h".
31952 (PARMS): Do not use macros from bp-asm.h.
31953 (S1): Likewise.
31954 (SIZE): Likewise.
31955 (__mpn_addmul_1): Do not use BP_SYM.
31956 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31957 weak_alias.
31958 (bzero): Likewise.
31959 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31960 "bp-asm.h".
31961 (PARMS): Do not use macros from bp-asm.h.
31962 (S): Likewise.
31963 (SIZE): Likewise.
31964 (__mpn_lshift): Do not use BP_SYM.
31965 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31966 "bp-asm.h".
31967 (PARMS): Do not use macros from bp-asm.h.
31968 (DEST): Likewise.
31969 (SRC): Likewise.
31970 (LEN): Likewise.
31971 (memcpy): Likewise. Do not use BP_SYM.
31972 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31973 libc_hidden_def and weak_alias.
31974 (mempcpy): Do not use BP_SYM in weak_alias.
31975 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31976 "bp-asm.h".
31977 (PARMS): Do not use macros from bp-asm.h.
31978 (DEST): Likewise.
31979 (LEN): Likewise.
31980 [!BZERO_P] (CHR): Likewise.
31981 (memset): Likewise. Do not use BP_SYM.
31982 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31983 "bp-asm.h".
31984 (PARMS): Do not use macros from bp-asm.h.
31985 (S1): Likewise.
31986 (SIZE): Likewise.
31987 (__mpn_mul_1): Do not use BP_SYM.
31988 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31989 "bp-asm.h".
31990 (PARMS): Do not use macros from bp-asm.h.
31991 (S): Likewise.
31992 (SIZE): Likewise.
31993 (__mpn_rshift): Do not use BP_SYM.
31994 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31995 "bp-asm.h".
31996 (PARMS): Do not use macros from bp-asm.h.
31997 (STR): Likewise.
31998 (CHR): Likewise.
31999 (strchr): Likewise. Do not use BP_SYM.
32000 (index): Do not use BP_SYM in weak_alias.
32001 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32002 "bp-asm.h".
32003 (PARMS): Do not use macros from bp-asm.h.
32004 (DEST): Likewise.
32005 (SRC): Likewise.
32006 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32007 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32008 "bp-asm.h".
32009 (PARMS): Do not use macros from bp-asm.h.
32010 (strlen): Do not use BP_SYM.
32011 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32012 "bp-asm.h".
32013 (PARMS): Do not use macros from bp-asm.h.
32014 (S1): Likewise.
32015 (S2): Likewise.
32016 (SIZE): Likewise.
32017 (__mpn_sub_n): Do not use BP_SYM.
32018 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32019 "bp-asm.h".
32020 (PARMS): Do not use macros from bp-asm.h.
32021 (S1): Likewise.
32022 (SIZE): Likewise.
32023 (__mpn_submul_1): Do not use BP_SYM.
32024 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32025 "bp-asm.h".
32026 (PARMS): Do not use macros from bp-asm.h.
32027 (S1): Likewise.
32028 (S2): Likewise.
32029 (SIZE): Likewise.
32030 (__mpn_add_n): Do not use BP_SYM.
32031 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32032 weak_alias.
32033 (bzero): Likewise.
32034 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32035 "bp-asm.h".
32036 (PARMS): Do not use macros from bp-asm.h.
32037 (BLK2): Likewise.
32038 (LEN): Likewise.
32039 (memcmp): Do not use BP_SYM.
32040 (bcmp): Do not use BP_SYM in weak_alias.
32041 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32042 "bp-asm.h".
32043 (PARMS): Do not use macros from bp-asm.h.
32044 (DEST): Likewise.
32045 (SRC): Likewise.
32046 (LEN): Likewise.
32047 (memcpy): Likewise. Do not use BP_SYM.
32048 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32049 "bp-asm.h".
32050 (PARMS): Do not use macros from bp-asm.h.
32051 (DEST): Likewise.
32052 (SRC): Likewise.
32053 (LEN): Likewise.
32054 (memmove): Likewise. Do not use BP_SYM.
32055 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32056 "bp-asm.h".
32057 (PARMS): Do not use macros from bp-asm.h.
32058 (DEST): Likewise.
32059 (SRC): Likewise.
32060 (LEN): Likewise.
32061 (__mempcpy): Likewise. Do not use BP_SYM.
32062 (mempcpy): Do not use BP_SYM in weak_alias.
32063 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32064 "bp-asm.h".
32065 (PARMS): Do not use macros from bp-asm.h.
32066 (DEST): Likewise.
32067 (LEN): Likewise.
32068 [!BZERO_P] (CHR): Likewise.
32069 (memset): Likewise. Do not use BP_SYM.
32070 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32071 "bp-asm.h".
32072 (PARMS): Do not use macros from bp-asm.h.
32073 (STR2): Likewise.
32074 (strcmp): Do not use BP_SYM.
32075 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32076 "bp-asm.h".
32077 (PARMS): Do not use macros from bp-asm.h.
32078 (STR): Likewise.
32079 (DELIM): Likewise.
32080 [USE_AS_STRTOK_R] (SAVE): Likewise.
32081 (FUNCTION): Likewise. Do not use BP_SYM.
32082 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32083 aliases.
32084 (strtok_r): Likewise.
32085 (__GI___strtok_r): Likewise.
32086 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32087 (PARMS): Do not use macros from bp-asm.h.
32088 (S): Likewise.
32089 (SIZE): Likewise.
32090 (__mpn_lshift): Do not use BP_SYM.
32091 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32092 (PARMS): Do not use macros from bp-asm.h.
32093 (STR): Likewise.
32094 (CHR): Likewise.
32095 (__memchr): Do not use BP_SYM.
32096 (memchr): Do not use BP_SYM in weak_alias.
32097 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32098 (PARMS): Do not use macros from bp-asm.h.
32099 (BLK2): Likewise.
32100 (LEN): Likewise.
32101 (memcmp): Do not use BP_SYM.
32102 (bcmp): Do not use BP_SYM in weak_alias.
32103 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32104 (PARMS): Do not use macros from bp-asm.h.
32105 (S1): Likewise.
32106 (SIZE): Likewise.
32107 (__mpn_mul_1): Do not use BP_SYM.
32108 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32109 "bp-asm.h".
32110 (PARMS): Do not use macros from bp-asm.h.
32111 (STR): Likewise.
32112 (CHR): Likewise.
32113 (__rawmemchr): Do not use BP_SYM.
32114 (rawmemchr): Do not use BP_SYM in weak_alias.
32115 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32116 (PARMS): Do not use macros from bp-asm.h.
32117 (S): Likewise.
32118 (SIZE): Likewise.
32119 (__mpn_rshift): Do not use BP_SYM.
32120 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32121 (PARMS): Do not use macros from bp-asm.h.
32122 (SIGMSK): Likewise.
32123 (__sigsetjmp): Likewise. Do not use BP_SYM.
32124 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32125 (_start): Do not use BP_SYM.
32126 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32127 (PARMS): Do not use macros from bp-asm.h.
32128 (DEST): Likewise.
32129 (SRC): Likewise.
32130 (__stpcpy): Likewise. Do not use BP_SYM.
32131 (stpcpy): Do not use BP_SYM in weak_alias.
32132 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32133 "bp-asm.h".
32134 (PARMS): Do not use macros from bp-asm.h.
32135 (DEST): Likewise.
32136 (SRC): Likewise.
32137 (LEN): Likewise.
32138 (__stpncpy): Likewise. Do not use BP_SYM.
32139 (stpncpy): Do not use BP_SYM in weak_alias.
32140 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32141 (PARMS): Do not use macros from bp-asm.h.
32142 (STR): Likewise.
32143 (CHR): Likewise.
32144 (strchr): Likewise. Do not use BP_SYM.
32145 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32146 "bp-asm.h".
32147 (PARMS): Do not use macros from bp-asm.h.
32148 (STR): Likewise.
32149 (CHR): Likewise.
32150 (__strchrnul): Likewise. Do not use BP_SYM.
32151 (strchrnul): Do not use BP_SYM in weak_alias.
32152 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32153 "bp-asm.h".
32154 (PARMS): Do not use macros from bp-asm.h.
32155 (STOP): Likewise.
32156 (strcspn): Do not use BP_SYM.
32157 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32158 "bp-asm.h".
32159 (PARMS): Do not use macros from bp-asm.h.
32160 (STR): Likewise.
32161 (STOP): Likewise.
32162 (strpbrk): Likewise. Do not use BP_SYM.
32163 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32164 "bp-asm.h".
32165 (PARMS): Do not use macros from bp-asm.h.
32166 (STR): Likewise.
32167 (CHR): Likewise.
32168 (strrchr): Likewise. Do not use BP_SYM.
32169 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32170 (PARMS): Do not use macros from bp-asm.h.
32171 (SKIP): Likewise.
32172 (strspn): Do not use BP_SYM.
32173 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32174 (PARMS): Do not use macros from bp-asm.h.
32175 (STR): Likewise.
32176 (DELIM): Likewise.
32177 (SAVE): Likewise.
32178 (FUNCTION): Likewise. Do not use BP_SYM.
32179 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32180 aliases.
32181 (strtok_r): Likewise.
32182 (__GI___strtok_r): Likewise.
32183 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32184 (PARMS): Do not use macros from bp-asm.h.
32185 (S1): Likewise.
32186 (S2): Likewise.
32187 (SIZE): Likewise.
32188 (__mpn_sub_n): Do not use BP_SYM.
32189 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32190 "bp-asm.h".
32191 (PARMS): Do not use macros from bp-asm.h.
32192 (S1): Likewise.
32193 (SIZE): Likewise.
32194 (__mpn_submul_1): Do not use BP_SYM.
32195 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32196 <bp-sym.h>.
32197 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32198 and <bp-asm.h>.
32199 (PARMS): Do not use macros from bp-asm.h.
32200 (FLAGS): Likewise.
32201 (PTID): Likewise.
32202 (TLS): Likewise.
32203 (CTID): Likewise.
32204 (__clone): Do not use BP_SYM.
32205 (clone): Do not use BP_SYM in weak_alias.
32206 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32207 and <bp-asm.h>.
32208 (PARMS): Do not use macros from bp-asm.h.
32209 (LEN): Likewise.
32210 (__mmap64): Do not use BP_SYM.
32211 (mmap64): Do not use BP_SYM in weak_alias.
32212 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32213 <bp-sym.h> and <bp-asm.h>.
32214 (PARMS): Do not use macros from bp-asm.h.
32215 (__posix_fadvise64_l64): Do not use BP_SYM.
32216 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32217 (PARMS): Do not use macros from bp-asm.h.
32218 (NSOPS): Likewise.
32219 (semtimedop): Do not use BP_SYM.
32220 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32221 and <bp-asm.h>.
32222
582a3cff
AM
322232013-02-21 Allan McRae <allan@archlinux.org>
32224
32225 * manual/message.texi (Charset conversion in gettext):
32226 Move @end statement to beginning of line.
32227
bab8a695
SP
322282013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32229
80945231
SP
32230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32231 static.
32232 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32233 Likewise.
32234
bab8a695
SP
32235 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32236 (denorm): Likewise.
32237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32238 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32239
e21d7aa7
AK
322402013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32241
32242 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32243 tail-call to the resolved function if pltexit isn't needed.
32244
4c7a4263
SP
322452013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32246
32247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32248 or Y being zero as being unlikely.
32249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32250 Likewise.
32251
41f49342
CD
322522013-02-20 Carlos O'Donell <carlos@redhat.com>
32253
32254 * manual/nss.texi (System Databases and Name Service Switch):
32255 Remove frobnicate @pxref.
32256
50022a93
TS
322572013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32258
32259 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32260 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32261
08cbd996
PM
322622013-02-20 Petr Machata <pmachata@redhat.com>
32263
32264 * elf/elf.h (R_ARM_TARGET1): New macro.
32265 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32266 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32267 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32268 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32269 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32270 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32271 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32272 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32273 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32274 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32275 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32276 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32277 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32278 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32279 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32280 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32281 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32282 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32283 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32284 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32285 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32286 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32287 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32288 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32289 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32290 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32291 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32292 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32293 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32294 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32295 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32296 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32297 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32298 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32299 (R_ARM_THM_GOT_BREL12): Likewise.
32300 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32301 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32302 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32303 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32304 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32305 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32306 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32307 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32308 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32309
c7b275d6
TS
323102013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32311
32312 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32313 __attribute_used__ to __attribute__ ((unused)).
32314
20cd7fb3
SP
323152013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32316
32317 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32318 powerpc mpa.c.
32319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32320 comment formatting.
32321 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32322
92945b52
JM
323232013-02-19 Joseph Myers <joseph@codesourcery.com>
32324
32325 [BZ #13550]
32326 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32327 Remove macro.
32328 (ENTER): Remove both macro definitions.
32329 (LEAVE): Likewise.
32330 (CHECK_BOUNDS_LOW): Likewise.
32331 (CHECK_BOUNDS_HIGH): Likewise.
32332 (CHECK_BOUNDS_BOTH): Likewise.
32333 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32334 (RETURN_BOUNDED_POINTER): Likewise.
32335 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32336 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32337 (POP_ERRNO_LOCATION_RETURN): Likewise.
32338 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32339 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32340 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32341 macros.
32342 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32343 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32344 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32345 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32346 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32347 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32348 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32349 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32350 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32351 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32352 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32353 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32354 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32355 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32356 removed macros.
32357 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32358 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32359 macros.
32360 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32361 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32362 * sysdeps/i386/i586/memset.S (memset): Likewise.
32363 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32364 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32365 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32366 macros.
32367 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32368 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32369 Change uses of L(2) to L(out).
32370 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32371 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32372 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32373 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32374 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32375 removed macros.
32376 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32377 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32378 macros.
32379 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32380 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32381 (RETURN): Do not use macro LEAVE.
32382 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32383 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32384 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32385 * sysdeps/i386/i686/memset.S (memset): Likewise.
32386 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32387 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32388 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32389 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32390 Likewise.
32391 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32392 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32393 L(1_2) and L(1_3) into L(1).
32394 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32395 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32396 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32397 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32398 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32399 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32400 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32401 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32402 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32403 macros.
32404 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32405 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32406 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32407 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32408 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32409 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32410 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32411 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32412 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32413 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32414 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32415 * sysdeps/i386/strspn.S (strspn): Likewise.
32416 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32417 conditional code.
32418 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32419 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32420 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32421 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32422 L(1_3) into L(1_1).
32423 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32424 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32425 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32426 macros.
32427 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32428
2389741a
JJ
324292013-02-19 Jakub Jelinek <jakub@redhat.com>
32430
32431 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32432 macro.
32433
2016b3cd
SP
324342013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32435
e4f22324
SP
32436 * math/atest-exp.c (exp_mpn): Remove ROUND.
32437 * math/atest-exp2.c (exp_mpn): Likewise.
32438 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32439
2016b3cd
SP
32440 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32441 * stdlib/tst-tls-atexit-lib.c: Likewise.
32442 * stdlib/tst-tls-atexit.c: Likewise.
32443
4be9b544
MF
324442013-02-18 Mike Frysinger <vapier@gentoo.org>
32445
32446 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32447 and __attribute_alloc_size__.
32448
2f62b9ee
MF
324492013-02-18 Mike Frysinger <vapier@gentoo.org>
32450
32451 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32452 __attribute_alloc_size__.
32453 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32454 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32455
6ff444c4
MF
324562013-02-18 Mike Frysinger <vapier@gentoo.org>
32457
32458 * include/programs/xmalloc.h: New file.
32459 * catgets/gencat.c: Include it.
32460 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32461 * elf/pldd.c: Likewise.
32462 * iconv/iconv_charmap.c: Likewise.
32463 * iconv/iconvconfig.c: Likewise.
32464 * iconv/strtab.c: Likewise.
32465 * locale/programs/locale.c: Likewise.
32466 * locale/programs/localedef.h: Likewise.
32467 * locale/programs/simple-hash.c: Likewise.
32468 * nscd/nscd.h: Likewise.
32469 * nss/makedb.c: Likewise.
32470 * sysdeps/generic/ldconfig.h: Likewise.
32471
be179c8a
SP
324722013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32473
ba384f6e
SP
32474 * Versions.def: Add GLIBC_2.18.
32475 * include/link.h (struct link_map): New member l_tls_dtor_count.
32476 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32477 (__call_tls_dtors): Likewise.
32478 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32479 __cxa_thread_atexit_impl.
32480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32481 Likewise.
32482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32483 Likewise.
32484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32485 Likewise.
32486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32487 Likewise.
32488 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32490 Likewise.
32491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32492 Likewise.
32493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32495 Likewise.
32496 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32497 (tests): Add test case tst-tls-atexit.
32498 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32499 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32500 (GLIBC_PRIVATE): Add __call_tls_dtors.
32501 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32502 for libstdc++.
32503 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32504 * stdlib/tst-tls-atexit.c: New test case.
32505 * stdlib/tst-tls-atexit-lib.c: New test case.
32506
ffaa74cf 32507 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32508
be179c8a
SP
32509 * elf/Versions (ld): Add _dl_find_dso_for_object.
32510 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32511 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32512 (dl_open_worker): Use _dl_find_dso_for_object.
32513 * elf/dl-sym.c (do_sym): Likewise.
32514 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32515
f78b5caa
AK
325162013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32517
32518 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32519 Syntactic changes only.
32520 (_dl_runtime_profile): Do a tail-call to the resolved function.
32521
29691210
JM
325222013-02-17 Joseph Myers <joseph@codesourcery.com>
32523
32524 [BZ #13550]
32525 * sysdeps/x86_64/bp-asm.h: Remove file.
32526 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32527 <bp-sym.h> and <bp-asm.h>.
32528 (__clone): Do not use BP_SYM.
32529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32530 <bp-sym.h> and <bp-asm.h>.
32531 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32532 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32533 "bp-asm.h".
32534 (_setjmp): Do not use BP_SYM.
32535 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32536 "bp-asm.h".
32537 (setjmp): Do not use BP_SYM.
32538 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32539 libc_hidden_def.
32540 (mempcpy): Do not use BP_SYM in weak_alias.
32541 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32542 "bp-asm.h".
32543 (strchr): Do not use BP_SYM.
32544 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32545 "bp-asm.h".
32546 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32547 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32548 (_start): Do not use BP_SYM.
32549 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32550 "bp-asm.h".
32551 (strcat): Do not use BP_SYM.
32552 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32553 "bp-asm.h".
32554 (STRCMP): Do not use BP_SYM.
32555 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32556 "bp-asm.h".
32557 (STRCPY): Do not use BP_SYM.
32558 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32559 "bp-asm.h".
32560 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32561 "bp-asm.h".
32562 (FUNCTION): Do not use BP_SYM.
32563 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32564 weak_alias.
32565 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32566
f238fd19
AJ
325672013-02-17 Andreas Jaeger <aj@suse.de>
32568
32569 * time/Versions: Sort entries.
32570 * string/Versions: Likewise.
32571 * resolv/Versions: Likewise.
32572 * posix/Versions: Likewise.
32573 * iconv/Versions: Likewise.
32574 * elf/Versions: Likewise.
32575 * wcsmbs/Versions: Likewise.
32576
bd07f23c 325772013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32578
22af19f9
SP
32579 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32580 loop termination condition.
32581
4709fe76
SP
32582 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32583 variable to calculate EZ.
32584 (__sqr): Likewise.
2d0e0f29
SP
32585
32586 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32587 the lower precision input.
32588
daaa7713
JM
325892013-02-15 Joseph Myers <joseph@codesourcery.com>
32590
32591 [BZ #13550]
32592 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32593 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32594 (run-via-rtld-prefix): Do not handle %-bp tests.
32595 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32596 (all-object-suffixes): Remove .ob.
32597 (bppfx): Remove variable.
32598 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32599 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32600 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32601 [$(build-bounded) = yes] (libtype.ob): Likewise.
32602 * Makerules (elide-routines.ob): Remove variable.
32603 (do-tests-clean): Do not handle *-bp.out.
32604 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32605 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32606 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32607 (tests): Do not include $(tests-bp.out).
32608 (xtests): Do not include $(xtests-bp.out).
32609 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32610 [$(build-bounded) = yes] ($(addprefix
32611 $(objpfx),$(binaries-bounded))): Remove rule.
32612 ($(objpfx)%-bp.out): Remove rule.
32613 * config.make.in (build-bounded): Remove variable.
32614 * crypt/Makefile [$(build-bounded) = yes]
32615 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32616 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32617 append to variable.
32618 [$(build-bounded) = yes] (install-lib): Likewise.
32619 [$(build-bounded) = yes] (generated): Likewise.
32620 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32621 Remove rule.
32622 * intl/Makefile [$(build-bounded) = yes]
32623 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32624 * math/Makefile [$(build-bounded) = yes]
32625 ($(tests:%=$(objpfx)%-bp): Likewise.
32626 * misc/Makefile [$(build-bounded) = yes]
32627 ($(objpfx)tst-tsearch-bp): Likewise.
32628 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32629 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32630 Remove dependency.
32631 * string/Makefile (o-objects.ob): Remove variable.
32632 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32633 (CFLAGS-.ob): Remove variable.
32634 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32635 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32636 both definitions of variable.
32637 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32638 (ASFLAGS-.ob): Remove variable.
32639
e97ed6dd
JM
326402013-02-14 Joseph Myers <joseph@codesourcery.com>
32641
2bdd4ca6
JM
32642 [BZ #13550]
32643 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32644 Remove __BOUNDED_POINTERS__ from condition.
32645 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32646 * string/bits/string2.h [!__NO_STRING_INLINES &&
32647 !__BOUNDED_POINTERS__]: Likewise.
32648 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32649 Likewise.
32650 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32651 Remove conditional code.
32652 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32653 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32654 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32655 condition.
32656
e97ed6dd
JM
32657 [BZ #13550]
32658 * csu/libc-start.c: Do not include <bp-sym.h>.
32659 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32660 * elf/dl-open.c: Do not include <bp-sym.h>.
32661 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32662 * math/fegetenv.c: Do not include <bp-sym.h>.
32663 (fegetenv): Do not use BP_SYM in versioned symbols.
32664 * nptl/sysdeps/pthread/bits/libc-lockP.h
32665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32666 <bp-sym.h>.
32667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32668 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32670 (__pthread_mutex_destroy): Likewise.
32671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32672 (__pthread_mutex_lock): Likewise.
32673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32674 (__pthread_mutex_trylock): Likewise.
32675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32676 (__pthread_mutex_unlock): Likewise.
32677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32678 (__pthread_mutexattr_init): Likewise.
32679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32680 (__pthread_mutexattr_destroy): Likewise.
32681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32682 (__pthread_mutexattr_settype): Likewise.
32683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32684 (__pthread_rwlock_init): Likewise.
32685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32686 (__pthread_rwlock_destroy): Likewise.
32687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32688 (__pthread_rwlock_rdlock): Likewise.
32689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32690 (__pthread_rwlock_tryrdlock): Likewise.
32691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32692 (__pthread_rwlock_wrlock): Likewise.
32693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32694 (__pthread_rwlock_trywrlock): Likewise.
32695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32696 (__pthread_rwlock_unlock): Likewise.
32697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32698 (__pthread_key_create): Likewise.
32699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32700 (__pthread_setspecific): Likewise.
32701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32702 (__pthread_getspecific): Likewise.
32703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32704 Likewise.
32705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32706 (_pthread_cleanup_push_defer): Likewise.
32707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32708 (_pthread_cleanup_pop_restore): Likewise.
32709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32710 (pthread_setcancelstate): Likewise.
32711 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32712 <bp-sym.h>.
32713 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32714 (memchr): Do not use BP_SYM in weak_alias.
32715 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32716 (fegetenv): Do not use BP_SYM in versioned symbols.
32717 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32718 (fesetenv): Do not use BP_SYM in versioned symbols.
32719 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32720 (feupdateenv): Do not use BP_SYM in versioned symbols.
32721 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32722 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32723 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32724 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32725 (open64): Do not use BP_SYM in weak_alias.
32726 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32727 (fegetenv): Do not use BP_SYM in versioned symbols.
32728 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32729 (fesetenv): Do not use BP_SYM in versioned symbols.
32730 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32731 (feupdateenv): Do not use BP_SYM in versioned symbols.
32732 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32733 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32734 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32735 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32736 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32737 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32738 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32739 <bp-sym.h>.
32740 (__libc_start_main): Do not use BP_SYM.
32741
d6752ccd
SP
327422013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32743
cb57ce60
SP
32744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32745 redundant return line.
32746 (norm): Likewise.
32747 (denorm): Likewise.
32748 (dbl_mp): Likewise.
32749 (sub_magnitudes): Likewise.
32750 (__add): Likewise.
32751 (__sub): Likewise.
32752 (__mul): Likewise.
32753 (__inv): Likewise.
32754 (__dvd): Likewise.
32755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32756 (norm): Likewise.
32757 (denorm): Likewise.
32758 (dbl_mp): Likewise.
32759 (sub_magnitudes): Likewise.
32760 (__add): Likewise.
32761 (__sub): Likewise.
32762 (__mul): Likewise.
32763 (__inv): Likewise.
32764 (__dvd): Likewise.
32765
f414520d
SP
32766 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32767 instead of __mul.
32768 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32769 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32770 (cc32): Likewise.
32771
d6752ccd
SP
32772 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32773 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32774 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32775 of __mul for squares.
32776 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32777 function
32778 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32779 Likewise.
32780 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32781 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32782
70d9946a
JM
327832013-02-13 Joseph Myers <joseph@codesourcery.com>
32784
32785 [BZ #13550]
32786 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32787 code.
32788 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32789 prototype or function definition. Rename ubp_* variables and
32790 parameters. Remove argv definitions conditional on
32791 [__BOUNDED_POINTERS__].
32792 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32793 * elf/dl-runtime.c (_dl_fixup): Likewise.
32794 * include/set-hooks.h (RUN_HOOK): Likewise.
32795 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32796 definition.
32797 * string/strcpy.c (strcpy): Do not use __unbounded.
32798 * sysdeps/generic/frame.h (struct layout): Likewise.
32799 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32800 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32801 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32802 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32803 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32804 (__backtrace): Likewise.
32805 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32806 use __ptrvalue.
32807 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32808 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32809 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32810 Likewise.
32811 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32812 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32813 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32814 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32815 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32816 Do not use __unbounded.
32817 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32818 Rename __unboundedrlimits parameter to rlimits in prototype.
32819 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32820 Do not use __unbounded.
32821 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32822 not use __ptrvalue.
32823 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32824 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32825 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32826 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32827 __ptrvalue or __unbounded.
32828 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32829 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32830 use __unbounded.
32831 (__new_msgctl): Do not use __ptrvalue.
32832 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32833 __unbounded.
32834 (__libc_msgrcv): Do not use __ptrvalue.
32835 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32836 startup_info): Do not use __unbounded.
32837 (__libc_start_main): Likewise. Rename ubp_* variables and
32838 parameters. Remove argv definitions conditional on
32839 [__BOUNDED_POINTERS__].
32840 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32841 __ptrvalue.
32842 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32843 use __unbounded.
32844 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32845 or __ptrvalue.
32846 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32847 use __unbounded.
32848 (__new_shmctl): Do not use __ptrvalue.
32849 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32850 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32851 Likewise.
32852 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32853 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32854 (__libc_sigaction): Likewise.
32855 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32856 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32857 Likewise.
32858 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32859
cc7834d6
OB
328602013-02-13 Ondřej Bílka <neleai@seznam.cz>
32861
ffb1ec7b 32862 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32863
32864 * string/mempcpy.c: Implement by calling memcpy.
32865
bdf02814
SP
328662013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32867
c2af38aa
SP
32868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32869
4e92d59e
SP
32870 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32871 evaluation.
32872
909279a5
SP
32873 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32874 values in the mantissa.
32875
bdf02814
SP
32876 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32877 minimize writes to Z.
32878 (sub_magnitudes): Simplify code a bit.
32879
cd525923
RM
328802013-02-12 Roland McGrath <roland@hack.frob.com>
32881
32882 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32883 from the message. The linker prefixes all warnings with that already.
32884
7e2f0d2d
AS
328852013-02-12 Andreas Schwab <schwab@suse.de>
32886
a445af0b
AS
32887 [BZ #15078]
32888 * posix/regexec.c (extend_buffers): Add parameter min_len.
32889 (check_matching): Pass minimum needed length.
32890 (clean_state_log_if_needed): Likewise.
32891 (get_subexp): Likewise.
32892 * posix/Makefile (tests): Add bug-regex34.
32893 (bug-regex34-ENV): Define.
32894 * posix/bug-regex34.c: New file.
32895
7e2f0d2d
AS
32896 [BZ #11561]
32897 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32898 elements compare against the byte sequence of it, not its name.
32899 * posix/Makefile (tests): Add bug-regex35.
32900 (bug-regex35-ENV): Define.
32901 * posix/bug-regex35.c: New file.
32902
a175b684
TV
329032013-02-11 Tom de Vries <tom@codesourcery.com>
32904
32905 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32906 comment.
32907 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32908 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32909 (CHECK_EOL): Add undef.
32910
310998fe 329112013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32912
32913 * bits/stdlib-bsearch.h: New file.
32914 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32915 * stdlib/stdlib.h: Likewise.
41eda41d 32916
8ded91fb
RM
329172013-02-11 Roland McGrath <roland@hack.frob.com>
32918
32919 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32920 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32921 declaration.
32922 * manual/search.texi (Array Search Function): Add missing const in
32923 lfind prototype.
32924 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32925 declaration to use rlim_t.
32926 (Basic Scheduling Functions): Remove erroneous const from
32927 sched_getparam prototype. Remove erroneous * from
32928 sched_get_priority_max and sched_get_priority_min prototypes.
32929 (Resource Usage): Fix summary @comment on vtimes to refer to
32930 sys/vtimes.h rather than vtimes.h.
32931 Add missing *s in vtimes prototype.
32932 (Limits on Resources): Fix ulimit prototype to return long int.
32933 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32934 prototypes to use long int rather than double.
32935 (BSD Random): Fix initstate and setstate to use char *, not void *.
32936 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32937 prototype to make second argument 'struct aiocb64 *const[]'.
32938 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32939 (Status of AIO Operations): Remove erroneous const in aio_return and
32940 aio_return64 prototypes.
32941 (Synchronizing I/O): Fix sync prototype to return void.
32942 * manual/startup.texi (Suboptions): Remove an erroneous const in
32943 getsubopt prototype.
32944 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32945 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32946 use size_t rather than int.
32947 (Scanning All Users): Likewise for getpwent_r.
32948 (Setting Groups): Add missing const to setgroups prototype.
32949 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32950 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32951 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32952 'const void *' rather than 'const char *'.
32953 (Host Address Functions): Likewise for inet_ntop.
32954 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32955 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32956 ssize_t for return value.
32957 (Sending Data): Likewise for send, sendto, sendmsg.
32958 (Socket Option Functions): Add a missing const in setsockopt prototype.
32959 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32960 use wchar_t for the argument.
32961 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32962 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32963 take no arguments.
32964 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32965 double/float/long double for second argument.
32966 Fix return types of significand, significandf, significandl.
32967 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32968 argument in fchmod prototype.
32969 (File Owner): Use uid_t and gid_t in fchown prototype.
32970 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32971 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32972 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32973 use 'const struct dirent **' as argument types to CMP function pointer
32974 argument.
32975 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32976 (File Times): Fix summary magic @comment for struct utimbuf and utime
32977 to refer to utime.h, not time.h.
32978 * manual/string.texi (Argz Functions): Add missing const in
32979 argz_extract and argz_next prototypes.
32980 (Finding Tokens in a String): Likewise for basename.
32981 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32982 (Copying and Concatenation): Fix typo in wmemmove prototype.
32983 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32984 (Signal Stack): Remove erroneous const in sigstack prototype.
32985 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32986 prototype.
32987 (Simple Calendar Time): Likewise for stime.
32988 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32989 prototype.
32990 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32991 say sys/sysctl.h instead.
32992 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32993 and vsyslog prototypes.
32994
fe77fe6d
TV
329952013-02-11 Tom de Vries <tom@codesourcery.com>
32996
32997 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32998 Remove.
32999
3a09b620
RM
330002013-02-11 Roland McGrath <roland@hack.frob.com>
33001
33002 * misc/sys/mman.h: Fix typo in mremap comment.
33003
550a0b89
RM
330042013-02-08 Roland McGrath <roland@hack.frob.com>
33005
33006 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33007 the '\0' terminator.
33008
a2da1673
JM
330092013-02-08 Joseph Myers <joseph@codesourcery.com>
33010
33011 [BZ #13550]
33012 * debug/segfault.c: Don't include <bp-checks.h>.
33013 * sysdeps/generic/bp-checks.h: Remove file.
33014 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33015 (__GETDENTS): Don't use CHECK_N.
33016 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33017 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33018 (__getgroups): Don't use CHECK_N.
33019 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33020 (setgroups): Don't use CHECK_N.
33021 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33022 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33023 (__libc_msgrcv): Don't use CHECK_N.
33024 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33025 (__libc_msgsnd): Don't use CHECK_N.
33026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33027 <bp-checks.h>.
33028 (__libc_pread): Don't use CHECK_N.
33029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33030 include <bp-checks.h>.
33031 (__libc_pread64): Don't use CHECK_N.
33032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33033 include <bp-checks.h>.
33034 (__libc_pwrite): Don't use CHECK_N.
33035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33036 include <bp-checks.h>.
33037 (__libc_pwrite64): Don't use CHECK_N.
33038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33039 <bp-checks.h>.
33040 (__libc_pread): Don't use CHECK_N.
33041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33042 include <bp-checks.h>.
33043 (__libc_pread64): Don't use CHECK_N.
33044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33045 include <bp-checks.h>.
33046 (__libc_pwrite): Don't use CHECK_N.
33047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33048 include <bp-checks.h>.
33049 (__libc_pwrite64): Don't use CHECK_N.
33050 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33051 (do_pread): Don't use CHECK_N.
33052 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33053 (do_pread64): Don't use CHECK_N.
33054 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33055 (do_pwrite): Don't use CHECK_N.
33056 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33057 (do_pwrite64): Don't use CHECK_N.
33058 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33059 (__libc_readv): Don't use CHECK_N.
33060 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33061 (semop): Don't use CHECK_N.
33062 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33063 <bp-checks.h>.
33064 (semtimedop): Don't use CHECK_N.
33065 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33066 (__libc_pread): Don't use CHECK_N.
33067 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33068 <bp-checks.h>.
33069 (__libc_pread64): Don't use CHECK_N.
33070 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33071 <bp-checks.h>.
33072 (__libc_pwrite): Don't use CHECK_N.
33073 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33074 <bp-checks.h>.
33075 (__libc_pwrite64): Don't use CHECK_N.
33076 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33077 <bp-checks.h>.
33078 (__libc_msgrcv): Don't use CHECK_N.
33079 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33080 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33081 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33082 (__libc_writev): Don't use CHECK_N.
33083
b84660a8
RM
330842013-02-08 Roland McGrath <roland@hack.frob.com>
33085
7f3e75f8
RM
33086 * string/strcpy.c: Removed unused variable.
33087
b84660a8
RM
33088 * Makeconfig (+sysdep-includes): Define with := rather than =.
33089 Use an existing include/ subdir of each sysdeps dir before it.
33090
471514d3
CD
330912013-02-08 Carlos O'Donell <carlos@redhat.com>
33092
33093 * nscd/connection.c (register_traced_file): Comment function.
33094 [HAVE_INOTIFY] (union __inev): Define.
33095 [HAVE_INOTIFY] (inotify_check_files): New function.
33096 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33097 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33098 clear_db_cache.
33099 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33100
b2d3c3be
CD
331012013-02-08 Carlos O'Donell <carlos@redhat.com>
33102
33103 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33104 loaded if not already and that a failure is permanent.
33105
b39949d2
CD
331062013-02-08 Carlos O'Donell <carlos@redhat.com>
33107
ddacd1db 33108 [BZ #15006]
b39949d2
CD
33109 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33110 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33111
b2c9eff4
JM
331122013-02-08 Joseph Myers <joseph@codesourcery.com>
33113
f3aae3f3
JM
33114 [BZ #13550]
33115 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33116 (CHECK_1_NULL_OK): Likewise.
33117 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33118 (__fxstat): Do not use CHECK_1.
33119 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33120 <bp-checks.h>.
33121 (___fxstat64): Do not use CHECK_1.
33122 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33123 <bp-checks.h>.
33124 (__fxstatat): Do not use CHECK_1.
33125 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33126 <bp-checks.h>.
33127 (__fxstatat64): Do not use CHECK_1.
33128 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33129 <bp-checks.h>.
33130 (__fxstat): Do not use CHECK_1.
33131 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33132 <bp-checks.h>.
33133 (__fxstatat): Do not use CHECK_1.
33134 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33135 <bp-checks.h>.
33136 (__getresgid): Do not use CHECK_1.
33137 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33138 <bp-checks.h>.
33139 (__getresuid): Do not use CHECK_1.
33140 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33141 <bp-checks.h>.
33142 (__lxstat): Do not use CHECK_1.
33143 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33144 <bp-checks.h>.
33145 (__old_msgctl): Do not use CHECK_1.
33146 (__new_msgctl): Likewise.
33147 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33148 <bp-checks.h>.
33149 (__new_setrlimit): Do not use CHECK_1.
33150 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33151 <bp-checks.h>.
33152 (__old_shmctl): Do not use CHECK_1.
33153 (__new_shmctl): Likewise.
33154 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33155 <bp-checks.h>.
33156 (__xstat): Do not use CHECK_1.
33157 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33158 (__lxstat): Do not use CHECK_1.
33159 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33160 <bp-checks.h>.
33161 (___lxstat64): Do not use CHECK_1.
33162 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33163 (__old_msgctl): Do not use CHECK_1.
33164 (__new_msgctl): Likewise.
33165 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33166 <bp-checks.h>.
33167 (__gettimeofday): Do not use CHECK_1.
33168 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33169 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33170 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33171 <bp-checks.h>.
33172 (__gettimeofday): Do not use CHECK_1.
33173 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33174 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33175 (__new_shmctl): Do not use CHECK_1.
33176 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33177 <bp-checks.h>.
33178 (do_sigtimedwait): Do not use CHECK_1.
33179 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33180 <bp-checks.h>.
33181 (do_sigwaitinfo): Do not use CHECK_1.
33182 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33183 <bp-checks.h>.
33184 (msgctl): Do not use CHECK_1.
33185 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33186 <bp-checks.h>.
33187 (shmctl): Do not use CHECK_1.
33188 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33189 (ustat): Do not use CHECK_1.
33190 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33191 <bp-checks.h>.
33192 (__fxstat): Do not use CHECK_1.
33193 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33194 <bp-checks.h>.
33195 (__fxstatat): Do not use CHECK_1.
33196 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33197 <bp-checks.h>.
33198 (__lxstat): Do not use CHECK_1.
33199 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33200 <bp-checks.h>.
33201 (__xstat): Do not use CHECK_1.
33202 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33203 (__xstat): Do not use CHECK_1.
33204 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33205 (___xstat64): Do not use CHECK_1.
33206
b2c9eff4
JM
33207 [BZ #13550]
33208 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33209 definitions.
33210 (CHECK_BOUNDS_HIGH): Likewise.
33211 * string/strcpy.c: Do not include <bp-checks.h>.
33212 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33213
f1d70dad
RM
332142013-02-07 Roland McGrath <roland@hack.frob.com>
33215
33216 * nscd/nscd-client.h (__nscd_drop_map_ref):
33217 Add __attribute__ ((unused)).
33218 * nis/nss-nisplus.h (niserr2nss): Likewise.
33219
33220 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33221 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33222
33223 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33224 Remove inline keyword.
33225 * include/rounding-mode.h (round_away): Likewise.
33226 * libio/wfileops.c (adjust_wide_data): Likewise.
33227 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33228 (__m128i_strloadu_tolower): Likewise.
33229 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33230 (__m128i_strloadu_tolower): Likewise.
33231 * time/mktime.c (ydhms_diff): Likewise.
33232 * locale/elem-hash.h (elem_hash): Likewise.
33233 * locale/setlocale.c (setdata): Likewise.
33234 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33235 (re_string_wchar_at): Likewise.
33236 (bitset_not, bitset_merge, bitset_mask): Likewise.
33237 [!(__GNUC__ > 3)] (inline): Remove macro.
33238 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33239 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33240 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33241 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33242 * string/memcmp.c (memcmp_bytes): Likewise.
33243 * locale/programs/locarchive.c (compute_hashval): Likewise.
33244 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33245 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33246 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33247 * nss/getent.c (print_rpc, print_protocols): Likewise.
33248 (print_passwd, print_group, print_aliases): Likewise.
33249 * nis/nss-nisplus.h (niserr2nss): Likewise.
33250 * nscd/connections.c (restart_p): Likewise.
33251 Change return type to bool.
33252
eab55bfb
RM
332532013-02-05 Roland McGrath <roland@hack.frob.com>
33254
7bd642f5
RM
33255 * Makeconfig (all-Depend-files): Add existing
33256 $(sorted-subdirs:=/Depend) files.
33257 (all-subdirs): Remove nss.
33258 * sysdeps/unix/inet/Subdirs: Add it here instead.
33259 * hesiod/Depend: New file.
33260
573c29b2
RM
33261 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33262 instead of calling alloca.
33263
b2e25af0
RM
33264 * io/lseek.c (__lseek): Rename to __libc_lseek.
33265 Define __lseek as an alias.
33266
eab55bfb
RM
33267 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33268
9a0d1941
CD
332692013-02-04 Carlos O'Donell <carlos@redhat.com>
33270
33271 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33272 else clause and remove check for non-standard endianness.
33273
b83bbec4
DM
332742013-02-04 David S. Miller <davem@davemloft.net>
33275
33276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33277
6277fdab
JM
332782013-02-04 Joseph Myers <joseph@codesourcery.com>
33279
33280 [BZ #13550]
33281 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33282 (__ubp_memchr): Remove prototype.
33283 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33284 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33285 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33286 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33287 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33288 Remove alias.
33289 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33290 (__ubp_memchr): Likewise.
33291 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33292 (__ubp_memchr): Likewise.
33293 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33294 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33295 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33296 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33297 CHECK_STRING.
33298 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33299 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33300 (__getcwd): Do not use CHECK_STRING.
33301 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33302 <bp-checks.h>.
33303 (__real_chown): Do not use CHECK_STRING.
33304 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33305 <bp-checks.h>.
33306 (fchownat): Do not use CHECK_STRING.
33307 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33308 CHECK_STRING.
33309 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33310 <bp-checks.h>.
33311 (__lchown): Do not use CHECK_STRING.
33312 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33313 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33314 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33315 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33317 include <bp-checks.h>.
33318 (truncate64): Do not use CHECK_STRING.
33319 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33320 <bp-checks.h>.
33321 (__real_chown): Do not use CHECK_STRING.
33322 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33323 <bp-checks.h>.
33324 (__lchown): Do not use CHECK_STRING.
33325 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33326 <bp-checks.h>.
33327 (__chown): Do not use CHECK_STRING.
33328 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33329 <bp-checks.h>.
33330 (truncate64): Do not use CHECK_STRING.
33331 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33332 Likewise.
33333 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33334 (__xmknod): Do not use CHECK_STRING.
33335 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33336 <bp-checks.h>.
33337 (__xmknodat): Do not use CHECK_STRING.
33338 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33339 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33340
903ae060
AS
333412013-02-04 Andreas Schwab <schwab@suse.de>
33342
33343 [BZ #14142]
33344 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33345 * include/netdb.h: Likewise for h_errno.
33346 * elf/tst-stackguard1.c: Include <tls.h>.
33347
542f9466
JK
333482013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33349
33350 * elf/link.h (struct link_map): Extend the l_addr comment.
33351 * include/link.h (struct link_map): Likewise.
33352
e782a927
JM
333532013-02-01 Joseph Myers <joseph@codesourcery.com>
33354
33355 [BZ #13550]
33356 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33357 (BOUNDED_1): Remove macro.
33358 * debug/backtrace.c: Don't include <bp-checks.h>.
33359 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33360 (__backtrace): Likewise.
33361 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33362 <bp-checks.h>.
33363 (__backtrace): Don't use BOUNDED_1.
33364 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33365 <bp-checks.h>.
33366 (__backtrace): Don't use BOUNDED_1.
33367 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33368 (__backtrace): Don't use BOUNDED_1.
33369 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33370 (shmat): Don't use BOUNDED_N.
33371
8cf28c5e
JM
333722013-01-31 Joseph Myers <joseph@codesourcery.com>
33373
3a7ac8a0
JM
33374 [BZ #13550]
33375 * sysdeps/generic/bp-start.h: Remove file.
33376 * csu/libc-start.c: Don't include <bp-start.h>.
33377 (LIBC_START_MAIN): Set up __environ directly instead of using
33378 INIT_ARGV_and_ENVIRON.
33379 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33380 <bp-start.h>.
33381
f3499f95
JM
33382 [BZ #13550]
33383 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33384 definitions.
33385 (CHECK_FCNTL): Likewise.
33386 (CHECK_N_PAGES): Likewise.
33387
32a45bea
JM
33388 [BZ #13550]
33389 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33390 definitions.
33391 (CHECK_SIGSET_NULL_OK): Likewise.
33392 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33393 <bp-checks.h>.
33394 (sigpending): Don't use CHECK_SIGSET.
33395 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33396 <bp-checks.h>.
33397 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33398 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33399 <bp-checks.h>.
33400 (do_sigsuspend): Don't use CHECK_SIGSET.
33401 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33402 use CHECK_SIGSET.
33403 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33404 (do_sigwait): Don't use CHECK_SIGSET.
33405 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33406 use CHECK_SIGSET.
33407 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33408 include <bp-checks.h>.
33409 (sigpending): Don't use CHECK_SIGSET.
33410 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33411 include <bp-checks.h>.
33412 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33413 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33414 <bp-checks.h>.
33415 (sigpending): Don't use CHECK_SIGSET.
33416 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33417 <bp-checks.h>.
33418 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33419
2e8a5c8c
JM
33420 [BZ #13550]
33421 * sysdeps/generic/bp-semctl.h: Remove file.
33422 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33423 <bp-checks.h> and <bp-semctl.h>.
33424 (__old_semctl): Don't use CHECK_SEMCTL.
33425 (__new_semctl): Likewise.
33426 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33427 and <bp-semctl.h>.
33428 (__old_semctl): Don't use CHECK_SEMCTL.
33429 (__new_semctl): Likewise.
33430 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33431 <bp-checks.h> and <bp-semctl.h>.
33432 (__old_semctl): Don't use CHECK_SEMCTL.
33433 (__new_semctl): Likewise.
33434 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33435 <bp-checks.h> and <bp-semctl.h>.
33436 (semctl): Don't use CHECK_SEMCTL.
33437
c2d54929
JM
33438 [BZ #13550]
33439 * Makerules (elide-bp-thunks): Remove variable.
33440 (elide-routines.oS): Don't use $(elide-bp-thunks).
33441 (elide-routines.os): Likewise.
33442 (elide-routines.o): Likewise.
33443 (elide-routines.op): Likewise.
33444 (elide-routines.og): Likewise.
33445 (objects): Don't use $(bp-thunks).
33446 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33447 include.
33448 (common-generated): Do not add s-proto-bp.d.
33449 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33450 (int): Likewise.
33451 (typ): Likewise.
33452 Do not generate makefile rules for bounded-pointer thunks.
33453 * sysdeps/generic/bp-thunks.h: Remove file.
33454 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33455 * sysdeps/unix/s-proto-bp.S: Likewise.
33456
8cf28c5e
JM
33457 [BZ #15062]
33458 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33459 parts of result separately when argument is not close to line from
33460 -i to i and one part of argument is small.
33461 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33462 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33463 * math/libm-test.inc (cacos_test): Add more tests.
33464 (casin_test): Likewise.
33465 (casinh_test): Likewise.
33466 * sysdeps/i386/fpu/libm-test-ulps: Update.
33467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33468
c4e33b8d
DM
334692013-01-31 David S. Miller <davem@davemloft.net>
33470
33471 * po/de.po: Update from translation team.
33472
3b60b421
MK
334732013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33474
33475 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33476
bb931195
TS
334772013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33478
b5a5da23
TS
33479 * configure.in (_AC_PROG_CC_C89): New definition.
33480 * configure: Regenerate.
33481
bb931195
TS
33482 * configure.in (AC_PROG_CPP): New definition.
33483 * configure: Regenerate.
33484
8c53a12c
JM
334852013-01-23 Joseph Myers <joseph@codesourcery.com>
33486
33487 * debug/tst-backtrace.h: New file.
33488 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33489 (ret): Remove variable.
33490 (x): Likewise.
33491 (FAIL): Remove macro.
33492 (NO_INLINE): Likewise.
33493 (fn1): Use match function instead of strstr.
33494 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33495 (ret): Remove variable.
33496 (x): Likewise.
33497 (FAIL): Remove macro.
33498 (NO_INLINE): Likewise.
33499 (fn): Use match function instead of strstr.
33500 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33501 (ret): Remove variable.
33502 (x): Likewise.
33503 (FAIL): Remove macro.
33504 (NO_INLINE): Likewise.
33505 (handle_signal): Use match function instead of strstr.
33506 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33507 (ret): Remove variable.
33508 (x): Likewise.
33509 (FAIL): Remove macro.
33510 (NO_INLINE): Likewise.
33511 (handle_signal): Use match function instead of strstr.
33512
4858fa2a
RM
335132013-01-23 Roland McGrath <roland@hack.frob.com>
33514
33515 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33516
bae8e7f5
DM
335172013-01-23 David S. Miller <davem@davemloft.net>
33518
33519 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33520 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33521 argument of CAS if possible.
33522 * sysdeps/sparc/sparc64/bits/atomic.h
33523 (__arch_compare_and_exchange_val_32_acq): Likewise.
33524 (__arch_compare_and_exchange_val_64_acq): Likewise.
33525
9cbbc4ae
PT
335262013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33527
33528 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33529 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33530 Include <limits.h>.
67b3f58c 33531 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33532
5655a0b5
AC
335332013-01-23 Adam Conrad <adconrad@0c3.net>
33534
33535 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33536 (LDFLAGS-tst-array5): Likewise.
33537
052aff95
JM
335382013-01-23 Joseph Myers <joseph@codesourcery.com>
33539
33540 [BZ #15036]
33541 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33542 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33543 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33544 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33545
7c1e01aa
DM
335462013-01-21 David S. Miller <davem@davemloft.net>
33547
33548 * sysdeps/sparc/backtrace.c: New file.
33549 * sysdeps/sparc/sparc32/backtrace.h: New file.
33550 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33551 * sysdeps/sparc/sparc64/backtrace.h: New file.
33552 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33553 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33554 -funwind-tables.
33555
ab087e0a
AS
335562013-01-21 Andreas Schwab <schwab@suse.de>
33557
33558 [BZ #15020]
33559 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33560 closed its stdout.
33561
ed689c2f
AS
335622013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33563
33564 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33565 "mpa2.h".
33566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33567
31d470ac
JM
335682013-01-18 Joseph Myers <joseph@codesourcery.com>
33569 Mark Mitchell <mark@codesourcery.com>
33570 Tom de Vries <tom@codesourcery.com>
33571 Paul Pluzhnikov <ppluzhnikov@google.com>
33572
33573 * debug/tst-backtrace2.c: New file.
33574 * debug/tst-backtrace3.c: Likewise.
33575 * debug/tst-backtrace4.c: Likewise.
33576 * debug/tst-backtrace5.c: Likewise.
33577 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33578 (CFLAGS-tst-backtrace3.c): Likewise.
33579 (CFLAGS-tst-backtrace4.c): Likewise.
33580 (CFLAGS-tst-backtrace5.c): Likewise.
33581 (LDFLAGS-tst-backtrace2): Likewise.
33582 (LDFLAGS-tst-backtrace3): Likewise.
33583 (LDFLAGS-tst-backtrace4): Likewise.
33584 (LDFLAGS-tst-backtrace5): Likewise.
33585 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33586 tst-backtrace4 and tst-backtrace5.
33587
90567f30 335882013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33589 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33590
33591 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33592 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33593 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33594 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33596 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33597 "+r" and remove output regs list as redundant. Add explicit inline
33598 asm to specify register of return val to work around compiler codegen
33599 bug. Remove (int) cast on return value. Add return type parameter to
33600 use in macro so that this macro does not truncate return value for
33601 64-bit values.
33602 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33603 pass to INTERNAL_VSYSCALL_NCS.
33604 (INLINE_VSYSCALL): Add 'long int' as return type to
33605 INTERNAL_VSYSCALL_NCS macro invocation.
33606 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33607 INTERNAL_VSYSCALL_NCS macro invocation.
33608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33609
d3b9ea61
SP
336102013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33611
0b57daeb
SP
33612 [BZ #14496]
33613 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33614 Fix application of SIMD FP exception mask.
33615
caa99d06
SP
33616 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33617 mp_no from a power of two.
33618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33619 __mpexp_twomm1. Use __pow_mp.
33620
d3b9ea61
SP
33621 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33622 multiplication.
33623
1dbaee3c
DM
336242013-01-17 David S. Miller <davem@davemloft.net>
33625
33626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33627
728d7b43
JM
336282013-01-17 Joseph Myers <joseph@codesourcery.com>
33629
33630 [BZ #15023]
33631 * include/complex.h: Condition contents on [!_COMPLEX_H].
33632 (__kernel_casinhf): New prototype.
33633 (__kernel_casinh): Likewise.
33634 (__kernel_casinhl): Likewise.
33635 * math/Makefile (libm_calls): Add k_casinh.
33636 * math/k_casinh.c: New file.
33637 * math/k_casinhf.c: Likewise.
33638 * math/k_casinhl.c: Likewise.
33639 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33640 finite nonzero arguments.
33641 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33642 finite nonzero arguments.
33643 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33644 finite nonzero arguments.
33645 * math/s_casinh.c: Do not include <float.h>.
33646 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33647 * math/s_casinhf.c: Do not include <float.h>.
33648 (__casinhf): Move code for finite nonzero arguments to
33649 k_casinhf.c.
33650 * math/s_casinhl.c: Do not include <float.h>.
33651 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33652 redefine.
33653 (__casinhl): Move code for finite nonzero arguments to
33654 k_casinhl.c.
33655 * math/libm-test.inc (cacos_test): Add more tests.
33656 * sysdeps/i386/fpu/libm-test-ulps: Update.
33657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33658
2a26ef3a
PT
336592013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33660
33661 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33662 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33663 [!HAVE_MREMAP]: Remove [defined linux] case.
33664 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33665
a897655d
SP
336662013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33667
33668 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33669
881ebe89 336702013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33671
33672 * elf/elf.h (R_386_SIZE32): New relocation.
33673 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33674 R_386_SIZE32.
33675 (elf_machine_rela): Likewise.
33676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33677 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33678
59981e9b
JM
336792013-01-17 Joseph Myers <joseph@codesourcery.com>
33680
33681 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33682 (FP_FAST_FMA): Do not define.
33683 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33684 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33685 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33686 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33687 !_SOFT_FLOAT]: Likewise.
33688 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33689 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33690 value.
33691 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33692 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33693 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33694 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33695 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33696 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33697 file.
33698
cfa8054f
AS
336992013-01-16 Andreas Schwab <schwab@suse.de>
33700
33701 [BZ #14327]
33702 * include/stdlib.h (__mktemp): Add declaration.
33703 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33704 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33705
dd930cc5
SP
337062013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33707
881ebe89
SP
33708 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33709 definitions.
33710 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33711 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33712 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33713 definitions here.
33714 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33715 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33716 definitions.
33717 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33718 and ONE.
33719 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33720 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33721 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33722 definitions.
33723 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33724 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33725 definitions.
33726 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33727
dd930cc5
SP
33728 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33729
c19a9f89
DM
337302013-01-15 David S. Miller <davem@davemloft.net>
33731
1aa61767
DM
33732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33733 trunc{,f} to libm-sysdep_routes.
33734 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33736 file.
33737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33739 file.
33740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33741 file.
33742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33744 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33745 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33746 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33747 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33748 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33749 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33750
c42d5e98
DM
33751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33752 nearbyint{,f} to libm-sysdep_routes.
33753 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33755 New file.
33756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33757 file.
33758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33759 New file.
33760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33761 file.
33762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33764 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33765 file.
33766 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33767 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33768 file.
33769 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33770 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33771 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33772
c19a9f89
DM
33773 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33774 libc_feholdexcept and libc_fesetenv.
33775
357679d2
MF
337762013-01-15 Mike Frysinger <vapier@gentoo.org>
33777
33778 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33779
65a82e3d
DM
337802013-01-14 David S. Miller <davem@davemloft.net>
33781
8b954ab9
DM
33782 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33783 (SPARC_ASM_VIS2_IFUNC): Likewise.
33784 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33786 use of 'siam' instruction.
33787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33788 Likewise.
33789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33790 Likewise.
33791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33792 Likewise.
33793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33798 file.
33799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33800 file.
33801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33802 file.
33803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33804 file.
33805 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33810 new VIS2 routines.
33811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33814 Likewise.
33815 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33820 routines to libm-sysdep_routines.
33821 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33822
65a82e3d
DM
33823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33824 fdim/fdimf to libm-sysdep_routines.
33825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33826 file.
33827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33829 file.
33830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33833 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33834 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33835 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33836 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33837
e34ab705
SP
338382013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33839
2a91b573
SP
33840 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33841 to optimize copies.
33842
1066a534
SP
33843 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33846
e34ab705
SP
33847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33848 local variable MPTWO.
33849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33850 Likewise.
33851
aba5e596
MF
338522013-01-13 Mike Frysinger <vapier@gentoo.org>
33853
33854 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33855 GLOB_NOESCAPE.
33856
e557e9e5
MF
338572013-01-13 Mike Frysinger <vapier@gentoo.org>
33858
33859 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33860
0428cec9
MF
338612013-01-13 Mike Frysinger <vapier@gentoo.org>
33862
33863 * manual/pattern.texi (glob_t): Document gl_flags.
33864 (glob64_t): Likewise.
33865
8794a964
DM
338662013-01-11 David S. Miller <davem@davemloft.net>
33867
66438c3f
RM
33868 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33869 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33870 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33871 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33872 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33873 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33874 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33875 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33876 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33877 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33878 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33879 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33880 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33881
4ae4244d
DM
33882 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33883 sparc V9 rather than using V8 code.
33884 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33885 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33886
8794a964
DM
33887 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33888 Move to...
33889 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33890 Here.
33891
6270516e
RM
338922013-01-11 Roland McGrath <roland@hack.frob.com>
33893
33894 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33895 not in the main loop.
33896 * configure: Regenerated.
33897
6a57d931
JM
338982013-01-11 Joseph Myers <joseph@codesourcery.com>
33899
33900 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33901 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33902 to just #else.
33903 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33904 [!__GLIBC_HAVE_LONG_LONG] case.
33905 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33906 condition to just #else.
33907 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33908 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33909 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33910 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33911 unconditional.
33912 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33913 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33914 #elif condition to just #else.
33915 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33916 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33917 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33918 #elif condition to just #else.
33919
0e8529e9
SE
339202013-01-11 Steve Ellcey <sellcey@mips.com>
33921
33922 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33923 (EF_MIPS_ARCH_64): Fix value.
33924 (EF_MIPS_ARCH_32R2): New.
33925 (EF_MIPS_ARCH_64R2): New.
33926
740b3dbe
L
339272013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33928
33929 * Makeconfig (+link-pie-before-libc): New.
33930 (+link-pie-after-libc): Likewise.
33931 (+link-pie-tests): Likewise.
33932 (+link-pie): Rewritten.
33933 (link-before-libc): Remove $(config-LDFLAGS).
33934 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33935 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33936 (config-LDFLAGS): Renamed to ...
33937 (rtld-LDFLAGS): This.
33938 (rtld-tests-LDFLAGS): New macro.
33939 (link-libc-rpath-link): Likewise.
33940 (link-libc-tests-rpath-link): Likewise.
33941 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33942 (link-libc): Prepand $(link-libc-rpath-link).
33943 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33944 (test-program-prefix): New macro.
33945 (test-via-rtld-prefix): Likewise.
33946 (test-program-cmd): Likewise.
33947 (host-test-program-cmd): Likewise.
33948 * Makefile ($(common-objpfx)testrun.sh): Replace
33949 $(run-program-prefix) with $(test-program-prefix).
33950 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33951 $(rtld-LDFLAGS).
33952 ($(common-objpfx)shlib.lds): Likewise.
33953 (build-module-helper): Likewise.
33954 ($(common-objpfx)format.lds): Likewise.
33955 * Rules (binaries-pie-tests): New.
33956 (binaries-pie-notests): Likewise.
33957 (binaries-pie): Rewritten.
33958 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33959 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33960 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33961 (make-test-out): Replace $(host-built-program-cmd) with
33962 $(host-test-program-cmd).
33963 * config.make.in (build-hardcoded-path-in-tests): New variable.
33964 * configure.in (--enable-hardcoded-path-in-tests): New configure
33965 option.
33966 (hardcoded_path_in_tests): New AC_SUBST.
33967 * configure: Regenerated.
33968 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33969 $(built-program-cmd) with $(test-program-cmd).
33970 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33971 (test_program_cmd): This.
33972 * elf/Makefile ($(objpfx)order.out): Run test with
33973 $(test-program-prefix).
33974 ($(objpfx)order2.out): Likewise.
33975 ($(objpfx)tst-initorder.out): Likewise.
33976 ($(objpfx)tst-initorder2.out): Likewise.
33977 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33978 $(test-program-cmd).
33979 ($(objpfx)tst-array1-static.out): Likewise.
33980 ($(objpfx)tst-array2.out): Likewise.
33981 ($(objpfx)tst-array3.out): Likewise.
33982 ($(objpfx)tst-array4.out): Likewise.
33983 ($(objpfx)tst-array5.out): Likewise.
33984 ($(objpfx)tst-array5-static.out): Likewise.
33985 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33986 $(test-program-cmd).
33987 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33988 $(run-program-prefix) with $(test-program-prefix).
33989 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33990 (test_program_prefix): This.
33991 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33992 $(run-program-prefix) with $(test-program-prefix).
33993 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33994 (test_program_prefix): This.
33995 * iconvdata/tst-tables.sh: Likewise.
33996 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33997 $(run-program-prefix) with $(test-program-prefix).
33998 ($(objpfx)tst-translit.out): Likewise.
33999 ($(objpfx)tst-gettext2.out): Likewise.
34000 ($(objpfx)tst-gettext4.out): Likewise.
34001 ($(objpfx)tst-gettext6.out): Likewise.
34002 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34003 (test_program_prefix): This.
34004 * intl/tst-gettext2.sh: Likewise.
34005 * intl/tst-gettext4.sh Likewise.
34006 * intl/tst-gettext6.sh: Likewise.
34007 * intl/tst-translit.sh: Likewise.
34008 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34009 with $(test-program-cmd).
34010 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34011 $(run-program-prefix) with $(test-program-prefix).
34012 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34013 (test_program_prefix): This.
34014 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34015 $(run-program-prefix) with $(test-program-prefix).
34016 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34017 (test_program_prefix): This.
34018 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34019 * posix/Makefile ($(objpfx)globtest.out): Replace
34020 $(run-via-rtld-prefix) and $(test-wrapper) with
34021 $(test-program-prefix) and $(test-via-rtld-prefix).
34022 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34023 $(test-program-prefix).
34024 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34025 $(host-test-program-cmd).
34026 (tst-spawn-ARGS): Likewise.
34027 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34028 $(test-program-prefix).
34029 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34030 (test_via_rtld_prefix): This.
34031 (test_wrapper): Renamed to ...
34032 (test_program_prefix): This.
34033 (run_program_prefix): Replaced by test_program_prefix.
34034 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34035 (test_program_prefix): This.
34036 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34037 with $(host-test-program-cmd).
34038 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34039 $(run-program-prefix) with $(test-program-prefix).
34040 ($(objpfx)tst-printf.out): Likewise.
34041 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34042 $(test-program-cmd).
34043 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34044 (test_program_prefix): This.
34045 * stdio-common/tst-unbputc.sh: Likewise.
34046 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34047 $(run-program-prefix) with $(test-program-prefix).
34048 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34049 (test_program_prefix): This.
34050 * string/Makefile ($(objpfx)tst-svc.out): Replace
34051 $(built-program-cmd) with $(test-program-cmd).
34052
c6fe55cf
AJ
340532013-01-11 Andreas Jaeger <aj@suse.de>
34054
34055 [BZ #15003]
34056 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34057 value. Sync with Linux 3.7.
34058
9e6919c8
DM
340592013-01-10 David S. Miller <davem@davemloft.net>
34060
34061 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34062 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34063 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34064
1c9f1a02
RM
340652013-01-10 Roland McGrath <roland@hack.frob.com>
34066
34067 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34068 never set.
34069 * configure: Regenerated.
34070
b9de2dde
DM
340712013-01-10 David S. Miller <davem@davemloft.net>
34072
34073 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34074 sparc V9 rather than using V8 code.
34075 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34076 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34077
e7f68ef4
RM
340782013-01-10 Roland McGrath <roland@hack.frob.com>
34079
34080 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34081 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34082 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34083 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34084 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34085 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34086 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34087 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34088 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34089 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34090 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34091 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34092 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34093 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34094 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34095 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34096 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34097 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34098 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34099 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34100 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34101 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34102 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34103 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34104 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34105 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34106 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34107
5a47cc9c
DM
341082013-01-10 David S. Miller <davem@davemloft.net>
34109
34110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34111
4cf8f209
L
341122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34113
34114 * posix/Makefile (tests-static): New variable.
34115 (tests): Add $(tests-static).
34116 (tst-exec-static-ARGS): New variable.
34117 (tst-spawn-static-ARGS): Likewise.
34118 * posix/tst-exec-static.c: New file.
34119 * posix/tst-spawn-static.c: Likewise.
34120 * posix/tst-exec.c: Support run directly.
34121 * posix/tst-spawn.c: Likewise.
34122
fed0faa1
JM
341232013-01-10 Joseph Myers <joseph@codesourcery.com>
34124
828beb13
JM
34125 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34126 long.
34127 * math/bits/mathcalls.h (llrint): Likewise.
34128 (llround): Likewise.
34129 * stdlib/stdlib.h (struct drand48_data): Likewise.
34130 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34131 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34132 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34133 Likewise.
34134 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34135 Likewise.
34136 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34137 (elf_greg_t): Likewise.
34138 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34139 (__jmp_buf): Likewise.
34140 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34141 definitions.
34142 (llrint): Likewise, for all definitions.
34143 (llrintl): Likewise.
34144
fed0faa1
JM
34145 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34146 Remove [__GNUC__] condition.
34147 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34148 condition to just [__USE_ISOC99].
34149 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34150
1a20cb20
L
341512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34152
34153 [BZ #14200]
34154 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34155 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34156 defined.
34157 (_POSIX_V6_ILP32_OFF32): Likewise.
34158 (_XBS5_ILP32_OFF32): Likewise.
34159 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34160 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34161
751b85f7
SP
341622013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34163
7490eb81
SP
34164 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34165
751b85f7
SP
34166 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34167 doubles __mpexp_twomm1. Adjust usage.
34168 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34169 Remove.
34170
988197f0
AS
341712013-01-10 Andreas Schwab <schwab@suse.de>
34172
34173 [BZ #14964]
34174 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34175 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34176
e83d7298
DM
341772013-01-09 David S. Miller <davem@davemloft.net>
34178
034ed64b 34179 [BZ #15003]
57f41c40
AS
34180 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34181 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34182 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34183 (TCP_FASTOPEN): Define.
e83d7298
DM
34184 (tcp_repair_opt): New structure.
34185 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34186 enum values.
57f41c40
AS
34187 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34188 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34189 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
34190 (tcp_cookie_transactions): New structure.
34191
d5e0b9bd
AB
341922013-01-09 Anton Blanchard <anton@samba.org>
34193
34194 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34195 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34196 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34197 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34198
0c07e3ea
JM
341992013-01-09 Joseph Myers <joseph@codesourcery.com>
34200
34201 * include/features.h (__USE_ANSI): Remove.
34202
232f7002
RM
342032013-01-09 Roland McGrath <roland@hack.frob.com>
34204
ad98e30c
RM
34205 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34206
232f7002
RM
34207 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34208
950c99ca
SP
342092013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34210
b5792741
SP
34211 * sysdeps/s390/fpu/libm-test-ulps: Update.
34212
47cf2278
SP
34213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34214
950c99ca
SP
34215 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34216 (__acr): Likewise.
34217 (__cpy): Likewise.
34218 (norm): Likewise.
34219 (denorm): Likewise.
34220 (__mp_dbl): Likewise.
34221 (__dbl_mp): Likewise.
34222 (add_magnitudes): Likewise.
34223 (sub_magnitudes): Likewise.
34224 (__add): Likewise.
34225 (__sub): Likewise.
34226 (__mul): Likewise.
34227 (__inv): Likewise.
34228 (__dvd): Likewise.
34229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34230 (__acr): Likewise.
34231 (__cpy): Likewise.
34232 (norm): Likewise.
34233 (denorm): Likewise.
34234 (__mp_dbl): Likewise.
34235 (__dbl_mp): Likewise.
34236 (add_magnitudes): Likewise.
34237 (sub_magnitudes): Likewise.
34238 (__add): Likewise.
34239 (__sub): Likewise.
34240 (__mul): Likewise.
34241 (__inv): Likewise.
34242 (__dvd): Likewise.
34243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
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
eede9df9
JM
342582013-01-08 Joseph Myers <joseph@codesourcery.com>
34259
34260 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34261 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34262 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34263 2 && __USE_EXTERN_INLINES]: Likewise.
34264
c40ea3d9
AJ
342652013-01-08 Andreas Jaeger <aj@suse.de>
34266
34267 [BZ# 14985]
34268 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34269 Remove.
34270 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34271 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34272
2ccdea26
AB
342732013-01-07 Anton Blanchard <anton@samba.org>
34274
34275 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34276 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34277 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34278 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34279 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34280 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34281 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34282 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34284 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34285 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34286 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34287 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34288 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34289 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34290 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34291 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34292 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34293 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34294 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34295 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34296 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34297 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34298 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34299 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34300 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34301 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34302 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34303 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34304 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34305 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34306 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34307 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34308 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34309 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34310 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34311 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34312 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34313 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34314 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34315 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34316 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34317 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34318
a9708fed
JM
343192013-01-07 Joseph Myers <joseph@codesourcery.com>
34320
375607b9
JM
34321 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34322 (__MALLOC_PMT): Likewise.
34323 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34324 [__GNUC__], only on [_LIBC].
34325 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34326 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34327 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34328 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34329 forward declaration.
34330 (realloc_hook_ini): Likewise.
34331 (memalign_hook_ini): Likewise.
34332 (__libc_memalign): Do not use __MALLOC_PMT in variable
34333 declaration.
34334 (__libc_valloc): Likewise.
34335 (__libc_pvalloc): Likewise.
34336 (__libc_calloc): Likewise.
34337 (__posix_memalign): Likewise.
34338
a9708fed
JM
34339 [BZ #14996]
34340 * math/s_casinh.c: Include <float.h>.
34341 (__casinh): Do not do computation with squaring and square root
34342 for large arguments.
34343 * math/s_casinhf.c: Include <float.h>.
34344 (__casinhf): Do not do computation with squaring and square root
34345 for large arguments.
34346 * math/s_casinhl.c: Include <float.h>.
34347 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34348 (__casinhl): Do not do computation with squaring and square root
34349 for large arguments.
34350 * math/libm-test.inc (casin_test): Add more tests.
34351 (casinh_test): Likewise.
34352 * sysdeps/i386/fpu/libm-test-ulps: Update.
34353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34354
afec409a
L
343552013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34356
34357 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34358 (__x86_64_raw_data_cache_size): Likewise.
34359 (__x86_64_data_cache_size_half): Likewise.
34360 (__x86_64_raw_data_cache_size_half): Likewise.
34361 (__x86_64_shared_cache_size): Likewise.
34362 (__x86_64_raw_shared_cache_size): Likewise.
34363 (__x86_64_shared_cache_size_half): Likewise.
34364 (__x86_64_raw_shared_cache_size_half): Likewise.
34365 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34366 to ...
34367 (__x86_data_cache_size): This.
34368 (__x86_64_raw_data_cache_size): Renamed to ...
34369 (__x86_raw_data_cache_size): This.
34370 (__x86_64_data_cache_size_half): Renamed to ...
34371 (__x86_data_cache_size_half): This.
34372 (__x86_64_raw_data_cache_size_half): Renamed to ...
34373 (__x86_raw_data_cache_size_half): This.
34374 (__x86_64_shared_cache_size): Renamed to ...
34375 (__x86_shared_cache_size): This.
34376 (__x86_64_raw_shared_cache_size): Renamed to ...
34377 (__x86_raw_shared_cache_size): This.
34378 (__x86_64_shared_cache_size_half): Renamed to ...
34379 (__x86_shared_cache_size_half): This.
34380 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34381 (__x86_raw_shared_cache_size_half): This.
34382 * sysdeps/x86_64/memcpy.S: Updated.
34383 * sysdeps/x86_64/memset.S: Likewise.
34384 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34385 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34386 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34387
0b3986d0
DM
343882013-01-04 David S. Miller <davem@davemloft.net>
34389
34390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34391
e47686e9
AS
343922013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34393
d643bac1
AS
34394 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34395 1 to avoid redefinition warning.
34396 (__USE_GNU): Don't define.
34397 (init_signaling_nan): Protoize.
34398
e47686e9
AS
34399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34400
b18decba
SP
344012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34402
fffb407f
SP
34403 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34405 (__cpymn): Likewise.
34406 (norm): Remove commented code.
34407 (denorm): Likewise.
34408 (__mp_dbl): Likewise.
34409 (__inv): Likewise.
34410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34411 (__cpymn): Likewise.
34412 (norm): Remove commented code.
34413 (denorm): Likewise.
34414 (__mp_dbl): Likewise.
34415 (__inv): Likewise.
34416
b18decba
SP
34417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34418 mp_no value for 1.0 and 2.0.
34419 (norm): Use RADIXI instead of radixi.d.
34420 (denorm): Likewise.
34421 (__mul): Use 0.0 instead of zero.d.
34422 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34423 mp_no value for 1.0 and 2.0.
34424 (norm): Use RADIXI instead of radixi.d.
34425 (denorm): Likewise.
34426 (__mul): Use 0.0 instead of zero.d.
34427
cdc1c96f
JM
344282013-01-04 Joseph Myers <joseph@codesourcery.com>
34429
34430 [BZ #14994]
34431 * math/s_casinh.c (__casinh): Reduce finite argument to first
34432 quadrant then set signs of results at the end.
34433 * math/s_casinhf.c (__casinhf): Likewise.
34434 * math/s_casinhl.c (__casinhl): Likewise.
34435 * math/libm-test.inc (casin_test): Add more tests.
34436 (casinh_test): Likewise.
34437 * sysdeps/i386/fpu/libm-test-ulps: Update.
34438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34439
302913e1
SP
344402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34441
6420d207
SP
34442 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34443
a9e48ab4
SP
34444 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34445
b7837264
SP
34446 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34447 declarations.
34448 (denorm): Likewise.
34449 (__mp_dbl): Likewise.
34450 (__inv): Likewise.
34451
f8af25d2
SP
34452 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34453 and adjust the header comment.
34454
302913e1
SP
34455 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34456 variable name from declaration.
34457
5d7dd1ca
L
344582013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34459
34460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34461 Initialize COMMON_CPUID_INDEX_7 element.
34462 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34463 (CPUID_RTM): Likewise.
34464 (HAS_RTM): Likewise.
34465 (COMMON_CPUID_INDEX_7): New enum.
34466
2f5f40f4
AS
344672013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34468
34469 [BZ #14981]
34470 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34471 size is zero, record memory as freed.
34472
4056f4a0
AJ
344732013-01-03 Andreas Jaeger <aj@suse.de>
34474
34475 * po/ia.po: Add new Interlingua translation.
34476
ab15736f 344772012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34478
34479 * locale/programs/localedef.c: Fix description of '--posix' flag.
34480
568035b7
JM
344812013-01-02 Joseph Myers <joseph@codesourcery.com>
34482
e6898b8d
JM
34483 * NEWS: Update dates in second copyright notice.
34484 * README: Update copyright dates in example.
34485 * manual/libc.texinfo: Update copyright dates.
34486 * scripts/test-installation.pl: Update copyright date in --version
34487 output.
34488
0e2f9562
JM
34489 * hurd/ctty-input.c: Fix copyright notice formatting.
34490 * hurd/ctty-output.c: Likewise.
34491 * hurd/dtable.c: Likewise.
34492 * hurd/hurd-raise.c: Likewise.
34493 * hurd/hurdprio.c: Likewise.
34494 * hurd/msgportdemux.c: Likewise.
34495 * misc/sys/file.h: Likewise.
34496 * misc/sys/ioctl.h: Likewise.
34497 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34498 * sysdeps/mach/hurd/chdir.c: Likewise.
34499 * sysdeps/mach/hurd/fchdir.c: Likewise.
34500 * sysdeps/mach/hurd/rename.c: Likewise.
34501 * sysdeps/mach/hurd/rmdir.c: Likewise.
34502 * sysdeps/mach/hurd/seekdir.c: Likewise.
34503 * sysdeps/mach/hurd/setsid.c: Likewise.
34504 * sysdeps/posix/wait3.c: Likewise.
34505
568035b7
JM
34506 * All files with FSF copyright notices: Update copyright dates
34507 using scripts/update-copyrights.
34508 * intl/plural.c: Regenerated.
34509 * locale/programs/charmap-kw.h: Likewise.
34510 * locale/programs/locfile-kw.h: Likewise.
34511
da08f647
SP
345122013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34513
0f5477af
SP
34514 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34515 four values.
34516
44e0d4c2
SP
34517 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34518 calculation loop and add branch prediction.
34519
4d55b4e5
SP
34520 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34521 check access beyond bounds of m1np.
34522
da08f647
SP
34523 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34524 MPTWO.
34525 (__inv): Remove local variable MPTWO to use the global
34526 constant.
34527 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34528 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34529 variable MPTWO.
34530 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34531 MP3HALFS static const.
34532
8e051029
DM
345332013-01-01 David S. Miller <davem@davemloft.net>
34534
34535 * po/ca.po: Update from translation team.
34536
f4cf5f2d
JM
345372013-01-01 Joseph Myers <joseph@codesourcery.com>
34538
34539 * scripts/update-copyrights: New file.
34540 * Makeconfig: Reformat copyright notice.
34541 * ctype/ctype.h: Likewise.
34542 * debug/swprintf_chk.c: Likewise.
34543 * elf/dl-cache.c: Likewise.
34544 * elf/dl-debug.c: Likewise.
34545 * elf/dl-object.c: Likewise.
34546 * grp/initgroups.c: Likewise.
34547 * hurd/Makefile: Likewise.
34548 * hurd/hurd/signal.h: Likewise.
34549 * hurd/hurdfault.c: Likewise.
34550 * hurd/hurdioctl.c: Likewise.
34551 * hurd/hurdlookup.c: Likewise.
34552 * hurd/intr-msg.c: Likewise.
34553 * iconv/gconv_open.c: Likewise.
34554 * libio/swprintf.c: Likewise.
34555 * locale/lc-ctype.c: Likewise.
34556 * locale/nl_langinfo.c: Likewise.
34557 * mach/Machrules: Likewise.
34558 * mach/Makefile: Likewise.
34559 * malloc/obstack.h: Likewise.
34560 * manual/Makefile: Likewise.
34561 * manual/tsort.awk: Likewise.
34562 * misc/bits/stab.def: Likewise.
34563 * nis/nis_print_group_entry.c: Likewise.
34564 * nis/nis_table.c: Likewise.
34565 * nis/nss_compat/compat-pwd.c: Likewise.
34566 * nis/nss_compat/compat-spwd.c: Likewise.
34567 * po/Makefile: Likewise.
34568 * posix/fnmatch.c: Likewise.
34569 * posix/regex.h: Likewise.
34570 * resolv/Makefile: Likewise.
34571 * resolv/nss_dns/dns-network.c: Likewise.
34572 * resolv/res_hconf.c: Likewise.
34573 * scripts/gen-sorted.awk: Likewise.
34574 * soft-fp/soft-fp.h: Likewise.
34575 * stdio-common/printf.h: Likewise.
34576 * stdlib/monetary.h: Likewise.
34577 * stdlib/random.c: Likewise.
34578 * stdlib/random_r.c: Likewise.
34579 * sysdeps/generic/Makefile: Likewise.
34580 * sysdeps/gnu/Makefile: Likewise.
34581 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34582 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34583 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34584 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34585 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34586 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34587 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34588 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34589 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34590 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34591 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34592 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34593 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34594 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34595 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34596 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34597 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34598 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34599 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34600 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34601 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34602 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34603 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34604 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34605 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34606 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34607 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34608 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34609 * sysdeps/mach/hurd/errnos.awk: Likewise.
34610 * sysdeps/mach/hurd/fork.c: Likewise.
34611 * sysdeps/mach/hurd/getcwd.c: Likewise.
34612 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34613 * sysdeps/mach/hurd/mmap.c: Likewise.
34614 * sysdeps/mach/hurd/utimes.c: Likewise.
34615 * sysdeps/mach/hurd/xmknod.c: Likewise.
34616 * sysdeps/posix/profil.c: Likewise.
34617 * sysdeps/posix/readdir_r.c: Likewise.
34618 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34619 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34620 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34621 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34623 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34624 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34625 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34627 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34628 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34629 * sysdeps/pthread/lio_listio.c: Likewise.
34630 * sysdeps/sparc/dl-procinfo.h: Likewise.
34631 * sysdeps/unix/i386/sysdep.S: Likewise.
34632 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34633 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34634 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34635 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34637 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34638 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34639 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34640 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34641 * sysdeps/wordsize-32/divdi3.c: Likewise.
34642 * time/sys/time.h: Likewise.
34643 * wcsmbs/Makefile: Likewise.
34644
0549fbba
DM
346452013-01-01 David S. Miller <davem@davemloft.net>
34646
a141f1a7
DM
34647 * po/fr.po: Update from translation team.
34648
0549fbba
DM
34649 * catgets/gencat.c: Update copyright year.
34650 * csu/version.c: Likewise.
34651 * debug/catchsegv.sh: Likewise.
34652 * debug/pcprofiledump.c: Likewise.
34653 * debug/xtrace.sh: Likewise.
34654 * elf/ldconfig.c: Likewise.
34655 * elf/ldd.bash.in: Likewise.
34656 * elf/pldd.c: Likewise.
34657 * elf/sotruss.ksh: Likewise.
34658 * elf/sprof.c: Likewise.
34659 * iconv/iconv_prog.c: Likewise.
34660 * iconv/iconvconfig.c: Likewise.
34661 * locale/programs/locale.c: Likewise.
34662 * locale/programs/localedef.c: Likewise.
34663 * login/programs/pt_chown.c: Likewise.
34664 * malloc/memusage.sh: Likewise.
34665 * malloc/memusagestat.c: Likewise.
34666 * malloc/mtrace.pl: Likewise.
34667 * nscd/nscd.c: Likewise.
34668 * nss/getent.c: Likewise.
34669 * nss/makedb.c: Likewise.
34670 * posix/getconf.c: Likewise.
34671
18ea052c
SP
346722012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34673
34674 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34675 numbers.
34676
9c89fca6
MF
346772012-12-30 Mike Frysinger <vapier@gentoo.org>
34678
34679 * math/bits/mathcalls.h (modf): Use __nonnull.
34680
085ec079
SP
346812012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34682
34683 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34684 (split): Use macro CN instead of the bare value.
34685 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34686 could be used.
34687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34688 instead of the bare value.
34689 (power1): Likewise.
34690
6d9f97e1
SP
346912012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34692
d63f73be
SP
34693 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34694 __ATAN_TWOM.
34695 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34696
6d9f97e1
SP
34697 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34698 their values.
34699 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34700 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34701 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34702 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34703
4c4febf5
AJ
347042012-12-28 Andreas Jaeger <aj@suse.de>
34705
af5843ef
AJ
34706 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34707 values are from Linux 3.7.
34708
4c4febf5
AJ
34709 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34710 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34711
99136f82
SP
347122012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34713
2f216c3c 34714 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34715 TRUE case.
34716
99136f82
SP
34717 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34718 (norm): Likewise.
34719 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34720 variables with preprocessor constants.
34721 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34722 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34723 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34724
7fffbdff
BH
347252012-12-27 Bruno Haible <bruno@clisp.org>
34726
34727 [BZ #14317]
34728 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34729 only if needed.
34730
b76eb5f0
SP
347312012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34732
31a7fe5c
SP
34733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34734 and use variable directly.
34735 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34736
b76eb5f0
SP
34737 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34738 MPONE.
34739 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34740 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34741 variable MPONE.
34742 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34743 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34744 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34745 include directive. Remove local variable MPONE.
34746 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34747 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34748 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34749
2c8bfe7d
DM
347502012-12-25 David S. Miller <davem@davemloft.net>
34751
34752 * version.h (RELEASE): Set to "development".
34753 (VERSION): Set to "2.17.90".
34754 * NEWS: Add 2.18 section.
34755
147d03b0
DM
347562012-12-21 David S. Miller <davem@davemloft.net>
34757
34758 * po/hr.po: Update from translation team.
34759
a8ebb2b9
AK
347602012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34761
34762 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34763
95b4f1b6
SE
347642012-12-19 Steve Ellcey <sellcey@mips.com>
34765
b2d94007 34766 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 34767
cedb2a90
MS
347682012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34769
34770 * manual/contrib.texi (Contributors): Spelling correction.
34771
bbf527d6
DM
347722012-12-15 David S. Miller <davem@davemloft.net>
34773
34774 * po/ru.po: Update from translation team.
34775
bc38c906
DM
347762012-12-13 David S. Miller <davem@davemloft.net>
34777
85429b1a
DM
34778 * NEWS: Mention IFUNC testsuite enhancements.
34779
d283e353
DM
34780 * po/pl.po: Update from translation team.
34781 * po/bg.po: Likewise.
34782
bc38c906
DM
34783 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34784 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34785
a181b0d7
DM
347862012-12-11 David S. Miller <davem@davemloft.net>
34787
4641d57e
DM
34788 * po/sv.po: Update from translation team.
34789
f7bc6495
DM
34790 * po/vi.po: Update from translation team.
34791
6fc9048f
DM
34792 * po/cs.po: Update from translation team.
34793
a181b0d7
DM
34794 * po/de.po: Update from translation team.
34795 * po/eo.po: Likewise.
34796 * po/nl.po: Likewise.
34797
f70bfe80
SP
347982012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34799
3c8b4190
SP
34800 [BZ #14246]
34801 * manual/argp.texi (Argp Helper Functions): Move node to follow
34802 Argp Parsing State.
34803
f70bfe80
SP
34804 [BZ #14872]
34805 * manual/conf.texi (Limits on File System Capacity): Mention if
34806 terminating null is included in the max size.
34807
188f0adf
AJ
348082012-12-10 Andreas Jaeger <aj@suse.de>
34809
34810 * po/cs.po: Update from translation team.
34811
56e7d3ad
SP
348122012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34813
34814 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34815 void pointer and cast to uintptr_t.
34816 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34817 path.
34818 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34819 * sysdeps/s390/s390-64/memset.S: Likewise.
34820
76f2d2ea 348212012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34822
34823 [BZ #14833]
34824 * menual/message.texi (Message Translation): Fix typos.
34825 (Helper programs for gettext): Likewise.
34826
67cbf9a2
AS
348272012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34828
34829 [BZ #14898]
34830 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34831 Change to -1.
34832
682d0e9a
DM
348332012-12-07 David S. Miller <davem@davemloft.net>
34834
34835 * po/libc.pot: Update.
34836
573cd484
RH
348372012-12-07 Richard Henderson <rth@redhat.com>
34838
7e9da188 34839 [BZ #10114]
573cd484
RH
34840 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34841 normal/normal case to before the switch.
34842 (_FP_DIV): Likewise.
34843
e933a943
MF
348442012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34845 Mike Frysinger <vapier@gentoo.org>
34846
34847 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34848 check for __NR_fadvise64_64.
34849
82123268
CM
348502012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34851
34852 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34853 0, not just to plain "0" as a statement.
34854 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34855 with cw.
34856
d9814526
JM
348572012-12-06 Joseph Myers <joseph@codesourcery.com>
34858
34859 * NEWS: Use sourceware.org in Bugzilla URL.
34860
7728c574
SP
348612012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34862
f16946dd
SP
34863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34864 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34865
5704bbcb
SP
34866 * stdio-common/tst-put-error.c (do_test): Add newline to the
34867 padded test to ensure flush.
34868
17aa0516
JL
348692012-12-05 Jeff Law <law@redhat.com>
34870
34871 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34872
363313b5
JM
348732012-12-05 Joseph Myers <joseph@codesourcery.com>
34874
effbd42a
JM
34875 * README: Don't refer to ports add-on as distributed separately.
34876 Mention AArch64 in list of systems supported in the ports add-on.
34877
87600365
JM
34878 * LICENSES: Add more non-FSF copyright and license notices.
34879
a0d7066a
JM
34880 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34881 ((unused)).
34882
66ca5a5b
JM
34883 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34884
363313b5
JM
34885 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34886 10000 as width of padded output.
34887
b37984ad
JM
348882012-12-04 Joseph Myers <joseph@codesourcery.com>
34889
9003570a
JM
34890 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34891
b37984ad
JM
34892 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34893 variable LX with __attribute__ ((unused)).
34894 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34895 Likewise.
34896 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34897 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34898 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34899 with __attribute__ ((unused)).
34900
c8df52ec
DM
349012012-12-04 David S. Miller <davem@abraco.davemloft.net>
34902
34903 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34904
b3b099af
JM
349052012-12-04 Joseph Myers <joseph@codesourcery.com>
34906
c33aa6e3
JM
34907 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34908 (CFLAGS-nldbl-acos.c): New variable.
34909 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34910 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34911 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34912 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34913 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34914 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34915 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34916 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34917 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34918 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34919 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34920 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34921 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34922 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34923 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34924 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34925 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34926 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34927 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34928 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34929 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34930 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34931 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34932 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34933 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34934 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34935 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34936 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34937 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34938 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34939 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34940 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34941 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34942 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34943 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34944 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34945 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34946 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34947 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34948 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34949 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34950 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34951 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34952 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34953 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34954 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34955 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34956 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34957 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34958 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34959 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34960 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34961 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34962 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34963 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34964 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34965 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34966 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34967 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34968 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34969 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34970 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34971 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34972 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34973 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34974 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34975 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34976 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34977 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34978 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34979 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34980 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34981 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34982 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34983 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34984 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34985 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34986 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34987 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34988 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34989 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34990 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34991 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34992 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34993 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34994 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34995 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34996 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34997 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34998 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34999 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35000 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35001 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35002 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35003 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35004 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35005 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35006
20f0018d
JM
35007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35008 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35009
b3b099af
JM
35010 [BZ #14914]
35011 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35012 whole low double instead of just low 47 bits when splitting values
35013 into two parts.
35014
029264d1
AM
350152012-12-03 Allan McRae <allan@archlinux.org>
35016
35017 * manual/stdio.texi (Predefined Printf Handlers): Remove
35018 @hsep and @vsep usage.
35019
c9d6789e
MF
350202012-12-03 Mike Frysinger <vapier@gentoo.org>
35021
35022 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35023 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35024
4b7634a5
JL
350252012-12-03 Jeff Law <law@redhat.com>
35026
35027 * time/sys/time.h (settimeofday): Do not mark TV argument
35028 as __nonnull.
35029
eb6cbd24
MF
350302012-12-01 Mike Frysinger <vapier@gentoo.org>
35031
35032 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35033 when currently writing and seek to current position when not.
35034 * libio/Makefile (tests): Remove bug-fclose1.
35035 * libio/bug-fclose1.c: Delete.
35036
f638872a
JM
350372012-12-01 Joseph Myers <joseph@codesourcery.com>
35038
35039 * manual/arith.texi (feenableexcept): Fix typo.
35040 (fedisableexcept): Likewise.
35041
48085d14
RM
350422012-11-30 Roland McGrath <roland@hack.frob.com>
35043
35044 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35045 second, differently-typed declaration, rather than a cast.
35046
1a538b9f
SP
350472012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35048
35049 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35050 * include/rpc/svc.h: ... here.
35051
d07f2ff1 350522012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
35053
35054 [BZ #13013]
35055 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35056 depending n and resplen2 to catch cases where answer
35057 equals answerp2.
35058
c93ec1f0
CD
350592012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35060
35061 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35062 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35063
37db69de
MF
350642012-11-29 Mike Frysinger <vapier@gentoo.org>
35065
35066 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35067
e10c4e4f
RM
350682012-11-29 Roland McGrath <roland@hack.frob.com>
35069
35070 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35071
2af1b328
JL
350722012-11-28 Jeff Law <law@redhat.com>
35073
35074 [BZ #13761]
35075 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35076 dataset_temporary. Track alloca usage into alloca_used.
35077 If dataset is large allocate and release it via malloc/free.
35078
111db5b1
FW
350792012-06-04 Florian Weimer <fweimer@redhat.com>
35080
f06cc227 35081 [BZ #14197]
111db5b1
FW
35082 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35083
dd694abd
DM
350842012-11-28 David S. Miller <davem@davemloft.net>
35085
35086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35087
9984dd01
JM
350882012-11-28 Joseph Myers <joseph@codesourcery.com>
35089
35090 [BZ #14803]
35091 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35092 of pi/2 rounded to nearest to 64 bits.
35093 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35094 nearest to 64 bits.
35095 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35096 bits.
35097
14bc93a9
JL
350982012-11-28 Jeff Law <law@redhat.com>
35099 Martin Osvald <mosvald@redhat.com>
35100
35101 [BZ #14889]
35102 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35103 * sunrpc/svc.c: Include time.h.
35104 (__svc_accept_failed): New function.
35105 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35106 any reason other than EINTR, call __svc_accept_failed.
35107 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35108 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35109
e3c6aa3a
AS
351102012-11-28 Andreas Schwab <schwab@suse.de>
35111
35112 * scripts/abilist.awk: Also handle indirect functions in .opd
35113 section.
35114
1bead169
JM
351152012-11-28 Joseph Myers <joseph@codesourcery.com>
35116
35117 [BZ #13881]
35118 * sysdeps/x86/fpu/powl_helper.c: New file.
35119 * sysdeps/x86/fpu/Makefile: Likewise.
35120 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35121 (p3): New object.
35122 (__ieee754_powl): Use __powl_helper for finite arguments except
35123 integer exponents below 8.
35124 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35125 (p3): New object.
35126 (__ieee754_powl): Use __powl_helper for finite arguments except
35127 integer exponents below 8.
35128 * math/libm-test.inc (pow_test): Add more tests and enable some
35129 previously disabled tests.
35130 * sysdeps/i386/fpu/libm-test-ulps: Update.
35131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35132
0817d63d
SP
351332012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35134 Carlos O'Donell <carlos_odonell@mentor.com>
35135
35136 * nss/makedb.c (is_prime): Assert that input is odd and greater
35137 than 4. Note that fact in a comment too.
35138 (next_prime): Add 4 to input.
35139
de2fd463
SP
351402012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35141
35142 [BZ #11741]
35143 * libio/Makefile (tests): Add test case tst-fwrite-error.
35144 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35145 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35146 * libio/tst-fwrite-error.c: New test case.
35147
c515fb51
L
351482012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35149
35150 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35151 before casting to void *.
35152 * include/libc-internal.h (__pointer_type): New macro.
35153 (__integer_if_pointer_type_sub): Likewise.
35154 (__integer_if_pointer_type): Likewise.
35155 (cast_to_integer): Likewise.
35156 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35157 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35158 before casting to atomic64_t.
35159 (atomic_exchange_acq): Likewise.
35160 (__arch_exchange_and_add_body): Likewise.
35161 (__arch_add_body): Likewise.
35162 (atomic_add_negative): Likewise.
35163 (atomic_add_zero): Likewise.
35164
4cf77aa9
JM
351652012-11-26 Joseph Myers <joseph@codesourcery.com>
35166
35167 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35168 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35169 (add_fdes): Likewise.
35170 (linear_search_fdes): Likewise.
35171 (binary_search_unencoded_fdes): Likewise.
35172
d260b3b4
AS
351732012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35174
35175 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35176
67060746
AC
351772012-11-24 Adam Conrad <adconrad@0c3.net>
35178
35179 * configure.in: Autodetect C++ header directories.
35180 * configure: Regenerated.
35181
800938a1
MF
351822012-11-23 Mike Frysinger <vapier@gentoo.org>
35183
35184 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35185
4e6e34e6
AS
351862012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35187
35188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35189
7c7feb47
JM
351902012-11-22 Joseph Myers <joseph@codesourcery.com>
35191
7184dcdf
JM
35192 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35193 LDBL_MANT_DIG == 106]: Disable some tests.
35194 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35195 Likewise.
35196 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35197 Likewise.
35198
0a42601f
JM
35199 [BZ #14871]
35200 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35201 input for small inputs. Return +/- pi/2 for large inputs.
35202 * math/libm-test.inc (atan_test): Add more tests.
35203
79c9b9fe
JM
35204 * sysdeps/generic/unwind-dw2-fde-glibc.c
35205 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35206 __attribute__ ((unused)).
35207
c60d3bf2
JM
35208 [BZ #14645]
35209 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35210 x * y if x and y are nonzero and z is zero.
35211
ef1e0867
JM
35212 [BZ #14811]
35213 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35214 nonzero exponents with absolute value below 0x1p-117 to +/-
35215 0x1p-117.
35216
1468ded3
JM
35217 [BZ #14869]
35218 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35219 up arguments below 2**-450, not just those below 2**-500.
35220 * math/libm-test.inc (hypot_test): Add another test.
35221
8e27e3cc
JM
35222 [BZ #14868]
35223 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35224 Return a+b for ratio over 2**120, not 2**60.
35225 * math/libm-test.inc (hypot_test): Add another test.
35226
c9c0279b
JM
35227 * math/libm-test.inc (clog_test): Use
35228 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35229 (clog10_test): Likewise.
35230
7c7feb47
JM
35231 [BZ #6778]
35232 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35233
fff1530e
AS
352342012-11-22 Andreas Schwab <schwab@suse.de>
35235
35236 * sysdeps/i386/fpu/libm-test-ulps: Update.
35237
94558d30
PT
352382012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35239
35240 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35241 printf output with newline.
35242
7e1be741
L
352432012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35244
6bfea974
L
35245 [BZ #14865]
35246 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35247 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35248 -z nodlopen, -z initfirst and -z execstack support.
35249 * configure: Regenerated.
35250
7e1be741
L
35251 * elf/elf.h (DF_1_NODIRECT): New macro.
35252 (DF_1_IGNMULDEF): Likewise.
35253 (DF_1_NOKSYMS): Likewise.
35254 (DF_1_NOHDR): Likewise.
35255 (DF_1_EDITED): Likewise.
35256 (DF_1_NORELOC): Likewise.
35257 (DF_1_SYMINTPOSE): Likewise.
35258 (DF_1_GLOBAUDIT): Likewise.
35259 (DF_1_SINGLETON): Likewise.
35260 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35261 DT_1_SUPPORTED_MASK bits.
35262 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35263
105ce2ce
CD
352642012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35265
35266 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35267
123be9de
TS
352682012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35269
d072f3f7
TS
35270 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35271 macro.
35272
123be9de
TS
35273 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35274 (sendmmsg): Move declarations...
35275 * socket/sys/socket.h: ... here.
35276 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35277 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35278 include it from...
35279 * socket/recvmmsg.c: ... this new file.
35280 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35281 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35282 definition of __sendmmsg hidden.
35283 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35284 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35285 Move ENOSYS stub into and include it from...
35286 * socket/sendmmsg.c: ... this new file.
35287 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35288 (sysdep_routines): Move recvmmsg and sendmmsg...
35289 * socket/Makefile (routines): ... here.
35290 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35291 (GLIBC_PRIVATE): Add __sendmmsg.
35292 * include/sys/socket.h (__sendmmsg): Add declarations.
35293 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35294 sendmmsg.
35295
cf9a5d18
JM
352962012-11-20 Joseph Myers <joseph@codesourcery.com>
35297
35298 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35299 variable I1 with __attribute__ ((unused)).
35300 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35301
ecd4caf9
JM
353022012-11-19 Joseph Myers <joseph@codesourcery.com>
35303
be14d48f
JM
35304 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35305 DUMMY variables with __attribute__ ((unused)).
35306
ecd4caf9
JM
35307 * bits/byteswap.h: Include <bits/types.h>.
35308 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35309
986cab95
PT
353102012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35311
35312 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35313 string_t. Do not manually set errno.
35314 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35315 length with __strnlen. Make sure to both set errno and return it on
35316 failure.
35317
6d33cc9d
DM
353182012-11-19 David S. Miller <davem@davemloft.net>
35319
35320 With help from Joseph Myers.
35321 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35322 very large arguments properly.
35323 * math/libm-test.inc (atan_test): New tests.
35324 (atan2_test): New tests.
35325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35327
ee663277
JM
353282012-11-19 Joseph Myers <joseph@codesourcery.com>
35329
877f2d8e
JM
35330 [BZ #14856]
35331 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35332 Define to 3.
35333
116fc08a
JM
35334 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35335 [POSIX] (EADDRNOTAVAIL): Likewise.
35336 [POSIX] (EAFNOSUPPORT): Likewise.
35337 [POSIX] (EALREADY): Likewise.
35338 [POSIX] (ECONNABORTED): Likewise.
35339 [POSIX] (ECONNREFUSED): Likewise.
35340 [POSIX] (ECONNRESET): Likewise.
35341 [POSIX] (EDESTADDRREQ): Likewise.
35342 [POSIX] (EDQUOT): Likewise.
35343 [POSIX] (EHOSTUNREACH): Likewise.
35344 [POSIX] (EIDRM): Likewise.
35345 [POSIX] (EISCONN): Likewise.
35346 [POSIX] (ELOOP): Likewise.
35347 [POSIX] (EMULTIHOP): Likewise.
35348 [POSIX] (ENETDOWN): Likewise.
35349 [POSIX] (ENETUNREACH): Likewise.
35350 [POSIX] (ENOBUFS): Likewise.
35351 [POSIX] (ENODATA): Likewise.
35352 [POSIX] (ENOLINK): Likewise.
35353 [POSIX] (ENOMSG): Likewise.
35354 [POSIX] (ENOPROTOOPT): Likewise.
35355 [POSIX] (ENOSR): Likewise.
35356 [POSIX] (ENOSTR): Likewise.
35357 [POSIX] (ENOTCONN): Likewise.
35358 [POSIX] (ENOTSOCK): Likewise.
35359 [POSIX] (EOPNOTSUPP): Likewise.
35360 [POSIX] (EOVERFLOW): Likewise.
35361 [POSIX] (EPROTO): Likewise.
35362 [POSIX] (EPROTONOSUPPORT): Likewise.
35363 [POSIX] (EPROTOTYPE): Likewise.
35364 [POSIX] (ESTALE): Likewise.
35365 [POSIX] (ETIME): Likewise.
35366 [POSIX] (ETXTBSY): Likewise.
35367 [POSIX] (EWOULDBLOCK): Likewise.
35368 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35369 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35370 [POSIX] (SEEK_CUR): Likewise.
35371 [POSIX] (SEEK_END): Likewise.
35372 [POSIX || UNIX98] (mode_t): Do not require.
35373 [POSIX] (off_t): Likewise.
35374 [POSIX] (pid_t): Likewise.
35375 [POSIX] (sys/stat.h): Do not allow header.
35376 [POSIX] (unistd.h): Likewise.
35377 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35378 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35379 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35380 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35381 require.
35382 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35383 sigevent): Specify elements.
35384 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35385 entry.
35386 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35387 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35388
a483863f
JM
35389 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35390 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35391 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35392 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35393 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35394 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35395 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35396 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35397 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35398 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35399 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35400 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35401 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35402 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35403 Likewise.
35404 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35405 Likewise.
35406 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35407 Likewise.
35408 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35409 Likewise.
35410 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35411 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35412 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35413 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35414 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35415 Specify lower bound on value.
35416 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35417 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35418 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35419 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35420 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35421 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35422 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35423 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35424 value.
35425 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35426 as optional.
35427 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35428 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35429 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35430 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35431 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35432 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35433 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35434 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35435 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35436 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35437 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35438 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35439 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35440 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35441 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35442 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35443 entry.
35444 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35445 optional.
35446 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35447 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35448 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35449 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35450 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35451 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35452 Likewise.
35453 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35454 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35455 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35456 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35457 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35458 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35459 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35460 as optional.
35461 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35462 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35463 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35464 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35465 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35466 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35467 specify as optional.
35468 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35469 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35470 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35471 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35472 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35473 [XPG3] (NL_LANGMAX): Likewise.
35474 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35475 [POSIX || XPG3] (NL_NMAX): Likewise.
35476 [POSIX || XPG3] (NL_SETMAX): Likewise.
35477 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35478 [XPG3] (NZERO): Likewise.
35479 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35480 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35481 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35482 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35483 (REG_ERANGE): Expect.
35484 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35485 optional-constant.
35486 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35487 Use (void) in prototype.
35488 [POSIX] (*_t): Allow.
35489 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35490 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35491 (WRDE_BADVAL): Expect.
35492
5ba924e3
JM
35493 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35494 expect.
35495 [XPG3 || XPG4] (O_RSYNC): Likewise.
35496 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35497 Likewise.
35498 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35499 [XPG3 || XPG4] (sigqueue): Likewise.
35500 [XPG3 || XPG4] (sigtimedwait): Likewise.
35501 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35502 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35503 [XPG3 || XPG4] (vsnprintf): Likewise.
35504 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35505 Likewise.
35506 [XPG3 || XPG4] (blksize_t): Likewise.
35507 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35508 Likewise.
35509 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35510 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35511 [XPG3 || XPG4] (struct itimerspec): Likewise.
35512 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35513 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35514 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35515 [XPG3 || XPG4] (clockid_t): Likewise.
35516 [XPG3 || XPG4] (timer_t): Likewise.
35517 [XPG3 || XPG4] (clock_getres): Likewise.
35518 [XPG3 || XPG4] (clock_gettime): Likewise.
35519 [XPG3 || XPG4] (clock_settime): Likewise.
35520 [XPG3 || XPG4] (nanosleep): Likewise.
35521 [XPG3 || XPG4] (timer_create): Likewise.
35522 [XPG3 || XPG4] (timer_delete): Likewise.
35523 [XPG3 || XPG4] (timer_gettime): Likewise.
35524 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35525 [XPG3 || XPG4] (timer_settime): Likewise.
35526 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35527 [XPG3 || XPG4] (getlogin_r): Likewise.
35528 [XPG3 || XPG4] (pread): Likewise.
35529 [XPG3 || XPG4] (pthread_atfork): Likewise.
35530 [XPG3 || XPG4] (pwrite): Likewise.
35531
ee663277
JM
35532 [BZ #14835]
35533 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35534 <bits/siginfo.h>.
35535
942caa16
PT
355362012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35537
e19af380
PT
35538 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35539 finalizing MALLSTREAM.
35540
942caa16
PT
35541 * sysdeps/mach/hurd/syncfs.c: New file.
35542
cfde9b46
SP
355432012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35544
35545 [BZ #14719]
35546 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35547 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35548 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35549 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35550 (_nss_dns_gethostbyname4_r): Likewise.
35551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35552 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35553
f6da27e5
PH
355542012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35555
35556 [BZ #13763]
35557 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35558
6665d4a2
SM
355592012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35560
1f51ee92
SM
35561 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35562 * elf/cache.c (print_entry): Print ",AArch64" for
35563 FLAG_AARCH64_LIB64
35564
6665d4a2
SM
35565 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35566 * elf/cache.c (print_entry): Print ",hard-float" for
35567 FLAG_ARM_LIBHF.
35568
05b227bd
DM
355692012-11-18 David S. Miller <davem@davemloft.net>
35570
35571 With help from Joseph Myers.
35572 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35573 cutoff to 2**-13.
35574 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35575 cutoff to 2**-25.
35576 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35577 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35578 small.
35579 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35580 * math/libm-test.inc (y0_test): New tests.
35581 (y1_test): New tests.
35582 * sysdeps/i386/fpu/libm-test-ulps: Update.
35583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35585
786b0b67
AS
355862012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35587
35588 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35589 64-bit targets.
35590 * configure: Regenerated.
35591
8e18b86d
DM
355922012-11-17 David S. Miller <davem@davemloft.net>
35593
35594 [BZ #14811]
35595 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35596 nonzero exponents with absolute value below 0x1p-128 to +/-
35597 0x1p-128.
35598
531f1ae0
JM
355992012-11-17 Joseph Myers <joseph@codesourcery.com>
35600
12df29e2
JM
35601 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35602
150dc1a0
JM
35603 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35604
531f1ae0
JM
35605 * posix/getconf-speclist.c: New file.
35606 * posix/posix-envs.def: Likewise.
35607 * posix/confstr.c (START_ENV_GROUP): New macro.
35608 (END_ENV_GROUP): Likewise.
35609 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35610 (KNOWN_PRESENT_ENV_STRING): Likewise.
35611 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35612 (UNKNOWN_ENVIRONMENT): Likewise.
35613 (confstr): Include posix-envs.def instead of handling
35614 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35615 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35616 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35617 (END_ENV_GROUP): Likewise.
35618 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35619 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35620 (UNKNOWN_ENVIRONMENT): Likewise.
35621 (__sysconf): Include posix-envs.def instead of handling associated
35622 cases directly here.
35623 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35624 preprocessing getconf-speclist.c rather than running getconf or
35625 generating empty file.
35626
a93f9cbc
PT
356272012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35628
35629 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35630
d64d9f87
AL
356312012-11-16 Andrej Lajovic <natrij@gmail.com>
35632
35633 [BZ #14672]
35634 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35635
447885eb
DM
356362012-11-16 David S. Miller <davem@davemloft.net>
35637
35638 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35639 smaller than LDBL_EPSILON/2.0L, just return xm1.
35640
bcbf9830
L
356412012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35642
35643 * elf/tst-array1.c (init): Set constructor priority to 1000.
35644 (fini): Set destructor priority to 1000.
35645 * elf/tst-array2dep.c: Likewise.
35646
2b766585
SP
356472012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35648
35649 [BZ #11741]
35650 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35651 (_IO_new_file_xsputn): Also return EOF if none of the input
35652 data was written when overflow failed.
35653 * libio/iopadn.c (_IO_padn): Likewise.
35654 * libio/iowpadn.c (_IO_wpadn): Likewise.
35655 * stdio-common/tst-put-error.c: Add copyright notice.
35656 (do_test): Add case for printing padded string.
35657 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35658 _IO_padn returned error.
35659 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35660 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35661 return EOF.
35662
b1848fde
SP
356632012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35664
35665 * libio/libioP.h: Add comment note that the references to C++
35666 bits are now obsolete.
35667
2fd89785
MS
356682012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35669
35670 * math/libm-test.inc (check_complex): Use asprintf.
35671
e3ea5409
JM
356722012-11-14 Joseph Myers <joseph@codesourcery.com>
35673
35674 * debug/pcprofiledump.c (print_version): Update copyright year.
35675 * malloc/memusagestat.c (print_version): Likewise.
35676
2e64d265
L
356772012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35678
35679 [BZ #14831]
35680 * elf/Makefile (tests): Add tst-audit8.
35681 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35682 ($(objpfx)tst-audit8.out): New target.
35683 (tst-audit8-ENV): New variable.
35684 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35685 audit if l_reloc_result is NULL.
35686 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35687 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35688 * elf/tst-audit8.c: New file.
35689
c485e4d2
MS
356902012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35691
35692 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35693 * misc/Makefile (CFLAGS-select.c): Define.
35694 * posix/Makefile (CFLAGS-pause.c): Define.
35695
3a0d900a
DM
356962012-11-13 David S. Miller <davem@davemloft.net>
35697
35698 * crypt/Makefile: Move test targets after toplevel Rules
35699 inclusion. Grab any necessary sysdep routines when linking.
35700 * crypt/md5.c (md5_process_block): Remove define, we will always
35701 name it __md5_process_block.
35702 (md5_finish_ctx): Update md5_process_block call.
35703 (md5_stream): Likewise.
35704 (md5_process_bytes): Likewise.
35705 (md5_process_block): Rename to __md5_process_block and move to ...
35706 * crypt/md5-block.c: ... here.
35707 * crypt/sha256.c (sha256_process_block): Move to ...
35708 * crypt/sha256-block.c: ... here.
35709 * crypt/sha512.c (sha512_process_block): Move to ...
35710 * crypt/sha512-block.c: ... here.
35711 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35712 path.
35713 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35714 * sysdeps/sparc/sparc64/multiarch/Makefile
35715 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35716 crypt subdir.
35717 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35718 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35719 multiarch changes.
35720 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35721 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35722 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35723 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35724 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35725 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35726 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35727 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35728 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35729 file.
35730 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35731 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35732 file.
35733 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35734
8ca89318
JM
357352012-11-13 Joseph Myers <joseph@codesourcery.com>
35736
e27d476a
JM
35737 * timezone/tzselect.ksh: Update from tzcode git revision
35738 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35739 * timezone/zdump.c: Likewise.
35740 * timezone/zic.c: Likewise.
35741 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35742 in TZVERSION setting, not $(PKGVERSION).
35743 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35744 REPORT_BUGS_TO settings.
35745
8ca89318
JM
35746 [BZ #14838]
35747 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35748 macro.
35749
47594329
MS
357502012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35751
35752 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35753 detection to immediately after _FP_ROUND().
35754 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35755 bits are 0.
35756
640ac3f1
DM
357572012-11-11 David S. Miller <davem@davemloft.net>
35758
35759 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35760 inttypes.h
35761 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35762 __close rather than their public counterparts.
35763
3d2577bb
JM
357642012-11-10 Joseph Myers <joseph@codesourcery.com>
35765
35766 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35767 file.
35768 [UNIX98] (sem_timedwait): Do not expect.
35769 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35770 [XPG4 || UNIX98] (sockatmark): Do not expect.
35771 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35772 (clock_getcpuclockid): Do not expect.
35773 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35774 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35775 Do not expect.
35776 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35777 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35778 [UNIX98] (vwscanf): Likewise.
35779 [UNIX98] (vswscanf): Likewise.
35780
fb1ae1ee
JM
357812012-11-09 Joseph Myers <joseph@codesourcery.com>
35782
9ec6f8bd
JM
35783 * timezone/version.h: Remove file.
35784 * timezone/README: Do not refer to version.h.
35785 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35786 $(objpfx)version.h.
35787 ($(objpfx)zdump.o): Likewise.
c3f81911 35788 ($(objpfx)version.h): New target.
9ec6f8bd 35789
0aa8f8a1
JM
35790 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35791 2012i.
35792 * timezone/README: Don't mention modification to tzselect.ksh.
35793 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35794 work on unmodified tzselect.ksh. Substitute version numbers in
35795 tzselect.ksh.
35796
4e87147f
JM
35797 * Makefile (format-me): Remove.
35798 (INSTALL): Adjust indentation. Use commands directly instead of
35799 using $(format-me).
35800
8b748aed
JM
35801 * aclocal.m4 (ACX_PKGVERSION): New macro.
35802 (ACX_BUGURL): Likewise.
35803 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35804 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35805 (REPORT_BUGS_TO): Likewise.
35806 * configure: Regenerated.
35807 * config.h.in (PKGVERSION): New macro.
35808 (REPORT_BUGS_TO): Likewise.
35809 * config.make.in (PKGVERSION): New variable.
35810 (PKGVERSION_TEXI): Likewise.
35811 (REPORT_BUGS_TO): Likewise.
35812 (REPORT_BUGS_TEXI): Likewise.
35813 * Makefile (format-me): Use -I$(common-objpfx)manual.
35814 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35815 ($(common-objpfx)manual/%): New target.
35816 (manual/%): Remove target.
35817 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35818 (print_version): Use PKGVERSION.
35819 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35820 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35821 and REPORT_BUGS_TO.
35822 ($(objpfx)xtrace): Likewise.
35823 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35824 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35825 (print_version): Use PKGVERSION.
35826 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35827 (do_version): Use PKGVERSION.
35828 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35829 REPORT_BUGS_TO.
35830 (common-ldd-rewrite): Likewise.
35831 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35832 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35833 (print_version): Use PKGVERSION.
35834 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35835 * elf/pldd.c (argp_program_bug_address): Remove variable.
35836 (more_help): New function.
35837 (argp): Use more_help.
35838 (print_version): Use PKGVERSION.
35839 * elf/sln.c (main): Use PKGVERSION.
35840 (usage): Use REPORT_BUGS_TO.
35841 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35842 (top level): Use PKGVERSION.
35843 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35844 (print_version): Use PKGVERSION.
35845 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35846 (print_version): Use PKGVERSION.
35847 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35848 (print_version): Use PKGVERSION.
35849 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35850 (print_version): Use PKGVERSION.
35851 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35852 (print_version): Use PKGVERSION.
35853 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35854 (print_version): Use PKGVERSION.
35855 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35856 and BUGURL.
35857 ($(objpfx)memusage): Likewise.
35858 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35859 (do_version): Use PKGVERSION.
35860 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35861 (print_version): Use PKGVERSION.
35862 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35863 ($PKGVERSION): New variable.
35864 ($REPORT_BUGS_TO): Likewise.
35865 (usage): Use $REPORT_BUGS_TO.
35866 (top level): Use $PKGVERSION.
35867 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35868 ($(objpfx)pkgvers.texi): New rule.
35869 ($(objpfx)stamp-pkgvers): Likewise.
35870 * manual/install.texi: Include pkgvers.texi.
35871 (--with-pkgversion): Document new configure option.
35872 (--with-bugurl): Likewise.
35873 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35874 than necessarily for this particular distribution. Use
35875 REPORT_BUGS_TO for where to report bugs.
35876 * INSTALL: Regenerated.
35877 * manual/libc.texinfo: Include pkgvers.texi.
35878 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35879 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35880 (print_version): Use PKGVERSION.
35881 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35882 (print_version): Use PKGVERSION.
35883 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35884 (print_version): Use PKGVERSION.
35885 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35886 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35887 macro.
35888 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35889 (print_version): Use PKGVERSION.
35890 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35891 (print_version): Use PKGVERSION.
35892 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35893 and PKGVERSION.
35894
92e4b6a9
JM
35895 * timezone/checktab.awk: Update from tzcode 2012i.
35896 * timezone/ialloc.c: Likewise.
35897 * timezone/private.h: Likewise.
35898 * timezone/scheck.c: Likewise.
35899 * timezone/tzfile.h: Likewise.
35900 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35901 (TZVERSION): Hardcode tzcode version number.
35902 * timezone/zdump.c: Update from tzcode 2012i.
35903 * timezone/zic.c: Likewise.
35904 * timezone/version.h: New file.
35905 * timezone/README: Describe version.h. Update upstream location.
35906
9bde902c
JM
35907 [BZ #14824]
35908 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35909 (mktemp): Enable declaration.
35910 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35911 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35912 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35913 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35914 Likewise.
35915 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35916 Likewise.
35917 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35918 Likewise.
35919 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35920 Likewise.
35921 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35922 Likewise.
35923 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35924 Likewise.
35925
fb1ae1ee
JM
35926 [BZ #14821]
35927 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35928 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35929 for copies of such integer values.
35930 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35931 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35932
2c1adbcb
AJ
359332012-11-09 Andreas Jaeger <aj@suse.de>
35934
35935 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35936 definitions and declarations that are provided by
35937 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35938
d0f8457e
AK
359392012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35940
3a235abb 35941 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35942 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35943 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35944 definition.
35945
57241e26
MS
359462012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35947
35948 * elf/elf.h: Update comment before AArch64 relocations.
35949
60e8270d
DM
359502012-11-07 David S. Miller <davem@davemloft.net>
35951
35952 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35953 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35954 (__start_context): Declare.
35955 (__makecontext_ret): Delete.
35956 (__makecontext): Hook up __start_context instead of
35957 __makecontext_ret.
35958 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35959 (sysdep_routines): Add __start_context when in stdlib.
35960
0fbb0fbc
JM
359612012-11-07 Joseph Myers <joseph@codesourcery.com>
35962
35963 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35964 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35965 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35966 hardcoded "nm".
35967 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35968 (READELF): New variable. Use it instead of hardcoded "readelf".
35969
eb48db7e
L
359702012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35971
35972 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35973 * sysdeps/x86/Makefile: Here.
35974 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35975 * sysdeps/x86/tst-xmmymm.sh: This.
35976
05bcf62a
JM
359772012-11-07 Joseph Myers <joseph@codesourcery.com>
35978
c4b6cf53
JM
35979 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35980 expectations.
35981 [UNIX98] (pthread_barrier_t): Do not expect.
35982 [UNIX98] (pthread_barrierattr_t): Likewise.
35983 [UNIX98] (pthread_spinlock_t): Likewise.
35984 [UNIX98] (pthread_barrier_destroy): Likewise.
35985 [UNIX98] (pthread_barrier_init): Likewise.
35986 [UNIX98] (pthread_barrier_wait): Likewise.
35987 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35988 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35989 [UNIX98] (pthread_barrierattr_init): Likewise.
35990 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35991 [UNIX98] (pthread_getcpuclockid): Likewise.
35992 [UNIX98] (pthread_mutex_timedlock): Likewise.
35993 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35994 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35995 [UNIX98] (pthread_sigmask): Likewise.
35996 [UNIX98] (pthread_spin_destroy): Likewise.
35997 [UNIX98] (pthread_spin_init): Likewise.
35998 [UNIX98] (pthread_spin_lock): Likewise.
35999 [UNIX98] (pthread_spin_trylock): Likewise.
36000 [UNIX98] (pthread_spin_unlock): Likewise.
36001 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36002 Do not expect.
36003 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36004 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36005 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36006 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36007 [XPG3 || XPG4] (pthread_key_t): Likewise.
36008 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36009 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36010 [XPG3 || XPG4] (pthread_once_t): Likewise.
36011 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36012 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36013 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36014 [XPG3 || XPG4] (pthread_t): Likewise.
36015
cbe6e120
JM
36016 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36017 not expect.
36018 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36019
1b126443
JM
36020 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36021 Change function return type to int.
36022
b961a573
JM
36023 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36024 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36025 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36026 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36027 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36028 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36029 [!POSIX] (posix_madvise): Likewise.
36030 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36031 && !UNIX98].
36032 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36033 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36034 (mode_t): Likewise.
36035 (posix_mem_offset): Likewise.
36036 (posix_typed_mem_get_info): Likewise.
36037 (posix_typed_mem_open): Likewise.
36038
9e188909
JM
36039 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36040 Change condition to [XOPEN2K8].
36041
05bcf62a
JM
36042 * conform/conformtest.pl: Preprocess allow-header data with -x c
36043 instead of from stdin.
36044 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36045 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36046 [C99-based standards] (cerfc): Likewise.
36047 [C99-based standards] (cexp2): Likewise.
36048 [C99-based standards] (cexpm1): Likewise.
36049 [C99-based standards] (clog10): Likewise.
36050 [C99-based standards] (clog1p): Likewise.
36051 [C99-based standards] (clog2): Likewise.
36052 [C99-based standards] (clgamma): Likewise.
36053 [C99-based standards] (ctgamma): Likewise.
36054 [C99-based standards] (cerff): Likewise.
36055 [C99-based standards] (cerfcf): Likewise.
36056 [C99-based standards] (cexp2f): Likewise.
36057 [C99-based standards] (cexpm1f): Likewise.
36058 [C99-based standards] (clog10f): Likewise.
36059 [C99-based standards] (clog1pf): Likewise.
36060 [C99-based standards] (clog2f): Likewise.
36061 [C99-based standards] (clgammaf): Likewise.
36062 [C99-based standards] (ctgammaf): Likewise.
36063 [C99-based standards] (cerfl): Likewise.
36064 [C99-based standards] (cerfcl): Likewise.
36065 [C99-based standards] (cexp2l): Likewise.
36066 [C99-based standards] (cexpm1l): Likewise.
36067 [C99-based standards] (clog10l): Likewise.
36068 [C99-based standards] (clog1pl): Likewise.
36069 [C99-based standards] (clog2l): Likewise.
36070 [C99-based standards] (clgammal): Likewise.
36071 [C99-based standards] (ctgammal): Likewise.
36072 * conform/data/inttypes.h-data [C99-based standards]: Include
36073 stdint.h-data. Remove all expectations for stdint.h contents.
36074 [C99-based standards] (PRI*): Do not allow.
36075 [C99-based standards] (SCN*): Likewise.
36076 [C99-based standards] (*_t): Likewise.
36077 [C99-based-standards] (PRId8): Expect macro.
36078 [C99-based-standards] (PRIi8): Likewise.
36079 [C99-based-standards] (PRIo8): Likewise.
36080 [C99-based-standards] (PRIu8): Likewise.
36081 [C99-based-standards] (PRIx8): Likewise.
36082 [C99-based-standards] (PRIX8): Likewise.
36083 [C99-based-standards] (SCNd8): Likewise.
36084 [C99-based-standards] (SCNi8): Likewise.
36085 [C99-based-standards] (SCNo8): Likewise.
36086 [C99-based-standards] (SCNu8): Likewise.
36087 [C99-based-standards] (SCNx8): Likewise.
36088 [C99-based-standards] (PRIdLEAST8): Likewise.
36089 [C99-based-standards] (PRIiLEAST8): Likewise.
36090 [C99-based-standards] (PRIoLEAST8): Likewise.
36091 [C99-based-standards] (PRIuLEAST8): Likewise.
36092 [C99-based-standards] (PRIxLEAST8): Likewise.
36093 [C99-based-standards] (PRIXLEAST8): Likewise.
36094 [C99-based-standards] (SCNdLEAST8): Likewise.
36095 [C99-based-standards] (SCNiLEAST8): Likewise.
36096 [C99-based-standards] (SCNoLEAST8): Likewise.
36097 [C99-based-standards] (SCNuLEAST8): Likewise.
36098 [C99-based-standards] (SCNxLEAST8): Likewise.
36099 [C99-based-standards] (PRIdFAST8): Likewise.
36100 [C99-based-standards] (PRIiFAST8): Likewise.
36101 [C99-based-standards] (PRIoFAST8): Likewise.
36102 [C99-based-standards] (PRIuFAST8): Likewise.
36103 [C99-based-standards] (PRIxFAST8): Likewise.
36104 [C99-based-standards] (PRIXFAST8): Likewise.
36105 [C99-based-standards] (SCNdFAST8): Likewise.
36106 [C99-based-standards] (SCNiFAST8): Likewise.
36107 [C99-based-standards] (SCNoFAST8): Likewise.
36108 [C99-based-standards] (SCNuFAST8): Likewise.
36109 [C99-based-standards] (SCNxFAST8): Likewise.
36110 [C99-based-standards] (PRId16): Likewise.
36111 [C99-based-standards] (PRIi16): Likewise.
36112 [C99-based-standards] (PRIo16): Likewise.
36113 [C99-based-standards] (PRIu16): Likewise.
36114 [C99-based-standards] (PRIx16): Likewise.
36115 [C99-based-standards] (PRIX16): Likewise.
36116 [C99-based-standards] (SCNd16): Likewise.
36117 [C99-based-standards] (SCNi16): Likewise.
36118 [C99-based-standards] (SCNo16): Likewise.
36119 [C99-based-standards] (SCNu16): Likewise.
36120 [C99-based-standards] (SCNx16): Likewise.
36121 [C99-based-standards] (PRIdLEAST16): Likewise.
36122 [C99-based-standards] (PRIiLEAST16): Likewise.
36123 [C99-based-standards] (PRIoLEAST16): Likewise.
36124 [C99-based-standards] (PRIuLEAST16): Likewise.
36125 [C99-based-standards] (PRIxLEAST16): Likewise.
36126 [C99-based-standards] (PRIXLEAST16): Likewise.
36127 [C99-based-standards] (SCNdLEAST16): Likewise.
36128 [C99-based-standards] (SCNiLEAST16): Likewise.
36129 [C99-based-standards] (SCNoLEAST16): Likewise.
36130 [C99-based-standards] (SCNuLEAST16): Likewise.
36131 [C99-based-standards] (SCNxLEAST16): Likewise.
36132 [C99-based-standards] (PRIdFAST16): Likewise.
36133 [C99-based-standards] (PRIiFAST16): Likewise.
36134 [C99-based-standards] (PRIoFAST16): Likewise.
36135 [C99-based-standards] (PRIuFAST16): Likewise.
36136 [C99-based-standards] (PRIxFAST16): Likewise.
36137 [C99-based-standards] (PRIXFAST16): Likewise.
36138 [C99-based-standards] (SCNdFAST16): Likewise.
36139 [C99-based-standards] (SCNiFAST16): Likewise.
36140 [C99-based-standards] (SCNoFAST16): Likewise.
36141 [C99-based-standards] (SCNuFAST16): Likewise.
36142 [C99-based-standards] (SCNxFAST16): Likewise.
36143 [C99-based-standards] (PRId32): Likewise.
36144 [C99-based-standards] (PRIi32): Likewise.
36145 [C99-based-standards] (PRIo32): Likewise.
36146 [C99-based-standards] (PRIu32): Likewise.
36147 [C99-based-standards] (PRIx32): Likewise.
36148 [C99-based-standards] (PRIX32): Likewise.
36149 [C99-based-standards] (SCNd32): Likewise.
36150 [C99-based-standards] (SCNi32): Likewise.
36151 [C99-based-standards] (SCNo32): Likewise.
36152 [C99-based-standards] (SCNu32): Likewise.
36153 [C99-based-standards] (SCNx32): Likewise.
36154 [C99-based-standards] (PRIdLEAST32): Likewise.
36155 [C99-based-standards] (PRIiLEAST32): Likewise.
36156 [C99-based-standards] (PRIoLEAST32): Likewise.
36157 [C99-based-standards] (PRIuLEAST32): Likewise.
36158 [C99-based-standards] (PRIxLEAST32): Likewise.
36159 [C99-based-standards] (PRIXLEAST32): Likewise.
36160 [C99-based-standards] (SCNdLEAST32): Likewise.
36161 [C99-based-standards] (SCNiLEAST32): Likewise.
36162 [C99-based-standards] (SCNoLEAST32): Likewise.
36163 [C99-based-standards] (SCNuLEAST32): Likewise.
36164 [C99-based-standards] (SCNxLEAST32): Likewise.
36165 [C99-based-standards] (PRIdFAST32): Likewise.
36166 [C99-based-standards] (PRIiFAST32): Likewise.
36167 [C99-based-standards] (PRIoFAST32): Likewise.
36168 [C99-based-standards] (PRIuFAST32): Likewise.
36169 [C99-based-standards] (PRIxFAST32): Likewise.
36170 [C99-based-standards] (PRIXFAST32): Likewise.
36171 [C99-based-standards] (SCNdFAST32): Likewise.
36172 [C99-based-standards] (SCNiFAST32): Likewise.
36173 [C99-based-standards] (SCNoFAST32): Likewise.
36174 [C99-based-standards] (SCNuFAST32): Likewise.
36175 [C99-based-standards] (SCNxFAST32): Likewise.
36176 [C99-based-standards] (PRId64): Likewise.
36177 [C99-based-standards] (PRIi64): Likewise.
36178 [C99-based-standards] (PRIo64): Likewise.
36179 [C99-based-standards] (PRIu64): Likewise.
36180 [C99-based-standards] (PRIx64): Likewise.
36181 [C99-based-standards] (PRIX64): Likewise.
36182 [C99-based-standards] (SCNd64): Likewise.
36183 [C99-based-standards] (SCNi64): Likewise.
36184 [C99-based-standards] (SCNo64): Likewise.
36185 [C99-based-standards] (SCNu64): Likewise.
36186 [C99-based-standards] (SCNx64): Likewise.
36187 [C99-based-standards] (PRIdLEAST64): Likewise.
36188 [C99-based-standards] (PRIiLEAST64): Likewise.
36189 [C99-based-standards] (PRIoLEAST64): Likewise.
36190 [C99-based-standards] (PRIuLEAST64): Likewise.
36191 [C99-based-standards] (PRIxLEAST64): Likewise.
36192 [C99-based-standards] (PRIXLEAST64): Likewise.
36193 [C99-based-standards] (SCNdLEAST64): Likewise.
36194 [C99-based-standards] (SCNiLEAST64): Likewise.
36195 [C99-based-standards] (SCNoLEAST64): Likewise.
36196 [C99-based-standards] (SCNuLEAST64): Likewise.
36197 [C99-based-standards] (SCNxLEAST64): Likewise.
36198 [C99-based-standards] (PRIdFAST64): Likewise.
36199 [C99-based-standards] (PRIiFAST64): Likewise.
36200 [C99-based-standards] (PRIoFAST64): Likewise.
36201 [C99-based-standards] (PRIuFAST64): Likewise.
36202 [C99-based-standards] (PRIxFAST64): Likewise.
36203 [C99-based-standards] (PRIXFAST64): Likewise.
36204 [C99-based-standards] (SCNdFAST64): Likewise.
36205 [C99-based-standards] (SCNiFAST64): Likewise.
36206 [C99-based-standards] (SCNoFAST64): Likewise.
36207 [C99-based-standards] (SCNuFAST64): Likewise.
36208 [C99-based-standards] (SCNxFAST64): Likewise.
36209 [C99-based-standards] (PRIdMAX): Likewise.
36210 [C99-based-standards] (PRIiMAX): Likewise.
36211 [C99-based-standards] (PRIoMAX): Likewise.
36212 [C99-based-standards] (PRIuMAX): Likewise.
36213 [C99-based-standards] (PRIxMAX): Likewise.
36214 [C99-based-standards] (PRIXMAX): Likewise.
36215 [C99-based-standards] (SCNdMAX): Likewise.
36216 [C99-based-standards] (SCNiMAX): Likewise.
36217 [C99-based-standards] (SCNoMAX): Likewise.
36218 [C99-based-standards] (SCNuMAX): Likewise.
36219 [C99-based-standards] (SCNxMAX): Likewise.
36220 [C99-based-standards] (PRIdPTR): Likewise.
36221 [C99-based-standards] (PRIiPTR): Likewise.
36222 [C99-based-standards] (PRIoPTR): Likewise.
36223 [C99-based-standards] (PRIuPTR): Likewise.
36224 [C99-based-standards] (PRIxPTR): Likewise.
36225 [C99-based-standards] (PRIXPTR): Likewise.
36226 [C99-based-standards] (SCNdPTR): Likewise.
36227 [C99-based-standards] (SCNiPTR): Likewise.
36228 [C99-based-standards] (SCNoPTR): Likewise.
36229 [C99-based-standards] (SCNuPTR): Likewise.
36230 [C99-based-standards] (SCNxPTR): Likewise.
36231 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36232 allow.
36233 * conform/data/stdint.h-data: Update comments to clarify
36234 requirements.
36235 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36236 type.
36237 [C99-based standards] (INT8_MAX): Likewise.
36238 [C99-based standards] (INT16_MIN): Likewise.
36239 [C99-based standards] (INT16_MAX): Likewise.
36240 [C99-based standards] (INT32_MIN): Likewise.
36241 [C99-based standards] (INT32_MAX): Likewise.
36242 [C99-based standards] (INT64_MIN): Likewise.
36243 [C99-based standards] (INT64_MAX): Likewise.
36244 [C99-based standards] (UINT8_MAX): Likewise.
36245 [C99-based standards] (UINT16_MAX): Likewise.
36246 [C99-based standards] (UINT32_MAX): Likewise.
36247 [C99-based standards] (UINT64_MAX): Likewise.
36248 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36249 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36250 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36251 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36252 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36253 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36254 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36255 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36256 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36257 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36258 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36259 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36260 [C99-based standards] (INT_FAST8_MIN): Likewise.
36261 [C99-based standards] (INT_FAST8_MAX): Likewise.
36262 [C99-based standards] (INT_FAST16_MIN): Likewise.
36263 [C99-based standards] (INT_FAST16_MAX): Likewise.
36264 [C99-based standards] (INT_FAST32_MIN): Likewise.
36265 [C99-based standards] (INT_FAST32_MAX): Likewise.
36266 [C99-based standards] (INT_FAST64_MIN): Likewise.
36267 [C99-based standards] (INT_FAST64_MAX): Likewise.
36268 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36269 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36270 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36271 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36272 [C99-based standards] (INTPTR_MIN): Likewise.
36273 [C99-based standards] (INTPTR_MAX): Likewise.
36274 [C99-based standards] (UINTPTR_MAX): Likewise.
36275 [C99-based standards] (INTMAX_MIN): Likewise.
36276 [C99-based standards] (INTMAX_MAX): Likewise.
36277 [C99-based standards] (UINTMAX_MAX): Likewise.
36278 [C99-based standards] (PTRDIFF_MIN): Likewise.
36279 [C99-based standards] (PTRDIFF_MAX): Likewise.
36280 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36281 [C99-based standards] (SIZE_MAX): Likewise.
36282 [C99-based standards] (WCHAR_MAX): Likewise.
36283 [C99-based standards] (WINT_MAX): Likewise.
36284 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36285 constraint on value.
36286 [C99-based standards] (WCHAR_MIN): Likewise.
36287 [C99-based standards] (WINT_MIN): Likewise.
36288 [C99-based standards] (*_t): Allow.
36289 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36290 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36291 Include math.h-data and complex.h-data. Remove all expectations
36292 of math.h and complex.h contents.
36293 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36294 at end of line.
36295 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36296 (struct tm): Expect tag.
36297 [C99-based-standards] (wcstof): Expect function.
36298 [C99-based-standards] (wcstold): Likewise.
36299 [C99-based-standards] (wcstoll): Likewise.
36300 [C99-based-standards] (wcstoull): Likewise.
36301 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36302 macro-int-constant. Specify type.
36303 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36304 constraint on value.
36305 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36306 Specify type.
36307 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36308 Specify value.
36309 [ISO C standards]: Do not allow headers.
36310 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36311 wcs[abcdefghijklmnopqrstuvwxyz]*.
36312 [ISO C standards] (*_t): Do not allow.
36313 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36314 Expect function.
36315 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36316 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36317 Specify type.
36318 [ISO C standards]: Do not allow headers.
36319 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36320 is[abcdefghijklmnopqrstuvwxyz]*.
36321 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36322 to[abcdefghijklmnopqrstuvwxyz]*.
36323 [ISO C standards] (*_t): Do not allow.
36324 * conform/data/stdalign.h-data: New file.
36325 * conform/data/stdbool.h-data: Likewise.
36326 * conform/data/stdnoreturn.h-data: Likewise.
36327
7514feb8
RM
363282012-11-07 Roland McGrath <roland@hack.frob.com>
36329
36330 [BZ #14815]
36331 * manual/filesys.texi (Directory Entries): Typo fix.
36332 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36333
19b2ecfc
MS
363342012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36335
36336 * elf/elf.h (EM_AARCH64): New macro.
36337 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36338 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36339 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36340 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36341 (R_AARCH64_TLSDESC): Likewise.
36342 (NT_ARM_TLS): Likewise.
36343 (NT_ARM_HW_BREAK): Likewise.
36344 (NT_ARM_HW_WATCH): Likewise.
36345
60e235ee
JM
363462012-11-07 Joseph Myers <joseph@codesourcery.com>
36347
36348 [BZ #14811]
36349 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36350 (__ieee754_powl): Saturate nonzero exponents with absolute value
36351 below 0x1p-79 to +/- 0x1p-79.
36352 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36353 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36354 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36355 nonzero exponents with absolute value below 0x1p-32 to +/-
36356 0x1p-32.
36357 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36358 (__ieee754_powl): Saturate nonzero exponents with absolute value
36359 below 0x1p-79 to +/- 0x1p-79.
36360 * math/libm-test.inc (pow_test): Add more tests.
36361
0ab234b7
AK
363622012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36363
36364 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36365 _dl_s390_cap_flags with kernel. Increase string length.
36366 (_dl_s390_platforms): Add z196 and zEC12.
36367
45832f74
JM
363682012-11-07 Joseph Myers <joseph@codesourcery.com>
36369
36370 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36371 Change XOPEN21K to XOPEN2K.
36372
19218757
MK
363732012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36374
36375 * string/memmove.c: Use memcpy when possible.
36376
c5f45721
AJ
363772012-11-06 Andreas Jaeger <aj@suse.de>
36378
36379 * po/eo.po: Update from translation team.
36380
82477c28
JM
363812012-11-06 Joseph Myers <joseph@codesourcery.com>
36382
36383 [BZ #14793]
36384 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36385 exponent and small x and y exponents, scale x or y up. Increase
36386 by 2 the exponent used in scaling up.
36387 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36388 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36389 * math/libm-test.inc (fma_test): Add more tests.
36390 (fma_test_towardzero): Likewise.
36391 (fma_test_downward): Likewise.
36392 (fma_test_upward): Likewise.
36393
99252c8c
JM
363942012-11-05 Joseph Myers <joseph@codesourcery.com>
36395
acfa885f
JM
36396 [BZ #14805]
36397 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36398 fenv_t *.
36399
99252c8c
JM
36400 [BZ #14801]
36401 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36402 namespace for names of struct fields.
36403 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36404 fenv_t fields.
36405 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36406 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36407
d6d98dea
ST
364082012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36409
36410 [BZ #3665]
36411 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36412
e10bb107
TS
364132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36414
36415 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36416 PTR_DEMANGLE.
36417
36418 [BZ #5246]
36419 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36420 PTR_DEMANGLE.
36421
a0c2940d
JM
364222012-11-04 Joseph Myers <joseph@codesourcery.com>
36423
36424 [BZ #14797]
36425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36426 definitely overflow as x * y not x * y + z.
36427 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36428 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36429 * math/libm-test.inc (fma_test): Add more tests.
36430 (fma_test_towardzero): Likewise.
36431 (fma_test_downward): Likewise.
36432 (fma_test_upward): Likewise.
36433
b830319d
TS
364342012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36435
36436 [BZ #157]
36437
36438 * include/stub-tag.h: Remove file.
36439 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36440 '#include' of it.
36441 * manual/maint.texi (Porting): Don't reference it.
36442 * Makerules ($(objpfx)stubs): Likewise.
36443 * dirent/closedir.c: Don't include <stub-tag.h>.
36444 * dirent/dirfd.c: Likewise.
36445 * dirent/fdopendir.c: Likewise.
36446 * dirent/getdents.c: Likewise.
36447 * dirent/getdents64.c: Likewise.
36448 * dirent/opendir.c: Likewise.
36449 * dirent/readdir.c: Likewise.
36450 * dirent/readdir64.c: Likewise.
36451 * dirent/readdir64_r.c: Likewise.
36452 * dirent/readdir_r.c: Likewise.
36453 * dirent/rewinddir.c: Likewise.
36454 * dirent/seekdir.c: Likewise.
36455 * dirent/telldir.c: Likewise.
36456 * gmon/profil.c: Likewise.
36457 * grp/setgroups.c: Likewise.
36458 * inet/if_index.c: Likewise.
36459 * io/access.c: Likewise.
36460 * io/chdir.c: Likewise.
36461 * io/chmod.c: Likewise.
36462 * io/chown.c: Likewise.
36463 * io/close.c: Likewise.
36464 * io/dup.c: Likewise.
36465 * io/dup2.c: Likewise.
36466 * io/dup3.c: Likewise.
36467 * io/euidaccess.c: Likewise.
36468 * io/faccessat.c: Likewise.
36469 * io/fchdir.c: Likewise.
36470 * io/fchmod.c: Likewise.
36471 * io/fchmodat.c: Likewise.
36472 * io/fchown.c: Likewise.
36473 * io/fchownat.c: Likewise.
36474 * io/fcntl.c: Likewise.
36475 * io/flock.c: Likewise.
36476 * io/fstatfs.c: Likewise.
36477 * io/fstatfs64.c: Likewise.
36478 * io/fstatvfs.c: Likewise.
36479 * io/fstatvfs64.c: Likewise.
36480 * io/futimens.c: Likewise.
36481 * io/fxstat.c: Likewise.
36482 * io/fxstat64.c: Likewise.
36483 * io/fxstatat.c: Likewise.
36484 * io/fxstatat64.c: Likewise.
36485 * io/getcwd.c: Likewise.
36486 * io/isatty.c: Likewise.
36487 * io/lchmod.c: Likewise.
36488 * io/lchown.c: Likewise.
36489 * io/link.c: Likewise.
36490 * io/linkat.c: Likewise.
36491 * io/lseek.c: Likewise.
36492 * io/lseek64.c: Likewise.
36493 * io/lxstat64.c: Likewise.
36494 * io/mkdir.c: Likewise.
36495 * io/mkdirat.c: Likewise.
36496 * io/mkfifo.c: Likewise.
36497 * io/mkfifoat.c: Likewise.
36498 * io/open.c: Likewise.
36499 * io/open64.c: Likewise.
36500 * io/openat.c: Likewise.
36501 * io/openat64.c: Likewise.
36502 * io/pipe.c: Likewise.
36503 * io/pipe2.c: Likewise.
36504 * io/poll.c: Likewise.
36505 * io/posix_fadvise.c: Likewise.
36506 * io/posix_fadvise64.c: Likewise.
36507 * io/posix_fallocate.c: Likewise.
36508 * io/posix_fallocate64.c: Likewise.
36509 * io/read.c: Likewise.
36510 * io/readlink.c: Likewise.
36511 * io/readlinkat.c: Likewise.
36512 * io/rmdir.c: Likewise.
36513 * io/sendfile.c: Likewise.
36514 * io/sendfile64.c: Likewise.
36515 * io/statfs.c: Likewise.
36516 * io/statfs64.c: Likewise.
36517 * io/statvfs.c: Likewise.
36518 * io/statvfs64.c: Likewise.
36519 * io/symlink.c: Likewise.
36520 * io/symlinkat.c: Likewise.
36521 * io/ttyname.c: Likewise.
36522 * io/ttyname_r.c: Likewise.
36523 * io/umask.c: Likewise.
36524 * io/unlink.c: Likewise.
36525 * io/unlinkat.c: Likewise.
36526 * io/utime.c: Likewise.
36527 * io/utimensat.c: Likewise.
36528 * io/write.c: Likewise.
36529 * io/xmknod.c: Likewise.
36530 * io/xmknodat.c: Likewise.
36531 * io/xstat.c: Likewise.
36532 * io/xstat64.c: Likewise.
36533 * login/getpt.c: Likewise.
36534 * login/grantpt.c: Likewise.
36535 * login/unlockpt.c: Likewise.
36536 * math/e_acoshl.c: Likewise.
36537 * math/e_acosl.c: Likewise.
36538 * math/e_asinl.c: Likewise.
36539 * math/e_atan2l.c: Likewise.
36540 * math/e_atanhl.c: Likewise.
36541 * math/e_coshl.c: Likewise.
36542 * math/e_expl.c: Likewise.
36543 * math/e_fmodl.c: Likewise.
36544 * math/e_gammal_r.c: Likewise.
36545 * math/e_hypotl.c: Likewise.
36546 * math/e_j0l.c: Likewise.
36547 * math/e_j1l.c: Likewise.
36548 * math/e_jnl.c: Likewise.
36549 * math/e_lgammal_r.c: Likewise.
36550 * math/e_log10l.c: Likewise.
36551 * math/e_log2l.c: Likewise.
36552 * math/e_logl.c: Likewise.
36553 * math/e_powl.c: Likewise.
36554 * math/e_rem_pio2l.c: Likewise.
36555 * math/e_sinhl.c: Likewise.
36556 * math/e_sqrtl.c: Likewise.
36557 * math/fclrexcpt.c: Likewise.
36558 * math/fedisblxcpt.c: Likewise.
36559 * math/feenablxcpt.c: Likewise.
36560 * math/fegetenv.c: Likewise.
36561 * math/fegetexcept.c: Likewise.
36562 * math/fegetround.c: Likewise.
36563 * math/feholdexcpt.c: Likewise.
36564 * math/fesetenv.c: Likewise.
36565 * math/fesetround.c: Likewise.
36566 * math/feupdateenv.c: Likewise.
36567 * math/fgetexcptflg.c: Likewise.
36568 * math/fraiseexcpt.c: Likewise.
36569 * math/fsetexcptflg.c: Likewise.
36570 * math/ftestexcept.c: Likewise.
36571 * math/k_cosl.c: Likewise.
36572 * math/k_rem_pio2l.c: Likewise.
36573 * math/k_sinl.c: Likewise.
36574 * math/k_tanl.c: Likewise.
36575 * math/s_asinhl.c: Likewise.
36576 * math/s_atanl.c: Likewise.
36577 * math/s_cbrtl.c: Likewise.
36578 * math/s_erfl.c: Likewise.
36579 * math/s_expm1l.c: Likewise.
36580 * math/s_log1pl.c: Likewise.
36581 * math/s_tanhl.c: Likewise.
36582 * misc/acct.c: Likewise.
36583 * misc/brk.c: Likewise.
36584 * misc/chflags.c: Likewise.
36585 * misc/chroot.c: Likewise.
36586 * misc/fchflags.c: Likewise.
36587 * misc/fgetxattr.c: Likewise.
36588 * misc/flistxattr.c: Likewise.
36589 * misc/fremovexattr.c: Likewise.
36590 * misc/fsetxattr.c: Likewise.
36591 * misc/fsync.c: Likewise.
36592 * misc/ftruncate.c: Likewise.
36593 * misc/futimes.c: Likewise.
36594 * misc/futimesat.c: Likewise.
36595 * misc/getdomain.c: Likewise.
36596 * misc/getdtsz.c: Likewise.
36597 * misc/gethostid.c: Likewise.
36598 * misc/gethostname.c: Likewise.
36599 * misc/getloadavg.c: Likewise.
36600 * misc/getpagesize.c: Likewise.
36601 * misc/getsysstats.c: Likewise.
36602 * misc/getxattr.c: Likewise.
36603 * misc/gtty.c: Likewise.
36604 * misc/ioctl.c: Likewise.
36605 * misc/lgetxattr.c: Likewise.
36606 * misc/listxattr.c: Likewise.
36607 * misc/llistxattr.c: Likewise.
36608 * misc/lremovexattr.c: Likewise.
36609 * misc/lsetxattr.c: Likewise.
36610 * misc/lutimes.c: Likewise.
36611 * misc/madvise.c: Likewise.
36612 * misc/mincore.c: Likewise.
36613 * misc/mlock.c: Likewise.
36614 * misc/mlockall.c: Likewise.
36615 * misc/mmap.c: Likewise.
36616 * misc/mprotect.c: Likewise.
36617 * misc/msync.c: Likewise.
36618 * misc/munlock.c: Likewise.
36619 * misc/munlockall.c: Likewise.
36620 * misc/munmap.c: Likewise.
36621 * misc/preadv.c: Likewise.
36622 * misc/preadv64.c: Likewise.
36623 * misc/ptrace.c: Likewise.
36624 * misc/pwritev.c: Likewise.
36625 * misc/pwritev64.c: Likewise.
36626 * misc/readv.c: Likewise.
36627 * misc/reboot.c: Likewise.
36628 * misc/remap_file_pages.c: Likewise.
36629 * misc/removexattr.c: Likewise.
36630 * misc/revoke.c: Likewise.
36631 * misc/select.c: Likewise.
36632 * misc/setdomain.c: Likewise.
36633 * misc/setegid.c: Likewise.
36634 * misc/seteuid.c: Likewise.
36635 * misc/sethostid.c: Likewise.
36636 * misc/sethostname.c: Likewise.
36637 * misc/setregid.c: Likewise.
36638 * misc/setreuid.c: Likewise.
36639 * misc/setxattr.c: Likewise.
36640 * misc/sstk.c: Likewise.
36641 * misc/stty.c: Likewise.
36642 * misc/swapoff.c: Likewise.
36643 * misc/swapon.c: Likewise.
36644 * misc/sync.c: Likewise.
36645 * misc/syncfs.c: Likewise.
36646 * misc/syscall.c: Likewise.
36647 * misc/truncate.c: Likewise.
36648 * misc/ualarm.c: Likewise.
36649 * misc/usleep.c: Likewise.
36650 * misc/ustat.c: Likewise.
36651 * misc/utimes.c: Likewise.
36652 * misc/vhangup.c: Likewise.
36653 * misc/writev.c: Likewise.
36654 * posix/_exit.c: Likewise.
36655 * posix/alarm.c: Likewise.
36656 * posix/execve.c: Likewise.
36657 * posix/fexecve.c: Likewise.
36658 * posix/fork.c: Likewise.
36659 * posix/fpathconf.c: Likewise.
36660 * posix/getaddrinfo.c: Likewise.
36661 * posix/getegid.c: Likewise.
36662 * posix/geteuid.c: Likewise.
36663 * posix/getgid.c: Likewise.
36664 * posix/getgroups.c: Likewise.
36665 * posix/getlogin.c: Likewise.
36666 * posix/getlogin_r.c: Likewise.
36667 * posix/getpgid.c: Likewise.
36668 * posix/getpid.c: Likewise.
36669 * posix/getppid.c: Likewise.
36670 * posix/getresgid.c: Likewise.
36671 * posix/getresuid.c: Likewise.
36672 * posix/getsid.c: Likewise.
36673 * posix/getuid.c: Likewise.
36674 * posix/glob64.c: Likewise.
36675 * posix/nanosleep.c: Likewise.
36676 * posix/pathconf.c: Likewise.
36677 * posix/pause.c: Likewise.
36678 * posix/posix_madvise.c: Likewise.
36679 * posix/pread.c: Likewise.
36680 * posix/pread64.c: Likewise.
36681 * posix/pwrite.c: Likewise.
36682 * posix/pwrite64.c: Likewise.
36683 * posix/sched_getaffinity.c: Likewise.
36684 * posix/sched_getp.c: Likewise.
36685 * posix/sched_gets.c: Likewise.
36686 * posix/sched_primax.c: Likewise.
36687 * posix/sched_primin.c: Likewise.
36688 * posix/sched_rr_gi.c: Likewise.
36689 * posix/sched_setaffinity.c: Likewise.
36690 * posix/sched_setp.c: Likewise.
36691 * posix/sched_sets.c: Likewise.
36692 * posix/sched_yield.c: Likewise.
36693 * posix/setgid.c: Likewise.
36694 * posix/setlogin.c: Likewise.
36695 * posix/setpgid.c: Likewise.
36696 * posix/setresgid.c: Likewise.
36697 * posix/setresuid.c: Likewise.
36698 * posix/setsid.c: Likewise.
36699 * posix/setuid.c: Likewise.
36700 * posix/sleep.c: Likewise.
36701 * posix/spawni.c: Likewise.
36702 * posix/sysconf.c: Likewise.
36703 * posix/times.c: Likewise.
36704 * posix/wait.c: Likewise.
36705 * posix/wait3.c: Likewise.
36706 * posix/wait4.c: Likewise.
36707 * posix/waitpid.c: Likewise.
36708 * resolv/gai_sigqueue.c: Likewise.
36709 * resource/getpriority.c: Likewise.
36710 * resource/getrlimit.c: Likewise.
36711 * resource/getrusage.c: Likewise.
36712 * resource/nice.c: Likewise.
36713 * resource/setpriority.c: Likewise.
36714 * resource/setrlimit.c: Likewise.
36715 * resource/ulimit.c: Likewise.
36716 * rt/aio_cancel.c: Likewise.
36717 * rt/aio_fsync.c: Likewise.
36718 * rt/aio_read.c: Likewise.
36719 * rt/aio_sigqueue.c: Likewise.
36720 * rt/aio_suspend.c: Likewise.
36721 * rt/aio_write.c: Likewise.
36722 * rt/clock_getres.c: Likewise.
36723 * rt/clock_gettime.c: Likewise.
36724 * rt/clock_nanosleep.c: Likewise.
36725 * rt/clock_settime.c: Likewise.
36726 * rt/lio_listio.c: Likewise.
36727 * rt/mq_close.c: Likewise.
36728 * rt/mq_getattr.c: Likewise.
36729 * rt/mq_notify.c: Likewise.
36730 * rt/mq_open.c: Likewise.
36731 * rt/mq_receive.c: Likewise.
36732 * rt/mq_send.c: Likewise.
36733 * rt/mq_setattr.c: Likewise.
36734 * rt/mq_timedreceive.c: Likewise.
36735 * rt/mq_timedsend.c: Likewise.
36736 * rt/mq_unlink.c: Likewise.
36737 * rt/shm_open.c: Likewise.
36738 * rt/shm_unlink.c: Likewise.
36739 * rt/timer_create.c: Likewise.
36740 * rt/timer_delete.c: Likewise.
36741 * rt/timer_getoverr.c: Likewise.
36742 * rt/timer_gettime.c: Likewise.
36743 * rt/timer_settime.c: Likewise.
36744 * setjmp/__longjmp.c: Likewise.
36745 * setjmp/setjmp.c: Likewise.
36746 * signal/kill.c: Likewise.
36747 * signal/killpg.c: Likewise.
36748 * signal/raise.c: Likewise.
36749 * signal/sigaction.c: Likewise.
36750 * signal/sigaltstack.c: Likewise.
36751 * signal/sigblock.c: Likewise.
36752 * signal/sigignore.c: Likewise.
36753 * signal/sigintr.c: Likewise.
36754 * signal/signal.c: Likewise.
36755 * signal/sigpause.c: Likewise.
36756 * signal/sigpending.c: Likewise.
36757 * signal/sigqueue.c: Likewise.
36758 * signal/sigreturn.c: Likewise.
36759 * signal/sigset.c: Likewise.
36760 * signal/sigsetmask.c: Likewise.
36761 * signal/sigstack.c: Likewise.
36762 * signal/sigsuspend.c: Likewise.
36763 * signal/sigtimedwait.c: Likewise.
36764 * signal/sigvec.c: Likewise.
36765 * signal/sigwait.c: Likewise.
36766 * signal/sigwaitinfo.c: Likewise.
36767 * signal/sysv_signal.c: Likewise.
36768 * socket/accept.c: Likewise.
36769 * socket/accept4.c: Likewise.
36770 * socket/bind.c: Likewise.
36771 * socket/connect.c: Likewise.
36772 * socket/getpeername.c: Likewise.
36773 * socket/getsockname.c: Likewise.
36774 * socket/getsockopt.c: Likewise.
36775 * socket/isfdtype.c: Likewise.
36776 * socket/listen.c: Likewise.
36777 * socket/recv.c: Likewise.
36778 * socket/recvfrom.c: Likewise.
36779 * socket/recvmsg.c: Likewise.
36780 * socket/send.c: Likewise.
36781 * socket/sendmsg.c: Likewise.
36782 * socket/sendto.c: Likewise.
36783 * socket/setsockopt.c: Likewise.
36784 * socket/shutdown.c: Likewise.
36785 * socket/sockatmark.c: Likewise.
36786 * socket/socket.c: Likewise.
36787 * socket/socketpair.c: Likewise.
36788 * stdio-common/ctermid.c: Likewise.
36789 * stdio-common/cuserid.c: Likewise.
36790 * stdio-common/remove.c: Likewise.
36791 * stdio-common/rename.c: Likewise.
36792 * stdio-common/renameat.c: Likewise.
36793 * stdio-common/tempname.c: Likewise.
36794 * stdlib/getcontext.c: Likewise.
36795 * stdlib/makecontext.c: Likewise.
36796 * stdlib/setcontext.c: Likewise.
36797 * stdlib/swapcontext.c: Likewise.
36798 * stdlib/system.c: Likewise.
36799 * streams/fattach.c: Likewise.
36800 * streams/fdetach.c: Likewise.
36801 * streams/getmsg.c: Likewise.
36802 * streams/getpmsg.c: Likewise.
36803 * streams/putmsg.c: Likewise.
36804 * streams/putpmsg.c: Likewise.
36805 * sysdeps/unix/bsd/getpt.c: Likewise.
36806 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36807 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36808 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36810 Likewise.
36811 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36812 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36813 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36814 * sysvipc/msgctl.c: Likewise.
36815 * sysvipc/msgget.c: Likewise.
36816 * sysvipc/msgrcv.c: Likewise.
36817 * sysvipc/msgsnd.c: Likewise.
36818 * sysvipc/semctl.c: Likewise.
36819 * sysvipc/semget.c: Likewise.
36820 * sysvipc/semop.c: Likewise.
36821 * sysvipc/semtimedop.c: Likewise.
36822 * sysvipc/shmat.c: Likewise.
36823 * sysvipc/shmctl.c: Likewise.
36824 * sysvipc/shmdt.c: Likewise.
36825 * sysvipc/shmget.c: Likewise.
36826 * termios/tcdrain.c: Likewise.
36827 * termios/tcflow.c: Likewise.
36828 * termios/tcflush.c: Likewise.
36829 * termios/tcgetattr.c: Likewise.
36830 * termios/tcgetpgrp.c: Likewise.
36831 * termios/tcsendbrk.c: Likewise.
36832 * termios/tcsetattr.c: Likewise.
36833 * termios/tcsetpgrp.c: Likewise.
36834 * time/adjtime.c: Likewise.
36835 * time/clock.c: Likewise.
36836 * time/getitimer.c: Likewise.
36837 * time/gettimeofday.c: Likewise.
36838 * time/setitimer.c: Likewise.
36839 * time/settimeofday.c: Likewise.
36840 * time/stime.c: Likewise.
36841 * time/time.c: Likewise.
36842
368432012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36844
a20492cf
PT
36845 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36846 /usr/old/bin.
36847
72e182e3
PT
36848 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36849 instead of spaces.
36850 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36851
fbeafede
JM
368522012-11-03 Joseph Myers <joseph@codesourcery.com>
36853
5b5b04d6
JM
36854 [BZ #14796]
36855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36856 FE_TONEAREST before applying Dekker multiplication and Knuth
36857 addition. Clear inexact exceptions and check for exact zero
36858 results afterwards.
36859 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36860 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36861 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36862 * math/libm-test.inc (fma_test): Add more tests.
36863 (fma_test_towardzero): Likewise.
36864 (fma_test_downward): Likewise.
36865 (fma_test_upward): Likewise.
36866 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36867 function.
36868 (libc_fesetround): New macro.
36869 (libc_fesetroundf): Likewise.
36870 (libc_fesetroundl): Likewise.
36871 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36872 function.
36873 (libc_fesetround_387): Likewise.
36874 (libc_fesetroundf): New macro.
36875 (libc_fesetround): Likewise.
36876 (libc_fesetroundl): Likewise.
36877 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36878 function.
36879 (libc_fesetroundf): New macro.
36880 (libc_fesetround): Likewise.
36881 (libc_fesetroundl): Likewise.
36882 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36883 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36884 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36885 libm_hidden_ver.
36886 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36887 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36888 libm_hidden_def.
36889 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36890 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36891 libm_hidden_ver.
36892 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36893 libm_hidden_def.
36894
fbeafede
JM
36895 [BZ #3439]
36896 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36897 integer constant usable in #if and use that to give value to enum
36898 constant.
36899 (FE_DIVBYZERO): Likewise.
36900 (FE_UNDERFLOW): Likewise.
36901 (FE_OVERFLOW): Likewise.
36902 (FE_INVALID): Likewise.
36903 (FE_INVALID_SNAN): Likewise.
36904 (FE_INVALID_ISI): Likewise.
36905 (FE_INVALID_IDI): Likewise.
36906 (FE_INVALID_ZDZ): Likewise.
36907 (FE_INVALID_IMZ): Likewise.
36908 (FE_INVALID_COMPARE): Likewise.
36909 (FE_INVALID_SOFTWARE): Likewise.
36910 (FE_INVALID_SQRT): Likewise.
36911 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36912 (FE_TONEAREST): Likewise.
36913 (FE_TOWARDZERO): Likewise.
36914 (FE_UPWARD): Likewise.
36915 (FE_DOWNWARD): Likewise.
36916 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36917 (FE_DIVBYZERO): Likewise.
36918 (FE_OVERFLOW): Likewise.
36919 (FE_UNDERFLOW): Likewise.
36920 (FE_INEXACT): Likewise.
36921 (FE_TONEAREST): Likewise.
36922 (FE_DOWNWARD): Likewise.
36923 (FE_UPWARD): Likewise.
36924 (FE_TOWARDZERO): Likewise.
36925 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36926 (FE_UNDERFLOW): Likewise.
36927 (FE_OVERFLOW): Likewise.
36928 (FE_DIVBYZERO): Likewise.
36929 (FE_INVALID): Likewise.
36930 (FE_TONEAREST): Likewise.
36931 (FE_TOWARDZERO): Likewise.
36932 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36933 (FE_OVERFLOW): Likewise.
36934 (FE_UNDERFLOW): Likewise.
36935 (FE_DIVBYZERO): Likewise.
36936 (FE_INEXACT): Likewise.
36937 (FE_TONEAREST): Likewise.
36938 (FE_TOWARDZERO): Likewise.
36939 (FE_UPWARD): Likewise.
36940 (FE_DOWNWARD): Likewise.
36941 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36942 (FE_DIVBYZERO): Likewise.
36943 (FE_OVERFLOW): Likewise.
36944 (FE_UNDERFLOW): Likewise.
36945 (FE_INEXACT): Likewise.
36946 (FE_TONEAREST): Likewise.
36947 (FE_DOWNWARD): Likewise.
36948 (FE_UPWARD): Likewise.
36949 (FE_TOWARDZERO): Likewise.
36950
105ca950
CM
369512012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36952
36953 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36954
a542b389
AS
369552012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36956
36957 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36958 commands. Quote $PWD.
36959 (blacklist_exports): Don't use remove_newlines. Replace "declare
36960 -x" by "export".
36961 (remove_newlines): Remove.
36962
f62c8abc
L
369632012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36964
36965 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36966 * stdlib/stdlib.h (atof): Moved to ...
36967 * include/bits/stdlib-float.h: Here. New file.
36968 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36969 * stdlib/bits/stdlib-float.h: New file.
36970 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36971 -mno-sse -mno-mmx.
36972 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36973 <xmmintrin.h>.
36974
0155d5b2
JM
369752012-11-02 Joseph Myers <joseph@codesourcery.com>
36976
a68d0680
JM
36977 * conform/conformtest.pl (@headers): Add fenv.h.
36978 * conform/data/fenv.h-data: New file.
36979 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36980 include of <math/fenv.h>.
36981
caf7f573
JM
36982 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36983 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36984 && !UNIX98]. Enables tests for XOPEN2K8.
36985 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36986 POSIX2008]: Likewise.
36987
6c073ad6
JM
36988 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36989 (struct rusage): Do not expect type or its members.
36990
0155d5b2
JM
36991 [BZ #3439]
36992 * math/math.h (FP_NAN): Define macro to integer constant usable in
36993 #if and use that to give value to enum constant.
36994 (FP_INFINITE): Likewise.
36995 (FP_ZERO): Likewise.
36996 (FP_SUBNORMAL): Likewise.
36997 (FP_NORMAL): Likewise.
36998
b5dcacb4
AS
369992012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37000
37001 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37002 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37003 arguments.
37004
f7934be8
RM
370052012-11-02 Roland McGrath <roland@hack.frob.com>
37006
37007 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37008 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37009 autoconf-time if not.
37010 * configure.in: Remove AC_PREREQ.
37011
d7d08bde
TMQMF
370122012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37013
37014 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37015 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37016 of the internal implementation.
37017
dcdae19a
JM
370182012-11-02 Joseph Myers <joseph@codesourcery.com>
37019
37020 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37021 except include of <misc/sys/syslog.h>.
37022
d6cffd3e
AS
370232012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37024
37025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37026 function returns with a NULL context exit with zero.
37027
b3563932
TMQMF
370282012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37029
37030 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37031
b288a93d
L
370322012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37033
37034 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37035 (run_program_cmd): This.
37036 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37037 (tst_langinfo): New variable. Use it.
37038
a2421a68
SAS
370392012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37040
37041 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37042 floating point opcodes.
37043
6f796e1b
TS
370442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37045
7402596b
TS
37046 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37047 variable.
37048
d0d4f868
TS
37049 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37050
6f796e1b
TS
37051 * sysdeps/mach/hurd/powerpc: Remove directory.
37052 * sysdeps/mach/powerpc: Likewise.
37053
4da224a2
AS
370542012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37055
37056 * scripts/check-local-headers.sh: Ignore c++ headers.
37057
341dd673
TS
370582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37059
37060 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37061 __libc_cleanup_region_start argument.
37062
473611b2
JM
370632012-11-01 Joseph Myers <joseph@codesourcery.com>
37064
37065 [BZ #14784]
37066 [BZ #14785]
37067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37068 x * y using scaling, not as x * y + z.
37069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37070 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37071 * math/libm-test.inc (fma_test): Add more tests.
37072 (fma_test_towardzero): Likewise.
37073 (fma_test_downward): Likewise.
37074 (fma_test_upward): Likewise.
37075
4078da3d
TS
370762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37077
37078 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37079
903252aa
JM
370802012-10-31 Joseph Myers <joseph@codesourcery.com>
37081
37082 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37083 New variable.
37084
cbc818d0
TS
370852012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37086
37087 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37088
5a03cb1e
AS
370892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37090
37091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37092 Fix sort order.
37093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37094 Likewise.
37095
90aff2ff
TMQMF
370962012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37097
37098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37099 Fix the order of the list for glibc 2.17.
37100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37101 Likewise.
37102
1818fcb7
AS
371032012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37104
37105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37106
ef82f4da
JM
371072012-10-31 Joseph Myers <joseph@codesourcery.com>
37108
16a0e2ec
JM
37109 [BZ #14610]
37110 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37111 for low part of x being zero before using __atanl (y).
37112 * math/libm-test.inc (atan2_test): Add another test.
37113
0eb69512
JM
37114 * manual/install.texi (Configuring and compiling): Document
37115 general use of test-wrapper and test-wrapper-env.
37116 * INSTALL: Regenerated.
37117
ef82f4da
JM
37118 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37119 (__fma): Do not extract and scale down low bits on after-rounding
37120 systems when result rounded to normal precision would have normal
37121 exponent.
37122 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37123 (__fmal): Do not extract and scale down low bits on after-rounding
37124 systems when result rounded to normal precision would have normal
37125 exponent.
37126 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37127 (__fmal): Do not extract and scale down low bits on after-rounding
37128 systems when result rounded to normal precision would have normal
37129 exponent.
37130 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37131 macro.
37132 (fma_test): Add more tests.
37133 (fma_test_towardzero): Likewise.
37134 (fma_test_downward): Likewise.
37135 (fma_test_upward): Likewise.
37136
954ef0d9
L
371372012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37138
37139 * sysdeps/i386/tininess.h: Renamed to ...
37140 * sysdeps/x86/tininess.h: This.
37141 * sysdeps/x86_64/tininess.h: Removed.
37142
df61ffb2
JM
371432012-10-30 Joseph Myers <joseph@codesourcery.com>
37144
37145 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37146 input. Use $(build-program-cmd).
37147 ($(objpfx)tst-array1-static.out): Likewise.
37148 ($(objpfx)tst-array2.out): Likewise.
37149 ($(objpfx)tst-array3.out): Likewise.
37150 ($(objpfx)tst-array4.out): Likewise.
37151 ($(objpfx)tst-array5.out): Likewise.
37152 ($(objpfx)tst-array5-static.out): Likewise.
37153
01767843
CM
371542012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37155
47cc1490
CM
37156 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37157 if defined.
37158
01767843
CM
37159 * nss/nsswitch.h (nss_interface_function): Provide new
37160 macro for use with NSS functions.
37161 * grp/initgroups.c: Use new macro.
37162 * nss/getXXbyYY.c: Likewise.
37163 * nss/getXXbyYY_r.c: Likewise.
37164 * nss/getXXent.c: Likewise.
37165 * nss/getXXent_r.c: Likewise.
37166 * sysdeps/posix/getaddrinfo.c: Likewise.
37167
8321aa97
AJ
371682012-10-30 Andreas Jaeger <aj@suse.de>
37169
37170 * po/ru.po: Update Russion translation from translation project.
37171
2a27fd6d
JM
371722012-10-30 Joseph Myers <joseph@codesourcery.com>
37173
8627a232
JM
37174 [BZ #14152]
37175 [BZ #14783]
37176 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37177 result and shift together with sticky bit instead of replicating
37178 round-to-nearest rounding.
37179 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37180 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37181 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37182 missing underflow exceptions.
37183 (fma_test_towardzero): Add more tests.
37184 (fma_test_downward): Likewise.
37185 (fma_test_upward): Likewise.
37186
2a27fd6d
JM
37187 [BZ #14047]
37188 * sysdeps/generic/tininess.h: New file.
37189 * sysdeps/i386/tininess.h: Likewise.
37190 * sysdeps/sh/tininess.h: Likewise.
37191 * sysdeps/x86_64/tininess.h: Likewise.
37192 * stdlib/tst-strtod-underflow.c: Likewise.
37193 * stdlib/tst-tininess.c: Likewise.
37194 * stdlib/strtod_l.c: Include <tininess.h>.
37195 (round_and_return): Do not set errno for exact underflow cases.
37196 Force an underflow exception when setting errno for underflow.
37197 Determine underflow based on rounding to normal precision if
37198 TININESS_AFTER_ROUNDING.
37199 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37200 ERANGE for exact underflow cases.
37201 * stdlib/Makefile (tests): Add tst-tininess and
37202 tst-strtod-underflow.
37203 ($(objpfx)tst-tininess): Use $(link-libm).
37204 ($(objpfx)tst-strtod-underflow): Likewise.
37205
e7170363
AJ
372062012-10-30 Andreas Jaeger <aj@suse.de>
37207
e5088dc6
AJ
37208 [BZ#14767]
37209 * elf/Makefile (tests): Remove conditional for have-initfini-array
37210 since this is now always required and the variable does not exist
37211 anymore.
37212 (tests-static): Likewise.
37213 (modules-names): Likewise.
37214
e7170363 37215 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37216
37217 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37218 merged with constructor/destructor.
37219 (init_array): Likewise.
37220 * elf/tst-array2dep.c (fini_array): Likewise.
37221 (init_array): Likewise.
37222
60457d8a
MF
372232012-10-29 Mike Frysinger <vapier@gentoo.org>
37224
37225 * manual/message.texi: Delete @cartouche tags.
37226
8bece752
PT
372272012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37228
94ce799f
PT
37229 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37230 EOPNOTSUPP.
37231 * sysdeps/mach/hurd/fsync.c: Likewise.
37232
8bece752
PT
37233 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37234 [_POSIX_REALTIME_SIGNALS]: Change condition to
37235 [_POSIX_REALTIME_SIGNALS > 0].
37236
86ebe6b1
AJ
372372012-10-27 Andreas Jaeger <aj@suse.de>
37238
37239 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37240 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37241 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37242 [__WORDSIZE != 64]: Likewise.
37243
54399c08
L
372442012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37245
37246 * iconvdata/tst-table.sh: Remove ${SHELL}.
37247 * iconvdata/tst-tables.sh: Likewise.
37248
e2211bed
DM
372492012-10-25 David S. Miller <davem@davemloft.net>
37250
37251 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37252 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37253 of strtoull.
37254
f303f97c
DM
37255 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37256 ifunc-impl-list.c
37257 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37258 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37259 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37260 file.
37261
1e9d84cd
RM
372622012-10-25 Roland McGrath <roland@hack.frob.com>
37263
37264 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37265 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37266 __getdirentries.
37267
df381762
JM
372682012-10-25 Joseph Myers <joseph@codesourcery.com>
37269 Jim Blandy <jimb@codesourcery.com>
37270
37271 * scripts/cross-test-ssh.sh: New file.
37272 * manual/install.texi (Configuring and compiling): Document use of
37273 cross-test-ssh.sh.
37274 * INSTALL: Regenerated.
37275
bff64913
PT
372762012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37277
37278 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37279 EOPNOTSUPP.
37280
25fe8932
JM
372812012-10-25 Joseph Myers <joseph@codesourcery.com>
37282
37283 * Makeconfig (run-program-prefix): Fix comment.
37284
cc1290d0
JM
372852012-10-24 Joseph Myers <joseph@codesourcery.com>
37286 Jim Blandy <jimb@codesourcery.com>
37287
37288 * Makeconfig (test-wrapper): New variable,
37289 (test-wrapper-env): Likewise.
37290 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37291 (run-built-tests): Define to yes.
37292 (run-program-prefix): Use $(test-wrapper).
37293 (built-program-cmd): Likewise.
37294 * Rules (make-test-out): Use $(test-wrapper-env) and
37295 $(host-built-program-cmd).
37296 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37297 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37298 tst-pathopt.sh.
37299 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37300 $(test-wrapper-env) to tst-rtld-load-self.sh.
37301 ($(objpfx)order2.out): Use $(test-wrapper).
37302 ($(objpfx)tst-initorder.out): Likewise.
37303 ($(objpfx)tst-initorder2.out): Likewise.
37304 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37305 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37306 (test_wrapper_env): New variable. Use it to run ld.so.
37307 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37308 Use it to run ld.so.
37309 (test_wrapper_env): Likewise.
37310 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37311 $(test-wrapper) to run-iconv-test.sh.
37312 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37313 (ICONV): Use $test_wrapper.
37314 * posix/Makefile ($(objpfx)globtest.out): Pass
37315 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37316 globtest.sh, not $(run-program-prefix).
37317 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37318 (test_wrapper): Likewise.
37319 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37320 set together with run_via_rtld_prefix.
37321 (run_program_prefix): Define in terms of test_wrapper and
37322 run_via_rtld_prefix.
37323
6e6249d0
RM
373242012-10-24 Roland McGrath <roland@hack.frob.com>
37325
37326 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37327 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37328 Targets removed.
37329
37330 [BZ #14743]
37331 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37332 Declare __clock_getres, __clock_gettime, __clock_settime,
37333 __clock_nanosleep, and __clock_getcpuclockid.
37334 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37335 Remove librt_hidden_def (clock_gettime).
37336 * sysdeps/unix/clock_gettime.c: Likewise.
37337 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37338 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37339 * rt/clock_getres.c: Define __clock_getres as an alias.
37340 * sysdeps/posix/clock_getres.c: Likewise.
37341 * rt/clock_settime.c: Define __clock_settime as an alias.
37342 * sysdeps/unix/clock_settime.c: Likewise.
37343 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37344 * sysdeps/unix/clock_nanosleep.c: Likewise.
37345 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37346 * rt/clock-compat.c: New file.
37347 * rt/Makefile (librt-routines): Add clock-compat and move
37348 $(clock-routines) to ...
37349 (routines): ... here, new variable.
37350 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37351 Don't add get_clockfreq here.
37352 * rt/Versions (libc: GLIBC_2.17): New version set.
37353 Add clock_* symbols here.
37354 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37355 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37356 (GLIBC_2.17): Add clock_* symbols.
37357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37359 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37361 Likewise.
37362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37363 Likewise.
37364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37368 * NEWS: Mention the move.
37369
37370 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37371 Use __open, __read, __close rather than their public counterparts.
37372 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37373 (__get_clockfreq_via_cpuinfo): Likewise.
37374 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37375 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37376
37377 * config.h.in (HAVE_IFUNC): New #undef.
37378 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37379 was successful.
37380 * configure: Regenerated.
37381
0cae3f4b
MF
373822012-10-24 Mike Frysinger <vapier@gentoo.org>
37383
37384 * configure.in: Move READELF check to start of file.
37385 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37386 libc_cv_asm_gnu_indirect_function in the process.
37387 * configure: Regenerated.
37388
8175a253
MF
373892012-10-24 Mike Frysinger <vapier@gentoo.org>
37390
37391 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37392 send the output to /dev/null.
37393 (libc_cv_cc_with_libunwind): Likewise.
37394 (libc_cv_as_noexecstack): Likewise.
37395 * configure: Regenerate.
37396
0708a7d1
JM
373972012-10-24 Joseph Myers <joseph@codesourcery.com>
37398
10b40d85
JM
37399 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37400
0708a7d1
JM
37401 * posix/globtest.sh (TMPDIR): Do not set.
37402 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37403 (testout): Likewise.
37404
9fddec1a
AJ
374052012-10-24 Andreas Jaeger <aj@suse.de>
37406
3a8db22f
AJ
37407 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37408 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37409 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37410 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37411 posix_fadvise64, posix_fallocate64.
37412
9fddec1a
AJ
37413 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37414 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37415 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37416 Likewise.
37417 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37418 Likewise.
37419 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37420
37421 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37422 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37423 <bits/fcntl-linux.h>.
37424 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37425
37426 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37427 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37428 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37429 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37430 [__WORDSIZE != 64]: Likewise.
37431
ebfd1bbd
JM
374322012-10-23 Joseph Myers <joseph@codesourcery.com>
37433
03ac099f
JM
37434 * Makeconfig (run-built-tests): New variable.
37435 * Rules [$(cross-compiling) = yes]: Change condition to
37436 [$(run-built-tests) = no].
37437 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37438 to [$(run-built-tests) = yes].
37439 * elf/Makefile [$(cross-compiling) = no]: Likewise
37440 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37441 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37442 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37443 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37444 * io/Makefile [$(cross-compiling) = no]: Likewise.
37445 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37446 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37447 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37448 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37449 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37450 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37451 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37452 * string/Makefile [$(cross-compiling) = no]: Likewise.
37453
ebfd1bbd
JM
37454 * posix/Makefile ($(objpfx)globtest.out): Pass
37455 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37456 $(rtld-installed-name).
37457 * posix/globtest.sh (elf_objpfx): Remove variable.
37458 (rtld_installed_name): Likewise.
37459 (library_path): Likewise.
37460 (run_program_prefix): New variable. Use for running globtest
37461 binary.
37462
166bca24
JB
374632012-10-23 Jim Blandy <jimb@codesourcery.com>
37464 Joseph Myers <joseph@codesourcery.com>
37465
37466 * Makeconfig (host-built-program-cmd): New variable.
37467 * elf/Makefile (tst-stackguard1-ARGS): Use
37468 $(host-built-program-cmd).
37469 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37470 (tst-spawn-ARGS): Likewise.
37471 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37472
88866099
JM
374732012-10-23 Joseph Myers <joseph@codesourcery.com>
37474 Jim Blandy <jimb@codesourcery.com>
37475
37476 * Makeconfig (run-via-rtld-prefix): New variable.
37477 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37478 (built-program-cmd): Likewise.
37479
b4b4c296
AJ
374802012-10-22 Andreas Jaeger <aj@suse.de>
37481
37482 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37483 __O_RSYNC if it exists, otherwise to O_SYNC.
37484
6fb54a22
JB
374852012-10-22 Jim Blandy <jimb@codesourcery.com>
37486 Joseph Myers <joseph@codesourcery.com>
37487
37488 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37489 /dev/null.
37490 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37491 from /dev/null
37492 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37493 /dev/null.
37494
481b90b9
AJ
374952012-10-22 Andreas Jaeger <aj@suse.de>
37496
2a0e2669
AJ
37497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37498 Define always.
37499 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37500
76e38f9a
AJ
37501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37502 bits/fcntl-linux.h.
37503
7cd37b43
AJ
37504 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37505 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37506
481b90b9
AJ
37507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37508 to __O_LARGEFILE.
37509 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37510 to __O_LARGEFILE.
37511
aba75984
JB
375122012-10-21 Jim Blandy <jimb@codesourcery.com>
37513 Joseph Myers <joseph@codesourcery.com>
37514
37515 * config.make.in (NM): New variable.
37516
88d4247f
AJ
375172012-10-21 Andreas Jaeger <aj@suse.de>
37518
37519 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37520 definitions and declarations that are provided by
37521 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37522
f2eed205
L
375232012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37524
37525 [BZ #14683]
37526 * elf/Makefile (tests-static): Add tst-leaks1-static.
37527 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37528 ($(objpfx)tst-leaks1-static): New rule.
37529 ($(objpfx)tst-leaks1-static-mem): Likewise.
37530 (tst-leaks1-static-ENV): New macro.
37531 * elf/dl-open.c (dl_open_worker): Check the main application
37532 only if SHARED is defined.
37533 * elf/tst-leaks1-static.c: New file.
37534
335e6931
AJ
375352012-10-20 Andreas Jaeger <aj@suse.de>
37536
37537 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37538 generic values for Linux.
37539 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37540 and declarations that are provided by <bits/fcntl-linux.h> and
37541 include <bits/fcntl-linux.h>.
37542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37543 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37544
ac5c94d3
RM
375452012-10-20 Roland McGrath <roland@hack.frob.com>
37546
37547 * io/fcntl.h: Move include of <bits/types.h> to the top and
37548 include it unconditionally.
37549
de54b33a
L
375502012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37551
228cfb01
L
37552 * wcsmbs/Makefile (tests-ifunc): New variable.
37553 (tests): Add $(tests-ifunc).
37554 * wcsmbs/test-wcschr-ifunc.c: New file.
37555 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37556 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37557 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37558 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37559 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37560
69f07e5f
L
37561 * string/Makefile (tests-ifunc): New variable.
37562 (tests): Add $(tests-ifunc).
37563 * string/test-memccpy.c (TEST_NAME): New macro.
37564 * string/test-memchr.c (TEST_NAME): Likewise.
37565 * string/test-memcmp.c (TEST_NAME): Likewise.
37566 * string/test-memcpy.c (TEST_NAME): Likewise.
37567 * string/test-memmem.c (TEST_NAME): Likewise.
37568 * string/test-memmove.c (TEST_NAME): Likewise.
37569 * string/test-memset.c (TEST_NAME): Likewise.
37570 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37571 * string/test-stpcpy.c (TEST_NAME): Likewise.
37572 * string/test-stpncpy.c (TEST_NAME): Likewise.
37573 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37574 * string/test-strcasestr.c (TEST_NAME): Likewise.
37575 * string/test-strcat.c (TEST_NAME): Likewise.
37576 * string/test-strchr.c (TEST_NAME): Likewise.
37577 * string/test-strcmp.c(TEST_NAME): Likewise.
37578 * string/test-strcpy.c (TEST_NAME): Likewise.
37579 * string/test-strcspn.c (TEST_NAME): Likewise.
37580 * string/test-strlen.c (TEST_NAME): Likewise.
37581 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37582 * string/test-strncmp.c (TEST_NAME): Likewise.
37583 * string/test-strncpy.c (TEST_NAME): Likewise.
37584 * string/test-strnlen.c (TEST_NAME): Likewise.
37585 * string/test-strpbrk.c (TEST_NAME): Likewise.
37586 * string/test-strrchr.c (TEST_NAME): Likewise.
37587 * string/test-strspn.c (TEST_NAME): Likewise.
37588 * string/test-strstr.c (TEST_NAME): Likewise.
37589 * string/test-bcopy-ifunc.c: New file.
37590 * string/test-bzero-ifunc.c: Likewise.
37591 * string/test-memccpy-ifunc.c: Likewise.
37592 * string/test-memchr-ifunc.c: Likewise.
37593 * string/test-memcmp-ifunc.c: Likewise.
37594 * string/test-memcpy-ifunc.c: Likewise.
37595 * string/test-memmem-ifunc.c: Likewise.
37596 * string/test-memmove-ifunc.c: Likewise.
37597 * string/test-mempcpy-ifunc.c: Likewise.
37598 * string/test-memset-ifunc.c: Likewise.
37599 * string/test-rawmemchr-ifunc.c: Likewise.
37600 * string/test-stpcpy-ifunc.c: Likewise.
37601 * string/test-stpncpy-ifunc.c: Likewise.
37602 * string/test-strcasecmp-ifunc.c: Likewise.
37603 * string/test-strcasestr-ifunc.c: Likewise.
37604 * string/test-strcat-ifunc.c: Likewise.
37605 * string/test-strchr-ifunc.c: Likewise.
37606 * string/test-strchrnul-ifunc.c: Likewise.
37607 * string/test-strcmp-ifunc.c: Likewise.
37608 * string/test-strcpy-ifunc.c: Likewise.
37609 * string/test-strcspn-ifunc.c: Likewise.
37610 * string/test-strlen-ifunc.c: Likewise.
37611 * string/test-strncasecmp-ifunc.c: Likewise.
37612 * string/test-strncat-ifunc.c: Likewise.
37613 * string/test-strncmp-ifunc.c: Likewise.
37614 * string/test-strncpy-ifunc.c: Likewise.
37615 * string/test-strnlen-ifunc.c: Likewise.
37616 * string/test-strpbrk-ifunc.c: Likewise.
37617 * string/test-strrchr-ifunc.c: Likewise.
37618 * string/test-strspn-ifunc.c: Likewise.
37619 * string/test-strstr-ifunc.c: Likewise.
37620
de54b33a
L
37621 * debug/Makefile (tests-ifunc): New variable.
37622 (tests): Add $(tests-ifunc).
37623 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37624 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37625 * debug/test-stpcpy_chk-ifunc.c: New file.
37626 * debug/test-strcpy_chk-ifunc.c: Likewise.
37627
88481c16
SP
376282012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37629
37630 [BZ #13601]
37631 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37632 header is not read in.
37633
135948bd
JM
376342012-10-19 Joseph Myers <joseph@codesourcery.com>
37635
89f1c388
JM
37636 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37637 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37638 directly. Pass built executable to script as
37639 $(built-program-cmd).
37640 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37641 $testprogram without using LD_LIBRARY_PATH and $ldso.
37642
e40a0d21
JM
37643 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37644 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37645 $(rtld-installed-name).
37646 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37647 (rtld_installed_name): Likewise.
37648 (library_path): Likewise.
37649 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37650 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37651 $(run-program-prefix) to tst-tables.sh.
37652 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37653 it to run tst-table-from and tst-table-to.
37654 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37655 Pass it to tst-table.sh.
37656 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37657 $(run-program-prefix) to tst-gettext.sh.
37658 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37659 tst-translit.sh.
37660 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37661 tst-gettext2.sh.
37662 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37663 to run tst-gettext.
37664 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37665 to run tst-gettext2.
37666 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37667 to run tst-translit.
37668 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37669 $(run-program-prefix) to tst-mtrace.sh.
37670 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37671 to run tst-mtrace.
37672 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37673 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37674 $(rtld-installed-name).
37675 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37676 (rtld_installed_name): Likewise.
37677 (run_program_prefix): New variable. Use it to run wordexp-test.
37678
728e272a
JM
37679 * Makeconfig (ARCH): Remove all definitions.
37680 (machine): Likewise.
37681 [ARCH]: Remove conditional code.
37682 [!objdir]: Give error.
37683 [!objdir] (objpfx): Remove.
37684 [!objdir] (common-objpfx): Likewise.
37685 [!objdir] (common-objdir): Likewise.
37686 * configure.in (config_makefile): Remove. Hardcode Makefile in
37687 AC_CONFIG_FILES call.
37688 * configure: Regenerated.
37689
d528cdcf
JM
37690 [BZ #13888]
37691 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37692 or TMPDIR.
37693 (testout): Likewise.
37694
135948bd
JM
37695 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37696 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37697 $(rtld-installed-name).
37698 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37699 (rtld_installed_name): Likwise.
37700 (runit): Remove function.
37701 (run_getconf): New variable, Use it for running getconf binary.
37702
38c78296
L
377032012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37704
37705 [BZ #14716]
37706 * string/test-memmem.c (check_result): New function.
37707 (do_one_test): Use it.
37708 (check1): New function.
37709 (test_main): Use it.
37710
d077f65f
MT
377112012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37712
37713 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37714
ced52c71
JM
377152012-10-18 Joseph Myers <joseph@codesourcery.com>
37716
37717 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37718 (_G_LSEEK64): Likewise.
37719 (_G_MMAP64): Likewise.
37720 (_G_FSTAT64): Likewise.
37721 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37722 (_G_LSEEK64): Likewise.
37723 (_G_MMAP64): Likewise.
37724 (_G_FSTAT64): Likewise.
37725 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37726 unconditional. Call __mmap64 directly.
37727 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37728 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37729 __lseek64 directly.
37730 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37731 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37732 __mmap64 directly.
37733 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37734 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37735 __lseek64 directly.
37736 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37737 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37738 __lseek64 directly.
37739 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37740 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37741 __lseek64 directly.
37742 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37743 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37744 __fxstat64 directly.
37745 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37746 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37747 unconditional.
37748 (freopen64) [!_G_OPEN64]: Remove conditional code.
37749 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37750 unconditional.
37751 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37752 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37753 unconditional.
37754 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37755 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37756 unconditional.
37757 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37758 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37759 unconditional.
37760 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37761 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37762 unconditional.
37763 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37764 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37765 unconditional.
37766 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37767 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37768 unconditional.
37769 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37770
b741de23
SP
377712012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37772
37773 [BZ #12140]
37774 * manual/memory.texi (Malloc Tunable Parameters): Add note
37775 about free list pointers overwriting some perturb bytes.
37776 Wording suggested by Roland McGrath.
37777
f9b9d9c9
JM
377782012-10-17 Joseph Myers <joseph@codesourcery.com>
37779
37780 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37781 (lgamma_test): Likewise.
37782 (tgamma_test): Likewise.
37783
172a631a
FW
377842012-10-16 Florian Weimer <fweimer@redhat.com>
37785
37786 [BZ #14700]
37787 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37788 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37789
e9f37252
MK
377902012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37791
37792 * NEWS: Mention BZ #14716.
37793 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37794 when removing AVAILABLE1_USES_J macro.
37795
d394eb74
L
377962012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37797
37798 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37799 (__bswap_64): __uint64_t for unsigned 64-bit int.
37800
ca38dc17
AS
378012012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37802
37803 * include/string.h (memmem): Declare libc hidden alias.
37804 * string/memmem.c (memmem): Define libc hidden alias.
37805 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37806 __read, __close instead of open, read, close.
37807
9a387d1f
L
378082012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37809
ac49ecaf
L
37810 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37811 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37812 global and hidden.
37813 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37814 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37815 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37816 Likewise.
37817 (__rawmemchr_sse2): Likewise.
37818 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37819 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37820 (__strchr_sse2): Likewise.
37821 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37822 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37823 (__strcasecmp_sse2): Likewise.
37824 (__strncasecmp_sse2): Likewise.
37825 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37826 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37827 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37828 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37829 (__strrchr_sse2): Likewise.
37830 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37831 ifunc-impl-list.c.
37832 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37833 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37834 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37835 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37836 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37837 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37838 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37839 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37840 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37841 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37842 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37843 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37844 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37845 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37846 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37847 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37848 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37849 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37850 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37851 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37852 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37853 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37854 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37855 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37856 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37857 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37858 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37859 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37860 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37861 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37862
b090e8ea
L
37863 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37864 global and hidden.
37865 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37866 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37867 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37868 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37869 Likewise.
37870 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37871 Likewise.
37872 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37873 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37874 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37875 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37876 ifunc-impl-list.c.
37877 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37878 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37879 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37880 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37881 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37882 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37883 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37884 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37885 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37886 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37887 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37888 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37889 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37890 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37891 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37892 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37893 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37894 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37895 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37896 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37897 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37898 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37899 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37900 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37901 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37902 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37903 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37904 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37905 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37906 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37907 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37908 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37909 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37910 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37911 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37912 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37913 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37914 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37915 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37916 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37917 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37918
11dd4af6
L
37919 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37920 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37921 * include/ifunc-impl-list.h: New file.
37922 * misc/ifunc-impl-list.c: Likewise.
37923 * misc/Makefile (routines): Add ifunc-impl-list.
37924 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37925 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37926 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37927 TEST_NAME]: New variables.
11dd4af6
L
37928 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37929 are defined.
37930 (test_init): Call __libc_ifunc_impl_list to initialize
37931 func_list if TEST_IFUNC and TEST_NAME are defined.
37932
9a387d1f
L
37933 * string/Makefile (strop-tests): Add bcopy and bzero.
37934 * string/test-bcopy.c: New file.
37935 * string/test-bzero.c: Likewise.
37936 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37937 defined.
37938 * string/test-memset.c: Support bzero test if TEST_BZERO is
37939 defined.
37940 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37941 __libc_memmove.
37942 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37943 __libc_memset.
37944 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37945 of memset.
37946
472371b9
JM
379472012-10-10 Joseph Myers <joseph@codesourcery.com>
37948
1e4a9536
JM
37949 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37950 * configure: Regenerated.
37951
d173d12e
JM
37952 * Makeconfig (+link-static-before-libc): Don't include
37953 $(link-static-libc).
37954
472371b9
JM
37955 * libio/libio.h (_IO_pos_t): Remove.
37956
89a3ad0b
AO
379572012-10-10 Alexandre Oliva <aoliva@redhat.com>
37958
37959 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37960 McGrath.
37961
e7451425
AO
379622012-10-10 Alexandre Oliva <aoliva@redhat.com>
37963
37964 * crypt/crypt-entry.c: Include fips-private.h.
37965 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37966 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37967 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37968 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37969
4ba74a35
AO
379702012-10-10 Alexandre Oliva <aoliva@redhat.com>
37971
37972 * crypt/crypt-private.h: Include stdbool.h.
37973 (_ufc_setup_salt_r): Return bool.
37974 * crypt/crypt-entry.c: Include errno.h.
37975 (__crypt_r): Return NULL with EINVAL for bad salt.
37976 * crypt/crypt_util.c (bad_for_salt): New.
37977 (_ufc_setup_salt_r): Check that salt is long enough and within
37978 the specified alphabet.
37979 * crypt/badsalttest.c: New file.
37980 * crypt/Makefile (tests): Add it.
37981 ($(objpfx)badsalttest): New.
37982
f96f1242
MK
379832012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37984
37985 * NEWS: Add entry for BZ #14602.
37986
0e8e0c1c
JM
379872012-10-09 Joseph Myers <joseph@codesourcery.com>
37988
37989 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37990 type-generic.
37991 * math/libm-test.inc: Update comment listing what functions and
37992 macros are tested.
37993 (isgreater_test): New function.
37994 (isgreaterequal_test): Likewise.
37995 (isless_test): Likewise.
37996 (islessequal_test): Likewise.
37997 (islessgreater_test): Likewise.
37998 (isunordered_test): Likewise.
37999 (main): Call the new functions.
38000
273edc5e
RM
380012012-10-09 Roland McGrath <roland@hack.frob.com>
38002
b8493de0
RM
38003 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38004 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38005 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38006 * sysdeps/i386/configure: Regenerated.
38007 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38008 * sysdeps/mach/configure: Regenerated.
38009 * sysdeps/mach/hurd/configure: Regenerated.
38010 * sysdeps/powerpc/configure: Regenerated.
38011 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38012 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38013 * sysdeps/s390/s390-32/configure: Regenerated.
38014 * sysdeps/s390/s390-64/configure: Regenerated.
38015 * sysdeps/sh/configure: Regenerated.
38016 * sysdeps/sparc/configure: Regenerated.
38017 * sysdeps/unix/sysv/linux/configure: Regenerated.
38018 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38019 * sysdeps/x86_64/configure: Regenerated.
38020
273edc5e
RM
38021 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38022 defined. Don't check if MAP is NULL.
38023
c8450f70
JM
380242012-10-09 Joseph Myers <joseph@codesourcery.com>
38025
38026 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38027 (_G_stat64): Likewise.
38028 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38029 (_G_stat64): Likewise.
38030 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38031 instead of struct _G_stat64.
38032 * libio/fileops.c (mmap_remap_check): Likewise.
38033 (decide_maybe_mmap): Likewise.
38034 (_IO_new_file_seekoff): Likewise.
38035 (_IO_file_stat): Likewise.
38036 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38037 _G_off64_t.
38038 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38039 instead of struct _G_stat64.
38040 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38041
57e605ba
MK
380422012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38043
38044 [BZ #14602]
38045 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38046 Replace with ...
38047 (CHECK_EOL): New macro.
38048 (two_way_short_needle): Check beginning of haystack for EOL. Use
38049 CHECK_EOL.
38050 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38051 Replace with CHECK_EOL.
38052 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38053 Replace with CHECK_EOL.
38054
ef1bb361
JM
380552012-10-08 Joseph Myers <joseph@codesourcery.com>
38056
38057 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38058 type-generic.
38059 * math/libm-test.inc: Update comment listing what functions and
38060 macros are tested.
38061 (finite_test): New function.
38062 (isinf_test): Likewise.
38063 (isnan_test): Likewise.
38064 (fpclassify_test): Test subnormal input.
38065 (isfinite_test): Likewise.
38066 (isnormal_test): Likewise.
38067 (main): Call the new functions.
38068
55f11534
JN
380692012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38070
38071 [BZ #14660]
38072 * Makerules (%.dynsym): Force C locale when running
38073 $(OBJDUMP) --dynamic-syms.
38074
1ab29350
AS
380752012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38076
38077 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38078 <stdint.h>.
38079
f1ecb7ef
DM
380802012-10-06 David S. Miller <davem@davemloft.net>
38081
38082 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38083 upper 32-bits of the length value in %o2 since we use branch-on-register
38084 tests which consider the entire 64-bit register.
38085
5d41d91a
L
380862012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38087
38088 * string/test-strstr.c (check2): Add a test for page boundary.
38089
3baddb72
DM
380902012-10-05 David S. Miller <davem@davemloft.net>
38091
38092 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38093 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38094 file.
38095 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38096 sysdep_routines.
38097 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38098 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38099 and bzero when HWCAP_SPARC_CRYPTO is present.
38100
9cee5585
L
381012012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38102
d7e0dab9
L
38103 [BZ #14602]
38104 * string/test-strstr.c (check2): New function.
38105 (test_main): Call check2.
38106
03759f47
L
38107 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38108 and bug-strchr1.
38109 * string/bug-strcasestr1.c (do_test): Moved to ...
38110 * string/test-strcasestr.c (check1): Here. New function.
38111 (do_one_test): Break out result checking code into ...
38112 (check_result): This. New function.
38113 (do_one_test): Call check_result.
38114 (test_main): Call check1.
38115 * string/bug-strchr1.c (do_test): Moved to ...
38116 * string/test-strchr.c (check1): Here. New function.
38117 (do_one_test): Break out result checking code into ...
38118 (check_result): This. New function.
38119 (do_one_test): Call check_result.
38120 (test_main): Call check1.
38121 * string/bug-strstr1.c (main): Moved to ...
046f153e 38122 * string/test-strstr.c (check1): Here. New function.
03759f47
L
38123 (do_one_test): Break out result checking code into ...
38124 (check_result): This. New function.
38125 (do_one_test): Call check_result.
38126 (test_main): Call check1.
38127 * string/bug-strcasestr1.c: Removed.
38128 * string/bug-strchr1.c: Likewise.
38129 * string/bug-strstr1.c: Likewise.
38130
53cea63e
L
38131 * elf/Makefile (dl-routines): Add hwcaps.
38132 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38133 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38134 (_dl_important_hwcaps): Moved to ...
38135 * elf/dl-hwcaps.c: Here. New file.
38136 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38137
9cee5585 38138 [BZ #14557]
bb859b06
L
38139 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38140 if IS_IN_rtld isn't defined.
38141
9cee5585
L
38142 * elf/dl-support.c (_dl_sysinfo_map): New.
38143 Include "get-dynamic-info.h" and "setup-vdso.h".
38144 (_dl_non_dynamic_init): Call setup_vdso.
38145 * elf/dynamic-link.h: Don't include <assert.h>.
38146 (elf_get_dynamic_info): Moved to ...
38147 * elf/get-dynamic-info.h: Here. New file.
38148 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38149 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38150 * elf/setup-vdso.h: Here. New file.
38151 * elf/rtld.c: Include "setup-vdso.h".
38152 (dl_main): Call setup_vdso.
38153
23c31b76
JM
381542012-10-05 Joseph Myers <joseph@codesourcery.com>
38155
28234b07
JM
38156 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38157 creal in comment listing functions tested. List finite, isinf,
38158 isnan, isless, islessequal, isgreater, isgreaterequal,
38159 islessgreater, isunordered, lgamma_r and pow10 as functions and
38160 macros not tested. Mention which functions not tested are aliases
38161 for other functions. Fix typo. Note that signs of NaNs are not
38162 tested.
38163
23c31b76
JM
38164 * scripts/config.guess: Update from config.git.
38165 * scripts/config.sub: Likewise.
38166
9043e228
RM
381672012-10-04 Roland McGrath <roland@hack.frob.com>
38168
38169 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38170 * misc/madvise.c (madvise): Renamed to __madvise.
38171 Make madvise a weak alias.
38172 * include/sys/mman.h: Declare __madvise.
38173 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38174 * sysdeps/unix/syscalls.list
38175 (madvise): Make __madvise the strong name, and madvise a weak alias.
38176 * sysdeps/unix/sysv/linux/syscalls.list
38177 (madvise, mmap): Remove redundant entries.
38178 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38179 * malloc/malloc.c (mtrim): Likewise.
38180 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38181
f57f8055
RM
381822012-10-03 Roland McGrath <roland@hack.frob.com>
38183
38184 * sysdeps/mach/hurd/dl-cache.c: File removed.
38185 * config.h.in (USE_LDCONFIG): New #undef.
38186 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38187 * configure: Regenerated.
38188 * elf/Makefile (dl-routines): Add dl-cache only under
38189 [$(use-ldconfig) = yes].
38190 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38191 cache on [USE_LDCONFIG].
38192 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38193 [USE_LDCONFIG].
38194 * elf/rtld.c (dl_main): Likewise.
38195
5bb0c10a
PT
381962012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38197
38198 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38199 _SC_LEVEL4_CACHE_LINESIZE.
38200
010188c6
RM
382012012-10-03 Roland McGrath <roland@hack.frob.com>
38202
38203 * sysdeps/unix/bsd/confstr.h: File removed.
38204
b6c5ec07
AO
382052012-10-02 Alexandre Oliva <aoliva@redhat.com>
38206
38207 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38208 sys/sdt-config.h.
38209
408223d4
RM
382102012-10-02 Roland McGrath <roland@hack.frob.com>
38211
38212 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38213 Make 'mapoff' field ElfW(Off) rather than off_t.
38214
bb9510dc
DL
382152012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38216
fc997c6e
DL
38217 * nscd/Makefile: Remove nscd-cflags and all its users.
38218 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38219 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38220
bb9510dc
DL
38221 [BZ #10631]
38222 * malloc.c (malloc_printerr): Clarify error message.
38223
05699367
L
382242012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38225
38226 [BZ #14648]
38227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38228 Set bit_FMA_Usable if FMA is supported.
38229 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38230 macro.
38231 (bit_FMA4_Usable): Updated.
38232 (index_FMA_Usable): New macro.
38233 (CPUID_FMA): Likewise
38234 (HAS_FMA): Defined with bit_FMA_Usable.
38235
51367701
RM
382362012-10-01 Roland McGrath <roland@hack.frob.com>
38237
38238 * bits/types.h (__swblk_t): Type removed.
38239 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38240 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38241 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38242 (__SWBLK_T_TYPE): Likewise.
38243 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38244 (__SWBLK_T_TYPE): Likewise.
38245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38246 (__SWBLK_T_TYPE): Likewise.
38247 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38248 (__SWBLK_T_TYPE): Likewise.
38249
4d57bf63 382502012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38251 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38252
38253 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38254 (xdr_mapname): Use YPMAXMAP as maxsize.
38255 (xdr_peername): Use YPMAXPEER as maxsize.
38256 (xdr_keydat): Use YPAXRECORD as maxsize.
38257 (xdr_valdat): Use YPMAXRECORD as maxsize.
38258
93c65d43
RM
382592012-10-01 Roland McGrath <roland@hack.frob.com>
38260
497a03d6
RM
38261 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38262
93c65d43
RM
38263 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38264 * csu/init-first.c: ... here.
38265 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38266 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38267 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38268 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38269 * sysdeps/i386/init-first.c: File removed.
38270 * sysdeps/sh/init-first.c: File removed.
38271
bec749fd
JM
382722012-10-01 Joseph Myers <joseph@codesourcery.com>
38273
38274 [BZ #14645]
38275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38276 if x * y might underflow to zero and z is zero.
38277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38278 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38279 * math/libm-test.inc (min_subnorm_value): New variable.
38280 (fma_test): Add more tests.
38281 (fma_test_towardzero): Likewise.
38282 (fma_test_downward): Likewise
38283 (fma_test_upward): Likewise.
38284 (initialize): Set min_subnorm_value.
38285
8ec5b013
JM
382862012-09-29 Joseph Myers <joseph@codesourcery.com>
38287
38288 [BZ #14638]
38289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38290 0 + 0.
38291 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38292 mode for addition resulting in exact zero.
38293 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38294 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38295 exact 0 + 0.
38296 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38297 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38298 * math/libm-test.inc (fma_test): Add more tests.
38299 (fma_test_towardzero): New function.
38300 (fma_test_downward): Likewise.
38301 (fma_test_upward): Likewise.
38302 (main): Call the new functions.
38303
b1fa802e
DM
383042012-09-28 David S. Miller <davem@davemloft.net>
38305
38306 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38307
d3b9fd9e
RM
383082012-09-28 Roland McGrath <roland@hack.frob.com>
38309
ea4d37b3
RM
38310 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38311 instead of SIGALRM.
38312
ac51c949
RM
38313 * sysdeps/gnu/_G_config.h: Moved to ...
38314 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38315 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38316 * sysdeps/generic/_G_config.h: ... here.
38317
28c195f7
RM
38318 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38319
848917f9
RM
38320 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38321
6bacf05b
RM
38322 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38323 Conditionalize target on [libnss_test1.so-version].
38324
91363dbb
RM
38325 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38326
cc87f7d8
RM
38327 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38328 (elfobjdir): Move out of conditionals.
38329
b1c608fe
RM
38330 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38331 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38332 (__nss_lookup_function): Conditionalize label remove_from_tree on
38333 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38334
1d9a6d96
DM
383352012-09-28 David S. Miller <davem@davemloft.net>
38336
38337 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38338 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38339 file.
38340 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38341 sysdep_routines.
38342 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38344 when HWCAP_SPARC_CRYPTO is present.
38345
72581615
PT
383462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38347
38348 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38349
715a900c
JL
383502012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38351
38352 [BZ #6530]
38353 * stdio-common/vfprintf.c (process_string_arg): Revert
38354 2000-07-22 change.
38355
383562011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38357
38358 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38359 for testcase.
38360 * stdio-common/tst-sprintf.c: Include <locale.h>
38361 (main): Test sprintf's handling of incomplete multibyte
38362 characters.
38363
9bac1d86
L
383642012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38365
38366 * elf/dl-runtime.c (VERSYMIDX): Removed.
38367 * elf/dl-version.c (VERSYMIDX): Likewise.
38368 * elf/do-rel.h (VERSYMIDX): Likewise.
38369 (VALIDX): Likewise.
38370 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38371 * elf/rtld.c (VALIDX): Likewise.
38372 (ADDRIDX): Likewise.
9bac1d86
L
38373 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38374 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38375 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38376 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38377 (VALIDX): Likewise.
38378 (ADDRIDX): Likewise.
9bac1d86 38379
b31606c0
PT
383802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38381
38382 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38383
11541177
JL
383842012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38385
38386 [BZ #11438]
38387 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38388 to global scope.
38389 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38390 addresses are in the same scope as 192.0.2/24.
38391 * posix/gai.conf: Document new scope table defaults.
38392
adb26fae
SP
383932012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38394
38395 [BZ #5298]
38396 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38397 for ftell. Compute offsets from write pointers instead.
38398 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38399
4573c6b0
SP
384002012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38401
38402 [BZ #14543]
38403 * libio/Makefile (tests): New test case tst-fseek.
38404 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38405 combination works in wide mode.
38406 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38407 state when the external buffer state changes.
38408
aa9bbfe6
DM
384092012-09-27 David S. Miller <davem@davemloft.net>
38410
38411 [BZ #14376]
38412 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38413 pass reloc->r_addend in as the 'high' argument to
38414 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38415
784421e7
DM
38416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38417
c39bc8b8
PT
384182012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38419
38420 * rt/tst-aio2.c: Include <pthread.h>.
38421 * rt/tst-aio3.c: Likewise.
38422
1ccc2399
SE
384232012-09-27 Steve Ellcey <sellcey@mips.com>
38424
38425 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38426
31ed4153
L
384272012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38428
25f5f885
L
38429 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38430 contents on [SHARED].
31ed4153 38431
b7bfe116
MP
384322012-09-26 Marek Polacek <polacek@redhat.com>
38433
38434 [BZ #14530]
38435 [BZ #13741]
38436 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38437 for C++ and GCC <4.3 as well as for non GCC compilers.
38438
43c4edba
MT
384392012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38440
38441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38442
6a1bf82f
RM
384432012-09-25 Roland McGrath <roland@hack.frob.com>
38444
38445 * Makefile.in (all, install): Declare with .PHONY.
38446 Reported by Michael Hope <michael.hope@linaro.org>.
38447
8ad11b9a
TMQMF
384482012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38449
38450 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38451 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38452 system header.
38453 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38454 Likewise.
38455 (sydep_routines): Add the new and the internal functions.
38456 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38457 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38459 (GLIBC_2.17): Add the new function.
38460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38461 (GLIBC_2.17): Likewise.
38462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38463 (GLIBC_2.17): Likewise.
38464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38465 (GLIBC_2.17): Likewise.
38466 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38467
7e2fca8d
AM
384682012-09-25 Alan Modra <amodra@gmail.com>
38469
38470 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38471 Add release barrier before setting once_control to say
38472 initialisation is done. Add hints on lwarx. Use macro in
38473 place of isync.
38474 (clear_once_control): Add release barrier.
38475
b87c4b24
JM
384762012-09-25 Joseph Myers <joseph@codesourcery.com>
38477
d032e0d2
JM
38478 [BZ #13629]
38479 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38480 specially.
38481 * math/s_clog10.c (__clog10): Likewise.
38482 * math/s_clog10f.c (__clog10f): Likewise.
38483 * math/s_clog10l.c (__clog10l): Likewise.
38484 * math/s_clogf.c (__clogf): Likewise.
38485 * math/s_clogl.c (__clogl): Likewise.
38486 * math/Makefile (libm-calls): Add x2y2m1.
38487 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38488 (__x2y2m1): Likewise.
38489 (__x2y2m1l): Likewise.
38490 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38491 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38492 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38493 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38494 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38495 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38496 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38497 * sysdeps/i386/fpu/libm-test-ulps: Update.
38498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38499
b87c4b24
JM
38500 [BZ #14621]
38501 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38502 int as type of variable DEPTH.
38503 (glob): Use size_t instead of int as type of variables NEWCOUNT
38504 and OLD_PATHC.
38505
6d3bf199
LD
385062012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38507
22bf5c17
LD
38508 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38509 Add s_sincosf-sse2.
38510 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38511 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38512 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38513 macros for using routine as __sincosf_ia32.
38514 Use macro for function declaration and weak_alias.
38515 * sysdeps/i386/fpu/libm-test-ulps: Update.
38516
38517 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38519
38520 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38521 subnormal argument.
38522 * math/s_cexpf.c (__cexpf): Likewise.
38523 * math/s_csinf.c (__csinf): Likewise.
38524 * math/s_csinhf.c (__csinhf): Likewise.
38525 * math/s_ctanf.c (__ctanf): Likewise.
38526 * math/s_ctanhf.c (__ctanhf): Likewise.
38527 * math/s_ccosh.c (__ccoshf): Likewise.
38528 * math/s_cexp.c (__cexpl): Likewise.
38529 * math/s_csin.c (__csin): Likewise.
38530 * math/s_csinh.c (__csinh): Likewise.
38531 * math/s_ctan.c (__ctan): Likewise.
38532 * math/s_ctanh.c (ctanh): Likewise.
38533 * math/s_ccoshl.c (__ccoshl): Likewise.
38534 * math/s_cexpl.c (__cexpl): Likewise.
38535 * math/s_csinl.c (__csinl): Likewise.
38536 * math/s_csinhl.c (__csinhl): Likewise.
38537 * math/s_ctanl.c (__ctanl): Likewise.
38538 * math/s_ctanhl.c (__ctanhl): Likewise.
38539
203e5603
JM
385402012-09-25 Joseph Myers <joseph@codesourcery.com>
38541
38542 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38543 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38544 (_IO_off_t): Define to __off_t, not _G_off_t.
38545 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38546 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38547 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38548 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38549 type of __dummy and __dummy2 fields.
38550 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38551 (_G_ssize_t): Likewise.
38552 (_G_off_t): Likewise.
38553 (_G_pid_t): Likewise.
38554 (_G_uid_t): Likewise.
38555 (_G_wchar_t): Likewise.
38556 (_G_wint_t): Likewise.
38557 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38558 (_G_ssize_t): Likewise.
38559 (_G_off_t): Likewise.
38560 (_G_pid_t): Likewise.
38561 (_G_uid_t): Likewise.
38562 (_G_wchar_t): Likewise.
38563 (_G_wint_t): Likewise.
38564 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38565 (_G_ssize_t): Likewise.
38566 (_G_off_t): Likewise.
38567 (_G_pid_t): Likewise.
38568 (_G_uid_t): Likewise.
38569 (_G_wchar_t): Likewise.
38570 (_G_wint_t): Likewise.
38571
9fab36eb
SP
385722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38573
38574 * malloc/arena.c: Include malloc-sysdep.h.
38575 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38576 is sufficient to shrink the heap or an unmap is needed.
38577 * sysdeps/generic/malloc-sysdep.h: New file. Define
38578 new function check_may_shrink_heap.
38579 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38580 new function check_may_shrink_heap.
38581
2b4f00d1
SP
385822012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38583
38584 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38585 comments.
38586
9a9028b1
DL
385872012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38588
57c69bef
DL
38589 * catgets/test-gencat.sh: Add "set -e".
38590 * elf/tst-pathopt.sh: Likewise.
38591 * grp/tst_fgetgrent.sh: Likewise.
38592 * iconvdata/run-iconv-test.sh: Likewise.
38593 * intl/tst-gettext.sh: Likewise.
38594 * intl/tst-gettext2.sh: Likewise.
38595 * intl/tst-gettext4.sh: Likewise.
38596 * intl/tst-gettext6.sh: Likewise.
38597 * intl/tst-translit.sh: Likewise.
38598 * io/ftwtest-sh: Likewise.
38599 * libio/test-freopen.sh: Likewise.
38600 * malloc/tst-mtrace.sh: Likewise.
38601 * posix/globtest.sh: Likewise.
38602 * posix/tst-getconf.sh: Likewise.
38603 * posix/wordexp-tst.sh: Likewise.
38604 * stdio-common/tst-printf.sh: Likewise.
38605 * stdio-common/tst-unbputc.sh: Likewise.
38606 * stdlib/tst-fmtmsg.sh: Likewise.
38607 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38608 * catgets/Makefile: Do not specify -e option when running
38609 testsuite shell scripts.
38610 * elf/Makefile: Likewise.
38611 * grp/Makefile: Likewise.
38612 * iconvdata/Makefile: Likewise.
38613 * intl/Makefile: Likewise.
38614 * io/Makefile: Likewise.
38615 * libio/Makefile: Likewise.
38616 * malloc/Makefile: Likewise.
38617 * posix/Makefile: Likewise.
38618 * stdio-common/Makefile: Likewise.
38619 * stdlib/Makefile: Likewise.
38620 * sysdeps/x86_64/Makefile: Likewise.
38621
9a9028b1
DL
38622 * io/ftwtest-sh: Add copyright header.
38623 * posix/globtest.sh: Likewise.
38624 * posix/tst-getconf.sh: Likewise.
38625 * posix/wordexp-tst.sh: Likewise.
38626 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38627
ced6f16e
L
386282012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38629
94b32c39
L
38630 [BZ #13679]
38631 * Makeconfig (+link): Defined as $(+link-static) if
38632 $(build-shared) isn't yes.
38633 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38634 isn't yes.
38635 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38636
189e935b
L
38637 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38638
ced6f16e
L
38639 [BZ #14562]
38640 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38641 new chunk size with MALLOC_ALIGN_MASK.
38642
a9f8e53a
JM
386432012-09-24 Joseph Myers <joseph@codesourcery.com>
38644
38645 [BZ #5044]
38646 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38647 <rounding-mode.h>.
38648 (__printf_fphex): Determine rounding using get_rounding_mode and
38649 round_away.
38650 * stdio-common/tst-printf-round.c (struct hex_test): New
38651 structure.
38652 (hex_tests): New variable.
38653 (test_hex_in_one_mode): New function.
38654 (do_test): Also run tests for hex float output.
38655
43153109
JM
386562012-09-21 Joseph Myers <joseph@codesourcery.com>
38657
38658 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38659 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38660 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38661 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38662 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38663 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38664 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38665 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38666
8a26625d
JM
386672012-09-20 Joseph Myers <joseph@codesourcery.com>
38668
38669 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38670 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38671 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38672 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38673
f3fd569c
DL
386742012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38675
38676 [BZ #14579]
38677 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38678 mode only.
38679 * elf/tst-rtld-load-self.sh: New test.
38680 * elf/Makefile: Run it.
38681
63bbedd4
JM
386822012-09-18 Joseph Myers <joseph@codesourcery.com>
38683
38684 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38685 (tst-writev-ENV): Remove.
38686 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38687
626f8b6a
CM
386882012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38689
38690 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38691
b7aaa4d6
JM
386922012-09-17 Joseph Myers <joseph@codesourcery.com>
38693
38694 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38695 unconditional.
38696 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38697 Likewise.
38698 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38699 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38700 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38701 Likewise.
38702
65513990
L
387032012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38704
38705 [BZ #14587]
38706 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38707 * config.make.in (have-cpp-asm-debuginfo): Removed.
38708 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38709 * configure: Regenerated.
38710
784761be
JM
387112012-09-14 Joseph Myers <joseph@codesourcery.com>
38712
38713 [BZ #5044]
38714 * stdio-common/printf_fp.c: Include <stdbool.h> and
38715 <rounding-mode.h>.
38716 (___printf_fp): Determine rounding using get_rounding_mode and
38717 round_away.
38718 * stdio-common/tst-printf-round.c: New file.
38719 * stdio-common/Makefile (tests): Add tst-printf-round.
38720 (link-libm): New variable.
38721 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38722
9503345f
L
387232012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38724
38725 [BZ #14576]
38726 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38727 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38728 Likewise.
38729 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38730 Likewise.
38731
ad35fc00
JM
387322012-09-13 Joseph Myers <joseph@codesourcery.com>
38733
38734 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38735 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38736 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38737 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38738
6c9b0f68
JM
387392012-09-12 Joseph Myers <joseph@codesourcery.com>
38740
38741 [BZ #14518]
38742 * include/rounding-mode.h: New file.
38743 * sysdeps/generic/get-rounding-mode.h: Likewise.
38744 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38745 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38746 (MAX_VALUE): New macro.
38747 (MIN_VALUE): Likewise.
38748 (overflow_value): New function.
38749 (underflow_value): Likewise.
38750 (round_and_return): Use overflow_value and underflow_value to
38751 determine return values in overflow and underflow cases. Use
38752 round_away to determine rounding depending on rounding mode.
38753 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38754 determine return values in overflow and underflow cases.
38755 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38756 (struct test_results): New structure.
38757 (struct test): Use struct test_results to store expected results
38758 for all rounding modes.
38759 (TEST): Include expected results for all rounding modes.
38760 (test_in_one_mode): New function.
38761 (do_test): Use test_in_one_mode to compute and check results.
38762 Check results for all rounding modes.
38763 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38764 $(link-libm).
38765
19fcedd5
AM
387662012-12-09 Allan McRae <allan@archlinux.org>
38767
1e9d84cd 38768 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 38769
8bbfd2f1
JM
387702012-09-11 Joseph Myers <joseph@codesourcery.com>
38771
38772 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38773 (_G_int32_t): Likewise.
38774 (_G_uint16_t): Likewise.
38775 (_G_uint32_t): Likewise.
38776 (_G_HAVE_BOOL): Likewise.
38777 (_G_HAVE_ATEXIT): Likewise.
38778 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38779 (_G_HAVE_IO_FILE_OPEN): Likewise.
38780 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38781 (_G_int32_t): Likewise.
38782 (_G_uint16_t): Likewise.
38783 (_G_uint32_t): Likewise.
38784 (_G_HAVE_BOOL): Likewise.
38785 (_G_HAVE_ATEXIT): Likewise.
38786 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38787 (_G_HAVE_IO_FILE_OPEN): Likewise.
38788 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38789 (_G_int32_t): Likewise.
38790 (_G_uint16_t): Likewise.
38791 (_G_uint32_t): Likewise.
38792 (_G_HAVE_BOOL): Likewise.
38793 (_G_HAVE_ATEXIT): Likewise.
38794 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38795 (_G_HAVE_IO_FILE_OPEN): Likewise.
38796
b1dc5912
L
387972012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38798
38799 * csu/libc-tls.c: Update copyright years.
38800
0e886ef9
JM
388012012-09-10 Joseph Myers <joseph@codesourcery.com>
38802
28361c5e
JM
38803 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38804 [!_G_USING_THUNKS]: Remove conditional code.
38805 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38806 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38807
0e886ef9
JM
38808 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38809 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38810 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38811 (_G_VTABLE_LABEL_PREFIX): Likewise.
38812 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38813 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38814 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38815 (_G_VTABLE_LABEL_PREFIX): Likewise.
38816 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38817 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38818 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38819 (_G_VTABLE_LABEL_PREFIX): Likewise.
38820 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38821
bcba7aa2
L
388222012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38823
38824 * libio/Makefile: Include ../Makeconfig before tests.
38825 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38826 only if $(build-shared) is yes.
38827
06585ee8
L
38828 * iconv/gconv_db.c: Update copyright years.
38829
80ccd52c
LD
388302012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38831
38832 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38833 unwind info if defined PIC. Fix special cases description.
38834 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38835
38836 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38837 DP_HI_MASK entry.
38838 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38839
691bc9c1
L
388402012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38841
3d9b46b3
L
38842 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38843
de2139a9
L
38844 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38845 is NULL.
38846
5ca78dd0
L
38847 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38848 (LDLIBS-tst-chk4): This.
38849 (LDFLAGS-tst-chk5): Renamed to ...
38850 (LDLIBS-tst-chk5): This.
38851 (LDFLAGS-tst-chk6): Renamed to ...
38852 (LDLIBS-tst-chk6): This.
38853 (LDFLAGS-tst-lfschk4): Renamed to ...
38854 (LDLIBS-tst-lfschk4): This.
38855 (LDFLAGS-tst-lfschk5): Renamed to ...
38856 (LDLIBS-tst-lfschk5): This.
38857 (LDFLAGS-tst-lfschk6): Renamed to ...
38858 (LDLIBS-tst-lfschk6): This.
38859
691bc9c1
L
38860 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38861 on $(common-objpfx)soversions.mk.
38862
65cafb1c
JM
388632012-09-07 Joseph Myers <joseph@codesourcery.com>
38864
38865 [BZ #10014]
38866 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38867 example host name.
38868
c78ab094
SP
388692012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38870
38871 * malloc/arena.c (arena_get_retry): New function that gets
38872 another arena for the caller to try its request on.
38873 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38874 current arena cannot fulfill the request.
38875 (__libc_memalign): Likewise.
38876 (__libc_memalign): Likewise.
38877 (__libc_pvalloc): Likewise.
38878 (__libc_calloc): Likewise.
38879
01f49f59
JT
388802012-09-05 John Tobey <john.tobey@gmail.com>
38881
38882 [BZ #13542]
38883 * manual/arith.texi (Operations on Complex): Fix description
38884 of carg branch cut.
38885
4c23fed5
JM
388862012-09-06 Joseph Myers <joseph@codesourcery.com>
38887
1d3c8572
JM
38888 [BZ #10014]
38889 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38890 host name.
38891
4c23fed5
JM
38892 [BZ #10038]
38893 * manual/memory.texi (Memory): Make order of menu items match
38894 order of sections.
38895
04570aaa
L
388962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38897
38898 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38899 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38900 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38901
b80af2f4
L
389022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38903
38904 * csu/libc-tls.c (static_dtv): Renamed to ...
38905 (_dl_static_dtv): This. Make it global.
38906 (_dl_initial_dtv): Removed.
38907 (__libc_setup_tls): Updated.
38908 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38909 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38910 DL_INITIAL_DTV.
38911
2abe9f15
PM
389122012-09-06 Petr Machata <pmachata@redhat.com>
38913
38914 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38915 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38916 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38917 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38918
0948c3af
L
389192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38920
38921 [BZ #14545]
38922 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38923 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38924 freeing dtv[-1].
38925
a5055ad1
L
389262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38927
38928 [BZ #14544]
38929 * Makeconfig (link-static-before-libc): Replace $(+prector)
38930 with $(+prectorT).
38931 (link-static-after-libc): Replace $(+postctor) with
38932 $(+postctorT).
38933 (link-bounded): Replace $(+prector)/$(+postctor) with
38934 $(+prectorT)/$(+postctorT).
38935 (+prectorT): New macro.
38936 (+postctorT): Likewise.
38937
ed8c2ecd
JM
389382012-09-06 Joseph Myers <joseph@codesourcery.com>
38939
38940 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38941 (round_str): Handle values above the maximum for IBM long double
38942 as inexact.
38943 * stdlib/tst-strtod-round.c (tests): Regenerated.
38944
14c996c8
AK
389452012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38946
38947 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38948 assembler flag.
38949 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38950 zarch_nohighgprs around the zarch optimized routines.
38951 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38952 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38953 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38954 for zarch.
38955
430d6ce6
DM
389562012-09-05 David S. Miller <davem@davemloft.net>
38957
38958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38959
57f41c40
AS
38960 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38961 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38962 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38963 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38964 entries.
38965
24d4e01b
AO
389662012-09-05 Alexandre Oliva <aoliva@redhat.com>
38967
38968 * malloc/arena.c: Fold copyright years.
38969 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38970
61d58174
AO
389712012-09-05 Alexandre Oliva <aoliva@redhat.com>
38972
38973 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38974
20196a5e
AO
389752012-09-05 Alexandre Oliva <aoliva@redhat.com>
38976
38977 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38978
5c447383
AO
389792012-09-05 Alexandre Oliva <aoliva@redhat.com>
38980
38981 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38982 change internal state upon failure.
38983
fad64255
AO
389842012-09-05 Alexandre Oliva <aoliva@redhat.com>
38985
38986 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38987 * malloc/memusage.c (mmap): Likewise.
38988 (mmap64, mremap): Likewise. Adjust name in comment.
38989
1ffb8c90
SP
389902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38991
38992 * libio/fileops.c: Fix typos in comments.
38993 * libio/oldfileops.c: Likewise.
38994 * libio/wfileops.c: Likewise.
38995
6ef9cc37
SP
389962012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38997
38998 [BZ #1349]
38999 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39000 (tst-malloc-usable-ENV): Set environment for test case.
39001 * malloc/hooks.c (malloc_check_get_size): New function to get
39002 requested size.
39003 * malloc/malloc.c (musable): Use malloc_check_get_size.
39004 * malloc/tst-malloc-usable.c: New test case.
39005
4d038ae3
AS
390062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39007
39008 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39009
c4e85184
AM
390102012-09-05 Allan McRae <allan@archlinux.org>
39011
b9dafc56 39012 [BZ #13966]
c4e85184
AM
39013 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39014 determine header location.
39015 * configure: Regenerated.
39016
e1343020
AS
390172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39018
39019 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39020 float format.
39021 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
39022 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39023 format.
e1343020
AS
39024 (test): Regenerate.
39025
0a9f1987
DM
390262012-09-04 David S. Miller <davem@davemloft.net>
39027
39028 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39029 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39030 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39031
29237804
FW
390322012-09-04 Florian Weimer <fweimer@redhat.com>
39033
39034 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39035 failures.
39036
edb3cb88
FW
39037 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39038
60160d83
JM
390392012-09-04 Joseph Myers <joseph@codesourcery.com>
39040
39041 [BZ #9914]
39042 * libio/iogetdelim.c: Include <limits.h>.
39043 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39044 + len + 1 would overflow.
39045
bcd6c8dc
AJ
390462012-09-03 Andreas Jaeger <aj@suse.de>
39047
39048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39049 * sysdeps/i386/fpu/libm-test-ulps: Update.
39050
4ffffbd2
LD
390512012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39052
39053 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39054 Add s_sinf-sse2, s_conf-sse2.
39055
39056 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39057 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39058 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39059 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39060
39061 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39062 for using routine as __sinf_ia32.
39063 Use macro for function declaration and weak_alias.
39064 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39065 for using routine as __cosf_ia32.
39066 Use macro for function declaration and weak_alias.
39067
39068 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39069 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39070
39071 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39072 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39074
39075 * math/libm-test.inc (cos_test): Add more test cases.
39076 (sin_test): Likewise.
39077 (sincos_test): Likewise.
39078
511fa286
AK
390792012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39080
39081 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39082 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39083 hidden.
39084 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39085
5f30cfec
L
390862012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39087
39088 [BZ #14538]
39089 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39090 first element of the GOT.
39091 (elf_machine_load_address): Return the difference between
39092 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39093
0786794f
AM
390942012-09-01 Allan McRae <allan@archlinux.org>
39095
5f30cfec
L
39096 [BZ #13412]
39097 * configure.in (AWK): Require gawk version 3.0 or later.
39098 * configure: Regenerated.
0786794f 39099
26889eac
JM
391002012-09-01 Joseph Myers <joseph@codesourcery.com>
39101
39102 * sysdeps/unix/sysv/linux/kernel-features.h
39103 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39104 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39105 [__NR_clock_getres]: Make code unconditional.
39106 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39107 (clock_getcpuclockid): Remove code left unreachable by removal of
39108 conditionals.
39109 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39110 code unconditional.
39111 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39112 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39113 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39114 Make code unconditional.
39115 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39116 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39117 * sysdeps/unix/sysv/linux/clock_settime.c
39118 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39119 conditional code.
39120 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39121 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39122
d22e28b0
L
391232012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39124
39125 [BZ #14476]
39126 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39127 scripts/test-installation.pl.
39128
39129 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39130 and $ld_so_version if it is set.
39131
050af9c4
SP
391322012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39133
39134 [BZ #14516]
39135 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39136 failure if reading from procfs failed.
39137 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39138
ad845c0b
JM
391392012-08-27 Joseph Myers <joseph@codesourcery.com>
39140
39141 * sysdeps/unix/sysv/linux/kernel-features.h
39142 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39143 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39144 Remove conditional code.
39145 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39146 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39147 Remove conditional code.
39148 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39149 * sysdeps/unix/sysv/linux/i386/fxstat.c
39150 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39151 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39152 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39153 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39154 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39155 * sysdeps/unix/sysv/linux/i386/lxstat.c
39156 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39157 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39158 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39159 Remove conditional code.
39160 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39161 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39162 Remove conditional code.
39163 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39164 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39165 <kernel-features.h>.
39166 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39167 Remove.
39168 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39169 Remove conditional code.
39170 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39171 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39172 Remove conditional.
39173
5dbf56af
MF
391742012-08-27 Mike Frysinger <vapier@gentoo.org>
39175
39176 [BZ #5400]
39177 * NEWS: Add fixed bug number.
39178
d6e70f43
JM
391792012-08-27 Joseph Myers <joseph@codesourcery.com>
39180
7efb4737
JM
39181 [BZ #14519]
39182 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39183 underflowing exponent in case of negative sign.
39184 * stdlib/tst-strtod-round-data: Add more tests.
39185 * stdlib/tst-strtod-round.c (tests): Regenerated.
39186
af92131a
JM
39187 [BZ #3479]
39188 * stdlib/strtod_l.c (NDIG): Remove.
39189 (HEXNDIG): Likewise.
39190 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39191 smallest representable value.
39192 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39193 lie within an exact representation of 1/2 ulp of the result.
39194 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39195 unconditionally.
39196 (TENS_P9_IDX): Define unconditionally.
39197 (TENS_P9_SIZE): Likewise.
39198 (TENS_P10_IDX): Likewise.
39199 (TENS_P10_SIZE): Likewise.
39200 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39201 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39202 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39203 entries for 10^2^13 and 10^2^14.
39204 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39205 (TENS_P13_IDX): Define.
39206 (TENS_P13_SIZE): Likewise.
39207 (TENS_P14_IDX): Likewise.
39208 (TENS_P14_SIZE): Likewise.
39209 (_fpioconst_pow10): Change array size to
39210 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39211 unconditional.
39212 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39213 1024]: Add entries for 10^2^13 and 10^2^14.
39214 [LAST_POW10 > _LAST_POW10]: Remove #error.
39215 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39216 (_fpioconst_pow10): Change array size to
39217 FPIOCONST_POW10_ARRAY_SIZE.
39218 * stdlib/gen-fpioconst.c: New file.
39219 * stdlib/gen-tst-strtod-round.c: Likewise.
39220 * stdlib/tst-strtod-round-data: Likewise.
39221 * stdlib/tst-strtod-round.c: Likewise.
39222 * stdlib/Makefile (tests): Add tst-strtod-round.
39223
d6e70f43
JM
39224 [BZ #14459]
39225 * stdlib/strtod_l.c: Include <stdint.h>.
39226 (NDEBUG): Do not define.
39227 (round_and_return): Change EXPONENT parameter to type intmax_t.
39228 Rearrange calculations to avoid internal overflow possibilities.
39229 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39230 Rearrange calculations to avoid internal overflow possibilities.
39231 Assert that number fits inside MPNSIZE limbs.
39232 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39233 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39234 calculations and add assertions to avoid internal overflow
39235 possibilities. Add casts to avoid signed/unsigned operations.
39236 * stdlib/tst-strtod-overflow.c: New file.
39237 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39238
1f529f7d
MP
392392012-08-25 Marek Polacek <polacek@redhat.com>
39240
39241 * time/time.h: Fix some typos in comments.
39242
59a629f1
RM
392432012-08-23 Roland McGrath <roland@hack.frob.com>
39244
39245 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39246 * posix/tst-rfc3484-2.c: Likewise.
39247 * posix/tst-rfc3484-3.c: Likewise.
39248
d3bafbc9
SM
392492012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39250
39251 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39252 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39253
4efcc022
JM
392542012-08-23 Joseph Myers <joseph@codesourcery.com>
39255
39256 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39257 #include of fxstatat64.c.
39258
3cc3ef96
RM
392592012-08-22 Roland McGrath <roland@hack.frob.com>
39260
f04e2132
RM
39261 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39262 * shadow/getspent_r.c: Likewise.
39263 * shadow/getspnam.c: Likewise.
39264 * shadow/getspnam_r.c: Likewise.
39265 * gshadow/getsgent.c: Likewise.
39266 * gshadow/getsgent_r.c: Likewise.
39267 * gshadow/getsgnam.c: Likewise.
39268 * gshadow/getsgnam_r.c: Likewise.
39269 * inet/getnetbyad.c: Likewise.
39270 * inet/getnetbyad_r.c: Likewise.
39271 * inet/getnetbynm.c: Likewise.
39272 * inet/getnetbynm_r.c: Likewise.
39273 * inet/getnetent.c: Likewise.
39274 * inet/getnetent_r.c: Likewise.
39275 * inet/getproto.c: Likewise.
39276 * inet/getproto_r.c: Likewise.
39277 * inet/getprtent.c: Likewise.
39278 * inet/getprtent_r.c: Likewise.
39279 * inet/getprtname.c: Likewise.
39280 * inet/getprtname_r.c: Likewise.
39281 * inet/getrpcbyname.c: Likewise.
39282 * inet/getrpcbyname_r.c: Likewise.
39283 * inet/getrpcbynumber.c: Likewise.
39284 * inet/getrpcbynumber_r.c: Likewise.
39285 * inet/getrpcent.c: Likewise.
39286 * inet/getrpcent_r.c: Likewise.
39287 * inet/getaliasent.c: Likewise.
39288 * inet/getaliasent_r.c: Likewise.
39289 * inet/getaliasname.c: Likewise.
39290 * inet/getaliasname_r.c: Likewise.
39291 * nscd/getgrgid_r.c: Likewise.
39292 * nscd/getgrnam_r.c: Likewise.
39293 * nscd/gethstbyad_r.c: Likewise.
39294 * nscd/gethstbynm3_r.c: Likewise.
39295 * nscd/getpwnam_r.c: Likewise.
39296 * nscd/getpwuid_r.c: Likewise.
39297 * nscd/getsrvbynm_r.c: Likewise.
39298 * nscd/getsrvbypt_r.c: Likewise.
39299 * nscd/gai.c: Likewise.
39300
c53d909c
RM
39301 * configure.in (build_nscd): New substituted variable, set
39302 by --disable-build-nscd and defaults to $use_nscd.
39303 * configure: Regenerated.
39304 * config.make.in (build-nscd): New substituted variable.
39305 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39306 Change conditional to require [$(build-nscd) = yes] as well.
39307 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39308
3cc3ef96
RM
39309 [BZ# 13696]
39310 * configure.in (use_nscd): New substituted variable, set by
39311 --disable-nscd. If enabled, define USE_NSCD.
39312 * configure: Regenerated.
39313 * config.h.in: Add USE_NSCD.
39314 * config.make.in (use-nscd): New substituted variable.
39315 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39316 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39317 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39318 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39319 (CFLAGS-getgrnam_r.c): Likewise.
39320 (CFLAGS-initgroups.c): Likewise.
39321 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39322 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39323 Variables removed.
39324 * inet/getnetgrent_r.c
39325 (nscd_setnetgrent): New function, broken out of ...
39326 (setnetgrent): ... here. Call it.
39327 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39328 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39329 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39330 * nscd/Makefile (routines, aux): Move definitions after include of
39331 Makeconfig. Conditionalize on [$(use-nscd) != no].
39332 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39333 Conditionalize on [USE_NSCD].
39334 (is_nscd, nscd_init_cb): Likewise.
39335 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39336 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39337 * nss/nss_db/db-init.c: Likewise.
39338 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39339 [USE_NSCD].
39340 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39341 (make_request): Use it.
39342 (cache_valid_p): New function.
39343 (__check_pf): Use it.
39344 * NEWS: Add item for --disable-nscd.
39345
07e51550
DL
393462012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39347
39348 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39349 to support sed >= 4.2.1-20-ga9bf076.
39350 * configure: Regenerated.
39351
35a5b08b
RM
393522012-08-22 Roland McGrath <roland@hack.frob.com>
39353
39354 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39355 Conditionalize whole body on [IREL].
39356
8479f23a
JL
393572012-08-22 Jeff Law <law@redhat.com>
39358
39359 [BZ #14505]
39360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39361 if the family is PF_UNSPEC.
39362
48da0b21
MF
393632012-08-22 Mike Frysinger <vapier@gentoo.org>
39364
39365 * Makerules (lib-version): Rename from V.
39366 (install-lib-nosubdir): Change V to lib-version.
39367
15d0da8c
WS
393682012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39369
39370 [BZ #14252]
39371 * powerpc32/power6/wcschr.c: New file.
39372 * powerpc32/power6/wcscpy.c: New file.
39373 * powerpc32/power6/wcsrchr.c: New file.
39374 * powerpc64/power6/wcschr.c: New file.
39375 * powerpc64/power6/wcscpy.c: New file.
39376 * powerpc64/power6/wcsrchr.c: New file.
39377
bcca0895
MK
393782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39379
39380 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39381 (two_way_short_needle): Use it.
5a4aaa33
RM
39382 * string/strstr.c (AVAILABLE1_USES_J): Define.
39383 * string/strcasestr.c: Likewise.
99677e57
MK
39384
39385 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39386 array references.
39387 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39388
400726de
MK
39389 [BZ #11607]
39390 * NEWS: Add an entry.
39391 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39392 define their defaults.
39393 (two_way_short_needle): Detect end-of-string on-the-fly.
39394 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39395 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39396 * string/bug-strcasestr1.c: New test.
39397 * string/Makefile: Run it.
39398
20a71f2c
MK
393992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39400
39401 [BZ #11607]
39402 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39403 the first character.
39404
21ad0558
RM
394052012-08-21 Roland McGrath <roland@hack.frob.com>
39406
39407 * csu/elf-init.c (__libc_csu_irel): Function removed.
39408 * csu/libc-start.c (apply_irel): New function.
39409 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39410
0e1d9911
JM
394112012-08-21 Joseph Myers <joseph@codesourcery.com>
39412
39413 * sysdeps/unix/sysv/linux/kernel-features.h
39414 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39415 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39416 <kernel-features.h>.
39417 [__NR_fadvise64_64]: Make code unconditional.
39418 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39419 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39420 !__NR_fadvise64_64)]: Likewise.
39421 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39422 !__NR_fadvise64_64))]: Likewise.
39423 [__NR_fadvise64]: Make code unconditional.
39424 [!__NR_fadvise64]: Remove conditional code.
39425 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39426 <kernel-features.h>.
39427 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39428 unconditional.
39429 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39430 conditional code.
39431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39432 not include <kernel-features.h>.
39433 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39434 unconditional.
39435 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39436 conditional code.
39437 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39438 include <kernel-features.h>.
39439 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39440 unconditional.
39441 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39442 conditional code.
39443
14a50c9d
WS
394442012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39445
39446 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39447 slight instruction rearrangements per scrollpipe analysis.
39448 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39449
c0f4faf0
RM
394502012-08-20 Roland McGrath <roland@hack.frob.com>
39451
696da859
RM
39452 * manual/syslog.texi (syslog; vsyslog, closelog):
39453 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39454 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39455
c0f4faf0
RM
39456 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39457 DSOCAPS to match condition on defining it.
39458
348363b2
JM
394592012-08-20 Joseph Myers <joseph@codesourcery.com>
39460
a35cbf28
JM
39461 * sysdeps/unix/sysv/linux/kernel-features.h
39462 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39464 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39465 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39467 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39468 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39470 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39471 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39472
445f7ecd
JM
39473 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39474 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39475
348363b2
JM
39476 * sysdeps/unix/sysv/linux/kernel-features.h
39477 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39478 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39479 unconditional.
39480 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39481 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39482 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39483 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39484 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39485 Make code unconditional.
39486 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39487 (__mmap64) [!__NR_mmap2]: Likewise.
39488 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39489 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39490 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39491 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39492 [__NR_mmap2]: Make code unconditional.
39493 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39494 (__mmap64) [!__NR_mmap2]: Likewise.
39495
bc5bc0e5
AK
394962012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39497
39498 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39499
88d506de
AJ
395002012-08-18 Andreas Jaeger <aj@suse.de>
39501
39502 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39503
493387d2
MF
395042012-08-18 Mike Frysinger <vapier@gentoo.org>
39505
39506 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39507 * include/unistd.h (__have_sock_cloexec): Likewise.
39508 (__have_pipe2): Likewise.
39509 (__have_dup3): Likewise.
39510
a277af22
MF
395112012-08-18 Mike Frysinger <vapier@gentoo.org>
39512
39513 [BZ #9685]
39514 * include/unistd.h (__have_pipe2): Change define into an extern int.
39515 (__have_dup3): Likewise.
39516 * socket/have_sock_cloexec.c: Include fcntl.h.
39517 (__have_pipe2): New variable.
39518 (__have_dup3): Likewise.
39519
fdab8fd3
MF
395202012-08-17 Mike Frysinger <vapier@gentoo.org>
39521
39522 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39523
31035e80
MP
395242012-08-17 Marek Polacek <polacek@redhat.com>
39525
39526 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39527 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39528
3bd9e993
RM
395292012-08-17 Roland McGrath <roland@hack.frob.com>
39530
c91c505f
RM
39531 * configure.in: Add AC_SUBST for sysheaders.
39532 * configure: Regenerated.
39533 * config.make.in (sysheaders): New substituted variable.
39534
7c6f9d53
RM
39535 * sysdeps/unix/mkfifo.c: Moved ...
39536 * sysdeps/posix/mkfifo.c: ... here.
39537 * sysdeps/unix/mkfifoat.c: Moved ...
39538 * sysdeps/posix/mkfifoat.c: ... here.
39539
39540 * sysdeps/unix/utime.c: Moved ...
39541 * sysdeps/posix/utime.c: ... here.
39542
39543 * sysdeps/unix/time.c: Moved ...
39544 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
39545 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39546 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
39547
39548 * sysdeps/unix/nice.c: Moved ...
39549 * sysdeps/posix/nice.c: ... here.
39550
39551 * sysdeps/unix/alarm.c: Moved ...
39552 * sysdeps/posix/alarm.c: ... here.
39553
3bd9e993
RM
39554 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39555
d1f09384
JL
395562012-08-17 Jeff Law <law@redhat.com>
39557
39558 * intl/Makefile (codeset_mo): New variable.
39559 ($(codeset_mo)): New target.
39560 (tst-codeset.out): Depend on that. Remove explicit rule.
39561 (tst-gettext3.out, tst-gettext5.out): Likewise.
39562 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39563 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39564 * intl/tst-codeset.sh: Remove.
39565 * intl/tst-gettext3.sh: Likewise.
39566 * intl/tst-gettext5.sh: Likewise.
39567
2ae1ae5c
RM
395682012-08-17 Roland McGrath <roland@hack.frob.com>
39569
c31fdb83
RM
39570 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39571 * sysdeps/unix/syscalls.list: ... here.
39572
a0844057
RM
39573 * sysdeps/posix/getaddrinfo.c
39574 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39575 (gaiconf_init, gaiconf_reload): Use them.
39576 [!_STATBUF_ST_NSEC]
39577 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39578 Define using time_t rather than struct timespec.
39579
750c1f2a
RM
39580 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39581 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39582 Macros removed.
39583 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39584 [!NO_THREADS].
39585 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39586 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39587 Likewise.
39588
2ae1ae5c
RM
39589 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39590 __libc_cleanup_push argument.
39591
e66a42f5
RM
39592 * bits/param.h: New file.
39593 * misc/sys/param.h: New file.
39594 * include/sys/param.h: New file.
39595 * misc/Makefile (headers): Add bits/param.h.
39596 * sysdeps/generic/sys/param.h: File removed.
39597 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39598 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39599 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39600 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39601
b7c08a66
RM
39602 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39603 last change.
39604
b2e1c562
RM
39605 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39606 [_IO_MTSAFE_IO].
39607 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39608 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39609 New macros.
39610
c75ccd4c
RM
39611 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39612 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39613 rather than -D_IO_MTSAFE_IO conditionally.
39614 * stdio-common/Makefile (CPPFLAGS): Likewise.
39615 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39616 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39617 Use $(libio-mtsafe).
39618 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39619 of -D_IO_MTSAFE_IO.
39620 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39621 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39622 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39623 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39624 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39625 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39626 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39627 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39628 (CFLAGS-fread_u_chk.c): Likewise.
39629 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39630 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39631 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39632 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39633 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39634 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39635 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39636 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39637 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39638
39639 * libio/Makefile: Test [$(libc-reentrant) = yes]
39640 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39641
39642 * Makeconfig
39643 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39644 * sysdeps/pthread/configure: File removed.
39645 * sysdeps/pthread/Makeconfig: New file.
39646 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39647 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39648
d9195db8
GB
396492012-08-16 Gary Benson <gbenson@redhat.com>
39650
39651 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39652 unmapping the first object in a namespace.
39653
86466cd9
RM
396542012-08-16 Roland McGrath <roland@hack.frob.com>
39655
39656 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39657 (__internal_setnetgrent): ... this. Add internal_function to
39658 definition. Add libc_hidden_def.
39659 (setnetgrent): Update caller.
39660 (internal_endnetgrent): Renamed to ...
39661 (__internal_endnetgrent): ... this. Add internal_function to
39662 definition. Add libc_hidden_def.
39663 (endnetgrent): Update caller.
39664 (internal_getnetgrent_r): Renamed to ...
39665 (__internal_getnetgrent_r): ... this. Add internal_function to
39666 definition. Add libc_hidden_def.
39667 (__getnetgrent_r): Update caller.
39668 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39669
c3c8283c
JM
396702012-08-16 Joseph Myers <joseph@codesourcery.com>
39671
39672 * stdlib/longlong.h: Update from GCC.
39673
db1ee0a8
RM
396742012-08-16 Roland McGrath <roland@hack.frob.com>
39675
39676 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39677 on _QL, which is set by umul_ppmm but never used.
39678 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39679 variables, which are set by GMP macros but never used.
39680 * stdio-common/_itowa.c (_itowa): Likewise.
39681 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39682 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39683
30f69637
CD
396842012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39685
39686 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39687 struct La_sh_regs is not constant.
39688 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39689 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39690 and struct La_sparc64_regs are not constant.
39691
93a78ac4
JM
396922012-08-16 Joseph Myers <joseph@codesourcery.com>
39693
39694 * sysdeps/unix/sysv/linux/kernel-features.h
39695 (__ASSUME_POSIX_TIMERS): Remove.
39696 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39697 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39698 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39699 Make code unconditional.
39700 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39701 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39702 Make code unconditional.
39703 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39704 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39705 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39706 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39707 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39708 Make code unconditional.
39709 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39710 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39711 (__libc_missing_posix_timers): Remove.
39712
dd924cd7
RM
397132012-08-15 Roland McGrath <roland@hack.frob.com>
39714
4b4f2771
RM
39715 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39716 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39717
601c888b
RM
39718 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39719
176790a7
RM
39720 * elf/dl-sym.c: Include <stdlib.h>.
39721
329bc018
RM
39722 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39723 constants, which avoids warnings in 32-bit builds.
39724
e04e272d
RM
39725 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39726 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39727
952bf94a
RM
39728 * misc/lseek.c: File moved to ...
39729 * io/lseek.c: ... here.
39730
7c99b50a
RM
39731 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39732
dd924cd7
RM
39733 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39734 shifting LEN more than 31 bits at once.
39735
b3f479a8
LD
397362012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39737
39738 [BZ #14195]
8c4ae0d4
RM
39739 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39740 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39741 * string/test-strncasecmp.c (check1): Renamed to...
39742 (bz12205): ...this.
39743 (bz14195): Add new testcase for two empty input strings and N > 0.
39744 (test_main): Call new testcase, adapt for renamed function.
39745
9c55864e
AJ
397462012-08-15 Andreas Jaeger <aj@suse.de>
39747
39748 [BZ #14090]
39749 * crypt/md5test2.c: New test, based on test supplied by Serge
39750 Belyshev <belyshev@depni.sinp.msu.ru>.
39751 * crypt/Makefile (xtests): Add md5test-giant..
39752 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39753
02dcb6c5
PE
397542012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39755
39756 [BZ #14090]
39757 * crypt/md5.c (md5_process_block): Don't assume the buffer
39758 length is less than 2**32.
39759 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39760 length is less than 2**64.
39761
a3f95dcc
RM
397622012-08-15 Roland McGrath <roland@hack.frob.com>
39763
be75d758
RM
39764 * string/str-two-way.h: Include <sys/param.h>.
39765 (MAX): Macro removed.
39766
7312ca90
RM
39767 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39768 Move #define and #undef of memmove to just before and after
39769 including <string.h>.
39770
9a0a5486
RM
39771 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39772 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39773 and after including <string.h>. Move declarations of
39774 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39775 to before #include "string/memmove.c".
39776
67cc348d
RM
39777 * include/dirent.h: Declare __getdirentries.
39778
a3f95dcc
RM
39779 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39780 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39781
ca98e171
MF
397822012-08-14 Mike Frysinger <vapier@gentoo.org>
39783
39784 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39785 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39786 * sysdeps/i386/configure: Regenerated.
39787 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39788 STABS_CURRENT_FILE, and STABS_FUN.
39789 (END): Remove call to STABS_FUN_END.
39790 (STABS_CURRENT_FILE1): Delete.
39791 (STABS_CURRENT_FILE): Likewise.
39792 (STABS_FUN): Likewise.
39793 (STABS_FUN_END): Likewise.
39794 (STABS_FUN2): Likewise.
39795 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39796 * sysdeps/x86_64/configure: Regenerated.
39797
5908bf46
RM
397982012-08-14 Roland McGrath <roland@hack.frob.com>
39799
39800 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39801 * elf/dl-lookup.c: Likewise.
5908bf46 39802
f2c05b9e
JM
398032012-08-14 Joseph Myers <joseph@codesourcery.com>
39804
39805 * sysdeps/unix/sysv/linux/kernel-features.h
39806 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39807 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39808 unconditionally.
39809 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39810 unconditionally.
39811 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39812 condition on __ASSUME_CLONE_THREAD_FLAGS.
39813
e11f5155
AJ
398142012-08-14 Andreas Jaeger <aj@suse.de>
39815
39816 * sysdeps/i386/fpu/libm-test-ulps: Update.
39817
51a9ba86
MK
398182012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39819
2fdd4f78
AJ
39820 * include/atomic.h (atomic_exchange_and_add): Split into ...
39821 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39822 New atomic macros.
51a9ba86 39823
ba6cba9e
MT
398242012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39825
39826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39827
42443a47
JL
398282012-08-13 Jeff Law <law@redhat.com>
39829
39830 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39831 null byte in the output string.
39832
121dce05
JM
398332012-08-10 Joseph Myers <joseph@codesourcery.com>
39834
39835 * sysdeps/unix/sysv/linux/kernel-features.h
39836 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39837 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39838 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39839 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39840 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39841 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39842 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39843
bf51f568
JL
398442012-08-09 Jeff Law <law@redhat.com>
39845
39846 [BZ #13939]
39847 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39848 When avoid_arena is set, don't retry in the that arena. Pick the
39849 next one, whatever it might be.
39850 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39851 (arena_lock): Pass in new parameter to arena_get2.
39852 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39853 arena_get2.
39854 (__libc_malloc): Unify retrying after main arena failure with
39855 __libc_memalign version.
39856 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39857
f85fa270
L
398582012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39859
39860 [BZ #14166]
39861 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39862 to __redirect_strstr.
39863 (__strstr_sse42): Use typeof __redirect_strstr.
39864 (__strstr_ia32): Likewise.
39865 (__libc_strstr): New prototype.
39866 (strstr): Renamed to ...
39867 (__libc_strstr): This.
39868 (strstr): New strong alias of __libc_strstr.
39869 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39870 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39871 __redirect_time.
39872 Include <time.h>.
39873 (__libc_time): New prototype.
39874 (time_ifunc): Replace time with __libc_time.
39875 (time): New strong alias and hidden definition of __libc_time.
39876 (__GI_time): Remove strong alias.
39877 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39878 Include <stddef.h>.
39879 (memmove): Redefined to __redirect_memmove.
39880 (__memmove_sse2): Use typeof __redirect_memmove.
39881 (__memmove_ssse3): Likewise.
39882 (__memmove_ssse3_back): Likewise.
39883 (__libc_memmove): New prototype.
39884 (memmove): Renamed to ...
39885 (__libc_memmove): This.
39886 (memmove): New strong alias of __libc_memmove.
39887
33b4a91e
MS
398882012-08-08 Mark Salter <msalter@redhat.com>
39889
39890 * elf/elf.h
39891 (R_MN10300_TLS_GD): Define.
39892 (R_MN10300_TLS_LD): Likewise.
39893 (R_MN10300_TLS_LDO): Likewise.
39894 (R_MN10300_TLS_GOTIE): Likewise.
39895 (R_MN10300_TLS_IE): Likewise.
39896 (R_MN10300_TLS_LE): Likewise.
39897 (R_MN10300_TLS_DTPMOD): Likewise.
39898 (R_MN10300_TLS_DTPOFF): Likewise.
39899 (R_MN10300_TLS_TPOFF): Likewise.
39900 (R_MN10300_SYM_DIFF): Likewise.
39901 (R_MN10300_ALIGN): Likewise.
39902 (R_MN10300_NUM): Update.
39903
b36137f1
JM
399042012-08-08 Joseph Myers <joseph@codesourcery.com>
39905
39906 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39907 Remove.
39908
cdd915fd
RM
399092012-08-08 Roland McGrath <roland@hack.frob.com>
39910
a2433aac
RM
39911 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39912
cdd915fd
RM
39913 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39914 sysdeps/unix -> sysdeps/posix move.
39915 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39916
bf9b740a
AM
399172012-08-07 Allan McRae <allan@archlinux.org>
39918
39919 [BZ #14303]
39920 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39921 (SUNOS_CPP): Likewise.
39922 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39923 not found.
39924 (open_input): Call CPP using execvp.
39925
93df14ee
JM
399262012-08-07 Joseph Myers <joseph@codesourcery.com>
39927
39928 * sysdeps/unix/sysv/linux/kernel-features.h
39929 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39930 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39931 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39932 (__ASSUME_WAITID_SYSCALL): Likewise.
39933 * sysdeps/unix/sysv/linux/dl-execstack.c
39934 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39935 code unconditional.
39936 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39937 conditional code.
39938 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39939 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39940 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39941 code.
39942 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39943 unconditional.
39944 [__ASSUME_WAITID_SYSCALL]: Likewise.
39945 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39946
d34689de
RM
399472012-08-07 Roland McGrath <roland@hack.frob.com>
39948
a281decc
RM
39949 * sysdeps/unix/closedir.c: Renamed to ...
39950 * sysdeps/posix/closedir.c: ... here.
39951 * sysdeps/unix/dirfd.c: Renamed to ...
39952 * sysdeps/posix/dirfd.c: ... here.
39953 * sysdeps/unix/dirstream.h: Renamed to ...
39954 * sysdeps/posix/dirstream.h: ... here.
39955 * sysdeps/unix/fdopendir.c: Renamed to ...
39956 * sysdeps/posix/fdopendir.c: ... here.
39957 * sysdeps/unix/opendir.c: Renamed to ...
39958 * sysdeps/posix/opendir.c: ... here.
39959 * sysdeps/unix/readdir.c: Renamed to ...
39960 * sysdeps/posix/readdir.c: ... here.
39961 * sysdeps/unix/readdir_r.c: Renamed to ...
39962 * sysdeps/posix/readdir_r.c: ... here.
39963 * sysdeps/unix/rewinddir.c: Renamed to ...
39964 * sysdeps/posix/rewinddir.c: ... here.
39965 * sysdeps/unix/seekdir.c: Renamed to ...
39966 * sysdeps/posix/seekdir.c: ... here.
39967 * sysdeps/unix/telldir.c: Renamed to ...
39968 * sysdeps/posix/telldir.c: ... here.
39969 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39970 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39971 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39972 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39973
22895b47
RM
39974 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39975 * bits/fcntl.h: ... here.
39976
707a53b6
RM
39977 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39978 not 0.
39979 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39980 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39981 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39982 (struct flock): Move l_start, l_len to the beginning.
39983 Use __pid_t for l_pid.
39984 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39985 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39986 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39987 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39988 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39989 [__USE_LARGEFILE64] (struct flock64): New type.
39990 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39991
f0bd3e25
RM
39992 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39993 * bits/dirent.h: ... here.
39994
d34689de
RM
39995 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39996 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39997
6dad2c06
JM
399982012-08-07 Joseph Myers <joseph@codesourcery.com>
39999
40000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40001 Change from 2.6.0 to 2.6.16.
40002 * sysdeps/unix/sysv/linux/configure: Regenerated.
40003 * sysdeps/unix/sysv/linux/kernel-features.h
40004 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40005 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40006 version.
40007 (__ASSUME_UTIMES): Likewise.
40008 (__ASSUME_CLONE_STOPPED): Remove.
40009 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40010 architectures, not kernel version.
40011 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40012 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40013 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40014 (__ASSUME_WAITID_SYSCALL): Likewise.
40015 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40016 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40017 * README: State 2.6.16 as minimum Linux kernel version. Do not
40018 refer to older versions.
40019
03af9520
RM
400202012-08-06 Roland McGrath <roland@hack.frob.com>
40021
8e49df1d
RM
40022 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40023 Define alphasort64 as an alias.
40024 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40025 Define versionsort64 as an alias.
40026 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40027 Define scandir64 as an alias.
40028 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40029 Define scandirat64 as an alias.
40030 * dirent/alphasort64.c (alphasort64):
40031 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40032 * dirent/versionsort64.c: Likewise.
40033 * dirent/scandir64.c: Likewise.
40034 * dirent/scandirat64.c: Likewise.
40035 * sysdeps/wordsize-64/alphasort.c: File removed.
40036 * sysdeps/wordsize-64/alphasort64.c: File removed.
40037 * sysdeps/wordsize-64/scandir.c: File removed.
40038 * sysdeps/wordsize-64/scandir64.c: File removed.
40039 * sysdeps/wordsize-64/scandirat.c: File removed.
40040 * sysdeps/wordsize-64/scandirat64.c: File removed.
40041 * sysdeps/wordsize-64/versionsort.c: File removed.
40042 * sysdeps/wordsize-64/versionsort64.c: File removed.
40043 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40044 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40045 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40046 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40047 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40048 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40049 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40050 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40051
40052 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40053 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40054 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40055 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40056 [defined __arch64__ || defined __sparcv9]
40057 (__INO_T_MATCHES_INO64_T): New macro.
40058 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40059 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40060 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40061 * sysdeps/unix/sysv/linux/bits/dirent.h
40062 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40063 (_DIRENT_MATCHES_DIRENT64): New macro.
40064
03af9520
RM
40065 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40066 Define lockf64 as an alias.
40067 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40068 Define fseeko64 as an alias.
40069 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40070 Define ftello64 as an alias.
40071 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40072 Define _IO_fgetpos64 and fgetpos64 as aliases.
40073 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40074 Define _IO_fsetpos64 and fsetpos64 as aliases.
40075 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40076 Conditionalize body on this.
40077 * libio/fseeko64.c: Likewise.
40078 * libio/ftello64.c: Likewise.
40079 * libio/iofgetpos64.c: Likewise.
40080 * libio/iofsetpos64.c: Likewise.
40081 * sysdeps/wordsize-64/lockf.c: File removed.
40082 * sysdeps/wordsize-64/lockf64.c: File removed.
40083 * sysdeps/wordsize-64/fseeko.c: File removed.
40084 * sysdeps/wordsize-64/fseeko64.c: File removed.
40085 * sysdeps/wordsize-64/ftello.c: File removed.
40086 * sysdeps/wordsize-64/ftello64.c: File removed.
40087 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40088 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40089 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40090 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40091 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40092 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40093 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40094 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40095 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40096 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40097 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40098 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40099 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40100 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40101
40102 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40103 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40104 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40105 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40106 [defined __arch64__ || defined __sparcv9]
40107 (__OFF_T_MATCHES_OFF64_T): New macro.
40108 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40109 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40110 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40111 (__OFF_T_MATCHES_OFF64_T): New macro.
40112
c5757acd
L
401132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40114
40115 * stdlib/secure-getenv.c (__secure_getenv): Replace
40116 GLIBC_2_16 with GLIBC_2_17.
40117
3a31811e
L
401182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40119
40120 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40121 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40122
faa2bccb
DM
401232012-08-03 David S. Miller <davem@davemloft.net>
40124
40125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40126
85fe1997
JM
401272012-08-03 Joseph Myers <joseph@codesourcery.com>
40128
40129 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40130 Remove.
40131 (__ASSUME_CORRECT_SI_PID): Likewise.
40132 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40133 (__ASSUME_TMPFS_NAME): Likewise.
40134 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40135 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40136 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40137 (HAVE_AUX_SECURE): Make definition unconditional.
40138 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40139 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40140
4f75b7a0
RM
401412012-08-03 Roland McGrath <roland@hack.frob.com>
40142
40143 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40144 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40145 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40146 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40147 __eloop_threshold instead of SYMLOOP_MAX.
40148
40149 * sysdeps/generic/eloop-threshold.h: New file.
40150 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40151 of MAXSYMLINKS.
40152 * elf/chroot_canon.c (chroot_canon): Likewise.
40153
7aab07e4
JM
401542012-08-03 Joseph Myers <joseph@codesourcery.com>
40155
40156 [BZ #13717]
40157 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40158 Change to 2.6.0 everywhere.
40159 * sysdeps/unix/sysv/linux/configure: Regenerated.
40160 * sysdeps/unix/sysv/linux/kernel-features.h
40161 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40162 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40163 kernel versions.
40164 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40165 (__ASSUME_FUTEX_REQUEUE): Remove.
40166 (__ASSUME_STATFS64): Define unconditionally.
40167 (__ASSUME_AT_SECURE): Likewise.
40168 (__ASSUME_CORRECT_SI_PID): Likewise.
40169 (__ASSUME_TGKILL): Define without depending on kernel version for
40170 i386.
40171 (__ASSUME_UTIMES): Likewise.
40172 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40173 kernel version.
40174 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40175 (__ASSUME_TMPFS_NAME): Likewise.
40176 * README: Update reference to Linux kernel versions.
40177
b67e9372
MP
401782012-08-02 Marek Polacek <polacek@redhat.com>
40179
1f529f7d 40180 [BZ# 14150]
b67e9372
MP
40181 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40182 libc_cv_asm_type_prefix with %.
40183 * configure: Regenerated.
d2441631
RM
40184 * include/libc-symbols.h: Remove comment about
40185 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
40186 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40187 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40188 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40189 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40190 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40191 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40192 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40193 * elf/tst-unique2mod1.c: Likewise.
40194 * elf/tst-unique1mod2.c: Likewise.
40195 * elf/tst-unique1mod1.c: Likewise.
40196 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40197 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40198 Replace ASM_TYPE_DIRECTIVE with .type.
40199 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40200 * sysdeps/i386/sysdep.h: Likewise.
40201 * sysdeps/x86_64/sysdep.h: Likewise.
40202 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
40203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40204 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 40205 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
40206 * sysdeps/powerpc/powerpc32/sysdep.h:
40207 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
40208 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40209 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40210 * sysdeps/i386/fpu/e_powf.S: Likewise.
40211 * sysdeps/i386/fpu/e_expl.S: Likewise.
40212 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40213 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40214 * sysdeps/i386/fpu/e_pow.S: Likewise.
40215 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40216 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40217 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40218 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40219 * sysdeps/i386/fpu/e_log2.S: Likewise.
40220 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40221 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40222 * sysdeps/i386/fpu/e_powl.S: Likewise.
40223 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40224 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40225 * sysdeps/i386/fpu/e_logl.S: Likewise.
40226 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40227 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40228 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40229 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40230 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40231 * sysdeps/i386/fpu/e_log.S: Likewise.
40232 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40233 * sysdeps/i386/fpu/e_logf.S: Likewise.
40234 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40235 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40236 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40237 * sysdeps/i386/fpu/e_log10.S: Likewise.
40238 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40239 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40240 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40241 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40242 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40243 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40244 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40245 * sysdeps/i386/i686/strtok.S: Likewise.
40246 * sysdeps/i386/i386-mcount.S: Likewise.
40247 * sysdeps/i386/strtok.S: Likewise.
40248 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40249 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40250 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40251 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40252 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40253 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40254 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40255 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40256 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40257 * sysdeps/x86_64/_mcount.S: Likewise.
40258 * sysdeps/x86_64/strtok.S: Likewise.
40259 * sysdeps/sh/_mcount.S: Likewise.
40260
2747bf9a
RM
402612012-08-01 Roland McGrath <roland@hack.frob.com>
40262
40263 * libio/iofopen.c: Include <fcntl.h>.
40264 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40265 (_IO_fopen64, fopen64): Define as aliases.
40266 * libio/iofopen64.c: Include <fcntl.h>.
40267 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40268 Conditionalize body on this.
40269 * sysdeps/wordsize-64/iofopen.c: File removed.
40270 * sysdeps/wordsize-64/iofopen64.c: File removed.
40271
3fb791b8
MP
402722012-08-01 Marek Polacek <polacek@redhat.com>
40273
40274 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40275 Use dlfcn directly instead of a variable.
40276 (binfmt-subdir): Do not define.
40277 (dlfcn): Likewise.
40278
a9f1039f
JM
402792012-08-01 Joseph Myers <joseph@codesourcery.com>
40280
23bddc06
JM
40281 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40282 Remove all definitions.
40283 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40284 <kernel-features.h>.
40285 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40286 (miss_F_GETOWN_EX): Remove all definitions.
40287 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40288 macro definition.
40289 [!__ASSUME_FCNTL64]: Remove conditional code.
40290 [__ASSUME_FCNTL64]: Make code unconditional.
40291 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40292 <kernel-features.h>.
40293 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40294 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40295 (lockf64) [__NR_fcntl64]: Make code unconditional.
40296 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40297
a9f1039f
JM
40298 * sysdeps/unix/sysv/linux/kernel-features.h
40299 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40300 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40301 Make code unconditional.
40302 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40303 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40305 [__NR_vfork]: Make code unconditional.
40306 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40307 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40309 [__NR_vfork]: Make code unconditional.
40310 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40311 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40312
09c0ee5f
RM
403132012-08-01 Roland McGrath <roland@hack.frob.com>
40314
48aec5b9
RM
40315 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40316 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40317
cd97c966
RM
40318 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40319 Define mkstemp64 as an alias.
3f55550c
RM
40320 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40321 Define mkstemps64 as an alias.
cd97c966
RM
40322 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40323 Define mkostemp64 as an alias.
b8625cfc
RM
40324 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40325 Define mkostemps64 as an alias.
cd97c966
RM
40326 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40327 Conditionalize body on this.
40328 * misc/mkostemp64.c: Likewise.
b8625cfc 40329 * misc/mkostemps64.c: Likewise.
3f55550c 40330 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40331 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40332 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40333 * sysdeps/wordsize-64/mkostemp.c: File removed.
40334 * sysdeps/wordsize-64/mkstemp.c: File removed.
40335 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40336 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40337 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40338 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40339
09c0ee5f
RM
40340 [BZ #14138]
40341 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40342 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40343 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40344 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40345
40346 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40347 compat_symbol macros from <shlib-compat.h> rather than the underlying
40348 default_symbol_version and symbol_version macros, so that DEFAULT
40349 lines in shlib-versions are respected.
40350 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40351
7e66ee51
FW
403522012-08-01 Florian Weimer <fweimer@redhat.com>
40353
40354 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40355 Declare with warn_unused_result.
40356 (setgid, setregid, setegid, setresgid): Likewise.
40357 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40358 Likewise.
40359 * WUR-REPORT: Remove set*id functions.
40360
d2a54255
PT
403612012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40362
40363 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40364
7ecdb005
RM
403652012-07-31 Roland McGrath <roland@hack.frob.com>
40366
b4180a5e 40367 [BZ #10191]
789bd351
RM
40368 * include/sys/socket.h (__libc_accept, __libc_accept4):
40369 Add attribute_hidden.
40370 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40371
40ce302d
RM
40372 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40373 use of PTR_MANGLE.
40374 * inet/getnetgrent_r.c (setup): Likewise.
40375
7ecdb005
RM
40376 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40377
e2eabb2c
DM
403782012-07-31 David S. Miller <davem@davemloft.net>
40379
40380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40381
d0419dbf
JM
403822012-07-31 Joseph Myers <joseph@codesourcery.com>
40383
40384 [BZ #13629]
40385 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40386 value between 1.0 and 2.0 and smaller part has absolute value less
40387 than 1.0.
40388 * math/s_clog10.c (__clog10): Likewise.
40389 * math/s_clog10f.c (__clog10f): Likewise.
40390 * math/s_clog10l.c (__clog10l): Likewise.
40391 * math/s_clogf.c (__clogf): Likewise.
40392 * math/s_clogl.c (__clogl): Likewise.
40393 * math/libm-test.inc (clog_test): Add more tests.
40394 (clog10_test): Likewise.
40395 * sysdeps/i386/fpu/libm-test-ulps: Update.
40396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40397
2bc13872
FW
403982012-07-31 Florian Weimer <fweimer@redhat.com>
40399
40400 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40401 Exit with zero in case no suitable GID is found, and write a
40402 message to standard error.
40403
bea9b193
RM
404042012-07-30 Roland McGrath <roland@hack.frob.com>
40405
40406 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40407 rather than to 1.
40408 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40409 (MAXPATHLEN): Removed.
40410 (NOGROUP, NODEV): New macros.
40411 (setbit, clrbit, isset, isclr): New macros.
40412 (howmany, roundup, powerof2): New macros.
40413 (DEV_BSIZE): New macro.
40414
40415 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40416 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40417
40418 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40419 definition on [!__NO_LONG_DOUBLE_MATH].
40420
40421 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40422 PTR_MANGLE and PTR_DEMANGLE.
40423
40424 * socket/accept4.c (accept4): Rename to __libc_accept4.
40425 Define accept4 as a weak alias.
40426
40427 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40428 on [_DIRENT_HAVE_D_TYPE].
40429 * io/ftw.c (ftw_dir): Likewise.
40430
40431 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40432
40433 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40434
40435 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40436 Use the BSD numbers rather than the arbitrary ones we had.
40437 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40438 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40439 (SIGXCPU, SIGXFSZ): New macros.
40440 (_NSIG): Now 32.
40441
40442 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40443 initializer on [_LIBC_REENTRANT].
40444
40445 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40446 definitions inside [_POSIX_MAPPED_FILES].
40447
40448 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40449
40450 * dirent/opendir.c: Include <fcntl.h>.
40451
40452 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40453 (__libc_getspecific): Likewise.
40454 (__libc_key_create): Likewise.
40455
40456 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40457 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40458 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40459 (tmpfile64): Define as alias.
40460 * sysdeps/wordsize-64/tmpfile.c: File removed.
40461 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40462 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40463 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40464
40465 * stdio-common/vfscanf.c: Include <stdbool.h>.
40466 * nss/makedb.c: Likewise.
40467 * stdio-common/_i18n_number.h: Likewise.
40468 * argp/argp-help.c: Likewise.
40469 * posix/wordexp.c: Likewise.
40470 * sysdeps/posix/spawni.c: Likewise.
40471 * nss/nss_files/files-initgroups.c: Likewise.
40472 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40473 * nss/nss_files/files-initgroups.c: Likewise.
40474 * nss/nss_db/db-netgrp.c: Likewise.
40475 * nss/nss_db/db-initgroups.c: Likewise.
40476 * io/fchmodat.c: Include <sys/stat.h>.
40477
40478 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40479 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40480
40481 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40482 [HAVE_MMAP].
40483
40484 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40485 Add multiple inclusion protection.
40486
e5abc686
DM
404872012-07-27 David S. Miller <davem@davemloft.net>
40488
40489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40490
815e6fa3
GB
404912012-07-27 Gary Benson <gbenson@redhat.com>
40492
40493 [BZ #14298]
40494 * elf/rtld.c: Include <stap-probe.h>.
40495 (dl_main): Added static probes "init_start" and "init_complete".
40496 * elf/dl-load.c: Include <stap-probe.h>.
40497 (lose): Take new parameter "nsid".
40498 Added static probe "map_failed".
40499 (_dl_map_object_from_fd): Pass namespace id to lose.
40500 Added static probe "map_start".
40501 (open_verify): Pass namespace id to lose.
40502 * elf/dl-open.c: Include <stap-probe.h>.
40503 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40504 and "reloc_complete".
40505 * elf/dl-close.c: Include <stap-probe.h>.
40506 (_dl_close_worker): Added static probes "unmap_start" and
40507 "unmap_complete".
40508 * elf/rtld-debugger-interface.txt: New file documenting the above.
40509
9f98c16c
RM
405102012-07-26 Roland McGrath <roland@hack.frob.com>
40511
40512 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40513 rather than a string variable.
40514 * sunrpc/rpc_main.c (h_output): Likewise.
40515 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40516
f3c22df3
PT
405172012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40518
40519 * inet/check_native.c: New file.
40520
3129cfc6
JM
405212012-07-26 Joseph Myers <joseph@codesourcery.com>
40522
da865e95
JM
40523 [BZ #13629]
40524 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40525 if larger part has absolute value 1.0.
40526 * math/s_clog10.c (__clog10): Likewise.
40527 * math/s_clog10f.c (__clog10f): Likewise.
40528 * math/s_clog10l.c (__clog10l): Likewise.
40529 * math/s_clogf.c (__clogf): Likewise.
40530 * math/s_clogl.c (__clogl): Likewise.
40531 * math/libm-test.inc (clog_test): Add more tests.
40532 (clog10_test): Likewise.
40533 * sysdeps/i386/fpu/libm-test-ulps: Update.
40534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40535
3129cfc6
JM
40536 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40537 (pltexit): Likewise.
40538 (La_regs): Likewise.
40539 (La_retval): Likewise.
40540 (int_retval): Likewise.
40541 Update #error for removed macros to refer only to definitions in
40542 tst-audit.h.
40543 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40544 macro.
40545 (pltexit): Likewise.
40546 (La_regs): Likewise.
40547 (La_retval): Likewise.
40548 (int_retval): Likewise.
40549 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40550 macro.
40551 (pltexit): Likewise.
40552 (La_regs): Likewise.
40553 (La_retval): Likewise.
40554 (int_retval): Likewise.
40555 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40556 macro.
40557 (pltexit): Likewise.
40558 (La_regs): Likewise.
40559 (La_retval): Likewise.
40560 (int_retval): Likewise.
40561 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40562 macro.
40563 (pltexit): Likewise.
40564 (La_regs): Likewise.
40565 (La_retval): Likewise.
40566 (int_retval): Likewise.
40567 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40568 macro.
40569 (pltexit): Likewise.
40570 (La_regs): Likewise.
40571 (La_retval): Likewise.
40572 (int_retval): Likewise.
40573 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40574 macro.
40575 (pltexit): Likewise.
40576 (La_regs): Likewise.
40577 (La_retval): Likewise.
40578 (int_retval): Likewise.
40579 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40580 macro definitions in tst-audit.h.
40581 * sysdeps/i386/tst-audit.h: New file.
40582 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40583 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40584 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40585 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40586 * sysdeps/sh/tst-audit.h: Likewise.
40587 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40588 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40589 * sysdeps/x86_64/tst-audit.h: Likewise.
40590
bfc07087
AJ
405912012-07-26 Andreas Jaeger <aj@suse.de>
40592
b1b2aaf8
AJ
40593 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40594 ptrace.
40595
40596 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40597 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40598 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40599 PTRACE_O_MASK.
40600 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40601 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40602 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40603
bfc07087
AJ
40604 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40605 value.
40606
40607 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40608 _sigsys.
40609 (si_call_addr, si_syscall, si_arch): Define new macro.
40610 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40611 _sigsys.
40612 (si_call_addr, si_syscall, si_arch): Define new marcro.
40613 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40614 _sigsys.
40615 (si_call_addr, si_syscall, si_arch): Define new macro.
40616 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40617 _sigsys.
40618 (si_call_addr, si_syscall, si_arch): Define new macro.
40619
89b4b02f
JM
406202012-07-25 Joseph Myers <joseph@codesourcery.com>
40621
40622 [BZ #13717]
40623 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40624 Change to 2.4.21 where previously 2.4.1.
40625 * sysdeps/unix/sysv/linux/configure: Regenerated.
40626 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40627 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40628 Linux kernel version.
40629 (__ASSUME_STD_AUXV): Remove.
40630 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40631 kernel version.
40632 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40633 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40634 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40635 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40636 (__ASSUME_NETLINK_SUPPORT): Likewise.
40637 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40638 (__no_netlink_support): Remove conditional definition.
40639 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40640 Remove.
40641 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40642 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40643 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40644 (if_nameindex_ioctl): Remove.
40645 (if_nameindex_netlink): Do not handle __no_netlink_support.
40646 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40647 code.
40648 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40649 Remove conditional code.
40650 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40651 code.
40652 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40653 unconditional.
40654 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40655 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40656 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40657 Remove.
40658 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40659 [!__ASSUME_STD_AUXV]: Remove conditional code.
40660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40661 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40662 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40664 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40665 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40666 code.
40667 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40669 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40670 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40671 conditional code.
40672 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40674 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40675 code.
40676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40677 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40678 conditional code.
40679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40680 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40681 code unconditional.
40682 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40683 conditional code.
40684 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40685 unconditional.
40686 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40687 conditional code.
40688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40689 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40690 unconditional.
40691 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40692 conditional code.
40693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40694 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40695 code unconditional.
40696 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40697 conditional code.
40698 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40699 unconditional.
40700 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40701 conditional code.
40702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40703 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40704 code unconditional.
40705 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40706 conditional code.
40707 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40708 unconditional.
40709 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40710 conditional code.
40711
842a39cd
AS
407122012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40713
40714 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40715 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40716 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40717 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40718 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40719 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40720 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40721 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40722 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40723 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40724 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40725 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40726 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40727 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40728 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40729 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40730 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40731 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40732 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40734 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40735 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40736 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40737
84b3fd84
FW
407382012-07-25 Florian Weimer <fweimer@redhat.com>
40739
40740 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40741 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40742 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40743 Introduce __libc_secure_getenv.
0c7936d5
FW
40744 * stdlib/Versions (2.17): Add secure_getenv
40745 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40746 * stdlib/secure-getenv.c: Rename __secure_getenv to
40747 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40748 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40749 * stdlib/tst-secure-getenv.c: New.
40750 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40751 * manual/startup.texi (Environment Access): Document
40752 secure_getenv.
84b3fd84
FW
40753 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40754 __libc_secure_getenv.
40755 * inet/ruserpass.c (ruserpass): Likewise.
40756 * malloc/mtrace.c (mtrace): Likewise.
40757 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40758 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40759 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40760 * sysdeps/posix/tempname.c: Likewise. Evaluate
40761 HAVE_SECURE_GETENV.
40762 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40763 __secure_getenv to __libc_secure_getenv.
84b3fd84 40764 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
40765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40766 Likewise.
40767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40768 Likewise.
40769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40776
56e49b71
JM
407772012-07-25 Joseph Myers <joseph@codesourcery.com>
40778
40779 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40780 (struct La_i86_retval): Likewise.
40781 (struct La_x86_64_regs): Likewise.
40782 (struct La_x86_64_retval): Likewise.
40783 (struct La_x32_regs): Likewise.
40784 (struct La_x32_retval): Likewise.
40785 (struct La_ppc32_regs): Likewise.
40786 (struct La_ppc32_retval): Likewise.
40787 (struct La_ppc64_regs): Likewise.
40788 (struct La_ppc64_retval): Likewise.
40789 (struct La_sh_regs): Likewise.
40790 (struct La_sh_retval): Likewise.
40791 (struct La_s390_32_regs): Likewise.
40792 (struct La_s390_32_retval): Likewise.
40793 (struct La_s390_64_regs): Likewise.
40794 (struct La_s390_64_retval): Likewise.
40795 (struct La_sparc32_regs): Likewise.
40796 (struct La_sparc32_retval): Likewise.
40797 (struct La_sparc64_regs): Likewise.
40798 (struct La_sparc64_retval): Likewise.
40799 (struct audit_ifaces): Remove architecture-specific pltenter and
40800 pltexit members.
40801 * sysdeps/i386/ldsodefs.h: New file.
40802 * sysdeps/powerpc/ldsodefs.h: Likewise.
40803 * sysdeps/s390/ldsodefs.h: Likewise.
40804 * sysdeps/sh/ldsodefs.h: Likewise.
40805 * sysdeps/sparc/ldsodefs.h: Likewise.
40806 * sysdeps/x86_64/ldsodefs.h: Likewise.
40807
354691b7
MP
408082012-07-25 Marek Polacek <polacek@redhat.com>
40809
40810 [BZ #6808]
40811 * math/libm-test.inc (yn_test): Add another test.
40812 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40813 to ERANGE when the result is +-Inf.
40814 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40815 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40816 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40817 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40818
bf9e2071
JM
408192012-07-24 Joseph Myers <joseph@codesourcery.com>
40820
40821 * conform/data/time.h-data (NULL): Use macro-constant. Require
40822 equal to 0.
40823 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40824 clock_t.
40825 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40826
57633811
TS
408272012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40828
40829 * configure.in <sysdeps resolving>: Correct printing
40830 Implies_before.
40831 * configure: Regenerate.
40832
c23c33b0
TS
408332012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40834
40835 * math/w_ilogb.c: Include <limits.h>.
40836 * math/w_ilogbl.c: Likewise.
40837
b5982523
JM
408382012-07-20 Joseph Myers <joseph@codesourcery.com>
40839
40840 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40841 va_copy. Document allowing for unavailable va_copy only as
40842 pre-C99 compatibility.
40843 * manual/string.texi (Copying and Concatenation): Use va_copy
40844 instead of __va_copy in concat example.
40845
ac4ea442
PT
408462012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40847
40848 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40849 (__sendto): Use create_address_port. Initialize APORT and deallocate
40850 it if not null.
40851
f98eafbd
PT
40852 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40853 with O_NOLINK passed to __file_name_lookup.
40854
898c7aab
PT
40855 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40856 with O_NOLINK passed to __file_name_lookup.
40857
0ced335a
PT
40858 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40859 negative N or less than NGIDS.
40860
b3404dbd
PT
40861 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40862 type to string_t. Set ERANGE as errno and return it if NAME is not big
40863 enough. Use memcpy instead of strncpy.
40864
0f48659e
JM
408652012-07-20 Joseph Myers <joseph@codesourcery.com>
40866
40867 * elf/Makefile (check-data): Remove.
40868 (localplt.data): New vpath directive.
40869 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40870 instead of $(check-data).
40871 * scripts/data/localplt-generic.data: Move to ...
40872 * sysdeps/generic/localplt.data: ... here.
40873 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40874 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40875 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40877 ... here.
40878 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40880 ... here.
40881 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40883 ... here.
40884 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40886 ... here.
40887 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40889 ... here.
40890 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40892 ... here.
40893
d37cbdaa
AZ
408942012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40895
40896 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40897 PPC32 and PPC64 files.
40898 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40899 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40900
46f85fc2
AK
409012012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40902
40903 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40904 __makecontext_ret to ...
40905 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40906 ... here and call exit if uc_link is NULL. New file.
40907 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40908 __makecontext_ret.S.
40909 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40910 __makecontext_ret to ...
40911 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40912 ... here and call exit if uc_link is NULL. New file.
40913 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40914 __makecontext_ret.S.
40915
08f43f9b
AK
409162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40917
40918 * elf/elf.h (R_390_IRELATIVE): New definition.
40919 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40920 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40921 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40922 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40923 (elf_machine_lazy_rel): Likewise.
40924 * sysdeps/s390/dl-irel.h: New file.
40925 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40926 * sysdeps/s390/s390-64/memset.S: New asm code.
40927 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40928 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40929 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40930 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40931 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40932 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40933 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40934 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40935 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40936 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40937 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40938 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40939 * sysdeps/s390/s390-32/memset.S: New asm code.
40940 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40941
3b05db33
MP
409422012-07-17 Marek Polacek <polacek@redhat.com>
40943
40944 [BZ #14349]
40945 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40946 * sysdeps/s390/s390-64/configure.in: Likewise.
40947 * sysdeps/sparc/configure.in: Likewise.
40948 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40949 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40950 * sysdeps/i386/configure.in: Likewise.
40951 * sysdeps/x86_64/configure.in: Likewise.
40952 * sysdeps/sh/configure.in: Likewise.
40953 * sysdeps/s390/s390-32/configure: Regenerated.
40954 * sysdeps/s390/s390-64/configure: Likewise.
40955 * sysdeps/x86_64/configure: Likewise.
40956 * sysdeps/sh/configure: Likewise.
40957 * sysdeps/powerpc/powerpc64/configure: Likewise.
40958 * sysdeps/powerpc/powerpc32/configure: Likewise.
40959 * sysdeps/sparc/configure: Likwise.
40960 * sysdeps/i386/configure: Likewise.
40961
a66877c6
MP
40962 * elf/dl-open.c: Comment fixes.
40963
cfc82fd8
JM
409642012-07-17 Joseph Myers <joseph@codesourcery.com>
40965
bd29910a
JM
40966 * Makefile [CXX] (check-data): Remove.
40967 [CXX] (c++-types.data): New vpath directive.
40968 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40969 vpath. Do not allow for C++ type data being missing.
40970 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40971 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40972 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40973 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40974 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40975 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40976 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40978 ... here.
40979 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40981 ... here.
40982 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40984 ... here.
40985 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40987 ... here.
40988 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40990 ... here.
40991 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40993 ... here.
40994 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40996 ... here.
40997 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40999
cfc82fd8
JM
41000 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41001 definitions to architecture-specific files.
41002 (TLS_IE): Likewise.
41003 (TLS_LD): Likewise.
41004 (TLS_GD): Likewise.
41005 * sysdeps/i386/tls-macros.h: New file.
41006 * sysdeps/powerpc/tls-macros.h: Likewise.
41007 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41008 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41009 * sysdeps/sh/tls-macros.h: Likewise.
41010 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41011 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41012 * sysdeps/x86_64/tls-macros.h: Likewise.
41013
f7db3170
TS
410142012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41015
07cbfc23
TS
41016 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41017 zero value for regular exit case.
41018
f7db3170
TS
41019 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41020 (__start_context): Preserve zero value for regular exit case.
41021
dc97c227
TS
410222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41023 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41024
41025 * manual/setjmp.texi (setcontext): Clarify normal process
41026 termination when uc_link is the null pointer.
41027 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41028 exit call.
41029
d0cd7d02
AS
410302012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41031
41032 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41033 preprocessor. Test for each exception mask separately.
41034
dd318934
AJ
410352012-07-16 Andreas Jaeger <aj@suse.de>
41036
41037 * po/ru.po: Update from translation team.
41038
8048311a
JM
410392012-07-15 Joseph Myers <joseph@codesourcery.com>
41040
41041 * conform/data/string.h-data (NULL): Use macro-constant. Require
41042 equal to 0.
41043 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41044 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41045 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41046 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41047 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41048
b637d46e
AJ
410492012-07-13 Andreas Jaeger <aj@suse.de>
41050
41051 * po/fr.po: Update from translation team.
41052
541428fe
MP
410532012-07-12 Marek Polacek <polacek@redhat.com>
41054
41055 [BZ #14173]
41056 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41057 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41058 loop condition.
41059
ec332e94
JM
410602012-07-12 Joseph Myers <joseph@codesourcery.com>
41061
41062 [BZ #13717]
41063 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41064 Change to 2.4.1 where previously 2.4.0.
41065 * sysdeps/unix/sysv/linux/configure: Regenerated.
41066 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41067 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41068 version.
41069 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41070 (__ASSUME_AT_CLKTCK): Remove.
41071 (__ASSUME_AT_PAGESIZE): Likewise.
41072 (__ASSUME_AT_XID): Likewise.
41073 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41074 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41075 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41076 unconditionally.
41077 (HAVE_AUX_PAGESIZE): Likewise.
41078 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41079 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41080 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41081
7b6e99be
JB
410822012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41083
41084 [BZ #14307]
41085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41086 the temporary buffer used to invoke __gethostbyname2_r,
41087 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41088 host_data / struct gaih_addrtuple.
41089 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41090 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41091 header file nss/nsswitch.h.
41092 * nss/nsswitch.h (global scope): Add definition of implementation
41093 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41094 resolv/nss_dns/dns-host.c).
41095
608404eb
AJ
410962012-07-11 Andreas Jaeger <aj@suse.de>
41097
41098 * po/fr.po: Update from translation team.
41099
71220aca
AJ
41100 * po/sv.po: Update from translation team
41101 * po/fr.po: Another update from translation team.
41102
28cfe843
AZ
411032012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41104
41105 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41106 for subnormals or multiply small sinh result by itself.
41107 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41109
6b90f981
DM
411102012-07-11 David S. Miller <davem@davemloft.net>
41111
41112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41113
c6825772
AS
411142012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41115
41116 [BZ #14347]
41117 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41118 (INTERNAL_MARK): Shift it here.
41119
7b8e0d49
MP
411202012-07-10 Marek Polacek <polacek@redhat.com>
41121
41122 [BZ #14151]
41123 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41124 libc_cv_asm_global_directive with .globl.
41125 * configure: Regenerated.
41126 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41127 with .globl.
41128 * sysdeps/i386/configure: Regenerated.
41129 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41130 with .globl.
41131 * sysdeps/x86_64/configure: Regenerated.
41132 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41133 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41134 * elf/tst-unique2mod2.c: Likewise.
41135 * elf/tst-unique2mod1.c: Likewise.
41136 * elf/tst-unique1mod2.c: Likewise.
41137 * elf/tst-unique1mod1.c: Likewise.
41138 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41139 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41140 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41141 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41142 * sysdeps/mach/sysdep.h: Likewise.
41143 * sysdeps/i386/sysdep.h: Likewise.
41144 * sysdeps/i386/i386-mcount.S: Likewise.
41145 * sysdeps/x86_64/_mcount.S: Likewise.
41146 * sysdeps/x86_64/sysdep.h: Likewise.
41147 * sysdeps/sh/_mcount.S: Likewise.
41148 * sysdeps/sh/sysdep.h: Likewise.
41149 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41150 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41151 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41152 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41153 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41154 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41155 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41156 * locale/localeinfo.h: Likewise.
41157 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41158 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41159
6c55cda3
RM
411602012-07-09 Roland McGrath <roland@hack.frob.com>
41161
41162 [BZ #14336]
41163 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41164 system".
41165 * manual/message.texi (The Uniforum approach): Likewise.
41166 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41167 (glibc iconv Implementation): Likewise.
41168
638a572e
JM
411692012-07-09 Joseph Myers <joseph@codesourcery.com>
41170
41171 [BZ #14337]
41172 * math/s_clog.c (__clog): Avoid scaling a value down where that
41173 could result in underflow.
41174 * math/s_clog10.c (__clog10): Likewise.
41175 * math/s_clog10f.c (__clog10f): Likewise.
41176 * math/s_clog10l.c (__clog10l): Likewise.
41177 * math/s_clogf.c (__clogf): Likewise.
41178 * math/s_clogl.c (__clogl): Likewise.
41179 * math/libm-test.inc (clog_test): Add more tests.
41180 (clog10_test): Likewise.
41181 * sysdeps/i386/fpu/libm-test-ulps: Update.
41182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41183
261f4859
AS
411842012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41185
0abaf3e4
AS
41186 [BZ #14283]
41187 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41188 by 7 not 8 to examine high bit of fractional part.
41189
261f4859
AS
41190 [BZ #14042]
41191 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41192 for call to __mcount_internal.
41193 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41194 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41195 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41196
f17ac40d
JM
411972012-07-06 Joseph Myers <joseph@codesourcery.com>
41198
9ad63c23
JM
41199 [BZ #14154]
41200 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41201 approximation for values within 0x1p-13f of an odd multiple of
41202 pi/4.
41203 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41204 exception. Add more tests.
41205 * sysdeps/i386/fpu/libm-test-ulps: Update.
41206
f17ac40d
JM
41207 [BZ #6778]
41208 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41209 inputs and return -1 for them. Do not check for +Inf in case not
41210 reachable for +Inf.
41211 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41212 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41213 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41214 and return -1 for them. Do not check for +Inf in case not
41215 reachable for +Inf.
41216 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41217 define.
41218 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41219 and return -1 for them. Do not check for +Inf in case not
41220 reachable for +Inf.
41221 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41222 spurious underflow.
41223 * sysdeps/i386/fpu/libm-test-ulps: Update.
41224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41225
fb21f89b
MF
412262012-07-06 Mike Frysinger <vapier@gentoo.org>
41227
41228 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41229
cdfe2c5e
JM
412302012-07-05 Joseph Myers <joseph@codesourcery.com>
41231
41232 [BZ #14157]
41233 [BZ #14331]
41234 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41235 could result in spurious underflow. Scale down values above
41236 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41237 * math/s_csqrtf.c (__csqrtf): Likewise.
41238 * math/s_csqrtl.c (__csqrtl): Likewise.
41239 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41240 spurious underflow.
41241 * sysdeps/i386/fpu/libm-test-ulps: Update.
41242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41243
70d35b67
AS
412442012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41245
704bc459
AS
41246 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41247 xopen-msg.sed.
41248 * catgets/xopen-msg.awk: New file.
41249 * catgets/xopen-msg.sed: Removed.
41250
70d35b67
AS
41251 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41252 po2text.sed.
41253 * intl/po2test.awk: New file.
41254 * intl/po2test.sed: Removed.
41255
ca61cf32
JM
412562012-07-04 Joseph Myers <joseph@codesourcery.com>
41257
41258 [BZ #14328]
41259 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41260 or multiply small sinh result by itself.
41261 * math/s_ctanf.c (__ctanf): Likewise.
41262 * math/s_ctanh.c (__ctanh): Likewise.
41263 * math/s_ctanhf.c (__ctanhf): Likewise.
41264 * math/s_ctanhl.c (__ctanhl): Likewise.
41265 * math/s_ctanl.c (__ctanl): Likewise.
41266 * math/libm-test.inc (ctan_test_tonearest): New function.
41267 (ctan_test_towardzero): Likewise.
41268 (ctan_test_downward): Likewise.
41269 (ctan_test_upward): Likewise.
41270 (ctanh_test_tonearest): Likewise.
41271 (ctanh_test_towardzero): Likewise.
41272 (ctanh_test_downward): Likewise.
41273 (ctanh_test_upward): Likewise.
41274 (main): Call these new functions.
41275 * sysdeps/i386/fpu/libm-test-ulps: Update.
41276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41277
ca48a46a
MF
412782012-07-03 Mike Frysinger <vapier@gentoo.org>
41279
41280 * .gitignore: Delete /ports entry.
41281
9d63d37d
AJ
412822012-07-03 Andreas Jaeger <aj@suse.de>
41283
41284 * po/bg.po: Update from translation team.
41285 * po/cs.po: Likewise.
41286 * po/de.po: Likewise.
41287 * po/hr.po: Likewise.
41288 * po/nl.pl: Likewise.
41289 * po/pl.po: Likewise.
41290 * po/vi.po: Likewise.
41291
370ca3d2
JM
412922012-07-03 Joseph Myers <joseph@codesourcery.com>
41293
95f5a9a8
JM
41294 * Makeconfig [!+link] (+link-before-libc): New variable.
41295 [!+link] (+link-after-libc): Likewise.
41296 [!+link] (+link-tests): Likewise.
41297 [!+link] (+link): Define in terms of $(+link-before-libc) and
41298 $(+link-after-libc).
41299 [!+link-static] (+link-static-before-libc): New variable.
41300 [!+link-static] (+link-static-after-libc): Likewise.
41301 [!+link-static] (+link-static-tests): Likewise.
41302 [!+link-static] (+link-static): Define in terms of
41303 $(+link-static-before-libc) and $(+link-static-after-libc).
41304 [build-shared] (link-libc-before-gnulib): New variable.
41305 [build-shared] (link-libc-tests): Likewise.
41306 [build-shared] (link-libc): Define in terms of
41307 $(link-libc-before-gnulib).
41308 [!build-shared] (link-libc-tests): New variable.
41309 (link-libc-static-tests): New variable.
41310 [!gnulib] (gnulib-arch): New variable.
41311 [!gnulib] (gnulib-tests): Likewise.
41312 [!gnulib] (static-gnulib-arch): Likewise.
41313 [!gnulib] (static-gnulib-tests): Likewise.
41314 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41315 Define with "=" instead of ":=".
41316 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41317 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41318 * Rules (binaries-all-notests): New variable.
41319 (binaries-all-tests): Likewise.
41320 (binaries-static-notests): Likewise.
41321 (binaries-static-tests): Likewise.
41322 (binaries-all): Define using $(binaries-all-notests) and
41323 $(binaries-all-tests).
41324 (binaries-static): Define using $(binaries-static-notests) and
41325 $(binaries-static-tests).
41326 (binaries-shared-tests): New variable.
41327 (binaries-shared-notests): Likewise.
41328 (binaries-shared): Remove variable.
41329 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41330 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41331 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41332 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41333 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41334 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41335 * elf/Makefile (sln-modules): New variable.
41336 (extra-objs): Add $(sln-modules:=.o).
41337 (ldconfig-modules): Add static-stubs.
41338 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41339 * elf/static-stubs.c: New file.
41340
7a845b2c
JM
41341 [BZ #14283]
41342 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41343 by 7 not 8 to examine high bit of fractional part. Use volatile
41344 variables when splitting into final array of floats if
41345 __FLT_EVAL_METHOD__ != 0.
41346 * math/libm-test.inc (cos_test): Add another test.
41347 (sin_test): Likewise.
41348 * sysdeps/i386/fpu/libm-test-ulps: Update.
41349
e2283f38
JM
41350 [BZ #14273]
41351 * math/libm-test.inc (cosh_test): Add more tests.
41352
370ca3d2
JM
41353 * version.h (RELEASE): Set to "development".
41354 (VERSION): Set to "2.16.90".
41355
ee9247c3
CD
413562012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41357
41358 * NEWS: Update copyright. Remove last-updated date.
41359 Mention math library bug fixes and timezone data changes.
41360 * README: Mention GNU/Hurd, x32, and HPPA support status.
41361
4648c381
TS
413622012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41363
41364 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41365
aac78a43
AJ
413662012-06-27 Andreas Jaeger <aj@suse.de>
41367
41368 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41369
ed3dbfad
AJ
413702012-06-25 Andreas Jaeger <aj@suse.de>
41371
41372 * sysdeps/s390/fpu/libm-test-ulps: Update.
41373
4d0ee855
AS
413742012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41375 Thomas Schwinge <thomas@codesourcery.com>
41376
41377 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41378 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41379 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41380 fanotify_mark.
41381
af1bce34
TS
413822012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41383
a9fa33ba
TS
41384 * sysdeps/mach/start.c: Remove file.
41385 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41386 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41387 * sysdeps/sh/init-first.c: Likewise.
41388
58f902b8
TS
41389 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41390 registers for frame unwinding purposes, add CFI directives.
41391 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41392 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41393 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41394 Likewise.
41395
1518f58b
TS
41396 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41397 __fortify_fail returning.
41398 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41399
db9b5059
TS
41400 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41401 sysdeps/sh/____longjmp_chk.S.
41402 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41403 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41404 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41405 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41406
967705fe
TS
41407 * sysdeps/sh/abort-instr.h: New file.
41408 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41409 process in case exit returns.
41410
a9def8c4
TS
41411 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41412 initialize the GOT register before use.
41413
2a649725
TS
41414 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41415 calculation of ARGC > 4.
41416
af1bce34
TS
41417 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41418 meaningful names to some local labels.
41419
d230f50a
KK
414202012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41421 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41422
41423 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41424 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41425 (__arch_compare_and_exchange_val_16_acq): Likewise.
41426 (__arch_compare_and_exchange_val_32_acq): Likewise.
41427 (atomic_exchange_and_add): Fix gUSA sequence.
41428 (atomic_add): Likewise.
41429 (atomic_add_negative): Likewise.
41430 (atomic_add_zero): Likewise.
41431 (atomic_bit_test_set): Likewise.
41432
0479b305
AS
414332012-06-22 Andreas Schwab <schwab@redhat.com>
41434
41435 [BZ #13579]
41436 * include/link.h (struct link_map): Add l_free_initfini.
41437 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41438 l_initfini.
41439 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41440 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41441 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41442 set.
41443
0e3933b9
CD
414442012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41445
41446 * configure.in: Use AC_LANG_SOURCE.
41447 * configure: Regenerate.
41448
4248b1b1
RM
414492012-06-22 Roland McGrath <roland@hack.frob.com>
41450
41451 * configure.in (libc_cv_localstatedir): New substituted variable.
41452 * configure: Regenerated.
41453 * config.make.in (localstatedir): New variable, substituted from
41454 libc_cv_localstatedir.
41455 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41456 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41457 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41458 * sysdeps/gnu/configure: Regenerated.
41459
006dd861
JL
414602012-06-21 Jeff Law <law@redhat.com>
41461
41462 [BZ #14277]
41463 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41464 free. Simplify list management for _LIBC case.
41465
79662d42
JM
414662012-06-21 Joseph Myers <joseph@codesourcery.com>
41467
b7abb4bf
JM
41468 [BZ #14273]
41469 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41470 Clear sign bit of 64-bit integer value before comparing against
41471 overflow value.
41472
79662d42
JM
41473 * sysdeps/mach/configure: Regenerated.
41474
1f150908
L
414752012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41476
41477 [BZ #14278]
41478 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41479
28363bbf
JL
414802012-06-21 Jeff Law <law@redhat.com>
41481
41482 [BZ #13882]
41483 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41484 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41485 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41486 * elf/dl-open.c (dl_open_worker): Likewise.
41487
09615db4
CD
414882012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41489
41490 * scripts/list-sources.sh: Scan PORTS for translations.
41491 * po/libc.pot: Regenerated.
41492
2174c6dd
AJ
414932012-06-21 Andreas Jaeger <aj@suse.de>
41494
41495 [BZ #12194]
41496 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41497 warning.
41498 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41499 * bits/byteswap-16.h (__bswap_16): Likewise.
41500 * bits/byteswap.h (__bswap_constant_16): Likewise.
41501
3ee947b1
L
415022012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41503
41504 [BZ #14117]
a2f34833
L
41505 * sysdeps/i386/fpu_control.h: Removed.
41506 * sysdeps/x86_64/fpu_control.h: Moved to ...
41507 * sysdeps/x86/fpu_control.h: Here.
41508
3ee947b1
L
41509 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41510 (_FPU_SETCW): Likewise.
41511
ed1825f8
L
415122012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41513
25f1282a
L
41514 [BZ #14117]
41515 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41516 * sysdeps/x86/fpu/bits/mathinline.h: This.
41517 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41518
ed1825f8
L
41519 [BZ #14050]
41520 [BZ #14117]
41521 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41522 functions if __x86_64__ is defined.
41523
36d54b74
CLT
415242012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41525
41526 * string/endian.h: Add !__ASSEMBLER__ condition for including
41527 conversion interfaces.
41528
10285c21
JM
415292012-06-15 Joseph Myers <joseph@codesourcery.com>
41530
41531 [BZ #14241]
41532 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41533 of ABS(x) in calculating zero to negative powers other than odd
41534 integers.
41535 * math/libm-test.inc (pow_test): Add more tests.
41536
06c5abbd
AJ
415372012-06-15 Andreas Jaeger <aj@suse.de>
41538
41539 * manual/contrib.texi (Contributors): Update entry of Liubov
41540 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41541 Machado Filho.
41542
a3aeac40
CH
415432012-06-15 Cyril Hrubis <metan@ucw.cz>
41544
41545 * string/string.h: Add __wur to GNU version of strerror_r.
41546
49bdf4c1
L
415472012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41548
41549 [BZ #14229]
41550 * string/Makefile (tests): Add tst-strtok_r.
41551 * string/tst-strtok_r.c: New file.
41552 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41553 RAX_LP/RDX_LP on SAVE_PTR.
41554
834f9b8d
RM
415552012-06-14 Roland McGrath <roland@hack.frob.com>
41556
41557 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41558
75fa1921
JM
415592012-06-14 Joseph Myers <joseph@codesourcery.com>
41560
41561 * libm_test.inc (csqrt_test): Allow more spurious underflow
41562 exceptions.
41563 (j0_test): Likewise.
41564 (j1_test): Likewise.
41565 (y0_test): Likewise.
41566 (y1_test): Likewise.
41567
771766df
CD
415682012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41569
41570 * po/Makefile (libc.pot): Use UTF-8 charset.
41571
ceb9e56b
PP
415722012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41573
41574 [BZ #14210]
41575 Suppress sign-conversion warning from FD_SET.
41576 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41577 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41578 not unsigned long int.
41579 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41580
ddb28975
L
415812012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41582
41583 [BZ #14050]
41584 [BZ #14117]
41585 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41586 __extern_always_inline instead of __extern_inline.
41587 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41588 (__signbit): Likewise.
41589 (__signbitl): Support C++ namespace.
41590 (lrintf): New inline function.
41591 (lrint): Likewise.
41592 (llrintf): Likewise.
41593 (llrint): Likewise.
41594 (fmaxf): Likewise.
41595 (fmax): Likewise.
41596 (fminf): Likewise.
41597 (fmin): Likewise.
41598 (rint): Likewise.
41599 (rintf): Likewise.
41600 (ceil): Likewise.
41601 (ceilf): Likewise.
41602 (floor): Likewise.
41603 (floorf): Likewise.
41604 (nearbyint): Likewise.
41605 (nearbyintf): Likewise.
41606
d7b4fb26
TS
416072012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41608
41609 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41610 non-default versions.
41611
eb55f5c2
RM
416122012-06-11 Roland McGrath <roland@hack.frob.com>
41613
41614 [BZ #14218]
41615 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41616
366af02c
TS
416172012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41618
99ff6e5c
TS
41619 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41620 (FE_UPWARD, FE_DOWNWARD): Don't define.
41621 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41622 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41623
366af02c
TS
41624 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41625 reading it.
41626 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41627 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41628
793ea851
KK
416292012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41630
41631 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41632 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41633 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41634 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41635
a728a38f
L
416362012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41637
41638 [BZ #14117]
c08010c7
L
41639 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41640 * sysdeps/i386/fpu/Implies: New file.
41641 * sysdeps/x86_64/fpu/Implies: Likewise.
41642 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41643 * sysdeps/x86/fpu/bits/fenv.h: This.
41644
a728a38f
L
41645 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41646 __SSE_MATH__.
41647
6e230d11
SP
416482012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41649
41650 [BZ #14134]
41651 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41652 character 0xffff that matches the last element of the
41653 conversion table.
41654
1b671feb
AZ
416552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41656
41657 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41658 fmodl commit.
41659
6043738b
AZ
416602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41661
41662 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41663 values higher than 25.6283.
41664
34ae0b32
AZ
416652012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41666
41667 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41668 subnormal exponent extraction and add some __builtin_expect.
41669 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41670 Fix for subnormal mantissa calculation.
41671
1214ec8f
MF
416722012-06-04 Mike Frysinger <vapier@gentoo.org>
41673
41674 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41675 cpu2 is -1 and errno is not ENOSYS.
41676
f3d1f93c
L
416772012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41678
41679 [BZ #14117]
0e4a3cd7
L
41680 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41681 * sysdeps/x86/bits/string.h: This.
41682 * sysdeps/x86_64/bits/string.h: Removed.
41683
6704c645
L
41684 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41685 if not compiling for x86-64, but compiling for >= i486.
41686
48495318
L
41687 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41688 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41689
14adcbfc
L
41690 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41691 New macro from Linux kernel 3.4.0.
41692 (FP_XSTATE_MAGIC2): Likewise.
41693 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41694 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41695 (struct _fpx_sw_bytes): New struct.
41696 (struct _xsave_hdr): Likewise.
41697 (struct _ymmh_state): Likewise.
41698 (struct _xstate): Likewise.
41699
68e408ab
L
41700 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41701 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41702 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41703 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41704 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41705 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41706
f3d1f93c
L
41707 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41708 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41709 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41710 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41711 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41712 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41713
d9dc34cd
TMQMF
417142012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41715
41716 [BZ #13743]
41717 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41718 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41719 (sysdep_headers): Include sys/platform/ppc.h.
41720 * sysdeps/powerpc/test-gettimebase.c: Test for
41721 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41722 * manual/Makefile (appendices): Include platform.texi.
41723 * manual/contrib.texi (Contributors): Update @node pointers.
41724 * manual/maint.texi (Maintenance): Likewise.
41725 (Platform): New node.
41726 * manual/platform.texi: New file. Document the new features.
41727
4af3879c
SP
417282012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41729 Jakub Jelinek <jakub@redhat.com>
41730
41731 [BZ #14188]
41732 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41733 where __builtin_expect is unavailable.
41734
2fd6ff13
DM
417352012-06-03 David S. Miller <davem@davemloft.net>
41736
41737 * stdlib/longlong.h: Updated from GCC.
41738
173f7220
AS
417392012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41740
41741 [BZ #14042]
41742 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41743 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41744 __mcount_internal.
41745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41746 (GLIBC_2.16): Likewise.
41747
f34a1c6f
L
417482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41749
41750 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41751
88a4576f
JM
417522012-06-01 Joseph Myers <joseph@codesourcery.com>
41753
ea32bcdd
JM
41754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41755 (default-abi): New variable.
41756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41757 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41758 variable.
41759 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41760 Likewise.
41761 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41762 Likewise.
41763 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41764 Likewise.
41765
88a4576f
JM
41766 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41767 definition. Document in comment.
41768
402fe938
DM
417692012-06-01 David S. Miller <davem@davemloft.net>
41770
41771 * stdlib/longlong.h: Updated from GCC.
41772
3553723f
L
417732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41774
41775 [BZ #14117]
3bd872c4
L
41776 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41777 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41778 sys/debugreg.h sys/io.h here.
41779 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41780 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41781 sys/io.h.
41782 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41783 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41784 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41785 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41786 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41787 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41788
3553723f
L
41789 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41790 Define only if __x86_64__ is defined.
41791
4842e4fe
JM
417922012-06-01 Joseph Myers <joseph@codesourcery.com>
41793
c5bfe3d5
JM
41794 [BZ #14048]
41795 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41796 Use int64_t for variable i.
41797 * math/libm-test.inc (fmod_test): Add more tests.
41798
4842e4fe
JM
41799 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41800 z computation is not scheduled after fetestexcept.
41801 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41802 Use math_force_eval instead of asm to ensure calculation scheduled
41803 before exception test.
41804 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41805 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41806
efb73488
AJ
418072012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41808
41809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41810 computation is not scheduled after fetestexcept.
41811
29bcce7c
L
418122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41813
41814 [BZ #14117]
41815 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41816 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41817
73a68f94
AZ
418182012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41819
41820 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41821 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41822
67b6df78
L
418232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41824
edf2933a 41825 [BZ #14117]
ebc64a18
L
41826 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41827 <bits/wordsize.h>.
41828 (__WCHAR_MIN): Support __WORDSIZE == 64.
41829 (__WCHAR_MAX): Likewise.
41830
edf2933a
L
41831 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41832 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41833
57c6cf40
L
41834 [BZ #14183]
41835 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41836 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41837
67b6df78 41838 [BZ #14117]
8eb6281e
L
41839 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41840 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41841
aac639f4
L
41842 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41843 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41844
67b6df78
L
41845 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41846 Defined to 1 if __x86_64__ isn't defined.
41847 (_STAT_VER_LINUX_OLD): New.
41848 (st_atime): Remove duplicate.
41849 (st_mtime): Likewise.
41850 (st_ctime): Likewise.
41851
1c2cfe81
DM
418522012-05-31 David S. Miller <davem@davemloft.net>
41853
41854 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41855 entries.
41856
5be8418c
AS
418572012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41858
e7725326
AS
41859 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41860 gen-libm-test.pl.
41861
5be8418c
AS
41862 [BZ #14132]
41863 * elf/dl-reloc.c: Include <_itoa.h>.
41864 (_dl_reloc_bad_type): Remove use of INTUSE.
41865 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41866 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41867 * stdio-common/psiginfo.c (psiginfo): Likewise.
41868 * stdio-common/psignal.c (psignal): Likewise.
41869 * string/strsignal.c (strsignal): Likewise.
41870 * include/signal.h (_sys_siglist): Declare hidden proto.
41871 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41872 INTVARDEF with libc_hidden_data_def.
41873 * stdio-common/itoa-udigits.c: Likewise.
41874 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41875 (_itoa_lower_digits_internal): Remove declaration.
41876 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41877 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41878 (_sys_sigabbrev_internal): Remove aliases.
41879 (_sys_siglist): Define hidden alias.
41880
507352f1
MT
418812012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41882
41883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41884 bits/sysctl.h.
41885
42bbb1c3
L
418862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41887
41888 [BZ #14117]
6bd784b6
L
41889 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41890 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41891
8bca20f0
L
41892 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41893 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41894 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41895 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41896 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41897 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41898
f9e890a9
L
41899 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41900 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41901 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41902
471101a1
L
41903 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41904 with __addr.
41905 (insw): Likewise.
41906 (insl): Likewise.
41907 (outsb): Likewise.
41908 (outsw): Likewise.
41909 (outsl): Likewise.
41910
6451c862
L
41911 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41912 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41913 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41914
a254b8c9
L
41915 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41916 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41917 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41918 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41919 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41920 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41921
b8dfdd92
L
41922 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41923 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41924
578cd270
L
41925 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41926 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41927
de662f5f
L
41928 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41930 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41931
25653439
L
41932 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41933 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41934 to ...
41935 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41936
6bad24a0
L
41937 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41938 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41939 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41940
42bbb1c3
L
41941 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41942 for x86-64.
41943 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41944
2d10d547
JM
419452012-05-31 Joseph Myers <joseph@codesourcery.com>
41946
41947 * math/math.h (M_El): Use two more decimal places.
41948 (M_LOG2El): Likewise.
41949 (M_LOG10El): Likewise.
41950 (M_LN2l): Likewise.
41951 (M_LN10l): Likewise.
41952 (M_PIl): Likewise.
41953 (M_PI_2l): Likewise.
41954 (M_PI_4l): Likewise.
41955 (M_1_PIl): Likewise.
41956 (M_2_PIl): Likewise.
41957 (M_2_SQRTPIl): Likewise.
41958 (M_SQRT2l): Likewise.
41959 (M_SQRT1_2l): Likewise.
41960
f230c29b
DM
419612012-05-31 David S. Miller <davem@davemloft.net>
41962
41963 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41964 values between float registers.
41965 * sysdeps/sparc/sparc64/memset.S: Likewise.
41966 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41967
fed806c3
MF
419682012-05-31 Mike Frysinger <vapier@gentoo.org>
41969
41970 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41971 -D_FORTIFY_SOURCE=1.
41972 (CPPFLAGS-tst-longjmp_chk.c): Define.
41973 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41974 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41975 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41976 CFLAGS-tst-wchar-h.c.
41977
30917259
MP
419782012-05-31 Marek Polacek <polacek@redhat.com>
41979
41980 [BZ #14132]
41981 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41982 __endmntent_internal): Remove declaration.
41983 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41984 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41985 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41986
1c58d5dc
DM
419872012-05-30 David S. Miller <davem@davemloft.net>
41988
41989 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41990 (___Q_simulate_exceptions): Use real FP ops rather than writing
41991 into the %fsr.
41992 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41993 Likewise.
41994
7dc00e0d
L
419952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41996
41997 [BZ #14117]
0bd53985
L
41998 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41999 * sysdeps/x86/bits/xtitypes.h: This.
42000
3a257e66
L
42001 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42002 * sysdeps/x86/bits/wordsize.h: This.
42003
62f62904
L
42004 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42005 * sysdeps/x86/bits/huge_vall.h: This.
42006
404fe9d9
L
42007 * sysdeps/i386/bits/select.h: Removed.
42008 * sysdeps/x86_64/bits/select.h: Renamed to ...
42009 * sysdeps/x86/bits/select.h: This.
42010
d48d0446
L
42011 * sysdeps/i386/bits/setjmp.h: Removed.
42012 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42013 * sysdeps/x86/bits/setjmp.h: This.
42014
7dc00e0d
L
42015 * sysdeps/i386/bits/mathdef.h: Removed.
42016 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42017 * sysdeps/x86/bits/mathdef.h: This.
42018
03277f8f
AS
420192012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42020
42021 [BZ #14132]
42022 * include/sys/socket.h (__connect_internal)
42023 (__libc_sa_len_internal): Remove declaration.
42024 (__connect, __libc_sa_len): Declare hidden_proto.
42025 (SA_LEN): Remove use of INTUSE.
42026 * socket/connect.c: Add libc_hidden_def.
42027 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42028 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42029 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42030 alias.
42031 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42032 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42033 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42034 of adding _internal alias.
42035
13764867
L
420362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42037
42038 [BZ #14117]
6bd97696
L
42039 * sysdeps/i386/bits/link.h: Removed.
42040 * sysdeps/i386/bits/linkmap.h: Likewise.
42041 * sysdeps/x86_64/bits/link.h: Renamed to ...
42042 * sysdeps/x86/bits/link.h: This.
42043 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42044 * sysdeps/x86/bits/linkmap.h: This.
42045
f726f0bb
L
42046 * sysdeps/i386/bits/endian.h: Removed.
42047 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42048 * sysdeps/x86/bits/endian.h: This.
42049
13764867
L
42050 * sysdeps/i386/bits/byteswap.h: Removed.
42051 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42052 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42053 * sysdeps/x86/bits/byteswap.h: This.
42054 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42055 * sysdeps/x86/bits/byteswap-16.h: This.
42056 * sysdeps/i386/Implies: Add x86.
42057 * sysdeps/x86_64/Implies: Likewise.
42058
ae251b0b
DM
420592012-05-30 David S. Miller <davem@davemloft.net>
42060
42061 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42062 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42063 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42064 (FP_TRAPPING_EXCEPTIONS): Define.
42065 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42066 (FP_TRAPPING_EXCEPTIONS): Define.
42067 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42068 subnormals only when inexact has been signalled or underflow
42069 exceptions are enabled.
42070 (_FP_PACK_CANONICAL): Likewise.
42071
d5c90867
L
420722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42073
42074 [BZ #14183]
42075 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42076 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42077
63f1549e
RH
420782012-05-30 Richard Henderson <rth@twiddle.net>
42079
8d8f2279
RH
42080 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42081 with #ifndef NOT_IN_libc.
42082
63f1549e
RH
42083 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42084 marked to avoid plt entry.
42085
0ab0291b
L
420862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42087
42088 [BZ #14112]
42089 * Makeconfig (default-abi): New macro.
42090 (abi-includes): Likewise.
42091 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42092 $(abi-$(default-abi)-lib-soname) for soname if defined.
42093 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42094 abi-variants.
42095 * Makefile (installed-stubs): Likewise.
42096 * include/stubs-biarch.h: Removed.
42097 * scripts/lib-names.awk: Only handle one library at a time.
42098 * scripts/soversions.awk: Remove WORDSIZE support.
42099 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42100 entries.
42101 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42102 Removed.
42103 (syscall-list-default-condition): Likewise.
42104 (syscall-list-default-condition): Likewise.
42105 (syscall-list-includes): Likewise.
42106 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42107 syscall-list-* with abi-*. Handle undefined abi-variants.
42108 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42109 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42110 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42111 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42112 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42113 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42114 Removed.
42115 (syscall-list-32-options): Likewise.
42116 (syscall-list-32-condition): Likewise.
42117 (syscall-list-64-options): Likewise.
42118 (syscall-list-64-condition): Likewise.
42119 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42120 macro.
42121 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42122 Renamed to ...
42123 (abi-*): This.
42124 (abi-64-ld-soname): New macro.
42125 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42126 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42127 Renamed to ...
42128 (abi-*): This.
42129 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42130 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42131
4da0431d
JM
421322012-05-30 Joseph Myers <joseph@codesourcery.com>
42133
3a85279c
JM
42134 * sysdeps/unix/sysv/linux/kernel-features.h
42135 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42136 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42137 include <kernel-features.h>.
42138 [!__NR_ftruncate64]: Remove conditional code.
42139 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42140 [__NR_ftruncate64]: Make code unconditional.
42141 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42142 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42143 include <kernel-features.h>.
42144 [!__NR_ftruncate64]: Remove conditional code.
42145 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42146 [__NR_ftruncate64]: Make code unconditional.
42147 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42149 include <kernel-features.h>.
42150 [!__NR_ftruncate64]: Remove conditional code.
42151 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42152 [__NR_ftruncate64]: Make code unconditional.
42153 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42155 include <kernel-features.h>.
42156 [!__NR_ftruncate64]: Remove conditional code.
42157 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42158 [__NR_ftruncate64]: Make code unconditional.
42159 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42160
4da0431d
JM
42161 * configure.in (libc_cv_fpie): Weaken to a compile test using
42162 LIBC_TRY_CC_OPTION.
42163 * configure: Regenerated.
42164
11ef492c
AK
421652012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42166
42167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42171 Refreshed.
42172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42178 Refreshed.
42179
d66ef399
DM
421802012-05-27 David S. Miller <davem@davemloft.net>
42181
42182 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42183 (___Q_zero): New.
42184 (__Q_simulate_exceptions): Return void. Change to simulate
42185 exceptions by writing into the %fsr.
42186 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42187 (__Qp_handle_exceptions): Likewise.
42188 (numbers): Delete.
42189 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42190 __Qp_handle_exceptions.
42191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42192 __Qp_handle_exceptions.
42193 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42194 as unused and give dummy FP_RND_NEAREST initializer.
42195 (FP_INHIBIT_RESULTS): Define.
42196 (___Q_simulate_exceptions): Update declaration.
42197 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42198 formatting.
42199 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42200 as unused and give dummy FP_RND_NEAREST initializer.
42201 (__Qp_handle_exceptions): Update declaration.
42202 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42203 formatting.
42204
04fb54b5
TS
422052012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42206
42207 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42208 the temporary FPU control word.
42209 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42210 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42211 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42212 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42213 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42214 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42215 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42216 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42217 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42218 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42219 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42220
3f99608f
KK
422212012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42222
42223 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42224 fields.
42225
65a4de4e
CLT
422262012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42227
42228 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42229 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42230 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42231 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42232 Likewise.
42233 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42234 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42235 Likewise.
42236
15749d40
UD
422372012-05-27 Ulrich Drepper <drepper@gmail.com>
42238
42239 * po/h.po: Update from translation team.
42240
25dbcb27
AS
422412012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42242
3d3f8e55
AS
42243 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42244
25dbcb27
AS
42245 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42246 handling of denormals.
42247 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42248 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42249 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42250 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42252 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42254 Likewise.
42255
7ad47a80 422562012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42257
42258 [BZ #14152]
42259 * math/libm-test.inc (fma_test): Don't always expect underflow
42260 exception.
42261
9c6ea9fa
SP
422622012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42263
42264 [BZ #12416]
42265 * elf/tst-execstack.c: Include stackinfo.h.
42266 (do_test): Adjust test case to ensure that pthread_getattr_np
42267 behaviour remains the same after marking stack executable.
42268
a8239222
JM
422692012-05-25 Joseph Myers <joseph@codesourcery.com>
42270
42271 * sysdeps/unix/sysv/linux/kernel-features.h
42272 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42273 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42274 kernel-features.h.
42275 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42276 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42277 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42278 kernel-features.h.
42279 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42280 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42281
918b5606
L
422822012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42283
42284 * configure.in: Define the default includes to being none.
42285 * configure: Regenerated.
42286
3a097cc7
RM
422872012-05-25 Roland McGrath <roland@hack.frob.com>
42288
8422c9a5
RM
42289 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42290 * sysdeps/x86_64/setjmp.S: Likewise.
42291 * sysdeps/i386/bsd-setjmp.S: Likewise.
42292 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42293 * sysdeps/i386/setjmp.S: Likewise.
42294 * sysdeps/i386/__longjmp.S: Likewise.
42295 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42296 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42297
3a097cc7
RM
42298 * include/stap-probe.h: New file.
42299 * configure.in: Handle --enable-systemtap.
42300 * configure: Regenerated.
42301 * config.h.in (USE_STAP_PROBE): New #undef.
42302 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42303 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42304 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42305
21708942
JM
423062012-05-25 Joseph Myers <joseph@codesourcery.com>
42307
42308 [BZ #13717]
42309 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42310 to 2.4.0 where earlier.
42311 * sysdeps/unix/sysv/linux/configure: Regenerated.
42312 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42313 <kernel-features.h>.
42314 [__ASSUME_32BITUIDS]: Make code unconditional.
42315 [!__ASSUME_32BITUIDS]: Remove conditional code.
42316 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42317 <kernel-features.h>.
42318 [__ASSUME_32BITUIDS]: Make code unconditional.
42319 [!__ASSUME_32BITUIDS]: Remove conditional code.
42320 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42321 [__ASSUME_32BITUIDS]: Make code unconditional.
42322 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42323 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42324 <kernel-features.h>.
42325 [__ASSUME_32BITUIDS]: Make code unconditional.
42326 [!__ASSUME_32BITUIDS]: Remove conditional code.
42327 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42328 <kernel-features.h>.
42329 [__ASSUME_32BITUIDS]: Make code unconditional.
42330 [!__ASSUME_32BITUIDS]: Remove conditional code.
42331 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42332 <kernel-features.h>.
42333 [__ASSUME_32BITUIDS]: Make code unconditional.
42334 [!__ASSUME_32BITUIDS]: Remove conditional code.
42335 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42336 <kernel-features.h>.
42337 [__ASSUME_32BITUIDS]: Make code unconditional.
42338 [!__ASSUME_32BITUIDS]: Remove conditional code.
42339 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42340 <kernel-features.h>.
42341 [__ASSUME_32BITUIDS]: Make code unconditional.
42342 [!__ASSUME_32BITUIDS]: Remove conditional code.
42343 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42344 <kernel-features.h>.
42345 [__ASSUME_32BITUIDS]: Make code unconditional.
42346 [!__ASSUME_32BITUIDS]: Remove conditional code.
42347 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42348 <kernel-features.h>.
42349 [__ASSUME_32BITUIDS]: Make code unconditional.
42350 [!__ASSUME_32BITUIDS]: Remove conditional code.
42351 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
42364 <kernel-features.h>.
42365 [__NR_setresgid] (__setresgid): Do not declare.
42366 [__ASSUME_32BITUIDS]: Make code unconditional.
42367 [!__ASSUME_32BITUIDS]: Remove conditional code.
42368 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42369 <kernel-features.h>.
42370 [__NR_setresuid] (__setresuid): Do not declare.
42371 [__ASSUME_32BITUIDS]: Make code unconditional.
42372 [!__ASSUME_32BITUIDS]: Remove conditional code.
42373 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42374 <kernel-features.h>.
42375 [__ASSUME_32BITUIDS]: Make code unconditional.
42376 [!__ASSUME_32BITUIDS]: Remove conditional code.
42377 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42378 <kernel-features.h>.
42379 [__ASSUME_32BITUIDS]: Make code unconditional.
42380 [!__ASSUME_32BITUIDS]: Remove conditional code.
42381 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42382 <kernel-features.h>.
42383 [__ASSUME_32BITUIDS]: Make code unconditional.
42384 [!__ASSUME_32BITUIDS]: Remove conditional code.
42385 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42386 <kernel-features.h>.
42387 [__ASSUME_32BITUIDS]: Make code unconditional.
42388 [!__ASSUME_32BITUIDS]: Remove conditional code.
42389 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42390 <kernel-features.h>.
42391 [__ASSUME_32BITUIDS]: Make code unconditional.
42392 [!__ASSUME_32BITUIDS]: Remove conditional code.
42393 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42394 <kernel-features.h>.
42395 [__ASSUME_32BITUIDS]: Make code unconditional.
42396 [!__ASSUME_32BITUIDS]: Remove conditional code.
42397 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42398 <kernel-features.h>.
42399 [__ASSUME_32BITUIDS]: Make code unconditional.
42400 [!__ASSUME_32BITUIDS]: Remove conditional code.
42401 * sysdeps/unix/sysv/linux/i386/setreuid.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/setuid.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/shmctl.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/kernel-features.h
42414 (__ASSUME_SETRESUID_SYSCALL): Remove.
42415 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42416 (__ASSUME_32BITUIDS): Likewise.
42417 (__ASSUME_LDT_WORKS): Likewise.
42418 (__ASSUME_O_DIRECTORY): Likewise.
42419 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42420 architecture but not kernel version.
42421 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42422 (__ASSUME_MMAP2_SYSCALL): Likewise.
42423 (__ASSUME_STAT64_SYSCALL): Likewise.
42424 (__ASSUME_IPC64): Likewise.
42425 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42426 <kernel-features.h>.
42427 [__ASSUME_32BITUIDS]: Make code unconditional.
42428 [!__ASSUME_32BITUIDS]: Remove conditional code.
42429 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42430 <kernel-features.h>.
42431 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42432 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42433 132096]: Remove conditional code.
42434 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42435 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42436 <kernel-features.h>.
42437 [__ASSUME_32BITUIDS]: Make code unconditional.
42438 [!__ASSUME_32BITUIDS]: Remove conditional code.
42439 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42440 <kernel-features.h>.
42441 [__ASSUME_32BITUIDS]: Make code unconditional.
42442 [!__ASSUME_32BITUIDS]: Remove conditional code.
42443 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42444 <kernel-features.h>.
42445 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42446 unconditional.
42447 (__setresgid): Do not declare.
42448 [__ASSUME_32BITUIDS]: Make code unconditional.
42449 [!__ASSUME_32BITUIDS]: Remove conditional code.
42450 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42451 <kernel-features.h>.
42452 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42453 unconditional.
42454 (__setresuid): Do not declare.
42455 [__ASSUME_32BITUIDS]: Make code unconditional.
42456 [!__ASSUME_32BITUIDS]: Remove conditional code.
42457 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42458 <kernel-features.h>.
42459 [__ASSUME_32BITUIDS]: Make code unconditional.
42460 [!__ASSUME_32BITUIDS]: Remove conditional code.
42461 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42462 <kernel-features.h>.
42463 [__ASSUME_32BITUIDS]: Make code unconditional.
42464 [!__ASSUME_32BITUIDS]: Remove conditional code.
42465
a386f1cc
RH
424662012-05-25 Richard Henderson <rth@twiddle.net>
42467
42468 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42469 dl_hwcap to ifunc resolver.
42470 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42471 elf_ifunc_invoke.
42472 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42473 dl_hwcap to ifunc resolver.
42474 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42475
b6550497
JM
424762012-05-24 Joseph Myers <joseph@codesourcery.com>
42477
42478 [BZ #14153]
42479 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42480 for |x| <= 2**-26, not 2**-57.
42481 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42482 exception.
42483
b0bc23a1
JL
424842012-05-24 Jeff Law <law@redhat.com>
42485
42486 * stdio-common/Makefile (tests): Add bug25.
42487 * stdio-common/bug25.c: New test.
42488
347c92e9
L
424892012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42490
42491 [BZ #13576]
42492 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42493 multiple of MALLOC_ALIGNMENT in size.
42494 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42495
6bcc8b3f
JM
424962012-05-24 Joseph Myers <joseph@codesourcery.com>
42497
42498 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42499 Require >= 256.
42500 (FILENAME_MAX): Use macro-int-constant.
42501 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42502 (_IOFBF): Use macro-int-constant.
42503 (_IOLBF): Likewise.
42504 (_IONBF): Likewise.
42505 (SEEK_CUR): Likewise.
42506 (SEEK_END): Likewise.
42507 (SEEK_SET): Likewise.
42508 (TMP_MAX): Likewise.
42509 (EOF): Use macro-int-constant. Require < 0.
42510 (NULL): Use macro-constant. Require == 0.
42511 (stdin): Require type to be FILE *.
42512 (stdout): Likewise.
42513 (stderr): Likewise.
42514 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42515 macro-int-constant.
42516 (EXIT_SUCCESS): Likewise.
42517 (NULL): Use macro-constant. Require == 0.
42518 (RAND_MAX): Use macro-int-constant.
42519 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42520 [C99-based standards] (strtof): Require function.
42521 [C99-based standards] (strtold): Likewise.
42522 [C99-based standards] (strtoll): Likewise.
42523 [C99-based standards] (strtoull): Likewise.
42524 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42525 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42526 [ISO || ISO99 || ISO11] (math.h): Likewise.
42527 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42528 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42530
d18ea0c5
AS
425312012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42532
42533 [BZ #14132]
56d25bb8
AS
42534 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42535 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42536 * intl/dgettext.c (DCGETTEXT): Likewise.
42537 * intl/gettext.c (DCGETTEXT): Likewise.
42538 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42539 * posix/regex_internal.h (gettext): Likewise.
42540 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42541 Remove declaration.
42542 * include/argz.h (__argz_count_internal)
42543 (__argz_stringify_internal): Remove declaration.
42544 (__argz_count, __argz_stringify): Declare hidden proto.
42545 * intl/dcgettext.c: Remove use of INTDEF.
42546 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42547 * string/argz-stringify.c: Likewise.
42548 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42549 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42550 Declare hidden proto.
d18ea0c5
AS
42551 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42552 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42553 Declare hidden proto.
42554 * include/stdio.h (__asprintf_internal): Don't declare.
42555 (__asprintf): Don't define as macro. Declare hidden proto.
42556 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42557 (__fsetlocking): Declare hidden proto.
42558 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42559 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42560 hidden proto.
42561 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42562 (_IO_setlinebuf): Remove use of INTUSE.
42563 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42564 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42565 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42566 Remove declaration.
42567 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42568 (_IO_do_flush): Remove use of INTUSE.
42569 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42570 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42571 (_IO_adjust_column, _IO_least_wmarker)
42572 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42573 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42574 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42575 (_IO_default_doallocate, _IO_wdefault_doallocate)
42576 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42577 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42578 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42579 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42580 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42581 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42582 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42583 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42584 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42585 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42586 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42587 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42588 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42589 proto.
42590 (_IO_flush_all_internal, _IO_adjust_column_internal)
42591 (_IO_default_uflow_internal, _IO_default_finish_internal)
42592 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42593 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42594 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42595 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42596 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42597 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42598 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42599 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42600 (_IO_file_close_internal, _IO_file_close_it_internal)
42601 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42602 (_IO_file_init_internal, _IO_file_attach_internal)
42603 (_IO_file_fopen_internal, _IO_file_read_internal)
42604 (_IO_file_sync_internal, _IO_file_seek_internal)
42605 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42606 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42607 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42608 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42609 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42610 (_IO_list_all_internal, _IO_link_in_internal)
42611 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42612 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42613 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42614 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42615 (_IO_do_write_internal, _IO_padn_internal)
42616 (_IO_getline_info_internal, _IO_getline_internal)
42617 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42618 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42619 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42620 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42621 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42622 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42623 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42624 with libc_hidden_ver, remove use of INTUSE.
42625 * libio/genops.c: Likewise.
42626 * libio/freopen.c: Likewise.
42627 * libio/freopen64.c: Likewise.
42628 * libio/iofclose.c: Likewise.
42629 * libio/iofdopen.c: Likewise.
42630 * libio/iofflush.c: Likewise.
42631 * libio/iofflush_u.c: Likewise.
42632 * libio/iofgets.c: Likewise.
42633 * libio/iofgets_u.c: Likewise.
42634 * libio/iofopen.c: Likewise.
42635 * libio/iofopncook.c: Likewise.
42636 * libio/iofread.c: Likewise.
42637 * libio/iofread_u.c: Likewise.
42638 * libio/ioftell.c: Likewise.
42639 * libio/iofwrite.c: Likewise.
42640 * libio/iogetline.c: Likewise.
42641 * libio/iogets.c: Likewise.
42642 * libio/iogetwline.c: Likewise.
42643 * libio/iopadn.c: Likewise.
42644 * libio/iopopen.c: Likewise.
42645 * libio/ioseekoff.c: Likewise.
42646 * libio/ioseekpos.c: Likewise.
42647 * libio/iosetbuffer.c: Likewise.
42648 * libio/iosetvbuf.c: Likewise.
42649 * libio/ioungetc.c: Likewise.
42650 * libio/ioungetwc.c: Likewise.
42651 * libio/iovdprintf.c: Likewise.
42652 * libio/iovsprintf.c: Likewise.
42653 * libio/iovsscanf.c: Likewise.
42654 * libio/memstream.c: Likewise.
42655 * libio/obprintf.c: Likewise.
42656 * libio/oldfileops.c: Likewise.
42657 * libio/oldiofclose.c: Likewise.
42658 * libio/oldiofdopen.c: Likewise.
42659 * libio/oldiofopen.c: Likewise.
42660 * libio/oldiopopen.c: Likewise.
42661 * libio/oldstdfiles.c: Likewise.
42662 * libio/putc.c: Likewise.
42663 * libio/setbuf.c: Likewise.
42664 * libio/setlinebuf.c: Likewise.
42665 * libio/stdfiles.c: Likewise.
42666 * libio/strops.c: Likewise.
42667 * libio/vasprintf.c: Likewise.
42668 * libio/vscanf.c: Likewise.
42669 * libio/vsnprintf.c: Likewise.
42670 * libio/vswprintf.c: Likewise.
42671 * libio/wfiledoalloc.c: Likewise.
42672 * libio/wfileops.c: Likewise.
42673 * libio/wgenops.c: Likewise.
42674 * libio/wmemstream.c: Likewise.
42675 * libio/wstrops.c: Likewise.
42676 * libio/__fpurge.c: Likewise.
42677 * libio/__fsetlocking.c: Likewise.
42678 * assert/assert.c: Likewise.
42679 * debug/fgets_chk.c: Likewise.
42680 * debug/fgets_u_chk.c: Likewise.
42681 * debug/fread_chk.c: Likewise.
42682 * debug/fread_u_chk.c: Likewise.
42683 * debug/gets_chk.c: Likewise.
42684 * debug/obprintf_chk.c: Likewise.
42685 * debug/vasprintf_chk.c: Likewise.
42686 * debug/vdprintf_chk.c: Likewise.
42687 * debug/vsnprintf_chk.c: Likewise.
42688 * debug/vsprintf_chk.c: Likewise.
42689 * malloc/mtrace.c: Likewise.
42690 * misc/error.c: Likewise.
42691 * misc/syslog.c: Likewise.
42692 * stdio-common/asprintf.c: Likewise.
42693 * stdio-common/fxprintf.c: Likewise.
42694 * stdio-common/getw.c: Likewise.
42695 * stdio-common/isoc99_fscanf.c: Likewise.
42696 * stdio-common/isoc99_scanf.c: Likewise.
42697 * stdio-common/isoc99_vfscanf.c: Likewise.
42698 * stdio-common/isoc99_vscanf.c: Likewise.
42699 * stdio-common/isoc99_vsscanf.c: Likewise.
42700 * stdio-common/printf-prs.c: Likewise.
42701 * stdio-common/printf_fp.c: Likewise.
42702 * stdio-common/printf_fphex.c: Likewise.
42703 * stdio-common/printf_size.c: Likewise.
42704 * stdio-common/putw.c: Likewise.
42705 * stdio-common/scanf.c: Likewise.
42706 * stdio-common/sprintf.c: Likewise.
42707 * stdio-common/tmpfile.c: Likewise.
42708 * stdio-common/vfprintf.c: Likewise.
42709 * stdio-common/vfscanf.c: Likewise.
42710 * stdlib/strfmon_l.c: Likewise.
42711 * sunrpc/openchild.c: Likewise.
42712 * sunrpc/xdr_stdio.c: Likewise.
42713 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42714 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42715
d6c33fda
RM
427162012-05-24 Roland McGrath <roland@hack.frob.com>
42717
c1487492
RM
42718 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42719
42720 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42721 in the third column, to generate for the shared library an IFUNC
42722 that uses _dl_vdso_vsym.
42723 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42724 * Makeconfig (object-suffixes-noshared): New variable.
42725
42726 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42727 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42728 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42729 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42730
d6c33fda
RM
42731 [BZ #14132]
42732 * include/sys/time.h (__gettimeofday): Remove macro.
42733 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42734 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42735 Remove INTDEF.
42736 (__gettimeofday): Add libc_hidden_def.
42737 (gettimeofday): Add libc_hidden_weak.
42738 * sysdeps/mach/gettimeofday.c: Likewise.
42739 * sysdeps/posix/gettimeofday.c: Likewise.
42740 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42741 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42742 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42743 (__gettimeofday_internal): Remove strong_alias.
42744 (__gettimeofday): Add libc_hidden_def.
42745 (gettimeofday): Add libc_hidden_weak.
42746 * sysdeps/unix/syscalls.list (gettimeofday):
42747 Remove __gettimeofday_internal alias.
42748
b5a2bbe6
L
427492012-05-24 Daniel Jacobowitz <drow@false.org>
42750 H.J. Lu <hongjiu.lu@intel.com>
42751
42752 [BZ #12495]
42753 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42754 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42755 (largebin_index_32_big): New.
42756 (largebin_index): Use it for 16-byte alignment.
42757 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42758 correction with front_misalign.
42759
cfba4fda
L
427602012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42761
7f907421
L
42762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42764 Likewise.
42765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42766 Likewise.
42767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42768 Likewise.
42769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42770 Likewise.
42771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42772 Likewise.
42773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42774 Likewise.
42775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42776 Likewise.
42777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42778 Likewise.
42779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42780 Likewise.
42781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42782 Likewise.
42783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42784 Likewise.
42785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42786 Likewise.
42787
cfba4fda
L
42788 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42789 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42790
80bad0cc
JM
427912012-05-24 Joseph Myers <joseph@codesourcery.com>
42792
7a25eb06
JM
42793 [BZ #10846]
42794 [BZ #14036]
42795 * math/libm-test.inc (exp_test): Add test from bug 14036.
42796 (pow_test): Add test from bug 10846.
42797
795405f9
JM
42798 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42799 and other flags.
42800 (special_function): Do not include flags in test name.
42801 (parse_args): Likewise.
42802 * sysdeps/i386/fpu/libm-test-ulps: Update.
42803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42804 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42805 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42807
80bad0cc
JM
42808 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42809 exceptions.
42810 * math/libm-test.inc ("Philosophy"): Update comment about
42811 exception testing.
42812 (UNDERFLOW_EXCEPTION): New macro.
42813 (UNDERFLOW_EXCEPTION_OK): Likewise.
42814 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42815 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42816 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42817 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42818 (INVALID_EXCEPTION_OK): Update value.
42819 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42820 (OVERFLOW_EXCEPTION_OK): Likewise.
42821 (IGNORE_ZERO_INF_SIGN): Likewise.
42822 (test_exceptions): Handle underflow exceptions.
42823 (acos_test): Update for underflow exception expectations.
42824 (cexp_test): Likewise.
42825 (clog_test): Likewise.
42826 (clog10_test): Likewise.
42827 (csqrt_test): Likewise.
42828 (ctan_test): Likewise.
42829 (ctanh_test): Likewise.
42830 (exp_test): Likewise.
42831 (exp10_test): Likewise.
42832 (exp2_test): Likewise.
42833 (expm1_test): Likewise.
42834 (fma_test): Likewise.
42835 (j0_test): Likewise.
42836 (jn_test): Likewise.
42837 (nexttoward_test): Likewise.
42838 (pow_test): Likewise.
42839 (scalbn_test): Likewise.
42840 (scalbln_test): Likewise.
42841 (tan_test): Likewise.
42842 (y1_test): Likewise.
42843 * sysdeps/i386/fpu/libm-test-ulps: Update.
42844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42845
9e0e3d0b
DM
428462012-05-23 David S. Miller <davem@davemloft.net>
42847
42848 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42849 (__libc_sigaction): Remove unused local variables.
42850
ccd0a08f
L
428512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42852
42853 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42854
62bdf9a6
PE
428552012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42856
f8591f80
PE
42857 mktime: avoid signed integer overflow
42858 * time/mktime.c (__mktime_internal): Do not mishandle the case
42859 where diff == INT_MIN.
42860
94c7d826
PE
42861 mktime: simplify computation of average
42862 * time/mktime.c (ranged_convert): Use new time_t_avg function
42863 instead of rolling our own (probably-slower) code.
42864
ce73d683
PE
42865 mktime: do not assume signed right shift propagates sign bit
42866 * time/mktime.c (isdst_differ): New static function.
42867 (__mktime_internal): No need to normalize tm_isdst now.
42868 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42869 tm_isdst values.
42870
72a22e59
PE
42871 mktime: merge another wrapv change from gnulib
42872 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42873 from some compilers.
42874
68605433
PE
42875 mktime: remove incorrect attempt at unusual arithmetics
42876 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42877 The code didn't really work on such machines anyway.
42878 (TYPE_MINIMUM): Assume two's complement.
42879 (twos_complement_arithmetic): Verify that long_int and time_t
42880 are two's complement (or unsigned, in the latter case).
42881
03cf7fe3
PE
42882 mktime: check signed shifts on long_int and time_t, too
42883 * time/mktime.c (SHR): Check that shifts work as desired
42884 on the types long_int and time_t too, as SHR is used on
42885 such types.
42886
f04dfbc2
PE
42887 mktime: do not assume 'long' is wide enough
42888 * time/mktime.c (verify): Move decl up.
42889 (long_int): New type.
42890 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42891 to remove assumption in the code that 'long' is wide enough to
42892 store year values. This assumption is not true on x32 and on
42893 some non-glibc platforms.
42894
62bdf9a6
PE
42895 mktime: merge wrapv change from gnulib
42896 * time/mktime.c (WRAPV): New macro.
42897 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42898 (guess_time_tm, __mktime_internal): Do not assume that signed
42899 integer overflow wraps around; modern compilers generate code
42900 where this assumption is no longer valid.
42901
5e292e4f
L
429022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42903
42904 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42905 Replace "jmp L(pseudo_end)" with "ret".
42906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42907 Likewise.
42908
8caf8c87
AJ
429092012-05-23 Andreas Jaeger <aj@suse.de>
42910
42911 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42912 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42913
1a09dc56
AJ
429142012-05-23 Andreas Jaeger <aj@suse.de>
42915 Maximilian Attems <max@stro.at>
42916
42917 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42918 New macros.
42919
1c87aba0
L
429202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42921
42922 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42923 code so that pseudo_end is just ret and the stack pointer is
42924 correct also for static library in error case.
42925
40e45bd5
JM
429262012-05-23 Joseph Myers <joseph@codesourcery.com>
42927
c2670533
JM
42928 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42929 move to syscalls.list.
42930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42934
40e45bd5
JM
42935 * manual/install.texi (Running make install): Do not mention Linux
42936 kernel version for which pt_chown is not needed.
42937 (Linux): Do not mention problems with nscd with 2.0 kernels.
42938 * INSTALL: Regenerated.
42939
be08eda5
AJ
429402012-05-23 Andreas Jaeger <aj@suse.de>
42941
42942 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42943 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42944 macro.
42945 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42946 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42947 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42948 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42949 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42950 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42952 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42953 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42954 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42955 * sysdeps/unix/sysv/linux/bits/in.h
42956 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42957
a6a056bb
RM
429582012-05-22 Roland McGrath <roland@hack.frob.com>
42959
42960 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42961 (PREPARE_VERSION): Just use assert instead, it will be elided
42962 under [NDEBUG] anyway.
42963
c9009328
L
429642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42965
42966 * sysdeps/unix/sysv/linux/Makefile: Include
42967 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42968 (sysdep_routines): Remove sysctl.
c9009328
L
42969 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42970 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42971 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42972 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42973 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42974
73338355
AJ
429752012-05-22 Andreas Jaeger <aj@suse.de>
42976
42977 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42978 that pseudo_end is just ret and the stack pointer is correct also
42979 for static library in error case.
42980
d44638b0
PP
429812012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42982
42983 [BZ #14122]
42984 * nss/nsswitch.c (defconfig_entries): New variable.
42985 (__nss_database_lookup): Don't leak defconfig entries.
42986 (nss_parse_service_list): Don't leak on error paths.
42987 (free_database_entries): New function.
42988 (free_defconfig): New function.
42989 (free_mem): Move common code to free_database_entries.
42990
31a39bd8
L
429912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42992
da0331a8
L
42993 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42994 Add arch_prctl.
42995 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42996
31a39bd8
L
42997 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42998 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43000 New macro.
43001 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43002 (INTERNAL_SYSCALL_TYPES): Likewise.
43003 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43004 (LOAD_REGS_TYPES_[1-6]): Likewise.
43005 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43006 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43007
45470df3
AZ
430082012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43009
43010 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43011 copysignl for GLIBC_2_0.
43012 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43013 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43014 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43015 logbl for GLIBC_2_0.
43016 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43017 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43018
98a61bcb
L
430192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43020
a4f6e481
L
43021 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43022 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43023
f63d5db6
L
43024 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43025 Use "neg %eax".
43026
98a61bcb
L
43027 * time/mktime.c: Update copyright years.
43028
95770f14
PE
430292012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43030
6226efbd
PE
43031 mktime: merge comment-quoting-style change from gnulib
43032 * time/mktime.c: Quote 'like this' in comments.
43033 The GNU coding standards suggest that we no longer quote `like this',
43034 as "`" and "'" are typically rendered asymmetrically nowadays.
43035 The typical gnulib style is to quote 'like this' when quoting
43036 code, and "like this" when quoting English.
43037
b99e4f78
PE
43038 * time/mktime.c (compile-command): Add "-I.".
43039
643e01e6
PE
43040 mktime: merge mktime-internal.h change from gnulib
43041 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43042
2554247d
PE
43043 mktime: merge time_r change from gnulib
43044 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43045
826dd0ab
PE
43046 mktime: merge DEBUG change from gnulib
43047 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43048 case system <time.h> has a #define.
43049
bd83aabe
PE
43050 mktime: merge <sys/types.h> change from gnulib
43051 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43052 since <time.t> is now guaranteed to define time_t.
43053
95770f14
PE
43054 mktime: merge HAVE_CONFIG_H change from gnulib
43055 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43056
5e1a27a9
L
430572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43058
0e44a77e
L
43059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43060 Use "neg %eax".
43061
5e1a27a9
L
43062 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43063 __rlim_t cast.
43064 (struct rusage): Use anonymous union to pad each field to
43065 __syscall_slong_t.
43066
46259bec
DM
430672012-05-21 David S. Miller <davem@davemloft.net>
43068
43069 * Makefules (o-iterator): Remove .s cases.
43070 (compile-command.s): Delete.
43071 (COMPILE.s): Delete.
43072 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43073
59f0c22e
JM
430742012-05-21 Joseph Myers <joseph@codesourcery.com>
43075
43076 * configure.in (libc_cv_predef_stack_protector): Only consider
43077 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43078 * configure: Regenerated.
43079
20c07380
L
430802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43081
bbb3154b
L
43082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43083 New macro. Use R*LP on int and pointer.
43084 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
43085 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43086 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
43087 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43088
20c07380
L
43089 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43090 [__WORDSIZE_TIME64_COMPAT32] instead of
43091 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43092 (struct utmp): Likewise.
43093 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43094 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43095 Renamed to ...
43096 (__WORDSIZE_TIME64_COMPAT32): This.
43097 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43098 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43099 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43100 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43101 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43102 (__WORDSIZE_TIME64_COMPAT32): New macro.
43103
d8d1017e
AJ
431042012-05-21 Andreas Jaeger <aj@suse.de>
43105
43106 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43107 only if [SHARED]. Add prototype for __wcschr_ia32.
43108
6c7fb145
RM
431092012-05-21 Roland McGrath <roland@hack.frob.com>
43110
43111 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43112 of %rbp unmolested in the jmp_buf while mangling the low bits.
43113 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43114 unmolested high bits of %rbp while demangling the low bits.
43115 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43116
66274218
AJ
431172012-05-21 Andreas Jaeger <aj@suse.de>
43118
07c58f8f
AJ
43119 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43120 * sunrpc/svc_simple.c: Use it for registerrpc.
43121 * sunrpc/xcrypt.c: Use it for passwd2des.
43122
66274218
AJ
43123 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43124
61f65140
L
431252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43126
43127 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43128 Don't define if [__SYSCALL_WORDSIZE != 32].
43129 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43130 New macro.
43131
5fefb436
AJ
431322012-05-21 Bruno Haible <bruno@clisp.org>
43133 Andreas Jaeger <aj@suse.de>
43134
43135 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43136 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43137 inptr and inend for must_buffer_ch.
43138 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43139 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43140 * stdio-common/Makefile (tests): Remove bug15.
43141 (bug15-ENV): Remove macro.
43142 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43143 anymore.
43144
d8e272ab
AJ
431452012-05-19 Andreas Jaeger <aj@suse.de>
43146 Roland McGrath <roland@hack.frob.com>
43147
43148 * manual/contrib.texi: Completely rewritten. It contains now an
43149 alphabetical list of contributors and their contributions.
43150
4a56a162
RH
431512012-05-21 Richard Henderson <rth@twiddle.net>
43152
43153 * misc/getauxval.c (__getauxval): Use unsigned long int.
43154 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43155 (getauxval): Use unsigned long int.
43156
d024d23c
L
431572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43158
43159 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43160
cbc00a03
RM
431612012-05-21 Roland McGrath <roland@hack.frob.com>
43162
43163 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43164 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43165 __alignof__ (long double).
43166
478143fa
AZ
431672012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43168
43169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43170
c7683a6d
RH
431712012-05-20 Richard Henderson <rth@twiddle.net>
43172
43173 * misc/getauxval.c: New file.
43174 * misc/sys/auxv.h: New file.
43175 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43176 (routines): Add getauxval.
43177 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43178 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43179 * elf/dl-sysdep.c (_dl_auxv): Remove.
43180 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43181 * elf/dl-support.c (_dl_auxv): New variable.
43182 (_dl_aux_init): Initialize it.
43183 * manual/startup.texi (Auxiliary Vector): New node.
43184 * sysdeps/generic/bits/hwcap.h: New file.
43185 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43186 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43187 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43188 * sysdeps/sparc/sysdep.h: ... here. Include it.
43189 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43190 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
43191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43192 Update.
c7683a6d
RH
43193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43196 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43201
a6f1845d
AZ
432022012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43203
43204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43205
cbcbe830
DM
432062012-05-19 David S. Miller <davem@davemloft.net>
43207
43208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43209
e0b16cc2
JM
432102012-05-19 Joseph Myers <joseph@codesourcery.com>
43211
43212 [BZ #14123]
43213 * math/s_ccosh.c: Include <float.h>
43214 (__ccosh): Avoid internal overflow calculating sinh and cosh
43215 values before multiplying by sin and cos values.
43216 * math/s_ccoshf.c: Likewise.
43217 * math/s_ccoshl.c: Likewise.
43218 * math/s_csin.c: Likewise.
43219 * math/s_csinf.c: Likewise.
43220 * math/s_csinl.c: Likewise.
43221 * math/s_csinh.c: Likewise.
43222 * math/s_csinhf.c: Likewise.
43223 * math/s_csinhl.c: Likewise.
43224 * math/libm-test.inc (ccos_test): Add more tests.
43225 (ccosh_test): Likewise.
43226 (csin_test): Likewise.
43227 (csinh_test): Likewise.
43228 * sysdeps/i386/fpu/libm-test-ulps: Update.
43229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43230
6ad13e08
L
432312012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43232
f66f0ce8
L
43233 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43234 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43235
6ad13e08
L
43236 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43237
b1d072a7
JM
432382012-05-19 Joseph Myers <joseph@codesourcery.com>
43239
43240 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43241 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43242 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43243 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43244 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43245 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43246 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43247 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43248 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43249 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43250 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43251 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43252 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43253 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43254 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43255 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43256 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43257 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43258 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43259 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43260 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43261 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43262 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43263 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43264 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43265 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43266 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43267 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43268 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43269 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43270 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43271
9eae47cb
AJ
432722012-05-18 Andreas Jaeger <aj@suse.de>
43273
43274 * csu/.gitignore: Delete.
43275
bb07f69f
L
432762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43277
43278 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43279 (timex): Use __syscall_slong_t.
43280
e6bdb741
AJ
432812012-05-18 Andreas Jaeger <aj@suse.de>
43282 Carlos O'Donell <carlos_odonell@mentor.com>
43283
43284 * manual/install.texi (Configuring and compiling): Update
43285 description about files modified in the source directory.
d6c33fda 43286 * INSTALL: Regenerated.
e6bdb741 43287
1b74487e
L
432882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43289
43290 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43291 value. Use "or" to set return value to -1.
43292 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43293 negate return value.
43294
a88b64b9
TMQMF
432952012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43296
57f41c40
AS
43297 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43298 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43299 failure if the compiler has Graphite support disabled.
43300 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43301 Likewise.
57f41c40
AS
43302 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43303 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43304 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43305 Likewise.
43306
3707636e
L
433072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43308
610b8622
L
43309 * sysdeps/x86_64/x32/_itoa.h: New file.
43310
7cd195df
L
43311 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43312 getdents system call only if kernel and user dirents have the
43313 same d_ino and d_off.
43314
94b07d20
L
43315 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43316 LLONG_MAX != LONG_MAX.
43317 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43318 (_fitoa_word): Likewise.
43319
18298070
L
43320 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43321 years.
43322 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43323 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43324 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43325
553c7ea4
L
43326 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43327 include <bits/wordsize.h>. Check __x86_64__ instead of
43328 __WORDSIZE.
43329 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43330 if __x86_64__ is defined. Use anonymous union on fpstate.
43331
3707636e
L
43332 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43333 anonymous union.
43334
b53ef01a
AS
433352012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43336
37fb1dc0
AS
43337 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43338 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43339 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43340 Refer to _rtld_local_ro instead of _rtld_global_ro.
43341 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43342 Likewise.
43343 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43344 Likewise.
43345 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43346 Likewise.
43347 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43348 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43349 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43350
b53ef01a
AS
43351 * sysdeps/powerpc/powerpc32/dl-machine.c
43352 (__elf_machine_runtime_setup) [PROF]: Don't reference
43353 _dl_prof_resolve.
43354
7a185db2
AJ
433552012-05-18 Andreas Jaeger <aj@suse.de>
43356
43357 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43358 function only available for GCCs before 3.4 since GCC 3.4
43359 introduced a builtin.
43360 (lrint): Likewise.
43361 (llrintf): Likewise.
43362 (llrint): Likewise.
43363 (fmaxf): Likewise.
43364 (fmax): Likewise.
43365 (fminf): Likewise.
43366 (fmin): Likewise.
43367 (rint): Likewise.
43368 (rintf): Likewise.
43369 (nearbyint): Likewise.
43370 (nearbyintf): Likewise.
43371 (ceil): Likewise.
43372 (ceilf): Likewise.
43373 (floor): Likewise.
43374 (floorf): Likewise.
43375
3e5aef87
L
433762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43377
428bd707
L
43378 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43379 on both fields and cast pointer to __syscall_ulong_t.
43380
3e5aef87
L
43381 * bits/types.h (__fsword_t): New type.
43382 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43383 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43384 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43385 (__FSWORD_T_TYPE): Likewise.
43386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43387 (__FSWORD_T_TYPE): Likewise.
43388 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43389 (__FSWORD_T_TYPE): Likewise.
43390 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43391 (__FSWORD_T_TYPE): Likewise.
43392 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43393 __SWORD_TYPE with __fsword_t.
43394 (statfs64): Likewise.
43395
1ba7c3dc
DM
433962012-05-17 David S. Miller <davem@davemloft.net>
43397
43398 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43399
59910343
AJ
434002012-05-17 Andreas Jaeger <aj@suse.de>
43401
43402 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43403 warning.
43404
2e4c1e9e
L
434052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43406
43407 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43408
de7f5ce7
AJ
434092012-05-17 Andreas Jaeger <aj@suse.de>
43410
43411 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43412 when it is used.
43413
286abc3d
CM
434142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43415
43416 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43417
477cc68e
L
434182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43419
43420 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43421 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43422
1a0994f5
CD
434232012-05-17 Andreas Jaeger <aj@suse.de>
43424 Carlos O'Donell <carlos_odonell@mentor.com>
43425
43426 [BZ #14059]
43427 * sysdeps/x86_64/multiarch/init-arch.h
43428 (bit_YMM_Usable): Rename to...
43429 (bit_AVX_Usable): ... this.
43430 (bit_FMA4_Usable): New macro.
43431 (bit_XMM_state): New macro.
43432 (bit_YMM_state): New macro.
43433 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43434 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43435 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43436 (CPUID_OSXSAVE): New macro.
43437 (CPUID_AVX): New macro.
43438 (CPUID_FMA4): New macro.
43439 (index_YMM_Usable): Rename to...
43440 (index_AVX_Usable): ... this.
43441 (HAS_AVX): Use HAS_ARCH_FEATURE.
43442 (HAS_FMA4): Likewise.
43443 (HAS_YMM_USABLE): Remove.
43444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43445 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43446 are present.
43447 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43448 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43449 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43450 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43451 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43452
0af797de
CM
434532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43454
43455 * math/libm-test.c: Support platforms without multiple rounding modes.
43456 * math/bug-nextafter.c: Support platforms without FP exceptions.
43457 * math/bug-nexttoward.c: Likewise.
43458 * math/test-fenv.c: Likewise.
43459 * math/test-misc.c: Likewise.
43460 * stdlib/bug-getcontext.c: Likewise.
43461
e39745ff
AJ
434622012-05-17 Andreas Jaeger <aj@suse.de>
43463
43464 * manual/examples/search.c (critter_cmp): Change signature to
43465 avoid warnings.
43466 * manual/string.texi (Collation Functions): Likewise.
43467
48970aba
L
434682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43469
43470 * bits/types.h: Fold copyright years.
43471 * bits/typesizes.h: Likewise.
43472 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43473 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43474 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43475 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43476 * time/time.h: Likewise.
43477
bedee953
PP
434782012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43479
43480 [BZ #208]
43481 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43482 in instead of returning them. Return void.
43483 (__libc_mallinfo): Accumulate over all arenas.
43484 (__malloc_stats): Adjust for change in int_mallinfo interface.
43485
61653dfb
RM
434862012-05-16 Roland McGrath <roland@hack.frob.com>
43487
30b99d79
RM
43488 [BZ #10375]
43489 * configure.in (NM): Add AC_CHECK_TOOL for it.
43490 (libc_extra_cflags): New substituted variable.
43491 Check for -fstack-protector being used implicitly.
43492 * configure: Regenerated.
43493 * config.make.in (config-extra-cflags): New variable,
43494 gets @libc_extra_cflags@.
43495 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43496
61653dfb
RM
43497 [BZ #10375]
43498 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43499 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43500 * configure: Regenerated.
43501 * config.make.in (CPPUNDEFS): New substituted variable.
43502 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43503 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43504 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43505
661768bb
L
435062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43507
43508 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43509 (mq_attr): Use __syscall_slong_t.
43510
d4261567
L
435112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43512
43513 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43514 Check __x86_64__ instead of __WORDSIZE.
43515 (_STAT_VER_LINUX): Likewise.
43516 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43517 __syscall_ulong_t and __syscall_slong_t.
43518 (stat64): Likewise.
43519
cf3ff365
L
435202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43521
43522 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43523
76cf3e4d
L
435242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43525
43526 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43527
a637753a
L
435282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43529
43530 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43531 __syscall_ulong_t.
43532
d5e05119
L
43533 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43534 include <bits/wordsize.h>. Check __x86_64__ instead of
43535 __WORDSIZE.
43536 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43537 defined.
43538 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43539
f62ee380
L
43540 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43541 include <bits/wordsize.h>. Check __x86_64__ instead of
43542 __WORDSIZE.
43543 (user_regs_struct): Use "__extension__ unsigned long long"
43544 instead of "unsigned long" if __x86_64__ is defined.
43545 (user): Likewise. Pad after pointer field if __ILP32__ is
43546 defined.
43547
4e124ced
JM
435482012-05-16 Joseph Myers <joseph@codesourcery.com>
43549
6a3951a0
JM
43550 * configure.in (makeinfo): Require version 4.5 or later. Allow
43551 versions 5 to 9.
43552 * configure: Regenerated.
43553 * manual/install.texi (texinfo): Increase version requirement to
43554 4.5 or later.
43555 * INSTALL: Regenerated.
43556
4e124ced
JM
43557 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43558
953ca31a
L
435592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43560
43561 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43562
617aca05
L
43563 * sysdeps/x86_64/x32/ffs.c: New file.
43564
5762f7ae
L
43565 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43566 __syscall_ulong_t.
43567 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43568 defined. Use __syscall_ulong_t.
43569 (shminfo): Use __syscall_ulong_t.
43570 (shm_info): Likewise.
43571
a26b6856
L
43572 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43573 __syscall_ulong_t.
43574
cb2b9ef7
L
43575 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43576 <bits/wordsize.h>.
43577 (msgqnum_t): Use __syscall_ulong_t.
43578 (msglen_t): Likewise.
43579 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43580 __syscall_ulong_t.
43581
34683bb0
L
43582 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43583 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43584
84a68786
L
43585 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43586
48baa5f1
L
43587 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43588 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43589
180be88b
L
43590 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43591 __syscall_slong_t.
43592
5e90c8ad
L
43593 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43594 include <bits/wordsize.h>. Check __x86_64__ instead of
43595 __WORDSIZE.
43596
23dfb58b
L
43597 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43598 "unsigned long long int" if __x86_64__ is defined.
43599 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43600
ce5d54b0
L
43601 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43602 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43603 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43604
13dc9eac
L
43605 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43606 <stdint.h>.
43607 (GET_PC): Cast to uintptr_t first.
43608 (GET_FRAME): Likewise.
43609 (GET_STACK): Likewise.
43610
a7895d15
L
43611 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43612 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43613 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43614 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43615 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43616 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43617 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43618 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43619 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43620 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43621 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43622 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43623 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43624 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43625 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43626 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43627 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43628 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43629 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43630 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43631 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43632 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43633 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43634 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43635 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43636 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43637 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43638 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43639 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43640
656416c9
AS
436412012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43642
5bd66283
AS
43643 * Makerules (+depfiles): Also collect depfiles from .oS in
43644 $(extra-objs).
43645 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43646 .oS, $(libnldbl-routines)).
43647
656416c9
AS
43648 * Makerules (native-compile-mkdep-flags): Define.
43649 * sunrpc/Makefile (extra-objs): Add $(addprefix
43650 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43651 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43652 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43653 calling $(make-target-directory).
43654
a46f2169
L
436552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43656
43657 * bits/types.h (__snseconds_t): Removed.
43658 * time/time.h (struct timespec): Replace __snseconds_t with
43659 __syscall_slong_t.
43660 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43661 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43662 Likewise.
43663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43664 (__SNSECONDS_T_TYPE): Likewise.
43665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43666 (__SNSECONDS_T_TYPE): Likewise.
43667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43668 (__SNSECONDS_T_TYPE): Likewise.
43669
6af6528b
L
436702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43671
43672 * sysdeps/mach/hurd/bits/typesizes.h
43673 (__SYSCALL_SLONG_TYPE): New macro.
43674 (__SYSCALL_ULONG_TYPE): Likewise.
43675
de986b56
L
436762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43677
43678 * bits/types.h (__syscall_slong_t): New type.
43679 (__syscall_ulong_t): Likewise.
43680
43681 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43682 (__SYSCALL_ULONG_TYPE): Likewise.
43683 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43684 (__SYSCALL_SLONG_TYPE): Likewise.
43685 (__SYSCALL_ULONG_TYPE): Likewise.
43686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43687 (__SYSCALL_SLONG_TYPE): Likewise.
43688 (__SYSCALL_ULONG_TYPE): Likewise.
43689 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43690 (__SYSCALL_SLONG_TYPE): Likewise.
43691 (__SYSCALL_ULONG_TYPE): Likewise.
43692
85736dc7
L
436932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43694
43695 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43696 Add sigaltstack-offsets.sym.
43697 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43698 <sigaltstack-offsets.h>.
43699 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43700 longjmp_msg pointer.
43701 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43702 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43703 signal stack.
43704 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43705
cc03b296
JM
437062012-05-15 Joseph Myers <joseph@codesourcery.com>
43707
a9538892
JM
43708 * elf/stackguard-macros.h: Remove file.
43709 * sysdeps/generic/stackguard-macros.h: New file.
43710 * sysdeps/i386/stackguard-macros.h: Likewise.
43711 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43712 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43713 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43714 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43715 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43716 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43717 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43718 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43719 <elf/stackguard-macros.h>.
43720
cc03b296
JM
43721 [BZ #14109]
43722 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43723 __aligned__ in attribute.
43724 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43725 (gregset_t): Likewise.
43726
93171016
L
437272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43728
43729 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43730 * sysdeps/x86_64/64/Implies-after: Here. New file.
43731 * sysdeps/x86_64/x32/Implies-after: New file.
43732
d86813a0
L
437332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43734
43735 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43736 and access return value for _dl_profile_fixup. Use R10_LP to
43737 load frame size.
43738
2953ec75
L
437392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43740
43741 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43742
3b550e9e
L
437432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43744
43745 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43746 * sysdeps/x86_64/x32/sysdep.h: New file.
43747
eda41706
L
437482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43749
43750 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43751 * sysdeps/x86_64/setjmp.S: Likewise.
43752
9ea01d93
AZ
437532012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43754
43755 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43756 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43757 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43758 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43759 remove unused global constant.
43760
02a91938
CM
437612012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43762
43763 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43764 include of <not-cancel.h>.
43765
6540185f
RM
437662012-05-15 Roland McGrath <roland@hack.frob.com>
43767
43768 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43769
509072a0
AJ
437702012-05-15 Jeff Law <law@redhat.com>
43771 Andreas Jaeger <aj@suse.de>
43772
43773 [BZ #13594]
43774 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43775 out from...
43776 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43777 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43778 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43779 code changing __hst_map_handle.map.
43780
ba75122d
RM
437812012-05-15 Roland McGrath <roland@hack.frob.com>
43782
43783 * configure.in (sysnames): Look for Implies-before and Implies-after
43784 files.
43785 * configure: Regenerated.
43786
890d8bd8
L
437872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43788
43789 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43790 8-byte data alignment with LP_SIZE alignment.
43791
f6ee6623
L
437922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43793
43794 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43795 into R10_LP.
43796
ea2626f6
L
437972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43798
43799 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43800
085f715e
L
438012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43802
43803 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43804 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43805 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43806 Likewise.
43807 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43808
be8498fc
L
438092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43810
43811 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43812 (stackinfo_sub_sp): Likewise.
43813
70bc83b9
L
438142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43815
43816 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43817 RAX_LP.
43818
9bc0b730
L
438192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43820
43821 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43822 into R*_LP.
43823
6d2850e7
L
438242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43825
43826 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43827 sizes into R*_LP.
43828
3cb84561
L
438292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43830
43831 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43832
54e2ed81
L
438332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43834
43835 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43836 into R11_LP and load __x86_64_shared_cache_size_half into
43837 R8_LP.
43838
8a17f349
L
438392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43840
43841 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43842 R8_LP.
43843
777b1eea
AZ
438442012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43845
43846 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43847 logb for POWER7.
43848 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43849 logbf for POWER7.
43850 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43851 logbl for POWER7.
43852 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43853 powerpc32/power7/fpu/s_logb.c via #include.
43854 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43855 powerpc32/power7/fpu/s_logbf.c via #include.
43856 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43857 powerpc32/power7/fpu/s_logbl.c via #include.
43858
d20d4ac2
JM
438592012-05-15 Joseph Myers <joseph@codesourcery.com>
43860
43861 * README.libm: Remove file.
43862
6cdef1ab
L
438632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43864
43865 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43866 count for x32. Use R*_LP and omit operand-size suffix.
43867
0b254d8f
L
438682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43869
43870 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43871 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43872 * sysdeps/x86_64/x32/shlib-versions: New file.
43873
ceb809dc
RM
438742012-05-14 Roland McGrath <roland@hack.frob.com>
43875
43876 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43877 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43878 Use _dl_fatal_printf instead.
43879
37f1abd4
JM
438802012-05-14 Joseph Myers <joseph@codesourcery.com>
43881
43882 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43883 set if not set by the user. Do not allow for being unset.
43884 * sysdeps/unix/sysv/linux/configure: Regenerated.
43885
11de3a33
L
438862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43887
43888 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43889 the `q' suffix from lea and replace .quad with ASM_ADDR.
43890
e02f153a
L
438912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43892
43893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43894 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43895 instead of $17.
43896 (PTR_DEMANGLE): Likewise.
43897
520ae0fd
L
438982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43899
43900 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43901 (LP_OP): Likewise.
43902 (ASM_ADDR): Likewise.
43903 (RAX_LP): Likewise.
43904 (RBP_LP): Likewise.
43905 (RBX_LP): Likewise.
43906 (RCX_LP): Likewise.
43907 (RDI_LP): Likewise.
43908 (RSI_LP): Likewise.
43909 (RSP_LP): Likewise.
43910 (R8_LP): Likewise.
43911 (R9_LP): Likewise.
43912 (R10_LP): Likewise.
43913 (R10_LP): Likewise.
43914 (R11_LP): Likewise.
43915 (R12_LP): Likewise.
43916 (R13_LP): Likewise.
43917 (R14_LP): Likewise.
43918 (R15_LP): Likewise.
43919
b985be81
L
439202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43921
43922 * sysdeps/x86_64/x32/dl-machine.h: New file.
43923
6a4888ff
AJ
439242012-05-14 Andreas Jaeger <aj@suse.de>
43925
43926 * manual/Makefile (subdir): Remove export of subdir.
43927 (all): Remove target.
43928 (.PHONY): Remove all from list.
43929 (mkinstalldirs): Remove.
43930 (.PHONY): Remove installdirs from list.
43931 ($(inst_infodir)/libc.info): Use make-target-directory.
43932 (installdirs): Remove.
43933 (subdir_%): Remove.
43934 (glibc-targets): Remove.
43935 (lib): Remove.
43936 (stubs): Remove.
43937 ($(objpfx)stubs ../po/manual.pot): Remove.
43938 ($(objpfx)stamp%): Remove.
43939 (make-target-directory): Remove.
43940 (subdir_install): Remove.
43941 (routines): Remove.
43942 (aux): Remove.
43943 (sources): Remove.
43944 (objects): Remove.
43945 (headers): Remove.
43946
43947 [BZ #13750]
43948 * manual/.gitignore: Remove, it's not needed anymore.
43949 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43950 all files in it.
43951 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43952 directory.
43953 (texis): Renamed to $(objpfx)texis.
43954 (texis-path): New, contains path to generated files.
43955 (chapters.%): Use texis-path for complete path, add extra argument
43956 libc-texinfo.sh.
43957 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43958 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43959 (summary,texi, stamp-summary): Use complete path of
43960 files. Generate files in build dir.
43961 (dir-add.texi): Build in build dir.
43962 (libm-err.texi,stamp-libm-err): Likewise.
43963 (version.texi, stamp-version): Likewise.
43964 (.%c.texi): Likewise.
43965 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43966 (mostlyclean): Remove target.
43967 (realclean): Remove target.
43968 (generated): Add new variable with contents from mostlyclean and
43969 realclean, remove entries duplicated in common-mostlyclean, add
43970 stamp-libm-err and stamp-version.
43971 (generated-dirs): Add libc directory.
43972 ($(inst_infodir)/libc.info): Install files from build dir.
43973
43974 * manual/install.texi (Configuring and compiling): Adjust since
43975 the info files are not part of the tar ball anymore.
43976
7ac77294
AJ
439772012-05-14 Andreas Jaeger <aj@suse.de>
43978
43979 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43980 variable.
43981
ffb7875d
JM
439822012-05-14 Joseph Myers <joseph@codesourcery.com>
43983
43984 [BZ #13717]
43985 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43986 to 2.2.0 where earlier.
43987 * sysdeps/unix/sysv/linux/configure: Regenerated.
43988 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43989 Remove conditional code.
43990 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43991 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43992 Remove conditional code.
43993 [!__NR_lchown]: Likewise.
43994 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43995 [__NR_lchown]: Likewise.
43996 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43997 comment referencing __ASSUME_LCHOWN_SYSCALL.
43998 * sysdeps/unix/sysv/linux/i386/sigaction.c
43999 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44000 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44001 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44002 Remove conditional code.
44003 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44004 (__protocol_available): Remove #if 0 code.
44005 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44006 conditional code.
44007 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44008 * sysdeps/unix/sysv/linux/kernel-features.h
44009 (__ASSUME_GETCWD_SYSCALL): Don't define.
44010 (__ASSUME_REALTIME_SIGNALS): Likewise.
44011 (__ASSUME_PREAD_SYSCALL): Likewise.
44012 (__ASSUME_PWRITE_SYSCALL): Likewise.
44013 (__ASSUME_POLL_SYSCALL): Likewise.
44014 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44015 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44016 non-SPARC.
44017 (__ASSUME_SIOCGIFNAME): Don't define.
44018 (__ASSUME_MSG_NOSIGNAL): Likewise.
44019 (__ASSUME_SENDFILE): Define unconditionally.
44020 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44021 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44022 conditional code.
44023 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44024 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44025 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44026 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44027 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44028 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44029 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44031 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44034 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44037 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44038 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44040 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44043 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44044 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44046 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44047 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44049 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44050 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44052 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44053 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44054 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44055 Remove conditional code.
44056 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44057 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44058 Remove conditional code.
44059 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44060 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44061 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44062 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44063 Remove conditional code.
44064 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44065 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44066 Remove conditional code.
44067 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44068 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44069 Remove conditional code.
44070 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44071 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44072 Remove conditional code.
44073 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44074 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44075 Remove conditional code.
44076 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44077 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44078 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44079 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44080 * sysdeps/unix/sysv/linux/sigaction.c
44081 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44082 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44083 * sysdeps/unix/sysv/linux/sigpending.c
44084 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44085 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44086 * sysdeps/unix/sysv/linux/sigprocmask.c
44087 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44088 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44089 * sysdeps/unix/sysv/linux/sigsuspend.c
44090 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44091 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44092 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44093 (__libc_missing_rt_sigs): Remove.
44094 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44095 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44096 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44097 Remove conditional code.
44098 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44099 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44100 return 1.
44101 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44102 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44103 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44104 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44105
1bfb7291
AJ
441062012-05-14 Andreas Jaeger <aj@suse.de>
44107
caae5a81
AJ
44108 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44109 it's not used in glibc.
44110 (__coshm1): Likewise.
44111 (__acosh1p): Likewise.
44112 (__sgn): Likewise.
44113
1bfb7291
AJ
44114 * manual/string.texi (Copying and Concatenation): Add missing
44115 variable in concat example.
44116 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44117
c044d724
L
441182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44119
144c5467 44120 [BZ #14103]
c044d724
L
44121 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44122 __builtin_clzl with __builtin_clzll.
44123
2523c62b
L
441242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44125
44126 [BZ #14104]
44127 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44128 libc_freeres_ptr.
44129
d7bb4c42
LD
441302012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44131
44132 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44133 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44134 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44135 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44136
9dc4e1fb
MF
441372012-05-14 Mike Frysinger <vapier@gentoo.org>
44138
44139 * NEWS: Update ia64 info.
44140
c7df0112
AS
441412012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44142
44143 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44144 used as bcopy.
44145
dc70356c
TS
441462012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44147
44148 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44149 * sysdeps/unix/syscalls.list (dup3): Likewise.
44150 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44151 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44152
9fb1a21f
L
441532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44154
44155 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44156 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44157
4822a2a5
L
441582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44159
44160 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44161 thread pointer.
44162 (TLS_IE): Use mov/add instead of movq/addq to load thread
44163 pointer.
44164 (TLS_GD_PREFIX): New.
44165 (TLS_GD): Use it.
44166
842b81d6
DM
441672012-05-11 David S. Miller <davem@davemloft.net>
44168
44169 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44170 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44171 (_FPU_SETCW): Likewise.
44172
1cf463cd
L
441732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44174
44175 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44176 is 32-byte aligned.
44177
60cc4a18
AS
441782012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44179
44180 [BZ #11837]
44181 * iconvdata/gb18030.c: Update tables.
44182 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44183 characters specially.
44184 (BODY for TO_LOOP): Add encoding of missing ranges.
44185
febb44a4
TS
441862012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44187
44188 [BZ #13673]
44189 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44190 * sysdeps/mach/hurd/dup3.c: Likewise.
44191 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44192 * sysdeps/powerpc/memmove.c:: Likewise.
44193
0a10fb9e
L
441942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44195
44196 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44197 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44198
df8a552f
L
441992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44200
44201 * elf/elf.h (R_X86_64_RELATIVE64): New.
44202 (R_X86_64_NUM): Updated.
44203 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44204 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44205 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44206 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44207 tst-quad1pie tst-quad2pie
44208 (modules-names): Add tst-quadmod1 tst-quadmod2.
44209 ($(objpfx)tst-quad1): New dependency.
44210 ($(objpfx)tst-quad2): Likewise.
44211 ($(objpfx)tst-quad1pie): Likewise.
44212 ($(objpfx)tst-quad2pie): Likewise.
44213 * sysdeps/x86_64/tst-quad1.c: New file.
44214 * sysdeps/x86_64/tst-quad1pie.c: New file.
44215 * sysdeps/x86_64/tst-quad2.c: Likewise.
44216 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44217 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44218 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44219 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44220 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44221
f34d6f84
ST
442222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44223
f42d41d1
ST
44224 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44225 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44226 * streams/stropts.h (t_scalar_t): Define type.
44227
3c3571fc
ST
44228 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44229 (_PATH_PRESERVE): Set to "/var/lib".
44230 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44231
61f06bd3
ST
44232 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44233 instead of int.
44234
918d4d71
ST
44235 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44236 if __dir_mkfile succeeded.
44237
f34d6f84
ST
44238 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44239 checking for _hurd_dtablesize. Unlock it right after having
44240 finished _hurd_dtable allocation.
44241
10589b4a
TS
442422012-05-10 Thomas Schwinge <thomas@schwinge.name>
44243
674cdbc7
TS
44244 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44245 * sysdeps/mach/hurd/configure: Regenerated.
44246 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44247 special-casing to...
44248 * sysdeps/gnu/configure.in: ... this new file.
44249 * sysdeps/unix/sysv/linux/configure: Regenerated.
44250 * sysdeps/gnu/configure: New generated file.
44251
8e41b99f
TS
44252 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44253 for Linux: use nsec instead of usec, as well as:
44254 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44255 members of type struct timespec.
44256 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44257 New macros.
44258 (struct stat64): Likewise.
44259 (_STATBUF_ST_NSEC): New macro.
44260 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44261
10589b4a
TS
44262 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44263 __strtoul_internal rather than strtoul.
44264
63643c85
PT
442652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44266
44267 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44268 and reject them.
44269
3faebe6a
ST
442702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44271
44272 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44273 which preserves existing values.
44274 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44275
c6474b07
PT
442762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44277
44278 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44279 TIMEOUT values. Return EINVAL for NFDS values either negative or
44280 greater than FD_SETSIZE.
44281
1043890b
ST
442822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44283
44284 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44285 allocated, call __vm_protect to finish enabling the existing space, and
44286 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44287 allocate the remainder.
44288
37ed8b9b
PT
442892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44290
44291 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44292 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44293
db653660
ST
442942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44295
37ed8b9b
PT
44296 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44297 sysdeps/mach/hurd/readlink.c.
b29d4053 44298
db653660
ST
44299 * posix/tst-sysconf.c (posix_options): Only use
44300 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44301 _POSIX_SYNCHRONIZED_IO when they are defined
44302 * sysdeps/mach/hurd/bits/posix_opt.h:
44303 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44304 (_XOPEN_REALTIME): Undefine macro.
44305 (_XOPEN_REALTIME_THREADS): Undefine macro.
44306 (_XOPEN_SHM): Undefine macro.
44307 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44308 macro to -1.
44309 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44310 macro to -1.
44311 (_POSIX_ASYNC_IO): Undefine macro.
44312 (_POSIX_PRIORITIZED_IO): Undefine macro.
44313 (_POSIX_SPIN_LOCKS): Define macro to -1.
44314
ee16e894
ST
44315 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44316 SA_NODEFER, SA_RESETHAND.
44317 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44318 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44319 F_DUPFD_CLOEXEC.
44320
6103ae3b
TS
443212012-05-10 Thomas Schwinge <thomas@schwinge.name>
44322
44323 * elf/Makefile (pldd-modules): Define unconditionally.
44324
80b4e5f3
TS
443252012-05-10 Thomas Schwinge <thomas@schwinge.name>
44326
44327 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44328
edadcbd6
ST
443292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44330
44331 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44332 Return ENOENT when name is empty.
44333 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44334
80694780
TS
443352012-05-10 Thomas Schwinge <thomas@schwinge.name>
44336
1792c087
TS
44337 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44338
80694780
TS
44339 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44340
6b645f0d
ST
443412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44342
80694780
TS
44343 Fix mlock in all cases except non-readable pages.
44344 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44345 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44346
6b645f0d
ST
44347 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44348 (__mkdir): When path is `/', just fail with EEXIST.
44349 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44350
e468f8a3
TS
443512012-05-10 Thomas Schwinge <thomas@schwinge.name>
44352
44353 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44354 <sys/uio.h> (for writev).
44355 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44356 and <sys/param.h> (for MIN).
44357
a4186cff
PT
443582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44359
44360 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44361 REQUESTED_TIME. Properly set the remaining time and return EINTR
44362 if interrupted.
44363
510bbf14
TS
443642012-05-10 Thomas Schwinge <thomas@schwinge.name>
44365
44366 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44367 Depend on against $(link-rpcuserlibs).
44368
5d5722e8
ST
443692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44370
a4186cff
PT
44371 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44372 (__libc_stack_end): Do not use attribute_relro.
44373 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44374 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44375 to libthread-provided value.
a4186cff
PT
44376 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44377 attribute_relro.
5d5722e8 44378
37233df9
TS
443792012-05-10 Thomas Schwinge <thomas@schwinge.name>
44380
be971a2b
TS
44381 [BZ #3748]
44382 * bits/libc-lock.h (__libc_once_get): New macro.
44383 * sysdeps/mach/bits/libc-lock.h: Likewise.
44384 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44385 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44386 instead of using implementation details.
44387
37233df9
TS
44388 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44389 * libio/freopen.c: Likewise.
44390 * libio/freopen64.c: Likewise.
44391 * misc/syslog.c: Likewise.
44392 * nscd/connections.c: Likewise.
44393 * nscd/netgroupcache.c: Likewise.
44394 * sysdeps/posix/getcwd.c: Likewise.
44395
38de94a5
RM
443962012-05-10 Roland McGrath <roland@hack.frob.com>
44397
44398 * math/w_ilogbf.c: Add #include <limits.h>.
44399
67530489
ST
444002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44401
a4186cff 44402 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44403 path instead of returning without unlocking.
44404
67530489
ST
44405 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44406 immediate-write ioctls.
44407 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44408
5aa3a74a
TS
444092012-05-10 Thomas Schwinge <thomas@schwinge.name>
44410
18bad2ae
TS
44411 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44412 __builtin_frame_address instead of making assumptions about the
44413 location of the return address relative to DATA. Force early load of
44414 the return address.
44415 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44416 __builtin_frame_address.
44417
5aa3a74a
TS
44418 dup3 for GNU Hurd.
44419 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44420 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44421 implement dup3 and do some further code clean-ups.
44422 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44423 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44424
ecd0de9a
ST
444252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44426
cd9fa985
ST
44427 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44428
a4186cff
PT
44429 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44430 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44431 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44432 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44433 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44434 d->port.lock.
802ca5a5 44435
a4186cff
PT
44436 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44437 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44438 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44439
bcf55240
TS
444402012-05-10 Thomas Schwinge <thomas@schwinge.name>
44441
6960eb42
TS
44442 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44443 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44444 definitions.
44445
eb43375f
TS
44446 accept4 for GNU Hurd.
44447 * include/sys/socket.h (__libc_accept4): New prototype.
44448 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44449 to implement __libc_accept4.
44450 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44451 __libc_accept4.
44452 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44453
bcf55240
TS
44454 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44455 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44456 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44457 signal-defines.sym.
44458
6178c55b
ST
444592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44460
a4186cff 44461 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44462
6f080c2f
TS
444632012-05-10 Thomas Schwinge <thomas@schwinge.name>
44464
44465 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44466 assertion on O_CLOEXEC flag.
44467 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44468 * hurd/intern-fd.c: Likewise.
44469 * hurd/port2fd.c: Likewise.
44470
bcfe3a54
ST
444712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44472
44473 [BZ #3906]
44474 * bits/in.h (IPV6_PKTINFO): Define new macro.
44475 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44476
89c9aa49
AZ
444772012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44478
44479 [BZ #13954]
44480 [BZ #13955]
44481 [BZ #13956]
44482 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44483 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44484 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44485 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44486 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44487 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44488 * math/libm-test.inc (logb_test) : Additional logb tests.
44489
021db4be
AJ
444902012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44491 Andreas Jaeger <aj@suse.de>
44492
44493 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44494 * configure: Regenerated.
44495 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44496 * config.make.in (link-obsolete-rpc): New substituted variable.
44497 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44498 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44499 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44500 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44501 so that libc.a contains the symbols.
44502 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44503 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44504 * sunrpc/auth_none.c: Likewise.
44505 * sunrpc/auth_unix.c: Likewise.
44506 * sunrpc/authdes_prot.c: Likewise.
44507 * sunrpc/authuxprot.c: Likewise.
44508 * sunrpc/clnt_gen.c: Likewise.
44509 * sunrpc/clnt_perr.c: Likewise.
44510 * sunrpc/clnt_raw.c: Likewise.
44511 * sunrpc/clnt_simp.c: Likewise.
44512 * sunrpc/clnt_tcp.c: Likewise.
44513 * sunrpc/clnt_udp.c: Likewise.
44514 * sunrpc/clnt_unix.c: Likewise.
44515 * sunrpc/des_crypt.c: Likewise.
44516 * sunrpc/des_soft.c: Likewise.
44517 * sunrpc/get_myaddr.c: Likewise.
44518 * sunrpc/key_call.c: Likewise.
44519 * sunrpc/key_prot.c: Likewise.
44520 * sunrpc/netname.c: Likewise.
44521 * sunrpc/pm_getmaps.c: Likewise.
44522 * sunrpc/pm_getport.c: Likewise.
44523 * sunrpc/pmap_clnt.c: Likewise.
44524 * sunrpc/pmap_prot.c: Likewise.
44525 * sunrpc/pmap_prot2.c: Likewise.
44526 * sunrpc/pmap_rmt.c: Likewise.
44527 * sunrpc/publickey.c: Likewise.
44528 * sunrpc/rpc_cmsg.c: Likewise.
44529 * sunrpc/rpc_common.c: Likewise.
44530 * sunrpc/rpc_dtable.c: Likewise.
44531 * sunrpc/rpc_prot.c: Likewise.
44532 * sunrpc/rpc_thread.c: Likewise.
44533 * sunrpc/rtime.c: Likewise.
44534 * sunrpc/svc.c: Likewise.
44535 * sunrpc/svc_auth.c: Likewise.
44536 * sunrpc/svc_raw.c: Likewise.
44537 * sunrpc/svc_run.c: Likewise.
44538 * sunrpc/svc_tcp.c: Likewise.
44539 * sunrpc/svc_udp.c: Likewise.
44540 * sunrpc/svc_unix.c: Likewise.
44541 * sunrpc/svcauth_des.c: Likewise.
44542 * sunrpc/xcrypt.c: Likewise.
44543 * sunrpc/xdr.c: Likewise.
44544 * sunrpc/xdr_array.c: Likewise.
44545 * sunrpc/xdr_float.c: Likewise.
44546 * sunrpc/xdr_intXX_t.c: Likewise.
44547 * sunrpc/xdr_mem.c: Likewise.
44548 * sunrpc/xdr_rec.c: Likewise.
44549 * sunrpc/xdr_ref.c: Likewise.
44550 * sunrpc/xdr_sizeof.c: Likewise.
44551 * sunrpc/xdr_stdio.c: Likewise.
44552
b5c086a2
RM
445532012-05-10 Roland McGrath <roland@hack.frob.com>
44554
44555 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44556 change. Update copyright years.
44557
6d74dd09
JM
445582012-05-10 Joseph Myers <joseph@codesourcery.com>
44559
44560 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44561
28e72501
MK
445622012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44563 Joseph Myers <joseph@codesourcery.com>
44564 Paul Pluzhnikov <ppluzhnikov@google.com>
44565
44566 [BZ #14012]
44567 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44568 requiring rpcgen.
44569 [cross-compiling] (extra-libs): Likewise.
44570 [cross-compiling] (extra-libs-others): Likewise.
44571 [cross-compiling] (librpcsvc-routines): Likewise.
44572 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44573 [cross-compiling] (omit-deps): Likewise.
44574 (sunrpc-CPPFLAGS): New variable.
44575 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44576 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44577 (cross-rpcgen-objs): New variable.
44578 (extra-objs): Append $(cross-rpcgen-objs).
44579 ($(cross-rpcgen-objs)): New rule.
44580 ($(objpfx)cross-rpcgen): Likewise.
44581 (rpcgen-cmd): Define to use $(built-program-file). Expand
44582 comment.
44583 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44584 ($(objpfx)x%.stmp): Likewise.
44585 * sunrpc/proto.h [IS_IN_build] (_): Define.
44586 [IS_IN_build] (_libc_intl_domainname): Likewise.
44587
c8c59454
L
445882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44589
44590 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44591 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44592 and R_X86_64_TPOFF64.
44593
6f27cd16
JM
445942012-05-10 Joseph Myers <joseph@codesourcery.com>
44595
44596 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44597 sysdeps/unix/sysv/syscalls.list.
44598 (stime): Likewise.
44599 (utime): Likewise.
44600 * sysdeps/unix/sysv/syscalls.list: Remove file.
44601
02467e1c
PE
446022012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44603
44604 [BZ #3440]
44605 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44606 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44607 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44608 (__LC_IDENTIFICATION): Make these macros useful in #if
44609 expressions, as required by C99.
44610
da392631
AS
446112012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44612
44613 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44614 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44615 after this.
44616
8115f29b
L
446172012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44618
44619 * stdlib/longlong.h: Updated from GCC.
44620
bdd74070
AJ
446212012-05-09 Andreas Jaeger <aj@suse.de>
44622
edfe0dbe
AJ
44623 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44624 default is first entry.
44625 (run_mode): Set type.
44626 (main): Remove informal message about syslog.
44627 (options): Fix typo.
44628
bcfe3a54
ST
44629 [BZ #14053]
44630 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44631 to asm.
bcfe3a54
ST
44632 (lrint): Likewise.
44633 (llrintf): Likewise.
44634 (llrint): Likewise.
44635 (rint): Likewise.
44636 (rintf): Likewise.
44637 (nearbyint): Likewise.
44638 (nearbyintf): Likewise.
bdd74070 44639
91d8d69e
AJ
446402012-05-09 Andreas Jaeger <aj@suse.de>
44641 Pedro Alves <palves@redhat.com>
44642
44643 * nscd/nscd.c (run_mode): Use enum.
44644 (main): Cleanup coding style issue.
44645
bb90b80b
AJ
446462012-05-09 Alexandre Oliva <aoliva@redhat.com>
44647 Andreas Jaeger <aj@suse.de>
44648
bcfe3a54
ST
44649 * nscd/nscd.c (go_background): Replaced with...
44650 (run_mode): ... this.
bb90b80b 44651 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44652 (options): Add -F --foreground.
44653 (main): Implement it.
44654 (parse_opt): Parse it.
bb90b80b 44655
1a4b75a1
AJ
446562012-05-09 Andreas Jaeger <aj@suse.de>
44657
44658 [BZ #14083]
44659 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44660 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44661 -Wconversion warning.
44662 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44663 Likewise.
44664
b1cc2472
JM
446652012-05-09 Joseph Myers <joseph@codesourcery.com>
44666
44667 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44668 == 0.
44669 (LC_ALL): Use macro-int-constant.
44670 (LC_COLLATE): Likewise.
44671 (LC_CTYPE): Likewise.
44672 (LC_MESSAGES): Likewise.
44673 (LC_MONETARY): Likewise.
44674 (LC_NUMERIC): Likewise.
44675 (LC_TIME): Likewise.
44676 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44677 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44678 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44679 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44680 Specify type.
44681 [C99-based standards] (float_t): Expect type.
44682 [C99-based standards] (double_t): Expect type.
44683 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44684 type.
44685 [C99-based standards] (HUGE_VALL): Likewise.
44686 [C99-based standards] (INFINITY): Likewise.
44687 [C99-based standards] (NAN): Likewise.
44688 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44689 [C99-based standards] (FP_NAN): Likewise.
44690 [C99-based standards] (FP_NORMAL): Likewise.
44691 [C99-based standards] (FP_SUBNORMAL): Likewise.
44692 [C99-based standards] (FP_ZERO): Likewise.
44693 [C99-based standards] (FP_FAST_FMA): Use
44694 optional-macro-int-constant. Specify type. Require == 1.
44695 [C99-based standards] (FP_FAST_FMAF): Likewise.
44696 [C99-based standards] (FP_FAST_FMAL): Likewise.
44697 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44698 [C99-based standards] (FP_ILOGBNAN): Likewise.
44699 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44700 Specify type.
44701 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44702 [C99-based standards] (math_errhandling): Specify type.
44703 [ISO99 || ISO11] (signgam): Do not allow.
44704 [non-C99-based standards] (copysignf): Do not allow.
44705 [non-C99-based standards] (exp2f): Likewise.
44706 [non-C99-based standards] (log2f): Likewise.
44707 [non-C99-based standards] (modff): Allow.
44708 [non-C99-based standards] (erff): Do not allow.
44709 [non-C99-based standards] (erfcf): Likewise.
44710 [non-C99-based standards] (gammaf): Likewise.
44711 [non-C99-based standards] (hypotf): Likewise.
44712 [non-C99-based standards] (j0f): Likewise.
44713 [non-C99-based standards] (j1f): Likewise.
44714 [non-C99-based standards] (jnf): Likewise.
44715 [non-C99-based standards] (lgammaf): Likewise.
44716 [non-C99-based standards] (tgammaf): Likewise.
44717 [non-C99-based standards] (y0f): Likewise.
44718 [non-C99-based standards] (y1f): Likewise.
44719 [non-C99-based standards] (ynf): Likewise.
44720 [non-C99-based standards] (isnanf): Likewise.
44721 [non-C99-based standards] (acoshf): Likewise.
44722 [non-C99-based standards] (asinhf): Likewise.
44723 [non-C99-based standards] (atanhf): Likewise.
44724 [non-C99-based standards] (cbrtf): Likewise.
44725 [non-C99-based standards] (expm1f): Likewise.
44726 [non-C99-based standards] (ilogbf): Likewise.
44727 [non-C99-based standards] (log1pf): Likewise.
44728 [non-C99-based standards] (logbf): Likewise.
44729 [non-C99-based standards] (nextafterf): Likewise.
44730 [non-C99-based standards] (remainderf): Likewise.
44731 [non-C99-based standards] (rintf): Likewise.
44732 [non-C99-based standards] (scalbf): Likewise.
44733 [non-C99-based standards] (copysignl): Likewise.
44734 [non-C99-based standards] (exp2l): Likewise.
44735 [non-C99-based standards] (log2l): Likewise.
44736 [non-C99-based standards] (modfl): Allow.
44737 [non-C99-based standards] (erfl): Do not allow.
44738 [non-C99-based standards] (erfcl): Likewise.
44739 [non-C99-based standards] (gammal): Likewise.
44740 [non-C99-based standards] (hypotl): Likewise.
44741 [non-C99-based standards] (j0l): Likewise.
44742 [non-C99-based standards] (j1l): Likewise.
44743 [non-C99-based standards] (jnl): Likewise.
44744 [non-C99-based standards] (lgammal): Likewise.
44745 [non-C99-based standards] (tgammal): Likewise.
44746 [non-C99-based standards] (y0l): Likewise.
44747 [non-C99-based standards] (y1l): Likewise.
44748 [non-C99-based standards] (ynl): Likewise.
44749 [non-C99-based standards] (isnanl): Likewise.
44750 [non-C99-based standards] (acoshl): Likewise.
44751 [non-C99-based standards] (asinhl): Likewise.
44752 [non-C99-based standards] (atanhl): Likewise.
44753 [non-C99-based standards] (cbrtl): Likewise.
44754 [non-C99-based standards] (expm1l): Likewise.
44755 [non-C99-based standards] (ilogbl): Likewise.
44756 [non-C99-based standards] (log1pl): Likewise.
44757 [non-C99-based standards] (logbl): Likewise.
44758 [non-C99-based standards] (nextafterl): Likewise.
44759 [non-C99-based standards] (remainderl): Likewise.
44760 [non-C99-based standards] (rintl): Likewise.
44761 [non-C99-based standards] (scalbl): Likewise.
44762 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44763 [non-C99-based standards] (FP_*): Do not allow.
44764 [C99-based standards] (FP_*): Change to
44765 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44766 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44767 allow.
44768 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44769 (SIG_ERR): Likewise.
44770 [X/Open-based standards] (SIG_HOLD): Likewise.
44771 (SIG_IGN): Likewise.
44772 (SIGABRT): Use macro-int-constant. Specify type. Require
44773 positive value.
44774 (SIGFPE): Likewise.
44775 (SIGILL): Likewise.
44776 (SIGINT): Likewise.
44777 (SIGSEGV): Likewise.
44778 (SIGTER): Likewise.
44779 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44780 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44781 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44782 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44783 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44784 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44785 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44786 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44787 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44788 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44789 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44790 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44791 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44792 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44793 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44794 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44795 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44796 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44797 [X/Open-based standards] (SIGTRAP): Likewise.
44798 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44799 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44800 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44801 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44802 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44803 allow.
44804
b9f1922d
IW
448052012-05-08 Ian Wienand <ianw@vmware.com>
44806
44807 [BZ #14080]
44808 * time/tzset.c (__tzset_parse_tz): Update default rules for
44809 daylight time changes in the Energy Policy Act of 2005.
44810
1db86e88
AJ
448112012-05-09 Andreas Jaeger <aj@suse.de>
44812
44813 [BZ #13983]
44814 * elf/ldconfig.c (parse_conf): Change string to make clear that
44815 ldconfig only issued a warning if ld.so.conf does not exist.
44816
dee4a4e3
DM
448172012-05-08 David S. Miller <davem@davemloft.net>
44818
ee0db190
DM
44819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44820 movxtod instead of popping the value on the stack.
44821
dee4a4e3
DM
44822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44823
6a43ec98
CD
448242012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44825
44826 * config.h.in: Add HAVE_ARM_PCS_VFP.
44827
05c2c961
RMG
448282012-05-08 Roland Mc Grath <roland@hack.frob.com>
44829
bcfe3a54
ST
44830 [BZ #13979]
44831 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44832 checking but the checks are disabled for any reason.
05c2c961 44833
4b30f61a
L
448342012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44835
44836 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44837 and ELF64_R_TYPE with ELFW(R_TYPE).
44838
eee2bc67
JM
448392012-05-08 Joseph Myers <joseph@codesourcery.com>
44840
7ea5391a
JM
44841 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44842 (ulimit): Likewise.
44843
eee2bc67
JM
44844 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44845 (settimeofday): Likewise.
44846
abb66a67
MF
448472012-05-08 Mike Frysinger <vapier@gentoo.org>
44848
44849 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44850 a struct th_u2 inside the union, and move tu_block/tu_code into
44851 a new th_u3 union of tu_block/tu_code inside of that. Move
44852 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44853 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44854 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44855 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44856 (th_stuff): Change to th_u1.tu_stuff.
44857 (th_data): Define.
44858 (th_msg): Change to th_u1.th_u2.tu_data.
44859
7f18b530
DM
448602012-05-07 David S. Miller <davem@davemloft.net>
44861
05760585
DM
44862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44863
7f18b530
DM
44864 [BZ #14074]
44865 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44866 (SETUP_PIC_REG): Use it.
44867 (SETUP_PIC_REG_LEAF): Use it.
44868
495fd99f
JM
448692012-05-07 Joseph Myers <joseph@codesourcery.com>
44870
44871 [BZ #13885]
44872 [BZ #13923]
44873 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44874 USE_AS_EXPM1L.
44875 (EXPL_FINITE): Likewise.
44876 (FLDLOG): Likewise.
44877 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44878 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44879 e_expl.S.
44880 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44881 USE_AS_EXPM1L.
44882 (EXPL_FINITE): Likewise.
44883 (FLDLOG): Likewise.
44884 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44885 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44886 e_expl.S.
44887 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44888 test of -max_value argument for long double.
44889 * sysdeps/i386/fpu/libm-test-ulps: Update.
44890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44891
6693d694
DM
448922012-05-06 David S. Miller <davem@davemloft.net>
44893
44894 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44895 quad soft-float symbols whose references which are compiler
44896 generated.
44897 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44898
6c23e11c
JM
448992012-05-06 Joseph Myers <joseph@codesourcery.com>
44900
d8b82cad
JM
44901 [BZ #13884]
44902 [BZ #13914]
44903 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44904 USE_AS_EXP10L.
44905 (EXPL_FINITE): Likewise.
44906 (FLDLOG): Likewise.
44907 (c0): Likewise.
44908 (c1): Likewise.
44909 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44910 Adjust comments for base varying.
44911 (__expl_finite): Change alias to EXPL_FINITE.
44912 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44913 e_expl.S.
44914 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44915 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44916 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44917 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44918 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44919 USE_AS_EXP10L.
44920 (EXPL_FINITE): Likewise.
44921 (FLDLOG): Likewise.
44922 (c0): Likewise.
44923 (c1): Likewise.
44924 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44925 Adjust comments for base varying.
44926 (__expl_finite): Change alias to EXPL_FINITE.
44927 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44928 tests for bugs.
44929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44930
6c23e11c
JM
44931 [BZ #14064]
44932 * math/libm-test.inc (check_float_internal): Correct ulp
44933 calculation for subnormal expected results.
44934
29ba805c
AJ
449352012-05-06 Andreas Jaeger <aj@suse.de>
44936
44937 * Makeconfig (+math-flags): New, set to -frounding-math.
44938 (+cflags): Add +math-flags so that all of glibc gets compiled with
44939 it.
44940
44941 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44942
7b17aeda
JM
449432012-05-05 Joseph Myers <joseph@codesourcery.com>
44944
5779f134
JM
44945 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44946 Disable one test.
44947
41498f4d
JM
44948 [BZ #13787]
44949 [BZ #13922]
44950 [BZ #14036]
44951 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44952 (__ieee754_expl): Allow for and saturate large arguments.
44953 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44954 (u_threshold): Likewise.
44955 (__exp): Call __ieee754_exp before checking for overflow and
44956 underflow.
44957 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44958 (u_threshold): Likewise.
44959 (__expf): Call __ieee754_expf before checking for overflow and
44960 underflow.
44961 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44962 (u_threshold): Likewise.
44963 (__expl): Call __ieee754_expl before checking for overflow and
44964 underflow.
44965 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44966 (__ieee754_expl): Allow for and saturate large arguments.
44967 * math/libm-test.inc (exp_test): Add another test. Do not allow
44968 missing overflow exception on overflow.
44969 (expm1_test): Do not allow missing overflow exception on overflow.
44970
6698b8bf
JM
44971 * sysdeps/i386/fpu/e_expl.c: Move to ...
44972 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44973 rather than using inline asm.
44974 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44975 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44976 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44977
7b17aeda
JM
44978 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44979 (nice): Likewise.
44980 (poll): Likewise.
44981 (signal): Likewise.
44982 (time): Likewise.
44983 (times): Likewise.
44984
f7c85819
JM
449852012-05-04 Joseph Myers <joseph@codesourcery.com>
44986
44987 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44988 sysdeps/unix/common/syscalls.list.
44989 (fchmod): Likewise.
44990 (fchown): Likewise.
44991 (ftruncate): Likewise.
44992 (getrusage): Likewise.
44993 (gettimeofday): Likewise.
44994 (setpgid): Likewise.
44995 (setregid): Likewise.
44996 (setreuid): Likewise.
44997 (sigaction): Likewise.
44998 (truncate): Likewise.
44999 (vhangup): Likewise.
45000 * sysdeps/unix/common/syscalls.list: Remove file.
45001 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45002 * sysdeps/unix/sysv/linux/Implies: Likewise.
45003
336270d0
L
450042012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45005
45006 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45008 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45009 Moved to ...
45010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45011 Here.
45012 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45013 to ...
45014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45015 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45016 to ...
45017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45018 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45019 to ...
45020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45021 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45022 to ...
45023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45024 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45025 to ...
45026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45027 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45028 to ...
45029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45030 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45031 to ...
45032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45033 Here.
45034 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45035 to ...
45036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45037 Here.
45038 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45039 to ...
45040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45041 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45042 Moved to ...
45043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45044 Here.
45045 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45046 to ...
45047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45048
d128e450
JM
450492012-05-04 Joseph Myers <joseph@codesourcery.com>
45050
fa8ee516
JM
45051 * sysdeps/unix/common/bits/dirent.h: Remove file.
45052 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45053
d128e450
JM
45054 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45055 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45056 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45057 * sysdeps/unix/bsd/isatty.c: Likewise.
45058 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45059 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45060 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45061
ff8faaf0 450622012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 45063
62881be4 45064 [BZ #13563]
31dc8730
AZ
45065 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45066 long double comparison inaccuracies.
45067 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45069
6fef930c
AS
450702012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45071
45072 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45073 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45074
8f203e6c
JM
450752012-05-04 Joseph Myers <joseph@codesourcery.com>
45076
45077 [BZ #14049]
45078 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45079 nonzero digits before rounding a hex value.
45080 * stdlib/tst-strtod.c (tests): Add another test.
45081
5197d9c2
AK
450822012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45083
45084 * sysdeps/s390/fpu/libm-test-ulps: Update.
45085
f0c1dedf
AJ
450862012-05-03 Andreas Jaeger <aj@suse.de>
45087
45088 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45089 does not get optimized out.
45090 (malloc_opt_barrier): New.
45091
a65ef2ae 450922012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 45093 Roland McGrath <roland@hack.frob.com>
a65ef2ae 45094
2b942cb7 45095 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 45096 intermediate file deletion.
2b942cb7 45097 (generated): Add .symlist files.
a65ef2ae 45098
54b71e02
JM
450992012-05-03 Joseph Myers <joseph@codesourcery.com>
45100
45101 [BZ #13775]
45102 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45103 Redirect under this condition.
45104 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45105 [__USE_GNU] (__dprintf_chk): Not under this condition.
45106 [__USE_GNU] (__vdprintf_chk): Likewise.
45107 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45108 under this condition.
45109 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45110 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45111 [__USE_XOPEN2K8] (vdprintf): Likewise.
45112 [__USE_GNU] (__dprintf_chk): Not under this condition.
45113 [__USE_GNU] (__vdprintf_chk): Likewise.
45114 [__USE_GNU] (dprintf): Likewise.
45115 [__USE_GNU] (vdprintf): Likewise.
45116
d3dfcc41
RM
451172012-05-03 Roland McGrath <roland@hack.frob.com>
45118
45119 * elf/Makefile (common-generated): Set this instead of generated for
45120 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45121 $(all-built-dso)-derived lists.
45122
7ac30cc5
AJ
451232012-05-03 Andreas Jaeger <aj@suse.de>
45124
0c51e550
AJ
45125 * sysdeps/i386/fpu/libm-test-ulps: Update.
45126
7ac30cc5
AJ
45127 * FAQ: Removed.
45128 * FAQ.in: Likewise.
45129 * scripts/gen-FAQ.pl: Likewise.
45130 * manual/install.texi (Installation): Point to online location of
45131 FAQ.
45132 * Makefile (files-for-dist): Remove FAQ.
45133 (FAQ): Remove.
45134
d4c2917f
AM
451352012-05-02 Allan McRae <allan@archlinux.org>
45136
45137 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45138 (LDFLAGS-reldepmod5.so): Likewise.
45139 (LDFLAGS-reldep6mod1.so): Likewise.
45140 (LDFLAGS-reldep6mod4.so): Likewise.
45141 (LDFLAGS-reldep8mod3.so): Likewise.
45142 (LDFLAGS-unload4mod1.so): Likewise.
45143 (LDFLAGS-unload4mod2.so): Likewise.
45144 (LDFLAGS-tst-initorder): Likewise.
45145 (LDFLAGS-tst-initordera2.so): Likewise.
45146 (LDFLAGS-tst-initordera3.so): Likewise.
45147 (LDFLAGS-tst-initordera4.so): Likewise.
45148 (LDFLAGS-tst-initorderb2.so): Likewise.
45149 (LDFLAGS-noload): Likewise.
45150 (LDFLAGS-next): Likewise.
45151 (LDFLAGS-order2mod1.so): Likewise.
45152 (LDFLAGS-order2mod2.so): Likewise.
45153 (LDFLAGS-tst-initorder2): Likewise.
45154 (LDFLAGS-tst-initorder2a.so): Likewise.
45155 (LDFLAGS-tst-initorder2b.so): Likewise.
45156 (LDFLAGS-tst-initorder2c.so): Likewise.
45157 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45158
d77f993f
DM
451592012-05-02 David S. Miller <davem@davemloft.net>
45160
45161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45162
171a70b4
PP
451632012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45164
45165 [BZ #14055]
45166 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45167
0be196ad
AJ
451682012-05-02 Andreas Jaeger <aj@suse.de>
45169
45170 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45171 since we manipulate rounding mode.
45172 (CPPFLAGS-test-idouble.c): Likewise.
45173 (CPPFLAGS-test-ifloat.c): Likewise.
45174 (CFLAGS-test-ldouble.c): Likewise.
45175 (CFLAGS-test-double.c): Likewise.
45176 (CFLAGS-test-float.c): Likewise.
45177 (CFLAGS-test-misc.c): Likewise.
45178 (CFLAGS-test-test-fenv.c): Likewise.
45179
4f9d04aa
AZ
451802012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45181
2b942cb7
RM
45182 [BZ #2550]
45183 [BZ #2570]
45184 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45185 comparisons to determine direction to adjust input.
4f9d04aa 45186
82a79e7d
RM
451872012-05-01 Roland McGrath <roland@hack.frob.com>
45188
f5a01ca9
RM
45189 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45190 output to the target.
45191
90fe4186
RM
45192 * scripts/localplt.awk: New file.
45193 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45194 (check-localplt-CFLAGS): Variable removed.
45195 ($(all-built-dso:=.jmprel)): New static pattern rule.
45196 (generated): Add those targets.
45197 (localplt-built-dso): New variable.
45198 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45199
45200 * elf/check-localplt.c: File removed.
45201
82397ed6
RM
45202 * scripts/check-execstack.awk: New file.
45203 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45204 (check-execstack-CFLAGS): Variable removed.
45205 ($(objpfx)check-execstack.h): Target removed.
45206 ($(objpfx)execstack-default): New target.
45207 (generated): Add that instead of check-execstack.h.
45208 ($(all-built-dso:=.phdr)): New static pattern rule.
45209 (generated): Add those targets.
45210 * elf/check-execstack.c: File removed.
45211
82a79e7d
RM
45212 * scripts/check-textrel.awk: New file.
45213 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45214 (check-textrel-CFLAGS): Variable removed.
45215 (all-built-dso): Use := to define.o
45216 ($(all-built-dso:=.dyn)): New static pattern rule.
45217 (generated): Add those targets.
45218 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45219 * config.make.in (READELF): New substituted variable.
45220 * elf/check-textrel.c: File removed.
45221
62fde54f 452222012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45223
615605c9
JM
45224 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45225 allow.
45226 * conform/data/ctype.h-data [C99-based standards] (isblank):
45227 Expect function.
45228 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45229 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45230 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45231 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45232 Specify type. Require positive value.
45233 (EILSEQ): Likewise.
45234 (ERANGE): Likewise.
45235 [ISO || POSIX] (EILSEQ): Do not expect.
45236 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45237 Specify type. Require positive value.
45238 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45239 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45240 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45241 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45242 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45243 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45244 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45245 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45246 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45247 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45248 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45249 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45250 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45251 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45252 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45253 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45254 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45255 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45256 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45257 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45258 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45259 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45260 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45261 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45262 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45263 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45264 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45265 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45266 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45267 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45268 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45269 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45270 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45271 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45272 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45273 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45274 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45275 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45276 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45277 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45278 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45279 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45280 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45281 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45282 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45283 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45284 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45285 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45286 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45287 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45288 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45289 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45290 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45291 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45292 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45293 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45294 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45295 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45296 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45297 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45298 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45299 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45300 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45301 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45302 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45303 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45304 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45305 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45306 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45307 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45308 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45309 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45310 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45311 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45312 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45313 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45314 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45315 Require >= 2.
45316 (FLT_ROUNDS): Expect as macro, not constant.
45317 (FLT_MANT_DIG): Use macro-int-constant.
45318 (DBL_MANT_DIG): Likewise.
45319 (LDBL_MANT_DIG): Likewise.
45320 (FLT_DIG): Likewise.
45321 (DBL_DIG): Likewise.
45322 (LDBL_DIG): Likewise.
45323 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45324 (DBL_MIN_EXP): Likewise.
45325 (LDBL_MIN_EXP): Likewise.
45326 (FLT_MAX_EXP): Use macro-int-constant.
45327 (DBL_MAX_EXP): Likewise.
45328 (LDBL_MAX_EXP): Likewise.
45329 (FLT_MAX_10_EXP): Likewise.
45330 (DBL_MAX_10_EXP): Likewise.
45331 (LDBL_MAX_10_EXP): Likewise.
45332 (FLT_MAX): Use macro-constant.
45333 (DBL_MAX): Likewise.
45334 (LDBL_MAX): Likewise.
45335 (FLT_EPSILON): Use macro-constant. Give upper bound.
45336 (DBL_EPSILON): Likewise.
45337 (LDBL_EPSILON): Likewise.
45338 (FLT_MIN): Likewise.
45339 (DBL_MIN): Likewise.
45340 (LDBL_MIN): Likewise.
45341 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45342 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45343 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45344 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45345 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45346 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45347 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45348 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45349 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45350 [ISO11] (FLT_TRUE_MIN): Likewise.
45351 [ISO11] (LDBL_TRUE_MIN): Likewise.
45352 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45353 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45354 (SCHAR_MIN): Use macro-int-constant. Specify type.
45355 (SCHAR_MAX): Likewise.
45356 (UCHAR_MAX): Likewise.
45357 (CHAR_MIN): Likewise.
45358 (CHAR_MAX): Likewise.
45359 (MB_LEN_MAX): Use macro-int-constant.
45360 (SHRT_MIN): Use macro-int-constant. Specify type.
45361 (SHRT_MAX): Likewise.
45362 (USHRT_MAX): Likewise.
45363 (INT_MAX): Likewise.
45364 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45365 bound negative.
45366 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45367 bound with "U".
45368 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45369 bound with "L".
45370 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45371 bound negative. Suffix upper bound with "L".
45372 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45373 bound with "UL".
45374 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45375 Specify type.
45376 [C99-based standards] (LLONG_MAX): Likewise.
45377 [C99-based standards] (ULLONG_MAX): Likewise.
45378 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45379 == 0.
45380 [ISO11] (max_align_t): Require type.
45381 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45382
c9140a62
JM
45383 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45384 from $CFLAGS, without defining away __attribute__ calls.
45385 (checknamespace): Use $CFLAGS_namespace.
45386
9af0bf29
JM
45387 * conform/conformtest.pl (@keywords): Only include C99 keywords
45388 for standards based on C99 or C11.
45389
343222a2
JM
45390 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45391 Disable tests.
45392 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45393 UNIX98]: Likewise.
45394
661f8cf0
JM
45395 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45396 usability of symbols in #if.
45397
ee74b9cb
JM
45398 * conform/conformtest.pl: If macro or constant types start
45399 "promoted:", expect the symbol to be of the following type
45400 promoted by the integer promotions.
62fde54f 45401
aafc49b3
JM
45402 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45403 in one place. Also handle "macro-constant".
45404
fefdf574
JM
45405 * conform/conformtest.pl: Only accept expected macro values with
45406 "==". Parse all "macro" lines in one place.
45407 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45408
f2d922fe
JM
45409 * conform/conformtest.pl: Handle braced types on "constant" lines
45410 instead of handling "typed-constant".
45411 * conform/data/signal.h-data: Use "constant" instead of
45412 "typed-constant".
45413
d22956c9
JM
45414 * conform/conformtest.pl: Handle "optional-" at start of lines in
45415 one place rather than duplicating several cases. Handle each
45416 format of "macro" line with initial "optional-".
45417
028e2e38
JM
45418 * conform/conformtest.pl: Only accept expected constant or
45419 optional-constant values with "==". Parse all "constant" lines in
45420 one place. Parse all "optional-constant" lines in one place.
45421 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45422 * conform/data/fmtmsg.h-data: Likewise.
45423 * conform/data/netinet/in.h-data: Likewise.
45424 * conform/data/tar.h-data: Likewise.
45425 * conform/data/limits.h-data: Use "==" form on "constant" and
45426 "optional-constant" lines.
45427
1b8f2850
JM
45428 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45429 Use -std=c99 for XOPEN2K.
45430 (@knownproblems): Remove.
45431 (newtoken): Don't check %isknown.
45432
a05a144b
JM
45433 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45434 Do not expect macro.
45435 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45436 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45437 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45438 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45439 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45440 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45441 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45442 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45443 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45444 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45445 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45446 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45447 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45448 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45449 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45450 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45451 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45452 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45453 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45454 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45455 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45456 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45457 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45458 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45459 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45460 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45461 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45462 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45463 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45464 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45465 [XPG3] (acosh): Likewise.
45466 [XPG3] (asinh): Likewise.
45467 [XPG3] (atanh): Likewise.
45468 [XPG3] (cbrt): Likewise.
45469 [XPG3] (expm1): Likewise.
45470 [XPG3] (ilogb): Likewise.
45471 [XPG3] (log1p): Likewise.
45472 [XPG3] (logb): Likewise.
45473 [XPG3] (nextafter): Likewise.
45474 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45475 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45476 [XPG3] (remainder): Likewise.
45477 [XPG3] (rint): Likewise.
45478 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45479 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45480 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45481 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45482 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45483 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45484 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45485 [UNIX98 || XOPEN2K] (scalb): Expect.
45486 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45487 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45488 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45489 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45490 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45491 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45492 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45493 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45494 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45495 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45496 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45497 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45498 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45499 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45500 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45501 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45502 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45503 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45504 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45505 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45506 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45507 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45508 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45509 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45510 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45511 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45512 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45513 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45514 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45515 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45516 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45517 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45518 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45519 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45520 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45521 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45522 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45523 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45524 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45525 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45526 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45527 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45528 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45529 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45530 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45531 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45532 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45533 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45534 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45535 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45536 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45537 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45538 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45539 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45540 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45541 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45542 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45543 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45544 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45545 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45546 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45547 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45548 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45549 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45550 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45551 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45552 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45553 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45554 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45555 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45556 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45557 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45558 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45559 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45560 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45561 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45562 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45563 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45564 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45565 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45566 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45567 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45568 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45569 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45570 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45571 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45572 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45573 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45574 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45575 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45576 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45577 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45578 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45579 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45580 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45581 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45582 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45583 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45584 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45585 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45586 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45587 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45588 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45589 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45590 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45591 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45592 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45593 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45594 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45595 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45596 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45597 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45598 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45599 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45600 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45601 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45602 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45603 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45604 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45605 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45606 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45607 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45608 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45609 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45610 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45611 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45612 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45613 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45614 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45615 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45616 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45617 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45618 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45619 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45620 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45621 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45622 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45623
73c5ebe3
JM
45624 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45625 _XOPEN_SOURCE_EXTENDED for XPG4.
45626
39c33b6c
JM
45627 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45628
62fde54f
JM
45629 * Makeconfig (localtime): Remove variable.
45630 (inst_localtime-file): Likewise.
45631
0741d64c
AS
456322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45633
45634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45635 Update.
45636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45637 Update.
45638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45639 Update.
45640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45641 Update.
45642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45643 Update.
45644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45645 Update.
45646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45647 Update.
45648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45649 Update.
45650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45651 Update.
45652
7cb029ee
JM
456532012-05-01 Joseph Myers <joseph@codesourcery.com>
45654
45655 [BZ #2550]
45656 [BZ #2570]
45657 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45658 comparisons to determine direction to adjust input.
45659 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45660 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45661 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45662 Likewise.
45663 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45664 Likewise.
45665 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45666 Likewise.
45667 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45668 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45669 Likewise.
45670 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45671 Likewise.
45672 * math/libm-test.inc (nexttoward_test): Add more tests.
45673
412bd966
AS
456742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45675
45676 [BZ #14040]
45677 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45678 in version GLIBC_2.1, not GLIBC_2.0.
45679 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45680 Likewise.
45681
9568c0c2
JM
456822012-04-30 Joseph Myers <joseph@codesourcery.com>
45683
adfbc8ac
JM
45684 [BZ #13942]
45685 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45686 (1 - x) * (1 + x).
45687 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45688 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45689 * math/libm-test.inc (acos_test): Add more tests.
45690 (asin_test): Likewise.
45691 * sysdeps/i386/fpu/libm-test-ulps: Update.
45692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45693
5ba3cc69
JM
45694 [BZ #14034]
45695 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45696 of square root.
45697 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45698 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45699 * math/libm-test.inc (acos_test_tonearest): New function.
45700 (acos_test_towardzero): Likewise.
45701 (acos_test_downward): Likewise.
45702 (acos_test_upward): Likewise.
45703 (asin_test_tonearest): Likewise.
45704 (asin_test_towardzero): Likewise.
45705 (asin_test_downward): Likewise.
45706 (asin_test_upward): Likewise.
45707 (main): Call the new functions.
45708 * sysdeps/i386/fpu/libm-test-ulps: Update.
45709 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45710
9568c0c2
JM
45711 [BZ #13884]
45712 [BZ #13924]
45713 * math/e_exp10.c: Include <float.h>.
45714 (__ieee754_exp10): Handle underflow here rather than multiplying
45715 large negative argument by M_LN10.
45716 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45717 of __ieee754_expf.
45718 * math/e_exp10l.c: Include <float.h>.
45719 (__ieee754_exp10l): Handle underflow here rather than multiplying
45720 large negative argument by M_LN10l.
45721 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45722 spurious overflow exception on underflow.
45723
5ac3ea17
MP
457242012-04-29 Marek Polacek <polacek@redhat.com>
45725
45726 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45727 (__fortify_function): New macro.
45728 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45729 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45730 __extern_always_inline.
45731 * libio/bits/stdio2.h: Likewise.
45732 * libio/bits/stdio.h: Likewise.
45733 * string/string.h: Likewise.
45734 * string/bits/string3.h: Likewise.
45735 * include/stdio.h: Likewise.
45736 * stdlib/bits/stdlib.h: Likewise.
45737 * stdlib/stdlib.h: Likewise.
45738 * rt/bits/mqueue2.h: Likewise.
45739 * rt/mqueue.h: Likewise.
45740 * posix/bits/unistd.h: Likewise.
45741 * posix/unistd.h: Likewise.
45742 * io/bits/poll2.h: Likewise.
45743 * io/bits/fcntl2.h: Likewise.
45744 * io/fcntl.h: Likewise.
45745 * io/sys/poll.h: Likewise.
45746 * misc/bits/syslog.h: Likewise.
45747 * misc/bits/syslog-ldbl.h: Likewise.
45748 * misc/sys/syslog.h: Likewise.
45749 * socket/bits/socket2.h: Likewise.
45750 * socket/sys/socket.h: Likewise.
45751 * debug/tst-chk1.c: Likewise.
45752 * wcsmbs/bits/wchar2.h: Likewise.
45753 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45754 * wcsmbs/wchar.h: Likewise.
45755
ecf0ebfb
AJ
457562012-04-29 Andreas Jaeger <aj@suse.de>
45757
45758 * Makerules (tests): Remove enable-check-abi protection.
45759 (check-abi-warn): Remove.
45760 (check-abi-%): Remove check-abi-warn usage.
45761
45762 * configure.in: Remove check-abi configure option.
45763 * configure: Regenerated.
45764 * config.make.in (enable-check-abi): Remove.
45765
6d5c57fa
AS
457662012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45767
24c5d07e 45768 [BZ #14033]
ded5180a
AS
45769 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45770 double functions to double *_finite functions.
45771
7e0d315d
AS
45772 [BZ #13941]
45773 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45774 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45775 LDBL_MIN_EXP.
45776 * stdio-common/Makefile (tests): Add tst-sprintf3.
45777 * stdio-common/tst-sprintf3.c: New file.
45778
6d5c57fa
AS
45779 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45780 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45781
0749ff8b
JM
457822012-04-28 Joseph Myers <joseph@codesourcery.com>
45783
45784 * conform/conformtest.pl: Remove duplicate typed-constant
45785 handling.
45786
8dbd5d7b
DM
457872012-04-28 David S. Miller <davem@davemloft.net>
45788
45789 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45790 (check-abi-%): Remove AWK script prerequisite and explicit
45791 abilist directory.
45792 (check-abi): Rewrite to just diff the symlist with the abilist.
45793 (config-tls, config-abi-config): Delete, no longer used.
45794 (update-abi-%): Remove AWK script and explicit abilist directory.
45795 (update-abi): Rewrite to simply compare and conditionally copy the
45796 symlist and the sysdep abilist file. Remove update-abi-config
45797 checks.
45798 * abilist/ld.abilist: Remove.
45799 * abilist/libBrokenLocale.abilist: Remove.
45800 * abilist/libanl.abilist: Remove.
45801 * abilist/libcrypt.abilist: Remove.
45802 * abilist/libdl.abilist: Remove.
45803 * abilist/librt.abilist: Remove.
45804 * abilist/libthread_db.abilist: Remove.
45805 * abilist/libutil.abilist: Remove.
45806 * scripts/extract-abilist.awk: Remove.
45807 * scripts/merge-abilist.awk: Remove.
45808 * sysdeps/generic/libcidn.abilist: New file.
45809 * sysdeps/generic/libnss_compat.abilist: New file.
45810 * sysdeps/generic/libnss_db.abilist: New file.
45811 * sysdeps/generic/libnss_dns.abilist: New file.
45812 * sysdeps/generic/libnss_files.abilist: New file.
45813 * sysdeps/generic/libnss_hesiod.abilist: New file.
45814 * sysdeps/generic/libnss_nis.abilist: New file.
45815 * sysdeps/generic/libnss_nisplus.abilist: New file.
45816 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45817 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45818 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45819 file.
45820 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45821 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45822 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45823 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45824 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45825 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45826 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45827 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45828 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45829 file.
45830 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45831 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45832 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45833 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45834 file.
45835 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45836 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45837 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45838 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45839 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45840 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45841 file.
45842 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45843 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45844 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45845 file.
45846 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45848 New file.
45849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45850 New file.
45851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45852 New file.
45853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45854 New file.
45855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45856 New file.
45857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45858 New file.
45859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45860 New file.
45861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45862 New file.
45863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45864 New file.
45865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45866 New file.
45867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45868 New file.
45869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45870 New file.
45871 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45872 New file.
45873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45874 file.
45875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45876 New file.
45877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45878 New file.
45879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45880 file.
45881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45882 New file.
45883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45884 New file.
45885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45886 file.
45887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45888 New file.
45889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45890 New file.
45891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45892 New file.
45893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45894 New file.
45895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45896 New file.
45897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45898 New file.
45899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45901 file.
45902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45903 New file.
45904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45905 file.
45906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45907 file.
45908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45909 file.
45910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45911 file.
45912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45913 file.
45914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45915 New file.
45916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45917 file.
45918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45919 file.
45920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45921 New file.
45922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45923 file.
45924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45926 file.
45927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45928 New file.
45929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45930 file.
45931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45932 file.
45933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45934 file.
45935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45936 file.
45937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45938 file.
45939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45940 New file.
45941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45942 file.
45943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45944 file.
45945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45946 New file.
45947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45948 file.
45949 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45950 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45951 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45952 file.
45953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45954 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45955 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45956 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45957 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45958 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45959 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45960 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45961 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45962 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45965 file.
45966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45967 New file.
45968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45969 file.
45970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45971 file.
45972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45973 file.
45974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45975 file.
45976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45977 file.
45978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45979 New file.
45980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45981 New file.
45982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45983 file.
45984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45985 New file.
45986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45987 file.
45988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45990 file.
45991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45992 New file.
45993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45994 file.
45995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45996 file.
45997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45998 file.
45999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46000 file.
46001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46002 file.
46003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46004 New file.
46005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46006 New file.
46007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46008 file.
46009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46010 New file.
46011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46012 file.
46013
41d73a1b
JM
460142012-04-28 Joseph Myers <joseph@codesourcery.com>
46015
46016 * conform/conformtest.pl: Fix typo in handling typed-constant from
46017 allow-header.
46018
28aeeda4
JM
460192012-04-27 Joseph Myers <joseph@codesourcery.com>
46020
adae8f5e
JM
46021 * README: Cut down references to pre-2.6 Linux kernels and
46022 Linuxthreads. Update lists of configurations in libc and ports
46023 and sort alphabetically. Say "or newer" with Linux kernel version
46024 requirements.
46025
28aeeda4
JM
46026 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46027
a462cb63
RA
460282012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46029
46030 [BZ #887]
46031 * math/libm-test.inc (logb_test_downward): New test to expose
46032 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46033 rounding mode.
46034
6ad3493e
JM
460352012-04-27 Joseph Myers <joseph@codesourcery.com>
46036
46037 [BZ #14027]
46038 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46039 to be done.
46040 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46041 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46042
2ce4f015
JM
460432012-04-26 Joseph Myers <joseph@codesourcery.com>
46044
5aeb141a
JM
46045 * sysdeps/unix/i386/brk.S: Remove file.
46046 * sysdeps/unix/i386/dl-brk.S: Likewise.
46047 * sysdeps/unix/i386/pipe.S: Likewise.
46048 * sysdeps/unix/i386/sigreturn.S: Likewise.
46049 * sysdeps/unix/i386/syscall.S: Likewise.
46050 * sysdeps/unix/i386/vfork.S: Likewise.
46051 * sysdeps/unix/i386/wait.S: Likewise.
46052
7143acae
JM
46053 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46054 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46055
2ce4f015
JM
46056 * configure.in (arm*-none*): Do not allow without
46057 --enable-hacker-mode.
46058 (netbsd*): Remove case setting base_os.
46059 (386bsd*): Likewise.
46060 (freebsd*): Likewise.
46061 (bsdi*): Likewise.
46062 (osf*): Likewise.
46063 (sunos*): Likewise.
46064 (ultrix*): Likewise.
46065 (newsos*): Likewise.
46066 (dynix*): Likewise.
46067 (*bsd*): Likewise.
46068 (sysv*): Likewise.
46069 (isc*): Likewise.
46070 (esix*): Likewise.
46071 (sco*): Likewise.
46072 (minix*): Likewise.
46073 (irix4*): Likewise.
46074 (irix6*): Likewise.
46075 (solaris[2-9]*): Likewise.
46076 (none): Likewise.
46077 * configure: Regenerated.
46078
0ac229c8
AZ
460792012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46080
46081 [BZ #11521]
46082 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46083 overflow or cancellation in calculating denominator.
46084 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46085 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46086 down expression to avoid unexpected rounding in newer GCCs.
46087 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46088
33f244f4
DM
460892012-04-26 David S. Miller <davem@davemloft.net>
46090
46091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46092 long-double compat symbols.
46093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46106
cfa1f3e8
DM
461072012-04-25 David S. Miller <davem@davemloft.net>
46108
46109 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46110 HWCAP_* values only after the memory barriers have been defined.
46111 (atomic_full_barrier): Define.
46112 (atomic_read_barrier): Define.
46113 (atomic_write_barrier): Define.
46114
6e236b92
SP
461152012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46116
46117 * shlib-versions: Add libgcc_s version information.
46118 * sysdeps/generic/libgcc_s.h: Remove.
46119 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46120 libgcc_s.h.
46121 * sysdeps/gnu/unwind-resume.c: Likewise.
46122 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46123
aab39a09
DM
461242012-04-25 David S. Miller <davem@davemloft.net>
46125
46126 * sysdeps/unix/sparc/brk.S: Delete.
46127 * sysdeps/unix/sparc/dl-brk.S: Delete.
46128 * sysdeps/unix/sparc/pipe.S: Delete.
46129 * sysdeps/unix/sparc/sysdep.S: Delete.
46130 * sysdeps/unix/sparc/sysdep.h: Delete.
46131 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
46132 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46133 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46134 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46135 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
46136 (JUMPTARGET): Remove.
46137 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46138 sysdeps/unix/sparc/sysdep.h
46139 (ENTRY, END): Remove.
46140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46141
a3cc4f48
JM
461422012-04-25 Joseph Myers <joseph@codesourcery.com>
46143
2ed8cda2
JM
46144 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46145 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46146 -DIS_IN_build.
46147
35d76d59
JM
46148 * timezone/README: Update upstream location and email address for
46149 tzcode and tzdata.
46150 * timezone/zdump.c: Update from tzcode 2012b.
46151 * timezone/zic.c: Likewise.
46152
a3cc4f48
JM
46153 * configure.in (libc_cv_as_needed): Remove test.
46154 * configure: Regenerated.
46155 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46156 conditional definition.
46157 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46158 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46159 * config.make.in (have-as-needed): Remove variable.
46160
ceab42c3
SP
461612012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46162 Paul Pluzhnikov <ppluzhnikov@google.com>
46163
46164 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46165 strings correctly.
46166
3ce2865f
CLT
461672012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46168
46169 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46170 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46171 * sysdeps/sh/strlen.S: Likewise.
46172
f37e0d68
JM
461732012-04-24 Joseph Myers <joseph@codesourcery.com>
46174
ae186e9a
JM
46175 * sysdeps/unix/fork.S: Remove file.
46176 * sysdeps/unix/i386/fork.S: Likewise.
46177 * sysdeps/unix/sparc/fork.S: Likewise.
46178
b96914af
JM
46179 * sysdeps/unix/system.c: Remove file.
46180 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46181
f37e0d68
JM
46182 * sysdeps/unix/getegid.S: Remove file.
46183 * sysdeps/unix/geteuid.S: Likewise.
46184
87ef29ca
RM
461852012-04-24 Roland McGrath <roland@hack.frob.com>
46186
83bcd236
RM
46187 * scripts/check-localplt.awk: New file.
46188 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46189 of diff.
46190 * scripts/data/localplt-generic.data: Add a comment.
46191
87ef29ca
RM
46192 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46193 NODE when __dir_mkfile failed.
46194 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46195 Reported by Ludovic Courtès <ludo@gnu.org>.
46196
e5a6e567
AJ
461972012-04-24 Andreas Jaeger <aj@suse.de>
46198
46199 * Makerules (common-clean): Also remove gen-as-const-headers
46200 files.
46201
c1820385
JM
462022012-04-24 Joseph Myers <joseph@codesourcery.com>
46203
46204 * Makerules (native-compile): Do not change working directory for
46205 build. Use $(OUTPUT_OPTION) in command.
46206 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46207
94e02fc4
AZ
462082012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46209
46210 [BZ #13886]
46211 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46212 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46213 * math/libm-test.inc (floor_test): Add more tests.
46214 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46215
3a533ca3
JM
462162012-04-24 Joseph Myers <joseph@codesourcery.com>
46217
940ab4b3
JM
46218 * sysdeps/unix/getdents.c: Remove file.
46219 * sysdeps/unix/sysv/getdents.c: Likewise.
46220 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46221
90e037bd
JM
46222 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46223 sysdeps/unix/mman/syscalls.list.
46224 (mmap): Likewise.
46225 (mprotect): Likewise.
46226 (msync): Likewise.
46227 (munmap): Likewise.
46228 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46229 * sysdeps/unix/mman/syscalls.list: Remove.
46230 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46231
3a533ca3
JM
46232 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46233 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46234 * configure: Regenerated.
46235 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46236 $(libgcc_s_suffix).
46237 * config.make.in (libgcc_s_suffix): Remove variable.
46238
1ad743de
JM
462392012-04-23 Joseph Myers <joseph@codesourcery.com>
46240
4ad451e2
JM
46241 * sysdeps/unix/sysv/gethostname.c: Move to ...
46242 * sysdeps/posix/gethostname.c: ... here.
46243
5e37ce39
JM
46244 * sysdeps/unix/execve.S: Remove file.
46245
1ad743de
JM
46246 * sysdeps/unix/_exit.S: Remove file.
46247
4e681b5b
AJ
462482012-04-23 Andreas Jaeger <aj@suse.de>
46249
46250 [BZ #13739]
46251 * manual/Makefile: Remove make dist support, there's no
46252 need for a stand-alone documentation tar ball.
46253 (TEXI2DVI): Define always, it's not in Makeconfig.
46254 (dist): Removed.
46255 (tar-it): Removed.
46256 (edition): Removed.
46257 (glibc-doc-$(edition).tar): Removed
46258 (%.Z): Removed.
46259 (%.gz): Removed.
46260 (%.uu): Removed.
46261 (ETAGS): Remove, it's in Makeconfig.
46262 (move-if-change): Remove, it's in Makeconfig.
46263
38686a03 462642012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46265
46266 [BZ #13970]
46267 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46268 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46269 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46270 (strtod_l, strtof_l, strtold_l): Remove __wur.
46271 It is not necessarily an error to ignore strtol's return value.
46272 One can reliably look at the stored endptr to decide whether
46273 the number had valid syntax.
46274
7c0616fa
AJ
462752012-04-21 Andreas Jaeger <aj@suse.de>
46276
803cb6b7 46277 [BZ #13739]
7c0616fa
AJ
46278 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46279
b0fe253f
JM
462802012-04-21 Joseph Myers <joseph@codesourcery.com>
46281
46282 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46283 * sysdeps/unix/sysv/Versions: Remove file.
46284
8280f22d
MT
462852012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46286
46287 [BZ #13927]
46288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46289
75ce411f 462902012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46291
46292 [BZ #7064]
46293 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46294 version from __vm86.
46295
097d59fa
JM
462962012-04-20 Joseph Myers <joseph@codesourcery.com>
46297
a90f3bcb
JM
46298 * sysdeps/unix/common/lxstat.c: Remove file.
46299 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46300
edc7ea78
JM
46301 * sysdeps/unix/sysv/Makefile: Remove file.
46302
cb78c221
JM
46303 * sysdeps/unix/sysv/direct.h: Remove file.
46304
efa6a45f
JM
46305 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46306 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46307 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46308 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46309 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46310 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46311 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46312
9c9f2d0c
JM
46313 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46314
4541c83b
JM
46315 * sysdeps/unix/xmknod.c: Remove file.
46316 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46317
f5d153a0
JM
46318 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46319
aa746595
JM
46320 * sysdeps/unix/sysv/i386/time.S: Remove file.
46321
cce5905e
JM
46322 * sysdeps/unix/fxstat.c: Remove file.
46323 * sysdeps/unix/xstat.c: Likewise.
46324 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46325
37fa3841
JM
46326 * sysdeps/unix/sysv/sigaction.c: Remove file.
46327
ff1962a3
JM
46328 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46329 (sysdep_headers): Remove variable.
46330 [termio.h not in sysdep_headers] (generated): Likewise.
46331 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46332 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46333 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46334 * sysdeps/unix/sysv/tcflow.c: Likewise.
46335 * sysdeps/unix/sysv/tcflush.c: Likewise.
46336 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46337 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46338 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46339 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46340 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46341
e7740d31
JM
46342 * sysdeps/unix/siglist.c: Remove file.
46343
ee06f18b
JM
46344 * sysdeps/unix/getppid.S: Remove file.
46345
097d59fa
JM
46346 * sysdeps/unix/mkdir.c: Remove file.
46347 * sysdeps/unix/rmdir.c: Likewise.
46348
ff3d51ec
AS
463492012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46350
46351 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46352 ERR_MAX value.
46353 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46354 errlist-compat value.
46355
50f81fd7
DM
463562012-04-18 David S. Miller <davem@davemloft.net>
46357
46358 * sysdeps/generic/memcopy.h (reg_char): Delete.
46359 * debug/strcat_chk.c: Use char, not reg_char.
46360 * debug/strcpy_chk.c: Likewise.
46361 * debug/strncat_chk.c: Likewise.
46362 * debug/strncpy_chk.c: Likewise.
46363 * string/memchr.c: Likewise.
46364 * string/memrchr.c: Likewise.
46365 * string/rawmemchr.c: Likewise.
46366 * string/strcat.c: Likewise.
46367 * string/strchr.c: Likewise.
46368 * string/strchrnul.c: Likewise.
46369 * string/strcmp.c: Likewise.
46370 * string/strcpy.c: Likewise.
46371 * string/strncat.c: Likewise.
46372 * string/strncmp.c: Likewise.
46373 * string/strncpy.c: Likewise.
46374
8ff41c46
WS
463752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46376
46377 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46378 __builtin_memcopy is called when src and dest ranges are known to not
46379 overlap.
46380
6b652f46
WS
463812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46382
46383 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46384 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46385 fwd_align_merge macro call.
46386 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46387 bwd_align_merge macro call.
46388 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46389
b282631e
WS
463902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46391
46392 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46393 bwd_align_merge macros.
46394 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46395 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46396 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46397
95aa737c
DM
463982012-04-18 David S. Miller <davem@davemloft.net>
46399
46400 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46401
7a99a614
AJ
464022012-04-18 Andreas Jaeger <aj@suse.de>
46403
46404 [BZ# 6794]
46405 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46406 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46407 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46408
46409 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46410 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46411 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46412
46413 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46414 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46415 Adjust for changed ldbl-128 files.
46416
46417 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46418 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46419 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46420
e5270c23
DM
464212012-04-17 David S. Miller <davem@davemloft.net>
46422
46423 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46424
fb5e92c9
AS
464252012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46426
46427 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46428 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46429 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46430 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46431 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46432 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46433
76da7265
AZ
464342012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46435
46436 [BZ #6794]
46437 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46438 * math/libm-test.inc: Add ilogb errno and exception tests.
46439 * math/w_ilogb.c: New file: ilogb wrapper.
46440 * math/w_ilogbf.c: New file: ilogbf wrapper.
46441 * math/w_ilogbl.c: New file: ilogbl wrapper.
46442 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46443 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46444 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46445 exception being thrown with 0.0 as argument.
46446 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46447 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46448 exception being thrown with 0.0 as argument.
46449 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46450 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46451 exception being thrown with 0.0 as argument.
46452 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46453 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46454 exception being thrown with 0.0 as argument.
46455 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46456 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46457 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46458 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46459 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46460 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46461 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46462 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46463 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46464
0396e69d
PB
464652012-04-17 Petr Baudis <pasky@ucw.cz>
46466
46467 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46468 with altivec.
46469
750b5926
MP
464702012-04-16 Marek Polacek <polacek@redhat.com>
46471
46472 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46473
751728a1
MP
464742012-04-16 Marek Polacek <polacek@redhat.com>
46475
46476 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46477 operands of fdivp instruction.
46478
34a27407
L
464792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46480
46481 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46482 * elf/tst-auditmod3b.c: Likewise.
46483 * elf/tst-auditmod4b.c: Likewise.
46484 * elf/tst-auditmod5b.c: Likewise.
46485 * elf/tst-auditmod6b.c: Likewise.
46486 * elf/tst-auditmod6c.c: Likewise.
46487 * elf/tst-auditmod7b.c: Likewise.
46488 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46489 * sysdeps/x86_64/preconfigure.in: Likewise.
46490 * sysdeps/x86_64/preconfigure: Regenerated.
46491
7e73e17d
L
464922012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46493
46494 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46495 __ILP32__.
46496
c7a6ab72
AB
464972012-04-13 Antoine Balestrat <merkil33@gmail.com>
46498
46499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46500 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46501
a9e8e0e0
CL
465022012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46503
46504 [BZ #13973]
46505 * locale/iso-639.def: Fix gl language name. Spotted by
46506 Yaron Shahrabani.
46507
ec98af7d
RM
465082012-04-12 Roland McGrath <roland@hack.frob.com>
46509
46510 [BZ #2074]
46511 * libio/libio.h (__io_write_fn): Update comment.
46512
247c3ede
PB
465132012-04-12 Petr Baudis <pasky@ucw.cz>
46514
46515 [BZ #2074]
46516 * stdio.texi (Hook Functions): The user provided writer function
46517 is not allowed to return -1.
46518
55939d6d
DM
465192012-04-11 David S. Miller <davem@davemloft.net>
46520
46521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46522
90020f5a
MF
465232012-04-11 Mike Frysinger <vapier@gentoo.org>
46524
46525 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46526 Add a leading slash to rtkaio.
46527
288f9098
JM
465282012-04-11 Jim Meyering <meyering@redhat.com>
46529
90020f5a
MF
46530 [BZ #11959]
46531 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46532 It is not necessarily an error to ignore fwrite's return
46533 value. One can reliably use ferror to test for errors after
46534 the fact.
288f9098 46535
4be2b570
L
465362012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46537
46538 * bits/types.h (__snseconds_t): New type.
46539 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46540
46541 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46542 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46543 (__SNSECONDS_T_TYPE): Likewise.
46544 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46545 (__SNSECONDS_T_TYPE): Likewise.
46546 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46547 (__SNSECONDS_T_TYPE): Likewise.
46548
288f9098 465492012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
46550
46551 [BZ #2636]
46552 * manual/time.texi (Processor Time): Return type of times is
46553 elapsed real time since an arbitrary point in the past.
46554 (CPU Time): Move CLK_TCK from here...
46555 (Processor Time): ...to here. Correct description.
46556 * manual/conf.texi (Constants for Sysconf): Correct description of
46557 _SC_CLK_TCK.
46558
d7dd4413
DM
465592012-04-10 David S. Miller <davem@davemloft.net>
46560
46561 [BZ #13967]
46562 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46563 where the is a gap between DT_REL(A) and DT_JMPREL.
46564
b46068fc
L
465652012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46566
46567 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46568 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46569 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46570
73d65cc3
SP
465712012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46572
46573 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46574 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46575 (dl_main): Handle --inhibit-cache.
46576 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46577 _dl_inhibit_cache.
46578 * elf/dl-load.c (_dl_map_object): Use it.
46579 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46580
bcc8d661
JM
465812012-04-09 Joseph Myers <joseph@codesourcery.com>
46582
8f9a2fae
JM
46583 [BZ #13872]
46584 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46585 (__ieee754_powl): Saturate large exponents rather than testing for
46586 overflow of y*log2(x).
46587 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46588 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46589 exceptions.
46590
bcc8d661
JM
46591 [BZ #11521]
46592 * math/s_ctan.c: Include <float.h>.
46593 (__ctan): Avoid internal overflow or cancellation in calculating
46594 denominator.
46595 * math/s_ctanf.c: Likewise.
46596 * math/s_ctanl.c: Likewise.
46597 * math/s_ctanh.c: Likewise.
46598 * math/s_ctanhf.c: Likewise.
46599 * math/s_ctanhl.c: Likewise.
46600 * math/libm-test.inc (ctan_test): Add more tests.
46601 (ctanh_test): Likewise.
46602 * sysdeps/i386/fpu/libm-test-ulps: Update.
46603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46604
823fbbb4
AJ
466052012-04-09 Andreas Jaeger <aj@suse.de>
46606
03879793
AJ
46607 [BZ #6894]
46608 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46609 is an optional BSD extension.
46610
823fbbb4
AJ
46611 [BZ #10254]
46612 * manual/stdio.texi (Opening Streams): Document additional fopen
46613 parameters.
46614
8de131cb
RM
466152012-04-09 Roland McGrath <roland@hack.frob.com>
46616
46617 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46618 %eax without telling the compiler.
46619
c0ed9d7d
CD
466202012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46621
46622 [BZ # 13963]
46623 * manual/install.texi: Use sourceware.org.
46624
c483f6b4
JM
466252012-04-09 Joseph Myers <joseph@codesourcery.com>
46626
d7dd9453
JM
46627 [BZ #13873]
46628 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46629 (__ieee754_pow): Generate overflow and underflow using huge*huge
46630 and tiny*tiny rather than just returning constant infinity or zero
46631 for large exponents.
46632 * math/libm-test.inc (pow_test): Require overflow exceptions for
46633 applicable cases of large exponents.
46634
c483f6b4
JM
46635 [BZ #706]
46636 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46637 (__ieee754_pow): Use iterative multiplication algorithm only for
46638 integer exponents with absolute value below 1024. Check for odd
46639 integer exponents when using algorithm for real exponents.
46640 * math/libm-test.inc (pow_test): Add more tests.
46641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46642
d2de7579
JM
466432012-04-08 Joseph Myers <joseph@codesourcery.com>
46644
46645 [BZ #13705]
46646 * math/libm-test.inc (exp_test): Do not allow overflow exception
46647 on underflow test.
46648
f77f1232
AJ
466492012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46650
46651 [BZ #13705]
46652 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46653 instead of __kernel_standard_f.
46654
3884932b
MF
466552012-04-08 Mike Frysinger <vapier@gentoo.org>
46656
46657 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46658 * sysdeps/x86_64/memset_chk.S: Likewise.
46659
54472e9c
AJ
466602012-04-08 Andreas Jaeger <aj@suse.de>
46661
6ab0fbfc
AJ
46662 [BZ #10153]
46663 * manual/startup.texi (Environment Access): Describe return value
46664 for putenv and setenv.
46665
61efba8c
AJ
46666 [BZ #6895]
46667 * manual/filesys.texi (Directory Entries): Add description for
46668 DT_LNK.
46669
95c3f29a
AJ
46670 [BZ #6890]
46671 * manual/filesys.texi (Directory Entries): Clarify that it's file
46672 system not operating system in the description of DT_UNKNOWN.
46673
54472e9c
AJ
46674 [BZ #6578]
46675 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46676
624254b1
SC
466772012-04-08 Stephen Compall <s11@member.fsf.org>
46678
46679 [BZ #6649]
46680 * manual/llio.texi (Opening and Closing Files): Add cross
46681 reference to explain mode argument.
46682
1e4920e0
MF
466832012-04-07 Mike Frysinger <vapier@gentoo.org>
46684
46685 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46686 * sysdeps/x86_64/memset_chk.S: Likewise.
46687
5ed848f3
DM
466882012-04-07 David S. Miller <davem@davemloft.net>
46689
46690 * elf/elf.h (R_SPARC_WDISP10): Define.
46691 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46692 R_SPARC_SIZE32.
46693 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46694 R_SPARC_SIZE64 and R_SPARC_H34.
46695
96154cd8
CD
466962012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46697
46698 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46699 conditions and remove no longer applicable assertion.
46700
9904dc47
L
467012012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46702
46703 * bits/byteswap.h: Include <features.h>.
46704 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46705 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46706
f8887d0a
L
467072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46708
46709 * bits/byteswap.h (__bswap_16): Removed.
46710 Include <bits/byteswap-16.h> to get __bswap_16.
46711 * sysdeps/i386/bits/byteswap.h: Likewise.
46712 * sysdeps/s390/bits/byteswap.h: Likewise.
46713 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46714 * bits/byteswap-16.h: New file.
46715 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46716 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46717 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46718 * string/Makefile (headers): Add bits/byteswap-16.h.
46719
62470f60
PP
467202012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46721
46722 [BZ #13895]
46723 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46724 extra indirection.
46725 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46726 * nss/tst-nss-static.c: New.
46727
4dad7bab
RM
467282012-04-06 Robert Millan <rmh@gnu.org>
46729
46730 [BZ #6486]
46731 * manual/llio.texi (File Position Primitive): lseek
46732 refers to WHENCE when it really means OFFSET.
46733
e9142a17
AJ
467342012-04-06 Andreas Jaeger <aj@suse.de>
46735
2c040eff
AJ
46736 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46737 strncmp declarations.
46738
e9142a17
AJ
46739 * abilist/libc.abilist: Add __poll and __ppoll.
46740
ff9f1c5f
DM
467412012-04-05 David S. Miller <davem@davemloft.net>
46742
dcd2ae90
DM
46743 * scripts/check-local-headers.sh: Accept a host triplet in the
46744 path matched by the exclude regexp.
46745
993eb054
DM
46746 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46747 definition.
46748 * sysdeps/powerpc/powerpc32/dl-machine.h
46749 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46750 * sysdeps/s390/s390-32/dl-machine.h
46751 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46752 * sysdeps/sparc/sparc32/dl-machine.h
46753 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46754 * sysdeps/sparc/sparc64/dl-machine.h
46755 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46756
ff9f1c5f
DM
46757 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46758 lazy binding.
48e2e132 46759 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46760 undefined symbol errors.
46761
48e2e132 46762 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46763 DT_NEEDED entries.
46764
e80d6f94
MM
467652012-04-05 Michael Matz <matz@suse.de>
46766
46767 [BZ #13592]
46768 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46769
349fa79f
AJ
467702012-04-05 Andreas Jaeger <aj@suse.de>
46771
46772 [BZ #13908]
46773 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46774 comment.
46775
f402708f
KK
467762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46777
46778 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46779 which ROUND is no valid rounding mode.
46780
2ecccfc9
KK
467812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46782
46783 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46784 read again.
46785 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46786
8a53f50f
KK
467872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46788
46789 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46790 an exception using FPU order intentionally.
46791
467922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46793
46794 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46795 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46796 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46797 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46798
d653abb7
SJ
467992012-04-05 Simon Josefsson <simon@josefsson.org>
46800
46801 [BZ #12340]
46802 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46803 EINVAL when BUFLEN is too smal.
46804
c3b1bf7d
TS
468052012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46806
46807 [BZ #13553]
46808 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46809 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46810
b1aa60f3
AJ
468112012-04-03 Andreas Jaeger <aj@suse.de>
46812
c3b1bf7d 46813 [BZ #13938]
67f60a26
AJ
46814 * manual/setjmp.texi (System V contexts): Fix sentence.
46815
b1aa60f3
AJ
46816 [BZ #13926]
46817 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46818 New macro for this case.
46819 [!__GNUC__] (__bswap_64): New inline function for this case.
46820 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46821 * bits/byteswap.h: Likewise.
46822 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46823 ull, guard with __GLIBC_HAVE_LONG_LONG.
46824
46825 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46826 __GLIBC_HAVE_LONG_LONG.
46827
46828 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46829 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46830
39c59c35
TMQMF
468312012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46832
46833 [BZ #13691]
46834 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46835 inptr and inend, rather than using last_ch.
46836
135ffda8
DM
468372012-04-02 David S. Miller <davem@davemloft.net>
46838
46839 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46840 * stdio-common/printf-parse.h (read_int): Change return type to
46841 'int', return -1 on INT_MAX overflow.
46842 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46843 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46844 overflows INT_MAX. Check for overflow of in-format-string precision
46845 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46846 SIZE_MAX not INT_MAX for integer overflow test.
46847 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46848 skip the construct in the format string but do not record anything.
46849 * stdio-common/bug22.c: Adjust to test both width/prevision
46850 INT_MAX overflow as well as total length INT_MAX overflow. Check
46851 explicitly for proper errno values.
46852
228c019e
TS
468532012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46854
302cadd3
TS
46855 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46856 CHAR_MAX.
46857 * string/test-strcmp.c [! WIDE]: Likewise.
46858 * time/tst-mktime2.c: Likewise for INT_MAX.
46859 * string/test-string.h: #include <sys/param.h> for MIN.
46860
228c019e
TS
46861 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46862 * sysdeps/i386/init-first.c (init): Likewise.
46863 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46864 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46865 * sysdeps/sh/init-first.c (init): Likewise.
46866
cfa633f5
UD
468672012-04-01 Ulrich Drepper <drepper@gmail.com>
46868
46869 * po/ru.po: Update from translation team.
d1635ef8 46870 * po/vi.po: Likewise.
cfa633f5 46871
6cd0a5ea
SP
468722012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46873
46874 * resolv/nss_dns/dns-host.c: Merge copyright years.
46875
4b43400f
LD
468762012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46877
46878 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46879 Optimize memcpy with prefetch if
46880 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46881 src, dst pointers have unequal 16 byte alignments.
46882
48c41d04
SP
468832012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46884
46885 [BZ #13928]
46886 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46887 from a CNAME entry and return the minimum ttl for the query.
46888 (gaih_getanswer_slice): Likewise.
46889
b8dc394d
JL
468902012-03-30 Jeff Law <law@redhat.com>
46891
46892 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46893 due to long keys.
46894 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46895 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46896
2f5a5ed0
JL
46897 * resolv/nss_dns/dns-host.c: Update copyright year.
46898
1d39e359
UD
468992012-03-30 Ulrich Drepper <drepper@gmail.com>
46900
c030f70c 46901 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46902 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46903
1d39e359
UD
46904 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46905 comments for sendmmsg.
46906
469072012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46908
46909 [BZ #13691]
46910 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46911 with only 1 character between 0x0041 and 0x01b0.
46912 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46913 * wcsmbs/tst-mbsnrtowcs.c: New file.
46914
20fde227
DM
469152012-03-29 David S. Miller <davem@davemloft.net>
46916
46917 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46918 small copies by hand.
46919
984a4237
JL
469202012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46921
46922 [BZ #13761]
57f41c40
AS
46923 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46924 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46925 group memberships.
984a4237 46926
18c9d62b
DM
469272012-03-28 David S. Miller <davem@davemloft.net>
46928
88d85d4f
DM
46929 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46930 that branches into memcpy.
46931 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46932 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46933 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46934 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46936 bits.
46937 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46938 implementation too.
46939 * sysdeps/sparc/mempcpy.S: New file.
46940
e5aa83e1
DM
46941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46942 the IFUNC routine in the libc case.
46943 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46944
88570753
DM
46945 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46946 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46947 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46948 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46949 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46950 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46951 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46952 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46953
249d7567
DM
46954 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46955 loop to 256 bytes instead of 64 bytes and fix test signedness.
46956
18c9d62b
DM
46957 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46958 * sysdeps/sparc/sparc32/Makefile: rather than here...
46959 * sysdeps/sparc/sparc64/Makefile: and here.
46960
05f3d1f6
UD
469612012-03-28 Ulrich Drepper <drepper@gmail.com>
46962
46963 * malloc/mallocbug.c: Avoid warnings about unused variables.
46964
86ae07a8
JL
469652012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46966
46967 [BZ #13760]
46968 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46969 in the right place. Discard and retry query if response is
46970 larger than input buffer size.
46971
41bf21a1
JM
469722012-03-28 Joseph Myers <joseph@codesourcery.com>
46973
d6270972
JM
46974 [BZ #369]
46975 [BZ #2678]
46976 [BZ #3866]
46977 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46978 x for large integer exponent.
46979 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46980 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46981 sign of result as needed afterwards.
46982 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46983 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46984 result for underflowing pow the same as for overflow.
46985 (__kernel_standard_l): Handle powl overflow and underflow here
46986 rather than calling __kernel_standard.
46987 * math/libm-test.inc (pow_test): Add more tests.
46988
414fca03 46989 [BZ #3868]
41bf21a1
JM
46990 [BZ #13879]
46991 [BZ #13910]
46992 [BZ #13911]
46993 [BZ #13912]
46994 [BZ #13913]
46995 [BZ #13915]
46996 [BZ #13916]
46997 [BZ #13917]
46998 [BZ #13918]
46999 [BZ #13919]
47000 [BZ #13920]
47001 [BZ #13921]
47002 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47003 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47004 (__kernel_standard_l): New function.
47005 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47006 __kernel_standard.
47007 * math/w_acosl.c (__acosl): Likewise.
47008 * math/w_asinl.c (__asinl): Likewise.
47009 * math/w_atan2l.c (__atan2l): Likewise.
47010 * math/w_atanhl.c (__atanhl): Likewise.
47011 * math/w_coshl.c (__coshl): Likewise.
47012 * math/w_exp10l.c (__exp10l): Likewise.
47013 * math/w_exp2l.c (__exp2l): Likewise.
47014 * math/w_fmodl.c (__fmodl): Likewise.
47015 * math/w_hypotl.c (__hypotl): Likewise.
47016 * math/w_j0l.c (__j0l, __y0l): Likewise.
47017 * math/w_j1l.c (__j1l, __y1l): Likewise.
47018 * math/w_jnl.c (__jnl, __ynl): Likewise.
47019 * math/w_lgammal.c (__lgammal): Likewise.
47020 * math/w_log10l.c (__log10l): Likewise.
47021 * math/w_log2l.c (__log2l): Likewise.
47022 * math/w_logl.c (__logl): Likewise.
47023 * math/w_powl.c (__powl): Likewise.
47024 * math/w_remainderl.c (__remainderl): Likewise.
47025 * math/w_scalbl.c (sysv_scalbl): Likewise.
47026 * math/w_sinhl.c (__sinhl): Likewise.
47027 * math/w_sqrtl.c (__sqrtl): Likewise.
47028 * math/w_tgammal.c (__tgammal): Likewise.
47029 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47030 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47031 * math/libm-test.inc (acos_test): Add more tests.
47032 (acosh_test): Likewise.
47033 (asin_test): Likewise.
47034 (atanh_test): Likewise.
47035 (exp_test): Likewise.
47036 (exp10_test): Likewise.
47037 (exp2_test): Likewise.
47038 (expm1_test): Likewise.
47039 (lgamma_test): Likewise.
47040 (log_test): Likewise.
47041 (log10_test): Likewise.
47042 (log1p_test): Likewise.
47043 (log2_test): Likewise.
47044 (pow_test): Do not allow some spurious overflow exceptions.
47045 (sqrt_test): Add more tests.
47046 (tgamma_test): Likewise.
47047 (y0_test): Likewise.
47048 (y1_test): Likewise.
47049 (yn_test): Likewise.
47050
dd62fda6
AB
470512012-03-27 Anton Blanchard <anton@samba.org>
47052
47053 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47054 MAP_HUGETLB.
47055 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47056 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47057 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47058
1e3cdfda
AJ
470592012-03-27 David S. Miller <davem@davemloft.net>
47060
b855ab85
DM
47061 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47062
1e3cdfda
AJ
47063 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47064 have-as-vis3 check.
47065
470662012-03-27 Andreas Jaeger <aj@suse.de>
47067
47068 * sysdeps/x86_64/elf/configure.in: Moved to ...
47069 * sysdeps/x86_64/configure.in: ... here.
47070 * sysdeps/x86_64/elf/start.S: Moved to ...
47071 * sysdeps/x86_64/start.S: ... here.
47072 * sysdeps/x86_64/elf/configure: Delete.
47073
47074 * sysdeps/x86_64/configure.in: Merge contents from
47075 sysdeps/i386/configure.in (without i686 check).
47076
47077 * sysdeps/i386/elf/Versions: Merge into ...
47078 * sysdeps/i386/Versions: ... this.
47079 * sysdeps/i386/elf/Versions: Delete file.
47080 * sysdeps/i386/elf/start.S: Moved to ...
47081 * sysdeps/i386/start.S: ...here.
47082 * sysdeps/i386/elf/configure.in: Merge into...
47083 * sysdeps/i386/configure.in: ...here.
47084 * sysdeps/i386/elf/configure.in: Delete file.
47085 * sysdeps/i386/elf/configure: Delete file.
47086
47087 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47088 * debug/backtracesyms.c: ... here.
47089 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47090 * debug/backtracesymsfd.c: ... here.
47091 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47092 * sysdeps/generic/ifunc-sel.h: ... here.
47093
47094 * sysdeps/unix/i386/start.c: Delete file.
47095 * sysdeps/unix/sparc/start.c: Delete file.
47096 * sysdeps/unix/start.c: Delete file.
47097
47098 * sysdeps/sh/elf/configure.in: Moved to ...
47099 * sysdeps/sh/configure.in: ... here.
47100 * sysdeps/sh/elf/start.S: Moved to ...
47101 * sysdeps/sh/start.S: ... here.
47102 * sysdeps/sh/elf/configure: Delete file.
47103
47104 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47105 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47106 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47107 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47108 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47109 * sysdeps/powerpc/powerpc64/start.S: here.
47110 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47111 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47112 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47113 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47114 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47115
47116 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47117 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47118 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47119 * sysdeps/powerpc/powerpc32/start.S: ... here.
47120 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47121 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47122 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47123
47124 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47125 * sysdeps/powerpc/ifunc-sel.h: ... here.
47126 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47127 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47128
47129 * sysdeps/sparc/elf/configure.in: Moved to ...
47130 * sysdeps/sparc/configure.in: ... here.
47131 * sysdeps/sparc/elf/configure: Delete file.
47132 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47133 * sysdeps/sparc/sparc32/start.S: ... here.
47134 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47135 * sysdeps/sparc/sparc64/start.S: ... here.
47136 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47137 * sysdeps/sparc/sparc32/Makefile: ... this.
47138 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47139 * sysdeps/sparc/sparc64/Makefile: ... this.
47140
47141 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47142 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47143 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47144 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47145 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47146 * sysdeps/s390/s390-32/setjmp.S: ... here.
47147 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47148 * sysdeps/s390/s390-32/configure.in: ... here.
47149 * sysdeps/s390/s390-32/elf/configure: Delete file.
47150 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47151 * sysdeps/s390/s390-32/start.S: ... here.
47152
47153 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47154 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47155 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47156 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47157 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47158 * sysdeps/s390/s390-64/setjmp.S: ... here.
47159 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47160 * sysdeps/s390/s390-64/configure.in: ... here
47161 * sysdeps/s390/s390-64/elf/configure: Delete file.
47162 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47163 * sysdeps/s390/s390-64/start.S: ... here.
47164 * sysdeps/s390/s390-64/elf/configure: Delete.
47165
47166 * configure.in: Remove support for elf directories in sysdeps.
47167
47168 * configure: Regenerated.
47169 * sysdeps/i386/configure: Regenerated.
47170 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47171 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47172 * sysdeps/s390/s390-32/configure: Regenerated.
47173 * sysdeps/s390/s390-64/configure: Regenerated.
47174 * sysdeps/sh/configure: Regenerated.
47175 * sysdeps/sparc/configure: Regenerated.
47176 * sysdeps/x86_64/configure: Regenerated.
47177
a3f61311
AS
471782012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47179
c876e002
AS
47180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47181
a3f61311
AS
47182 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47183 denormal result into account.
47184
ac4c54f0
RM
471852012-03-25 Roland McGrath <roland@hack.frob.com>
47186
47187 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47188 Reported by Allan McRae <allan@archlinux.org>.
47189
6a9b9c02
JL
471902012-03-23 Jeff Law <law@redhat.com>
47191
47192 * nss/getnssent.c (__nss_getent): Fix typo.
47193
4c42a0c1
DM
471942012-03-23 David S. Miller <davem@davemloft.net>
47195
47196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47197
1532c7ac
L
471982012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47199
47200 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47201 to pad to uint64_t for each field.
47202 (dl_tls_index): Replace unsigned long with uint64_t.
47203
3ff42526
PP
472042012-03-23 Daniel Jacobowitz <dmj@google.com>
47205 Paul Pluzhnikov <ppluzhnikov@google.com>
47206
47207 [BZ #6528]
47208 * grp/Makefile (otherlibs): Don't set it.
47209 * inet/Makefile (otherlibs): Likewise.
47210 * login/Makefile (otherlibs): Likewise.
47211 * nscd/Makefile (otherlibs): Likewise.
47212 * posix/Makefile (otherlibs): Likewise.
47213 * pwd/Makefile (otherlibs): Likewise.
47214 * rt/Makefile (otherlibs): Likewise.
47215 * sunrpc/Makefile (otherlibs): Likewise.
47216 * nss/Makefile (otherlibs): Likewise.
47217 Add libnss_files to routines and static-only-routines.
47218 ($(objpfx)getent): Remove rule.
47219 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47220 static-only-routines.
47221
7c69cd14
JM
472222012-03-22 Joseph Myers <joseph@codesourcery.com>
47223
47224 [BZ #13892]
47225 * math/s_cexp.c: Include <float.h>.
47226 (__cexp): Handle exp result overflowing not necessarily
47227 overflowing both real and imaginary parts of result.
47228 * math/s_cexpf.c: Likewise.
47229 * math/s_cexpl.c: Likewise.
47230 * math/libm-test.inc (cexp_test): Add more tests.
47231 * sysdeps/i386/fpu/libm-test-ulps: Update.
47232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47233
81b035fe
L
472342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47235
47236 * include/link.h (ELFW): New macro.
47237 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47238 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47239
1da7940c
L
472402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47241
47242 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47243 with uint64_t.
47244
b749dbb9
L
472452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47246
47247 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47248 declaration.
47249 (struct La_x32_retval): Likewise.
47250
2ff87f3f
L
472512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47252
47253 * sysdeps/x86_64/preconfigure.in: New file.
47254 * sysdeps/x86_64/preconfigure: New generated file.
47255
c0df8e69
JM
472562012-03-22 Joseph Myers <joseph@codesourcery.com>
47257
48e44791
JM
47258 [BZ #13824]
47259 * math/e_exp2l.c: Include <float.h>.
47260 (__ieee754_exp2l): Handle overflow and underflow cases
47261 separately. Only pass fractional part of argument to
47262 __ieee754_expl.
47263 * math/libm-test.inc (exp2_test): Add more tests.
47264
c0df8e69
JM
47265 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47266 negating x to take absolute value.
47267 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47268 Likewise.
47269 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47270 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47271 Likewise.
47272 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47273 computing low part if x was negated.
47274 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47275
c8e43ba7
L
472762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47277
47278 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47279 la_x32_gnu_pltexit.
47280 (pltexit): Cast int_retval to ptrdiff_t.
47281 * elf/tst-auditmod3b.c: Likewise.
47282 * elf/tst-auditmod4b.c: Likewise.
47283 * elf/tst-auditmod5b.c: Likewise.
47284 * elf/tst-auditmod6b.c: Likewise.
47285 * elf/tst-auditmod6c.c: Likewise.
47286 * elf/tst-auditmod7b.c: Likewise.
47287
47288 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47289 and x32_gnu_pltexit.
47290
47291 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47292 __ELF_NATIVE_CLASS.
47293 (La_x32_regs): New macro.
47294 (La_x32_retval): Likewise.
47295 (la_x32_gnu_pltenter): New function prototype.
47296 (la_x32_gnu_pltexit): Likewise.
47297
7998fa78
AS
472982012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47299
dcb33988
AS
47300 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47301 exponent.
47302
233fc563
AS
47303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47304
7998fa78
AS
47305 * configure.in (libc_cv_cc_nofma): Check for option to disable
47306 generation of FMA instructions.
47307 * configure: Regenerate.
47308 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47309 * sysdeps/ieee754/dbl-64/Makefile: New file.
47310 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47311 Remove brandred-fma4.
47312 (CFLAGS-brandred-fma4.c): Remove.
47313 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47314 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47315 define.
47316 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47317 define.
47318
8e95c99a
L
473192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47320
47321 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47322 LLONG_MAX != LONG_MAX.
47323 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47324 (_fitoa_word): Likewise.
47325 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47326 LLONG_MAX != LONG_MAX.
47327 * stdio-common/_itowa.h: Include <_itoa.h>.
47328 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47329 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47330 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47331 only if not defined.
47332 (_ITOA_WORD_TYPE): Likewise.
47333 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47334 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47335
6f4db457
DM
473362012-03-21 David S. Miller <davem@davemloft.net>
47337
47338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47339
7785fe5a
L
473402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47341
47342 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47343 of x86_64 when setting libc_cv_slibdir, libdir and
47344 libc_cv_localedir.
47345 * sysdeps/unix/sysv/linux/configure: Regenerated.
47346
4535cd55
JM
473472012-03-21 Joseph Myers <joseph@codesourcery.com>
47348
47349 * manual/lang.texi (Old Varargs): Remove section.
47350 (How Variadic): Update menu.
47351 (va_start): Do not mention varargs.h.
47352
17228132
TS
473532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47354 Joseph Myers <joseph@codesourcery.com>
47355
47356 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47357 link test.
47358 * configure: Regenerated.
47359
8149f976
TS
473602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47361
05f3d1f6
UD
47362 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47363 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47364 conformtest.pl
8149f976 47365
1a4ac776
JM
473662012-03-21 Joseph Myers <joseph@codesourcery.com>
47367
be22ce65
JM
47368 * NOTES: Remove.
47369 * Makefile (files-for-dist): Remove NOTES.
47370 (NOTES): Remove rule.
47371 * README: Don't refer to NOTES.
47372 * manual/creature.texi: Don't include macros.texi.
47373 * manual/intro.texi (creature.texi): Remove comment referring to
47374 NOTES.
47375
40b601fb
JM
47376 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47377 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47378 * configure: Regenerated.
47379 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47380 LIBC_TRY_CC_OPTION.
47381 (libc_cv_as_i686): Likewise.
47382 (libc_cv_cc_avx): Likewise.
47383 (libc_cv_cc_sse2avx): Likewise.
47384 (libc_cv_cc_fma4): Likewise.
47385 (libc_cv_cc_novzeroupper): Likewise.
47386 * sysdeps/i386/configure: Regenerated.
47387
1a4ac776
JM
47388 [BZ #13883]
47389 * sysdeps/i386/fpu/s_cexp.S: Remove.
47390 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47391 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47392 * math/libm-test.inc (cexp_test): Add more tests.
47393 * sysdeps/i386/fpu/libm-test-ulps: Update.
47394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47395
a458e7fe
AM
473962012-03-21 Allan McRae <allan@archlinux.org>
47397
47398 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47399
0cb7efc5
JM
474002012-03-21 Joseph Myers <joseph@codesourcery.com>
47401
47402 [BZ #13871]
47403 * math/w_exp2.c: Do not include <float.h>.
47404 (o_threshold, u_threshold): Remove.
47405 (__exp2): Calculate result before checking finiteness and calling
47406 __kernel_standard.
47407 * math/w_exp2f.c: Likewise.
47408 * math/w_exp2l.c: Likewise.
47409 * math/libm-test.inc (exp2_test): Require overflow exception for
47410 1e6 input.
2460d3aa
JM
47411
47412 [BZ #3866]
47413 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47414 range of signed 64-bit integers before using fistpll. Remove
47415 checks for whether integers fit in mantissa bits.
47416 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47417 the range of signed 32-bit integers before using fistpl. Remove
47418 checks for whether integers fit in mantissa bits.
47419 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47420 (__ieee754_powl): Test for y outside the range of signed 64-bit
47421 integers before using fistpll. Reduce 64-bit values to 63-bit
47422 ones as needed.
47423 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47424 divide-by-zero is raised for zero to large negative powers.
47425 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47426 (__ieee754_powl): Test for y outside the range of signed 64-bit
47427 integers before using fistpll. Reduce 64-bit values to 63-bit
47428 ones as needed.
47429 * math/libm-test.inc (pow_test): Add more tests.
47430
eb96ffb0
L
474312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47432
47433 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47434 <stdio-common/_itoa.h>.
47435 * debug/segfault.c: Likewise.
47436 * elf/dl-cache.c: Likewise.
47437 * elf/dl-minimal.c: Likewise.
47438 * elf/dl-misc.c: Likewise.
47439 * elf/dl-sysdep.c: Likewise.
47440 * elf/dl-version.c: Likewise.
47441 * elf/rtld.c: Likewise.
47442 * hurd/hurdsock.c: Likewise.
47443 * hurd/lookup-retry.c: Likewise.
47444 * malloc/malloc.c: Likewise.
47445 * malloc/mtrace.c: Likewise.
47446 * nscd/nscd_getgr_r.c: Likewise.
47447 * nscd/nscd_getpw_r.c: Likewise.
47448 * nscd/nscd_getserv_r.c: Likewise.
47449 * posix/getopt_init.c: Likewise.
47450 * posix/wordexp.c: Likewise.
47451 * stdio-common/_itoa.c: Likewise.
47452 * stdio-common/printf_fphex.c: Likewise.
47453 * stdio-common/vfprintf.c: Likewise.
47454 * string/_strerror.c: Likewise.
47455 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47456 * sysdeps/i386/i686/hp-timing.h: Likewise.
47457 * sysdeps/mach/_strerror.c: Likewise.
47458 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47459 * sysdeps/mach/hurd/sethostid.c: Likewise.
47460 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47461 * sysdeps/mach/xpg-strerror.c: Likewise.
47462 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47463 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47464 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47465 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47466 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47467 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47468 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47469 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47470 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47471 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47472 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47473 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47474 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47475 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47476 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47477 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47478 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47479 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47480 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47481 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47482 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47483
47484 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47485
47486 * stdio-common/_itoa.h: Moved to ...
47487 * sysdeps/generic/_itoa.h: Here.
47488
47489 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47490
47491 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47492 instead of "_itoa.h" and "_itowa.h".
47493 * stdio-common/vfprintf.: Likewise.
47494
d1af992d
L
474952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47496
47497 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47498 <bits/wordsize.h>.
47499 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47500 (__signbit): Likwise.
47501 (llrintf): Likwise.
47502 (llrint): Likwise.
47503
114883e0
L
475042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47505
47506 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47507 __WORDSIZE != 64.
47508
c135cc1b
JM
475092012-03-20 Joseph Myers <joseph@codesourcery.com>
47510
47511 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47512 OVERFLOW_EXCEPTION_OK.
47513 * math/libm-test.inc ("Philosophy"): Update comment about
47514 exception testing.
47515 (OVERFLOW_EXCEPTION): Define.
47516 (OVERFLOW_EXCEPTION_OK): Likewise.
47517 (INVALID_EXCEPTION_OK): Renumber.
47518 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47519 (IGNORE_ZERO_INF_SIGN): Likewise.
47520 (test_exceptions): Handle FE_OVERFLOW.
47521 (exp10_test): Expect overflow exceptions.
47522 (exp2_test): Likewise.
47523 (expm1_test): Likewise.
47524 (nextafter_test): Likewise.
47525 (pow_test): Likewise.
47526 (scalbn_test): Likewise.
47527 (scalbln_test): Likewise.
47528
95443d88
L
475292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47530
47531 * sysdeps/x86_64/bits/atomic.h
47532 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47533 64bit integer.
47534 (atomic_exchange_acq): Likewise.
47535 (__arch_exchange_and_add_body): Likewise.
47536 (__arch_add_body): Likewise.
47537 (atomic_add_negative): Likewise.
47538 (atomic_add_zero): Likewise.
47539
490df6c4
L
475402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47541
c2722551 47542 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
47543 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47544
5e52b189
L
475452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47546
47547 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47548 Check __x86_64__ instead of __WORDSIZE.
47549
a9879d4c
L
475502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47551
47552 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47553
5df98260
DM
475542012-03-19 David S. Miller <davem@davemloft.net>
47555
e1497744
DM
47556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47557
5df98260
DM
47558 * sysdeps/sparc/fpu/fenv_private.h: New file.
47559 * sysdeps/sparc/fpu/math_private.h: Use it.
47560 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47561 Remove.
57f41c40 47562 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47563 (libc_feholdexcept_setroundl): Remove.
47564 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47565 Remove.
47566 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47567 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47568
b4c35121
L
475692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47570
47571 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47572 int64_t instead of long int.
47573 (INSERT_WORDS64): Likwise.
47574
56965fd7
L
475752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47576
47577 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47578 _Unwind_GetCFA return to _Unwind_Ptr first.
47579
83d1aec8
JM
475802012-03-19 Joseph Myers <joseph@codesourcery.com>
47581
1897ad44
JM
47582 [BZ #13629]
47583 * math/s_clog.c: Include <float.h>.
47584 (__clog): Scale large or subnormal inputs.
47585 * math/s_clogf.c: Likewise.
47586 * math/s_clogl.c: Likewise.
47587 * math/s_clog10.c: Include <float.h>.
47588 (M_LOG10_2): Define.
47589 (__clog10): Scale large or subnormal inputs.
47590 * math/s_clog10f.c: Likewise.
47591 * math/s_clog10l.c: Likewise.
47592 * math/libm-test.inc (clog_test): Add more tests.
47593 (clog10_test): Likewise.
47594 * sysdeps/i386/fpu/libm-test-ulps: Update.
47595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47596
7726d6a9
JM
47597 [BZ #11451]
47598 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47599 x and y.
47600 * math/libm-test.inc (atan2_test): Add another test.
47601
83d1aec8
JM
47602 * Makerules (common-objdir-compile): Remove.
47603 * sysdeps/unix/Makefile (config-generated): Do not add
47604 $(unix-generated) to variable.
47605 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47606 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47607 Remove rule.
47608 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47609 Likewise.
47610 [generic bits/local_lim.h] (before-compile): Do not append to
47611 variable.
47612 [generic bits/local_lim.h] (common-generated): Likewise.
47613 [generic sys/param.h] (before-compile): Do not append to variable.
47614 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47615 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47616 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47617 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47618 include.
47619 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47620 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47621 [generic sys/param.h] ($(addprefix
47622 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47623 [generic sys/param.h] (common-generated): Do not append to
47624 variable.
47625 [generic sys/param.h] (sysdep_headers): Likewise.
47626 [generic bits/errno.h] (before-compile): Do not append to
47627 variable.
47628 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47629 rule.
47630 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47631 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47632 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47633 [generic bits/errno.h] (common-generated): Do not append to
47634 variable.
47635 [generic bits/ioctls.h] (before-compile): Do not append to
47636 variable.
47637 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47638 rule.
47639 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47640 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47641 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47642 rule.
47643 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47644 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47645 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47646 [generic bits/ioctls.h] (common-generated): Do not append to
47647 variable.
47648 [generic sys/syscall.h] (syscall.h): Remove variable.
47649 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47650 rule.
47651 [generic sys/syscall.h] (before-compile): Do not append to
47652 variable.
47653 [generic sys/syscall.h] (common-generated): Likewise.
47654 * sysdeps/unix/errnos-tmpl.c: Remove file.
47655 * sysdeps/unix/errnos.awk: Likewise.
47656 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47657 * sysdeps/unix/ioctls.awk: Likewise.
47658 * sysdeps/unix/mk-local_lim.c: Likewise.
47659 * sysdeps/unix/snarf-ioctls: Likewise.
47660
4851a949
RH
476612012-03-19 Richard Henderson <rth@twiddle.net>
47662
bd37f2ee
RH
47663 * sysdeps/i386/fpu/fenv_private.h: New file.
47664 * sysdeps/i386/fpu/math_private.h: Use it.
47665 (math_opt_barrier, math_force_eval): Remove.
47666 (libc_feholdexcept_setround_53bit): Remove.
47667 (libc_feupdateenv_53bit): Remove.
47668 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47669 (math_opt_barrier, math_force_eval): Remove.
47670 (libc_feholdexcept): Remove.
47671 (libc_feholdexcept_setround): Remove.
47672 (libc_fetestexcept, libc_fesetenv): Remove.
47673 (libc_feupdateenv_test): Remove.
47674 (libc_feupdateenv, libc_feholdsetround): Remove.
47675 (libc_feresetround): Remove.
47676
d0adc922
RH
47677 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47678 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47679
0fe0f1f8
RH
47680 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47681 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47682 (libc_feupdateenv_testl): New.
47683 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47684 (libc_feupdateenv_testf): New.
47685 (libc_feupdateenv): Use libc_feupdateenv_test.
47686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47687 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47688
eb92c487
RH
47689 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47690 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47691 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47692 (libc_feresetround_noex): New.
47693 (libc_feresetround_noexf): New.
47694 (libc_feresetround_noexl): New.
47695 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47696 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47697 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47698 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47699 SET_RESTORE_ROUND.
47700 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47701 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47702 (__cos): Likewise.
47703 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47704 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47705 SET_RESTORE_ROUND_NOEX.
47706 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47707 SET_RESTORE_ROUND_NOEXF.
47708 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47709 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47710 (libc_feholdsetroundf): New.
47711 (libc_feresetround, libc_feresetroundf): New.
47712
7d2e8012
RH
47713 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47714 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47715 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47716
b4dabbb4
RH
47717 * sysdeps/generic/math_private.h: Include <fenv.h>.
47718 (default_libc_feholdexcept): New.
47719 (default_libc_feholdexcept_setround): New.
47720 (default_libc_fesetenv, default_libc_feupdateenv): New.
47721 (libc_feholdexcept): Only define if undefined.
47722 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47723 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47724 (libc_feholdexcept_setroundl): Likewise.
47725 (libc_feholdexcept_setround_53bit): Likewise.
47726 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47727 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47728 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47729 (libc_feupdateenv_53bit): Likewise.
47730 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47731 (libc_feholdexcept): Convert from macro to inline function.
47732 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47733 (libc_fesetenv, libc_feupdateenv): Likewise.
47734
4851a949
RH
47735 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47736 not previously defined.
47737 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47738 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47739 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47740 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47741 * sysdeps/ieee754/flt-32/math_private.h: New file.
47742 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47743 math_private.h below SET_FLOAT_WORD.
47744 (__isnan, __isinf_ns, __finite): Remove.
47745 (__isnanf, __isinf_nsf, __finitef): Remove.
47746
e79d442e
AS
477472012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47748
47749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47750
90b80344
DM
477512012-03-17 David S. Miller <davem@davemloft.net>
47752
47753 [BZ #6471]
47754 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47755 for 2.16.
47756
edc21804
DM
477572012-03-16 David S. Miller <davem@davemloft.net>
47758
77e927af
DM
47759 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47760 warnings.
47761
374976dd
DM
47762 [BZ #6471]
47763 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47764 properly.
47765 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47766 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47767 sysdep_routines when subdir is sysvipc.
47768 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47769 __getshmlba helper.
47770
edc21804
DM
47771 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47772
473c3ef3
L
477732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47774
47775 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47776 [__LP64__].
47777
eb0f39b6
L
477782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47779
47780 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47781 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47782 (__lround): Renamed to ...
47783 (__llround): This. Replace long int with long long int.
47784 Define lround functions as aliases of llround functions.
47785 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47786
6b6cd74b
L
477872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47788
47789 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47790 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47791 adresses to uintptr_t. Replace "long int" and "unsigned long
47792 int" with "greg_t" on va_arg.
47793
f1a77b01
L
477942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47795
47796 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47797 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47798
47799 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47800 Move e_machine check before EI_CLASS check. Handle x32
47801 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47802 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47803 SKIP_EM_IA_64 and include
47804 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47805
47806 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47807 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47808 (add_system_dir): New macro.
47809
47810 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47811 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47812
11b90b9f
JM
478132012-03-16 Joseph Myers <joseph@codesourcery.com>
47814
c36e1d23
JM
47815 [BZ #2551]
47816 [BZ #2552]
47817 [BZ #2553]
47818 [BZ #2554]
47819 [BZ #2562]
47820 [BZ #2563]
47821 [BZ #2565]
47822 [BZ #2566]
47823 [BZ #2576]
47824 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47825 (y0): Likewise.
47826 * math/w_j0f.c (j0f): Likewise.
47827 (y0f): Likewise.
47828 * math/w_j0l.c (__j0l): Likewise.
47829 (__y0l): Likewise.
47830 * math/w_j1.c (j1): Likewise.
47831 (y1): Likewise.
47832 * math/w_j1f.c (j1f): Likewise.
47833 (y1f): Likewise.
47834 * math/w_j1l.c (__j1l): Likewise.
47835 (__y1l): Likewise.
47836 * math/w_jn.c (jn): Likewise.
47837 (yn): Likewise.
47838 * math/w_jnf.c (jnf): Likewise.
47839 (ynf): Likewise.
47840 * math/w_jnl.c (__jnl): Likewise.
47841 (__ynl): Likewise.
47842 * math/libm-test.inc (j0_test): Add more tests.
47843 (j1_test): Likewise.
47844 (jn_test): Likewise. Add trailing semicolon to existing test.
47845 (y0_test): Likewise.
47846 (y1_test): Likewise.
47847 * sysdeps/i386/fpu/libm-test-ulps: Update.
47848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47849
11b90b9f
JM
47850 [BZ #13851]
47851 [BZ #13854]
47852 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47853 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47854 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47855 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47856 (__tanl): Set errno for infinite argument.
47857 * sysdeps/i386/fpu/mptan.c: Remove.
47858 * sysdeps/i386/fpu/s_tan.S: Likewise.
47859 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47860 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47861 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47862 * math/libm-test.inc (tan_test): Add more tests and enable more
47863 tests for double and long double.
47864 * sysdeps/i386/fpu/libm-test-ulps: Update.
47865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47866
6a1bd2a1
JK
478672012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47868
47869 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47870 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47871
10a803e0
RM
478722012-03-16 Roland McGrath <roland@hack.frob.com>
47873
47874 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47875 * configure.in: Use it for both main tree and add-ons.
47876 * configure: Regenerated.
47877
f196c7f7
L
478782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47879
47880 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47881
8848d99d
JM
478822012-03-16 Joseph Myers <joseph@codesourcery.com>
47883
96cbe7f4
JM
47884 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47885 in comment.
47886
8848d99d
JM
47887 [BZ #13851]
47888 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47889 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47890 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47891 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47892 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47893 infinite argument.
47894 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47895 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47896 != 0 for prec == 2.
47897 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47898 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47899 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47900 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47901 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47902 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47903 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47904 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47905 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47906 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47907 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47908 * math/libm-test.inc (cos_test): Add more tests and enable more
47909 tests for long double.
47910 (sin_test): Likewise.
47911 (sincos_test): Likewise.
47912 * sysdeps/i386/fpu/libm-test-ulps: Update.
47913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47914
dd7f4703
DM
479152012-03-16 David S. Miller <davem@davemloft.net>
47916
47917 * sysdeps/sparc/fpu/math_private.h: New file.
47918
006f1daa
DM
479192012-03-15 David S. Miller <davem@davemloft.net>
47920
c0c83bc8
DM
47921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47922 file.
e6a62e18 47923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47925 file.
e6a62e18
DM
47926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47932 sysdep routines.
47933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47934
88cb87d9
DM
47935 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47936 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47937
006f1daa 47938 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47940 sparc-ifunc.h
006f1daa 47941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47943 Likewise.
47944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47945 Likewise.
006f1daa
DM
47946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47950 Likewise.
006f1daa
DM
47951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47956 Likewise.
47957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47958 Likewise.
006f1daa
DM
47959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47965 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47966 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47977 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47979 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47981 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47982 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47983
11e0098e
AS
479842012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47985
47986 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47987 scaling.
47988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47989
e85b09d0
AJ
479902012-03-15 Andreas Jaeger <aj@suse.de>
47991
47992 [BZ #13852]
47993 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47994 ieee754/flt-32 implementation for sin, cos and sincos.
47995 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47996 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47997 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47998 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47999 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48000 ieee754/flt-32 implementation for tan.
48001
48002 * math/libm-test.inc (cos_test): Enable some large input tests for
48003 float as well
48004 (sin_test): Likewise.
48005 (sincos_test): Likewise.
48006 (tan_test): Add tests for large input.
48007
48008 * sysdeps/i386/fpu/libm-test-ulps: Update.
48009
81c64153
AJ
480102012-03-15 Andreas Jaeger <aj@suse.de>
48011
48012 [BZ #13658]
48013 * math/libm-test.inc (cos_test): Add more test cases.
48014 (sin_test): Likewise.
48015 (sincos_test): Likewise.
48016
7bbfa5c6
AJ
480172012-03-15 Andreas Jaeger <aj@suse.de>
48018
48019 [BZ #13837]
48020 * math/libm-test.inc (cos_test): Add a test case for large input
48021 value.
48022 (sin_test): Likewise.
48023 (sincos_test): Likewise.
48024
57f41c40
AS
480252012-03-15 Andreas Jaeger <aj@suse.de>
48026 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
48027
48028 [BZ #13658]
0671f479 48029 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
48030 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48031 * sysdeps/i386/fpu/branred.c: Likewise.
48032 * sysdeps/i386/fpu/dosincos.c: Likewise.
48033 * sysdeps/i386/fpu/mpa.c: Likewise.
48034 * sysdeps/i386/fpu/s_cos.S: Likewise.
48035 * sysdeps/i386/fpu/s_sin.S: Likewise.
48036 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48037 * sysdeps/i386/fpu/sincos32.c: Likewise.
48038
48039 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48040 Define.
48041 (libc_feupdateenv_53bit): Define.
48042 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48043 Define.
48044 (libc_feupdateenv_53bit): Define.
48045
48046 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48047 53 bit (without extend i386 double precision).
48048
48049 * math/libm-test.inc (sincos_test): Add tests for large input.
48050 (sin): Likewise.
48051 (cos): Likewise.
48052
48053 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48054
9cad04ea
AS
480552012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48056
48057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48058
f7062b9a
DM
480592012-03-15 David S. Miller <davem@davemloft.net>
48060
48061 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48062 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48063 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48064 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
48076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48077 file.
f7062b9a 48078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
48079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48080 file.
f7062b9a 48081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
48082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48083 file.
f7062b9a 48084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
48085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48086 file.
f7062b9a
DM
48087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48089 fmin/fmax sysdep routines.
48090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48091
7bd951ff
DM
480922012-03-14 David S. Miller <davem@davemloft.net>
48093
559398ab
DM
48094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48100 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48101 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48114 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48122 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48123 routines.
48124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48125 file.
559398ab 48126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
48127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48128 file.
559398ab 48129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
48130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48131 file.
559398ab 48132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
48133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48134 file.
559398ab 48135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
48136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48137 file.
559398ab 48138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
48139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48140 file.
48141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48142 file.
48143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48144 file.
48145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48146 file.
48147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48148 New file.
48149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48150 file.
48151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48152 file.
559398ab 48153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
48154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48155 file.
559398ab 48156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48158 file.
559398ab 48159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
48160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48161 file.
559398ab 48162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
48163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48164 VIS3 routines.
559398ab
DM
48165
48166 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48167 New file.
48168
5a1c1e32
DM
48169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48170
eae47a36
DM
48171 * sysdeps/sparc/configure.in: New file.
48172 * sysdeps/sparc/configure: Generate.
48173 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48174 * configure: Regenerate.
48175 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48176 * config.make.in (have-as-vis3): New.
48177 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48178 available use -Av9d instead of -Av9a.
48179 * sysdeps/sparc/sparc64/Makefile: Likewise.
48180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
48181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48182 New file.
48183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48184 file.
48185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48186 New file.
48187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48188 file.
eae47a36
DM
48189 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48190 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48192 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48193 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48194
c0c83bc8
DM
48195 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48196 fzeros/fnegs to load 0x80000000 into a float register instead of
48197 using the stack.
7bd951ff
DM
48198 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48199
bd951ccb
JM
482002012-03-14 Joseph Myers <joseph@codesourcery.com>
48201
48202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48203 bits/syscall.h.
48204 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48205 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48206 ($(inst_includedir)/bits/syscall.h): Remove rule.
48207 ($(objpfx)bits/syscall.d): Include instead of
48208 $(objpfx)syscall-list.d.
48209 (generated): Change syscall-list.h and syscall-list.d to
48210 bits/syscall.h and bits/syscall.d.
48211
bb4e6db2
RM
482122012-03-14 Roland McGrath <roland@hack.frob.com>
48213
48214 [BZ #13846]
48215 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48216
aa4a2ae1
JM
482172012-03-14 Joseph Myers <joseph@codesourcery.com>
48218
e456826d
JM
48219 [BZ #13841]
48220 * math/s_csqrt.c: Include <float.h>.
48221 (__csqrt): Scale large or subnormal inputs.
48222 * math/s_csqrtf.c: Likewise.
48223 * math/s_csqrtl.c: Likewise.
48224 * math/libm-test.inc (csqrt_test): Add more tests.
48225 * sysdeps/i386/fpu/libm-test-ulps: Update.
48226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48227
aa4a2ae1
JM
48228 [BZ #13840]
48229 * math/libm-test.inc (hypot_test): Add more tests.
48230
7c10fd35
DM
482312012-03-13 David S. Miller <davem@davemloft.net>
48232
48233 [BZ #13840]
48234 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48235 double-precision for the calculation instead of scaling.
48236
f453b98b
JM
482372012-03-13 Joseph Myers <joseph@codesourcery.com>
48238
48239 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48240 manipulate bits before adding and subtracting TWO52[sx].
48241 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48242 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48243 Likewise.
48244 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48245
09a3453f
DM
482462012-03-13 David S. Miller <davem@davemloft.net>
48247
8e59da90
DM
48248 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48249 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48250 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48251 rtld-global-offsets.h
48252 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48253
2a8ab7f2
DM
48254 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48255 large parameters.
48256
10f62770
DM
48257 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48258
5f0bdb18
DM
48259 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48260 'err' in the ifdef scope in which it is actually used.
48261
09a3453f
DM
48262 * nss/nss_db/db-init.c: Include string.h
48263
b4b2eb5e
DM
482642012-03-12 David S. Miller <davem@davemloft.net>
48265
98bb2f1c
DM
48266 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48267 masking out of the most significant byte of random value used.
48268 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48269 Fix coding style in previous change.
48270
b4b2eb5e
DM
48271 * sysdeps/unix/sysv/linux/kernel-features.h
48272 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48273 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48274 expression.
48275 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48276 later.
48277
6e226b09
DM
482782012-03-11 David S. Miller <davem@davemloft.net>
48279
a1bcbd40
DM
48280 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48281 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48282 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48283 for 'resultvar' otherwise things get truncated on 64-bit.
48284
cb9d6174
DM
48285 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48286 Fix masking out of the most significant byte of random value used.
48287
6e226b09
DM
48288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48289
058c132d
AS
482902012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48291
48292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48293
2d2cd515
DM
482942012-03-09 David S. Miller <davem@davemloft.net>
48295
48296 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48297 variables with appropriate CPP guards.
57f41c40
AS
48298 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48299 from the frame pointer, not the stack pointer. Correct layout
48300 comments. Fix test on resulting framesize and the management of
48301 the outregs buffer for pltexit. Preserve floating point return
48302 values across _dl_call_pltexit call.
2d2cd515
DM
48303 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48304 framesize and the management of the outregs buffer for pltexit.
48305 Preserve floating point return values across _dl_call_pltexit
48306 call.
57f41c40
AS
48307 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48308 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48309 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48310 (print_exit): Fix format string for return register value.
48311
9a07f9d0
JM
483122012-03-10 Joseph Myers <joseph@codesourcery.com>
48313
48314 * sunrpc/Makefile (others): Add rpcgen.
48315 ($(objpfx)rpcgen): Remove special build rule and dependency on
48316 libc.
48317 * sunrpc/rpcgen.c: New file.
48318
547b5e30
PE
483192012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48320
c524201a
PE
48321 [BZ #13673]
48322 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48323 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48324 * sysdeps/i386/crti.S: Likewise.
48325 * sysdeps/i386/crtn.S: Likewise.
48326 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48327 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48328 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48329 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48330 * sysdeps/sh/crti.S: Likewise.
48331 * sysdeps/sh/crtn.S: Likewise.
48332 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48333
7b6235f2
PE
48334 [BZ #13673]
48335 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48336 with URL.
48337 * locale/programs/locfile-kw.gperf: Likewise.
48338 * locale/programs/charmap-kw.h: Regenerated.
48339 * locale/programs/locfile-kw.h: Likewise.
48340
547b5e30
PE
48341 [BZ #13673]
48342 * intl/plural.y: Replace FSF snail mail address with URL.
48343 * intl/plural.c: Regenerated.
48344
5f0a5dae
RH
483452012-03-09 Richard Henderson <rth@twiddle.net>
48346
48347 * include/math_private.h: Remove file.
48348 * math/math_private.h: Move file ...
48349 * sysdeps/generic/math_private.h: ... here.
48350
b8c03620
RH
48351 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48352 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48353 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48354
4e234f5d 48355 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48356 and <math_private.h>.
48357 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48358 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48359 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48360 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48361 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48362 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48363 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48364 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48365 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48366 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48367 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48368 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48369 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48370 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48371 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48372 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48373 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48374 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48375 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48376 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48378 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48379 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48380 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48381 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48382 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48383 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48384 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48385 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48386 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48387 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48388 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48389 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48390 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48391 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48392 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48393 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48394 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48395 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48396 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48397 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48398 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48399 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48400 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48401 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48402 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48403 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48404 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48405 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48406 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48407 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48408 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48409 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48410 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48411 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48412 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48413 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48414 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48415 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48416 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48417 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48418 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48419 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48420 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48421 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48422 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48423 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48424 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48425 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48426 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48427 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48428 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48429 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48430 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48431 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48433 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48434 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48435 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48436 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48437 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48438 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48439 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48440 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48441 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48443 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48444 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48445 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48446 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48447 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48448 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48449 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48450 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48451 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48452 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48453 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48454 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48455 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48456 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48457 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48458 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48459 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48460 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48461 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48462 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48463 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48464 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48465 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48466 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48467 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48468 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48469 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48470 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48471 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48472 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48473 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48474 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48475 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48476 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48477 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48478 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48479 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48480 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48481 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48482 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48483 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48484 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48485 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48486 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48487 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48488 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48489 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48490 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48491 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48492 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48493 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48494 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48495 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48496 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48497 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48498 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48499 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48500 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48501 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48502 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48503 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48504 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48505 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48506 * sysdeps/ieee754/k_standard.c: Likewise.
48507 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48508 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48509 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48510 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48511 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48512 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48513 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48514 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48515 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48516 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48517 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48518 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48519 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48520 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48521 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48522 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48523 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48524 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48525 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48526 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48527 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48528 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48529 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48530 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48531 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48532 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48533 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48534 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48535 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48536 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48537 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48538 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48539 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48540 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48541 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48542 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48543 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48544 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48545 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48546 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48547 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48548 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48549 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48550 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48551 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48552 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48553 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48554 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48555 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48556 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48557 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48558 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48559 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48560 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48561 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48562 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48563 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48564 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48565 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48566 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48567 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48568 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48569 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48570 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48571 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48572 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48573 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48574 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48575 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48576 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48577 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48578 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48579 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48580 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48581 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48582 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48583 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48584 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48585 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48586 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48587 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48588 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48589 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48590 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48591 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48592 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48593 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48594 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48595 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48596 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48597 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48598 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48599 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48600 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48601 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48602 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48603 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48604 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48605 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48606 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48607 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48608 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48609 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48610 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48611 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48612 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48613 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48614 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48615 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48616 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48617 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48618 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48619 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48620 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48621 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48622 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48623 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48624 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48625 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48626 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48627 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48628 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48629 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48630 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48631 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48632 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48633 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48634 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48635 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48636 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48637 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48638 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48639 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48640 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48641 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48642 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48643 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48644 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48645 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48646 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48647 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48648 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48649 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48650 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48651 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48652 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48653 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48654 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48655 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48656 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48657 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48658 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48659 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48660 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48661 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48662 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48663 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48664 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48665 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48666 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48667 * sysdeps/ieee754/s_lib_version.c: Likewise.
48668 * sysdeps/ieee754/s_matherr.c: Likewise.
48669 * sysdeps/ieee754/s_signgam.c: Likewise.
48670 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48671 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48672 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48673 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48674 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48675 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48676 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48677 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48678 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48679 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48680 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48681 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48682 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48683 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48684 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48685 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48686 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48687 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48688 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48689 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48690 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48691
1991fa03
JM
486922012-03-09 Joseph Myers <joseph@codesourcery.com>
48693
48694 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48695 * sunrpc/rpc_main.c: Likewise.
48696 * sunrpc/rpc_svcout.c: Likewise.
48697
60d6f5a6
DM
486982012-03-09 David S. Miller <davem@davemloft.net>
48699
48700 * include/math_private.h: New file.
48701
4962050e
JM
487022012-03-09 Joseph Myers <joseph@codesourcery.com>
48703
02a6f887
JM
48704 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48705 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48706 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48707 from <bits/socket_type.h>.
48708 (enum __socket_type): Don't define here.
48709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48710 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48711 bits/socket_type.h.
48712
c6e013c1
JM
48713 [BZ #13566]
48714 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48715 checking __USE_GNU.
48716
4962050e
JM
48717 * Makerules ($(inst_includedir)/%.h): New rule.
48718 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48719 (install-others): Remove variable setting.
48720 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48721
38842f45
RH
487222012-03-08 Richard Henderson <rth@twiddle.net>
48723
67bb6da6
RH
48724 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48725 from macro to inline function; merge with the
48726 !__LIBC_INTERNAL_MATH_INLINES version.
48727 (__ieee754_sqrtf): Likewise.
48728
15194b4b
RH
48729 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48730 to inline function.
48731 (__rintf, __floor, __floorf): Likewise.
48732
64e21ede
RH
48733 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48734 macro to inline function.
48735 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48736
38842f45
RH
48737 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48738 not <math/math_private.h>.
48739
c64bf5fe
DM
487402012-03-08 David S. Miller <davem@davemloft.net>
48741
48742 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48743 copyright year.
48744 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48745
82d86f28
TS
487462012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48747
48748 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48749 normalization.
48750 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48751 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48752
aea5d727
UD
487532012-03-08 Ulrich Drepper <drepper@gmail.com>
48754
48755 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48756 be defined individually, they must be defined as a block. Define
48757 S for printing a string instead of hidint the different by using a
48758 macro for adding the 'l'.
48759 * stdio-common/tst-fphex-wide.c: Adjust.
48760
70bca0a3
MP
487612012-03-07 Marek Polacek <polacek@redhat.com>
48762
48763 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48764
65b81130
MP
487652012-03-08 Marek Polacek <polacek@redhat.com>
48766
48767 [BZ #13806]
48768 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48769 * stdio-common/tst-fphex.c: Define a few macros to make the
48770 test reusable. Use them.
48771 * stdio-common/tst-fphex-wide.c: New file.
48772
07037eeb
JM
487732012-03-08 Joseph Myers <joseph@codesourcery.com>
48774
a7a93d50
JM
48775 [BZ #6911]
48776 * manual/macros.texi (gnusystems): New macro.
48777 (nongnusystems): Likewise.
48778 (gnulinuxhurdsystems): Likewise.
48779 (gnuhurdsystems): Likewise..
48780 (gnulinuxsystems): Likewise.
48781 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48782 variants of the GNU system, not "GNU system".
48783 * manual/conf.texi: Likewise.
48784 * manual/errno.texi: Likewise. Update example of errno macro
48785 expansion.
48786 * manual/filesys.texi: Likewise.
48787 (getumask): Document as specific to GNU/Hurd.
48788 * manual/install.texi: Likewise. Reword some references to
48789 GNU/Linux.
48790 * manual/intro.texi: Likewise.
48791 * manual/io.texi: Likewise.
48792 (File Name Portability): Detail which constraints are inapplicable
48793 to all GNU systems and which are only inapplicable to GNU/Hurd.
48794 * manual/job.texi: Likewise.
48795 * manual/llio.texi: Likewise.
48796 (O_NOCTTY): Document as present on GNU/Linux.
48797 * manual/maint.texi: Likewise.
48798 * manual/memory.texi: Likewise.
48799 * manual/pattern.texi: Likewise.
48800 * manual/pipe.texi: Likewise.
48801 * manual/process.texi: Likewise.
48802 * manual/resource.texi: Likewise.
48803 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48804 child on GNU/Hurd.
48805 * manual/setjmp.texi: Likewise.
48806 * manual/signal.texi: Likewise.
48807 * manual/startup.texi: Likewise.
48808 * manual/stdio.texi: Likewise.
48809 * manual/terminal.texi: Likewise.
48810 (ONLCR): Document as POSIX.
48811 (OXTABS): Document availability on GNU/Linux as XTABS.
48812 (ONOEOT): Document availability separately from other bits.
48813 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48814 * manual/time.texi: Likewise.
48815 * manual/users.texi: Likewise.
48816 * INSTALL: Regenerated.
48817 * sysdeps/gnu/errlist.c: Regenerated.
48818
07037eeb
JM
48819 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48820 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48821 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48822 puts.
48823 * configure: Regenerated.
48824
d1d3431a
JM
488252012-03-07 Joseph Myers <joseph@codesourcery.com>
48826
af6a1e37
JM
48827 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48828 default includes instead of AC_HEADER_CHECK.
48829 * sysdeps/i386/configure: Regenerated.
48830
d1d3431a
JM
48831 [BZ #10716]
48832 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48833 * math/s_cacoshf.c (__cacoshf): Likewise.
48834 * math/s_cacoshl.c (__cacoshl): Likewise.
48835 * math/s_casinh.c (__casinh): Set signs of result from argument.
48836 * math/s_casinhf.c (__casinhf): Likewise.
48837 * math/s_casinhl.c (__casinhl): Likewise.
48838 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48839 (casinh_test): Add more tests.
48840 * sysdeps/i386/fpu/libm-test-ulps: Update.
48841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48842
482ff4da
UD
488432012-03-07 Ulrich Drepper <drepper@gmail.com>
48844
872fda05
UD
48845 * po/zh_TW.po: Update from translation team.
48846
a4300c7a
UD
48847 * login/Makefile (distribute): Remove variable.
48848 * catgets/Makefile: Likewise.
48849 * mach/Makefile: Likewise.
48850 * malloc/Makefile: Likewise.
48851 * misc/Makefile: Likewise.
48852 * iconv/Makefile: Likewise.
48853 * nscd/Makefile: Likewise.
48854 * hurd/Makefile: Likewise.
48855 * manual/Makefile: Likewise.
48856 * locale/Makefile: Likewise.
48857 * intl/Makefile: Likewise.
48858 * conform/Makefile: Likewise.
48859 * nss/Makefile: Likewise.
48860 * time/Makefile: Likewise.
48861 * soft-fp/Makefile: Likewise.
48862 * dirent/Makefile: Likewise.
48863 * gmon/Makefile: Likewise.
48864 * po/Makefile: Likewise.
48865 * rt/Makefile: Likewise.
48866 * socket/Makefile: Likewise.
48867 * math/Makefile: Likewise.
48868 * signal/Makefile: Likewise.
48869 * debug/Makefile: Likewise.
48870 * elf/Makefile: Likewise.
48871 * timezone/Makefile: Likewise.
48872 * stdlib/Makefile: Likewise.
48873 * iconvdata/Makefile: Likewise.
48874 * sunrpc/Makefile: Likewise.
48875 * io/Makefile: Likewise.
48876 * argp/Makefile: Likewise.
48877 * inet/Makefile: Likewise.
48878 * hesiod/Makefile: Likewise.
48879 * grp/Makefile: Likewise.
48880 * csu/Makefile: Likewise.
48881 * wctype/Makefile: Likewise.
48882 * crypt/Makefile: Likewise.
48883 * libio/Makefile: Likewise.
48884 * string/Makefile: Likewise.
48885 * nis/Makefile: Likewise.
48886 * resolv/Makefile: Likewise.
48887 * stdio-common/Makefile: Likewise.
48888 * wcsmbs/Makefile: Likewise.
48889 * dlfcn/Makefile: Likewise.
48890 * posix/Makefile: Likewise.
48891
3b7c4e74 48892 [BZ #6959]
482ff4da
UD
48893 * timezone/Makefile: Don't install timezone files, just the programs
48894 and scripts.
48895
f72ed77d
UD
488962012-03-06 Ulrich Drepper <drepper@gmail.com>
48897
a000466f
UD
48898 * nss/databases.def: Add missing gshadow entry.
48899
f72ed77d
UD
48900 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48901
a53b7a4e
MP
489022012-03-06 Marek Polacek <polacek@redhat.com>
48903
48904 [BZ #13726]
48905 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48906 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48907 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48908 * stdio-common/tst-long-dbl-fphex.c: New file.
48909
e9258400
DM
489102012-03-06 David S. Miller <davem@davemloft.net>
48911
48912 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48913 (set_obp_int): New function.
48914 (get_obp_int): New function.
48915 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48916 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48917 Avoid unused variable warnings on 'val' and use builtin_expect.
48918 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48919 __builtin_expect.
e9258400
DM
48920 (INLINE_CLONE_SYSCALL): Likewise.
48921
3bd2c723
DM
489222012-03-05 David S. Miller <davem@davemloft.net>
48923
48924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48925
bbb78d03
AS
489262012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48927
884c5db4
AS
48928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48929
bbb78d03
AS
48930 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48931 only for |x| >= 40.
48932 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48933
1c9f702a 489342012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48935
48936 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48937 Replace gettimeofday with __vdso_gettimeofday.
48938
7be16f82
RM
48939 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48940 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48941 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48942
48943 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48944 time with __vdso_time.
48945
ed58a00f
JM
489462012-03-05 Joseph Myers <joseph@codesourcery.com>
48947
48948 * manual/lang.texi (size_t): Note types to which size_t may be
48949 equivalent with the GNU C Library, but do not describe when
48950 differences between them are significant.
48951
30ee4ced
AJ
489522012-03-05 Andreas Jaeger <aj@suse.de>
48953
48954 * sysdeps/i386/fpu/libm-test-ulps: Update.
48955
b7cd39e8
JM
489562012-03-05 Joseph Myers <joseph@codesourcery.com>
48957
48958 [BZ #3976]
48959 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48960 (__ieee754_pow): Save and restore rounding mode and use
48961 round-to-nearest for main computations.
48962 * math/libm-test.inc (pow_test_tonearest): New function.
48963 (pow_test_towardzero): Likewise.
48964 (pow_test_downward): Likewise.
48965 (pow_test_upward): Likewise.
48966 (main): Call the new functions.
48967 * sysdeps/i386/fpu/libm-test-ulps: Update.
48968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48969
48970 [BZ #3976]
48971 * math/libm-test.inc (cosh_test_tonearest): New function.
48972 (cosh_test_towardzero): Likewise.
48973 (cosh_test_downward): Likewise.
48974 (cosh_test_upward): Likewise.
48975 (sinh_test_tonearest): Likewise.
48976 (sinh_test_towardzero): Likewise.
48977 (sinh_test_downward): Likewise.
48978 (sinh_test_upward): Likewise.
48979 (main): Call the new functions.
48980 * sysdeps/i386/fpu/libm-test-ulps: Update.
48981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48982
6c6a98c9
TV
489832012-03-05 Tom de Vries <tom@codesourcery.com>
48984
48985 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48986 default stack guard is set in last bytes.
48987 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48988
21bb2d2e 489892012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48990
21bb2d2e 48991 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48992
21bb2d2e
AJ
48993 [BZ #13656]
48994 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48995 possibly allocate from heap instead of stack.
48996 * stdio-common/bug-vfprintf-nargs.c: New file.
48997 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48998
c6922934
AS
489992012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49000
49001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49002
bc957d53
MP
490032012-03-03 Marek Polacek <polacek@redhat.com>
49004
49005 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49006 * math/math_private.h: Likewise.
49007 * stdlib/tst-strtod.c: Likewise.
49008 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49009 * sysdeps/x86_64/bits/atomic.h: Likewise.
49010
6358490d
DM
490112012-03-02 David S. Miller <davem@davemloft.net>
49012
49013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49017 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49018 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49019 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49020 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49021
01ae168d
RM
490222012-03-02 Roland McGrath <roland@hack.frob.com>
49023
d9a17c07
RM
49024 [BZ #13792]
49025 * manual/examples/README: New file, says the example source files
49026 can be used under GPL>=2.
49027 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49028 line containing just "*/".
49029 * manual/examples/add.c: Add copyright header (GPL>=2).
49030 * manual/examples/argp-ex1.c: Likewise.
49031 * manual/examples/argp-ex2.c: Likewise.
49032 * manual/examples/argp-ex3.c: Likewise.
49033 * manual/examples/argp-ex4.c: Likewise.
49034 * manual/examples/atexit.c: Likewise.
49035 * manual/examples/db.c: Likewise.
49036 * manual/examples/dir.c: Likewise.
49037 * manual/examples/dir2.c: Likewise.
49038 * manual/examples/execinfo.c: Likewise.
49039 * manual/examples/filecli.c: Likewise.
49040 * manual/examples/filesrv.c: Likewise.
49041 * manual/examples/fmtmsgexpl.c: Likewise.
49042 * manual/examples/genpass.c: Likewise.
49043 * manual/examples/inetcli.c: Likewise.
49044 * manual/examples/inetsrv.c: Likewise.
49045 * manual/examples/isockad.c: Likewise.
49046 * manual/examples/longopt.c: Likewise.
49047 * manual/examples/memopen.c: Likewise.
49048 * manual/examples/memstrm.c: Likewise.
49049 * manual/examples/mkfsock.c: Likewise.
49050 * manual/examples/mkisock.c: Likewise.
49051 * manual/examples/mygetpass.c: Likewise.
49052 * manual/examples/pipe.c: Likewise.
49053 * manual/examples/popen.c: Likewise.
49054 * manual/examples/rprintf.c: Likewise.
49055 * manual/examples/search.c: Likewise.
49056 * manual/examples/select.c: Likewise.
49057 * manual/examples/setjmp.c: Likewise.
49058 * manual/examples/sigh1.c: Likewise.
49059 * manual/examples/sigusr.c: Likewise.
49060 * manual/examples/stpcpy.c: Likewise.
49061 * manual/examples/strdupa.c: Likewise.
49062 * manual/examples/strftim.c: Likewise.
49063 * manual/examples/strncat.c: Likewise.
49064 * manual/examples/subopt.c: Likewise.
49065 * manual/examples/swapcontext.c: Likewise.
49066 * manual/examples/termios.c: Likewise.
49067 * manual/examples/testopt.c: Likewise.
49068 * manual/examples/testpass.c: Likewise.
49069 * manual/examples/timeval_subtract.c: Likewise.
49070
01ae168d
RM
49071 [BZ #13792]
49072 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49073 function to ...
49074 * manual/timeval_subtract.c.texi: ... here, new file.
49075
49efa33d
DM
490762012-03-02 David S. Miller <davem@davemloft.net>
49077
49078 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49079
28afd92d
JM
490802012-03-02 Joseph Myers <joseph@codesourcery.com>
49081
804360ed
JM
49082 [BZ #3976]
49083 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49084 (__sin): Save and restore rounding mode and use round-to-nearest
49085 for all computations.
49086 (__cos): Save and restore rounding mode and use round-to-nearest
49087 for all computations.
49088 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49089 <fenv.h>.
49090 (tan): Save and restore rounding mode and use round-to-nearest for
49091 all computations.
49092 * math/libm-test.inc (cos_test_tonearest): New function.
49093 (cos_test_towardzero): Likewise.
49094 (cos_test_downward): Likewise.
49095 (cos_test_upward): Likewise.
49096 (sin_test_tonearest): Likewise.
49097 (sin_test_towardzero): Likewise.
49098 (sin_test_downward): Likewise.
49099 (sin_test_upward): Likewise.
49100 (tan_test_tonearest): Likewise.
49101 (tan_test_towardzero): Likewise.
49102 (tan_test_downward): Likewise.
49103 (tan_test_upward): Likewise.
49104 (main): Call the new functions.
49105 * sysdeps/i386/fpu/libm-test-ulps: Update.
49106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49107
a6d06d7b
JM
49108 [BZ #10135]
49109 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49110 small n, then large n, before computing and testing k+n.
49111 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49112 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49113 Likewise.
49114 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49115 Likewise.
49116 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49117 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49118 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49119 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49120 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49121 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49122 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49123 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49124 * math/libm-test.inc (scalbn_test): Add more tests.
49125 (scalbln_test): Likewise.
49126
07e12bb3
JM
49127 * manual/filesys.texi (mode_t): Describe constraints on size and
49128 signedness, not exact equivalence to a particular type.
49129 (ino_t): Likewise.
49130 (ino64_t): Likewise.
49131 (dev_t): Likewise.
49132 (nlink_t): Likewise.
49133 (blkcnt_t): Likewise.
49134 (blkcnt64_t): Likewise.
49135 * manual/llio.texi (off_t): Likewise.
49136
28afd92d
JM
49137 [BZ #3976]
49138 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49139 (__ieee754_exp): Save and restore rounding mode and use
49140 round-to-nearest for all computations.
49141 * math/libm-test.inc (exp_test_tonearest): New function.
49142 (exp_test_towardzero): Likewise.
49143 (exp_test_downward): Likewise.
49144 (exp_test_upward): Likewise.
49145 (main): Call the new functions.
49146 * sysdeps/i386/fpu/libm-test-ulps: Update.
49147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49148
b1eeb65d
CD
491492012-03-01 Chris Demetriou <cgd@google.com>
49150
49151 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49152 have predictable order.
49153
53362a4b
DM
491542012-03-01 David S. Miller <davem@davemloft.net>
49155
3c969083
DM
49156 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49157
759707de
DM
49158 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49159 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49160 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49161 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49162
dfdb8ff2
DM
49163 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49164 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49165 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49167 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49168 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49169 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49170 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49171 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49172
ead89f96
DM
49173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49174
7f66bd07
DM
49175 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49176 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49177 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49178
53362a4b
DM
49179 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49180 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49181 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49182 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49183 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49184 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49185 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49186 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49187 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49188 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49189 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49190 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49191 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49192 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49193 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49194 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49195 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49196 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49197 * sysdeps/sparc/elf/configure: Regenerated.
49198
7b1902cb
JM
491992012-03-01 Joseph Myers <joseph@codesourcery.com>
49200
bec039bc
JM
49201 * configure.in (AS, LD): Require binutils 2.20 or later.
49202 * configure: Regenerated.
49203 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49204 as required minimum version.
49205 * INSTALL: Regenerated.
49206
7b1902cb
JM
49207 [BZ #2541]
49208 [BZ #4108]
49209 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49210 before squaring exponent.
49211 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49212 bottom long double and 27 bits of top long double before squaring
49213 exponent.
49214 * math/libm-test.inc (erfc_test): Add more tests.
49215 * sysdeps/i386/fpu/libm-test-ulps: Update.
49216 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49218
f775c276
KT
492192012-03-01 Kai Tietz <ktietz@redhat.com>
49220
49221 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49222 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49223 containing bit-fields.
49224 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49225 * soft-fp/single.h (_FP_UNION_S): Likewise.
49226 * soft-fp/double.h (_FP_UNION_D): Likewise.
49227
5b8a4d4a
JM
492282012-02-29 Joseph Myers <joseph@codesourcery.com>
49229
0bab47b6
JM
49230 [BZ #13786]
49231 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49232 not include ../strcmp.S.
49233 [USE_AS_STRNCASECMP_L]: Likewise.
49234 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49235 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49236 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49237 (__strncasecmp_l_ia32): Define as alias to
49238 __strncasecmp_l_nonascii.
49239
0fcad3e2
JM
49240 [BZ #5794]
49241 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49242 * sysdeps/i386/fpu/libm-test-ulps: Update.
49243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49244
5b8a4d4a
JM
49245 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49247
8fdceb2e
JL
492482012-02-29 Jeff Law <law@redhat.com>
49249
49250 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49251 out of bounds read.
49252
1f393a11
MP
492532012-02-29 Marek Polacek <polacek@redhat.com>
49254
49255 [BZ #13706]
49256 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49257 * elf/Makefile: Add rules to run tst-unused-dep.out.
49258
8847f037
DM
492592012-02-28 David S. Miller <davem@davemloft.net>
49260
49261 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49262 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49263 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49264 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49265 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49266 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49267
169d7f11
JM
492682012-02-29 Joseph Myers <joseph@codesourcery.com>
49269
49270 * math/libm-test.inc (llround_test): Move one test from
49271 lround_test. Use TEST_f_L in moved test.
49272 (lround_test): Move misplaced test to llround_test. Add testcase
49273 from bug 2561.
49274
39adf059
UD
492752012-02-28 Ulrich Drepper <drepper@gmail.com>
49276
49277 * sysdeps/x86_64/fpu/e_expf.S: New file.
49278 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49279
71b5d1c5
SB
492802012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49281
49282 [BZ #13637]
49283 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49284 of remain_len that may cause incomplete multi-byte character and
49285 false match.
49286 * posix/bug-regex33.c: New file.
49287 * posix/Makefile (tests): Add bug-regex33.
49288
1f77f049
JM
492892012-02-28 Joseph Myers <joseph@codesourcery.com>
49290
49291 * manual/macros.texi: New file.
49292 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49293 * manual/libc.texinfo: Include macros.texi.
49294 * manual/creatute.texi: Likewise.
49295 * manual/install.texi: Likewise.
49296 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49297 @glibcadj{} in references to the GNU C Library.
49298 * manual/charset.texi: Likewise.
49299 * manual/conf.texi: Likewise.
49300 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49301 when not using those macros.
49302 * manual/creature.texi: Likewise.
49303 * manual/crypt.texi: Likewise.
49304 * manual/errno.texi: Likewise.
49305 * manual/filesys.texi: Likewise.
49306 * manual/header.texi: Likewise.
49307 * manual/install.texi: Likewise.
49308 * manual/intro.texi: Likewise.
49309 * manual/io.texi: Likewise.
49310 * manual/job.texi: Likewise.
49311 * manual/lang.texi: Likewise.
49312 * manual/libc.texiinfo: Likewise.
49313 * manual/llio.texi: Likewise.
49314 * manual/locale.texi: Likewise.
49315 * manual/maint.texi: Likewise.
49316 * manual/math.texi: Likewise.
49317 * manual/memory.texi: Likewise.
49318 * manual/message.texi: Likewise.
49319 * manual/nss.texi: Likewise.
49320 * manual/pattern.texi: Likewise.
49321 * manual/process.texi: Likewise.
49322 * manual/resource.texi: Likewise.
49323 * manual/search.texi: Likewise.
49324 * manual/setjmp.texi: Likewise.
49325 * manual/signal.texi: Likewise.
49326 * manual/socket.texi: Likewise.
49327 * manual/startup.texi: Likewise.
49328 * manual/stdio.texi: Likewise.
49329 * manual/string.texi: Likewise.
49330 * manual/sysinfo.texi: Likewise.
49331 * manual/syslog.texi: Likewise.
49332 * manual/terminal.texi: Likewise.
49333 * manual/time.texi: Likewise.
49334 * manual/users.texi: Likewise.
49335 * INSTALL: Regenerated.
49336 * NOTES: Regenerated.
d40c5d54 49337 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49338
450bf206
AS
493392012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49340
49341 * include/dirent.h: Include <dirstream.h> before
49342 <dirent/dirent.h>.
49343
741a235b
DM
493442012-02-28 David S. Miller <davem@davemloft.net>
49345
49346 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49347 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49348 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49349 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49350
d6b5aa58
DM
493512012-02-27 David S. Miller <davem@davemloft.net>
49352
1aff59a3
DM
49353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49355 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49356 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49357
d6b5aa58
DM
49358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49359 frame pointer instead of stack pointer relative arg slot.
49360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49361 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49362 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49363
433f48bf
CD
493642012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49365
49366 [BZ #3992]
49367 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49368
d674b76d
DM
493692012-02-27 David S. Miller <davem@davemloft.net>
49370
49371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49375 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49376 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49377 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49378 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49379
0e7727f7
JM
493802012-02-27 Joseph Myers <joseph@codesourcery.com>
49381
49382 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49383 later. Allow versions 5-9.
43be4ca2 49384 * configure: Regenerated.
0e7727f7
JM
49385 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49386 required minimum version and 4.6 as recommended version. Do not
49387 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49388 * INSTALL: Regenerated.
0e7727f7 49389
a78bc654
DM
493902012-02-27 David S. Miller <davem@davemloft.net>
49391
428d5830
DM
49392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49396 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49397 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49398 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49399 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49400
a78bc654
DM
49401 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49402 manipulate bits before adding and subtracting TWO112[sx].
49403 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49404
4579f81c
RM
494052012-02-27 Roland McGrath <roland@hack.frob.com>
49406
36c8acb4
RM
49407 [BZ #13775]
49408 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49409 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49410 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49411 being in POSIX, because they are in 1003.1-2008.
49412
84ad622b
RM
49413 * rt/tst-aio.c: Include <fcntl.h>.
49414 * rt/tst-aio7.c: Likewise.
49415 * rt/tst-aio64.c: Likewise.
49416
4579f81c
RM
49417 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49418
abd923db
JM
494192012-02-27 Joseph Myers <joseph@codesourcery.com>
49420
49421 * manual/install.texi (--with-headers): Describe headers as
49422 interface headers, not private headers.
49423 (Specific advice for GNU/Linux systems): Describe use of headers
49424 from "make headers_install", not private headers from older
49425 kernels.
43be4ca2 49426 * INSTALL: Regenerated.
abd923db
JM
49427 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49428 Change to 2.6.19.
49429 * sysdeps/unix/sysv/linux/configure: Regenerated.
49430
6664049b
JM
49431 * manual/llio.texi (fclean): Remove documentation.
49432
bb8b6697
JM
49433 * manual/Makefile (libc-texi-generated): New variable. Include
49434 version.texi.
49435 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49436 $(libc-texi-generated), not duplicated list of files.
49437 (version.texi, stamp-version): New rules.
49438 (realclean): Remove $(libc-texi-generated), not individual files
49439 from that list. Do not remove dir-add.texinfo.
49440 * manual/libc.texinfo: Comment out uses of edition numbers and
49441 references to printed manual. Remove last-updated dates.
49442 (EDITION): Comment out.
49443 (ISBN): Likewise.
49444 (VERSION, UPDATED): Remove.
49445 (version.texi): Include.
49446
12e5c3b9
AS
494472012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49448
49449 * sysdeps/posix/spawni.c: Include <signal.h>.
49450 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49451 * sysdeps/pthread/aio_fsync.c: Likewise.
49452
4efeffc1 494532012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49454
ba63ba08
UD
49455 * conform/Makefile (tests): Run only when not cross-compiling and
49456 when fast-check is not defined.
49457
d94a4670
UD
49458 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49459 * conform/data/limits.h-data: Fixes for POSIX2008.
49460 * conform/run-conformtest.sh: Run all tests.
49461 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49462 headers.
49463 * include/bits/dlfcn.h: Likewise.
49464 * include/langinfo.h: Likewise.
49465 * include/monetary.h: Likewise.
49466 * include/sys/poll.h: Likewise.
49467
49468 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49469 for __USE_GNU.
49470 * posix/spawn.h: Define __need_sigset_t.
49471 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49472 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49473 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49474 to get sigevent_t only.
49475 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49476 only for __USE_GNU.
49477 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49478 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49479 process_vm_writev only for __USE_GNU.
49480 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49481
49482 * conform/Makefile: For now ignore errors from run-conformtest.
49483 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49484 POSIX to avoid namespace pollution. Don't prepend headers.
49485 * conform/data/aio.h-data: Fixes for POSIX testing.
49486 * conform/data/fcntl.h-data: Likewise.
49487 * conform/data/glob.h-data: Likewise.
49488 * conform/data/grp.h-data: Likewise.
49489 * conform/data/pthread.h-data: Likewise.
49490 * conform/data/pwd.h-data: Likewise.
49491 * conform/data/signal.h-data: Likewise.
49492 * conform/data/spawn.h-data: Likewise.
49493 * conform/data/stdio.h-data: Likewise.
49494 * conform/data/stdlib.h-data: Likewise.
49495 * conform/data/stropts.h-data: Likewise.
49496 * conform/data/sys/mman.h-data: Likewise.
49497 * conform/data/sys/stat.h-data: Likewise.
49498 * conform/data/sys/types.h-data: Likewise.
49499 * conform/data/sys/wait.h-data: Likewise.
49500 * conform/data/time.h-data: Likewise.
49501 * conform/data/unistd.h-data: Likewise.
49502 * conform/data/utime.h-data: Likewise.
49503
49504 * io/sys/stat.h: fchmod was always in POSIX.
49505 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49506 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49507 * rt/aio.h: Define __need_timespec before including <time.h>.
49508 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49509 struct. Add forward declaration of pthread_attr_t and use it in
49510 sigevent.
49511 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49512 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49513 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49514 always remove CLK_TCK definition.
49515
c20105c3
AS
495162012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49517
49518 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49519
7a270350
UD
495202012-02-25 Ulrich Drepper <drepper@gmail.com>
49521
31341567
UD
49522 * conform/run-conformtest.sh: New file.
49523 * conform/Makefile: Run run-conformtest for tests.
49524 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49525 support.
49526
49527 * conform/data/uchar.h-data: New file.
49528 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49529 * conform/data/arpa/inet.h-data: Likewise.
49530 * conform/data/assert.h-data: Likewise.
49531 * conform/data/complex.h-data: Likewise.
49532 * conform/data/cpio.h-data: Likewise.
49533 * conform/data/ctype.h-data: Likewise.
49534 * conform/data/dirent.h-data: Likewise.
49535 * conform/data/dlfcn.h-data: Likewise.
49536 * conform/data/errno.h-data: Likewise.
49537 * conform/data/fcntl.h-data: Likewise.
49538 * conform/data/float.h-data: Likewise.
49539 * conform/data/fmtmsg.h-data: Likewise.
49540 * conform/data/fnmatch.h-data: Likewise.
49541 * conform/data/ftw.h-data: Likewise.
49542 * conform/data/glob.h-data: Likewise.
49543 * conform/data/grp.h-data: Likewise.
49544 * conform/data/iconv.h-data: Likewise.
49545 * conform/data/inttypes.h-data: Likewise.
49546 * conform/data/langinfo.h-data: Likewise.
49547 * conform/data/libgen.h-data: Likewise.
49548 * conform/data/limits.h-data: Likewise.
49549 * conform/data/locale.h-data: Likewise.
49550 * conform/data/math.h-data: Likewise.
49551 * conform/data/monetary.h-data: Likewise.
49552 * conform/data/mqueue.h-data: Likewise.
49553 * conform/data/ndbm.h-data: Likewise.
49554 * conform/data/net/if.h-data: Likewise.
49555 * conform/data/netdb.h-data: Likewise.
49556 * conform/data/netinet/in.h-data: Likewise.
49557 * conform/data/nl_types.h-data: Likewise.
49558 * conform/data/poll.h-data: Likewise.
49559 * conform/data/pthread.h-data: Likewise.
49560 * conform/data/pwd.h-data: Likewise.
49561 * conform/data/regex.h-data: Likewise.
49562 * conform/data/sched.h-data: Likewise.
49563 * conform/data/search.h-data: Likewise.
49564 * conform/data/semaphore.h-data: Likewise.
49565 * conform/data/setjmp.h-data: Likewise.
49566 * conform/data/signal.h-data: Likewise.
49567 * conform/data/spawn.h-data: Likewise.
49568 * conform/data/stdarg.h-data: Likewise.
49569 * conform/data/stdio.h-data: Likewise.
49570 * conform/data/stdlib.h-data: Likewise.
49571 * conform/data/string.h-data: Likewise.
49572 * conform/data/strings.h-data: Likewise.
49573 * conform/data/stropts.h-data: Likewise.
49574 * conform/data/sys/ipc.h-data: Likewise.
49575 * conform/data/sys/mman.h-data: Likewise.
49576 * conform/data/sys/msg.h-data: Likewise.
49577 * conform/data/sys/resource.h-data: Likewise.
49578 * conform/data/sys/select.h-data: Likewise.
49579 * conform/data/sys/sem.h-data: Likewise.
49580 * conform/data/sys/shm.h-data: Likewise.
49581 * conform/data/sys/socket.h-data: Likewise.
49582 * conform/data/sys/stat.h-data: Likewise.
49583 * conform/data/sys/statvfs.h-data: Likewise.
49584 * conform/data/sys/time.h-data: Likewise.
49585 * conform/data/sys/timeb.h-data: Likewise.
49586 * conform/data/sys/times.h-data: Likewise.
49587 * conform/data/sys/types.h-data: Likewise.
49588 * conform/data/sys/uio.h-data: Likewise.
49589 * conform/data/sys/un.h-data: Likewise.
49590 * conform/data/sys/utsname.h-data: Likewise.
49591 * conform/data/sys/wait.h-data: Likewise.
49592 * conform/data/syslog.h-data: Likewise.
49593 * conform/data/tar.h-data: Likewise.
49594 * conform/data/termios.h-data: Likewise.
49595 * conform/data/utime.h-data: Likewise.
49596 * conform/data/utmpx.h-data: Likewise.
49597 * conform/data/varargs.h-data: Likewise.
49598 * conform/data/wchar.h-data: Likewise.
49599 * conform/data/wctype.h-data: Likewise.
49600 * conform/data/wordexp.h-data: Likewise.
49601
49602 * include/stropts.h: New file.
49603 * include/uchar.h: New file.
49604 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49605 * include/assert.h: Likewise.
49606 * include/ctype.h: Likewise.
49607 * include/dirent.h: Likewise.
49608 * include/dlfcn.h: Likewise.
49609 * include/fcntl.h: Likewise.
49610 * include/fnmatch.h: Likewise.
49611 * include/glob.h: Likewise.
49612 * include/grp.h: Likewise.
49613 * include/libio.h: Likewise.
49614 * include/locale.h: Likewise.
49615 * include/math.h: Likewise.
49616 * include/net/if.h: Likewise.
49617 * include/netdb.h: Likewise.
49618 * include/netinet/in.h: Likewise.
49619 * include/pthread.h: Likewise.
49620 * include/pwd.h: Likewise.
49621 * include/regex.h: Likewise.
49622 * include/sched.h: Likewise.
49623 * include/search.h: Likewise.
49624 * include/setjmp.h: Likewise.
49625 * include/signal.h: Likewise.
49626 * include/stdio.h: Likewise.
49627 * include/stdlib.h: Likewise.
49628 * include/string.h: Likewise.
49629 * include/sys/cdefs.h: Likewise.
49630 * include/sys/mman.h: Likewise.
49631 * include/sys/msg.h: Likewise.
49632 * include/sys/resource.h: Likewise.
49633 * include/sys/select.h: Likewise.
49634 * include/sys/socket.h: Likewise.
49635 * include/sys/stat.h: Likewise.
49636 * include/sys/statvfs.h: Likewise.
49637 * include/sys/time.h: Likewise.
49638 * include/sys/times.h: Likewise.
49639 * include/sys/uio.h: Likewise.
49640 * include/sys/utsname.h: Likewise.
49641 * include/sys/wait.h: Likewise.
49642 * include/termios.h: Likewise.
49643 * include/time.h: Likewise.
49644 * include/ulimit.h: Likewise.
49645 * include/unistd.h: Likewise.
49646 * include/utime.h: Likewise.
49647 * include/wchar.h: Likewise.
49648 * include/wctype.h: Likewise.
49649 * include/wordexp.h: Likewise.
49650
49651 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49652
7a270350
UD
49653 * time/time.h: TIME_UTC must be a macro.
49654 Make timespec_get available for ISO C11 only as well.
49655
7724defc
UD
496562012-02-24 Ulrich Drepper <drepper@gmail.com>
49657
49658 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49659 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49660
6b1d1d46
JM
496612012-02-24 Joseph Myers <joseph@codesourcery.com>
49662
49663 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49664
0f8bbd69
JM
496652012-02-24 Joseph Myers <joseph@codesourcery.com>
49666
49667 * manual/texinfo.tex: Update to version 2012-01-19.16.
49668
66ab80bc
JM
496692012-02-24 Joseph Myers <joseph@codesourcery.com>
49670
49671 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49672
74981cc5
RM
496732012-02-24 Roland McGrath <roland@hack.frob.com>
49674
ee968201
RM
49675 [BZ #13738]
49676 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49677 * manual/fdl-1.3.texi: New file.
49678 * manual/fdl-1.1.texi: File removed.
49679
74981cc5
RM
49680 [BZ #13738]
49681 * manual/libc.texinfo (FDL_VERSION): New @set.
49682 Use it for mention of FDL in cover text.
49683 (Documentation License): Use it in @include file name.
49684
7bb764bc
JM
496852012-02-22 Joseph Myers <joseph@codesourcery.com>
49686 Roland McGrath <roland@hack.frob.com>
49687
49688 [BZ #5461]
57f41c40
AS
49689 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49690 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49691 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49692 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49693 name.
49694 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49695
6cbeae47
JM
496962012-02-22 Joseph Myers <joseph@codesourcery.com>
49697
49698 [BZ #2547]
49699 [BZ #11365]
49700 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49701 manipulate bits before adding and subtracting TWO23[sx].
49702 * math/libm-test.inc (nearbyint_test): Add more tests.
49703
fe45ce09
JM
497042012-02-22 Joseph Myers <joseph@codesourcery.com>
49705
49706 [BZ #2548]
49707 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49708 bits before adding and subtracting TWO23[sx].
49709 * math/libm-test.inc (rint_test): Add more tests.
49710 (rint_test_tonearest): Likewise.
49711 (rint_test_towardzero): Likewise.
49712 (rint_test_downward): Likewise.
49713 (rint_test_upward: Likewise.
49714
ff3b3d82
JM
497152012-02-22 Joseph Myers <joseph@codesourcery.com>
49716
49717 [BZ #10110]
49718 * include/stdc-predef.h: New file. Extracted from features.h.
49719 * include/features.h: Include stdc-predef.h.
49720 * Makefile (headers): Add stdc-predef.h.
49721 * CONFORMANCE (Compiler limitations): Update.
49722
ef0aab35
JM
497232012-02-22 Joseph Myers <joseph@codesourcery.com>
49724
49725 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49726
58639409
DM
497272012-02-21 David S. Miller <davem@davemloft.net>
49728
49729 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49730 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49731
c0e70b25
DM
497322012-02-20 David S. Miller <davem@davemloft.net>
49733
49734 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49735 using a normal save/restore sequence, rather than allocating a
49736 dummy stack frame just to store a frame pointer and restore.
49737 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49738
fb06851d
JM
497392012-02-21 Joseph Myers <joseph@codesourcery.com>
49740
49741 * manual/install.texi: Fix stray word in line-wrapped comment.
49742
7a8b71c3
DM
497432012-02-20 David S. Miller <davem@davemloft.net>
49744
d510c123
DM
49745 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49746 both binutils and gcc support GOTDATA.
49747
0722d7c2
DM
49748 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49749 "rd %pc" in the PIC register setup sequences.
49750
3d2b3019
DM
49751 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49752 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49753 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49754 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49755 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49756 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49757 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49758 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49759 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49760 (SYSCALL_ERROR_HANDLER): Likewise.
49761 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49762 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49763 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49764 (SYSCALL_ERROR_HANDLER): Likewise.
49765
c80098a9
DM
49766 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49767 (HAVE_GCC_GOTDATA): New.
49768 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49769 relocation support in both binutils and gcc.
49770 * sysdeps/sparc/elf/configure: Regenerate.
49771
3a2545a0
DM
49772 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49773 * sysdeps/sparc/sparc32/elf/configure: Delete.
49774 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49775 * sysdeps/sparc/sparc64/elf/configure: Delete.
49776 * sysdeps/sparc/elf/configure.in: New file.
49777 * sysdeps/sparc/elf/configure: Generate.
49778
7a8b71c3
DM
49779 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49780 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49781 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49782 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49783 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49784
f1e86fca
JM
497852012-02-21 Joseph Myers <joseph@codesourcery.com>
49786
49787 * manual/install.texi: Do not mention specific glibc version
49788 numbers.
49789 * manual/libc.texinfo (VERSION, UPDATED): Update.
49790 (@copying): Use @copyright{} and range of years.
49791
0e7dfaef
JM
497922012-02-21 Joseph Myers <joseph@codesourcery.com>
49793
49794 [BZ #13695]
49795 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49796 [crti.S not in sysdirs] (generated): Do not append.
49797 [crti.S not in sysdirs] (omit-deps): Likewise.
49798 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49799 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49800 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49801 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49802 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49803 Likewise.
49804 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49805 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49806 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49807 * csu/defs.awk: Remove file.
49808 * sysdeps/generic/initfini.c: Likewise.
49809 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49810 variable.
49811 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49812 Likewise.
49813
599af3ca
JM
498142012-02-20 Joseph Myers <joseph@codesourcery.com>
49815
49816 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49817 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49818 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49819 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49820 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49821 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49822 <bits/epoll.h>.
49823 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49824 (__EPOLL_PACKED): Define to empty if not defined by
49825 <bits/epoll.h>.
49826 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49827 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49828 bits/epoll.h.
49829
0e499750
JM
498302012-02-20 Joseph Myers <joseph@codesourcery.com>
49831
49832 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49833 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49834 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49835 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49836 <bits/timerfd.h>.
49837 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49839 bits/timerfd.h.
49840
5ad91f6e
JM
498412012-02-20 Joseph Myers <joseph@codesourcery.com>
49842
49843 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49844 in C locale.
49845 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49846 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49847 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49849
06b99b02
AJ
498502012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49851
49852 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49853 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49854
7638c0fd
AS
498552012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49856
49857 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49858 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49859 defined.
49860 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49861 Likewise.
49862 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49863 entry for 2.16.
49864
92221550
AJ
498652012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49866
49867 * math/w_acos.c: Use non-signaling floating-point comparisons.
49868 * math/w_acosf.c: Likewise.
49869 * math/w_acosh.c: Likewise.
49870 * math/w_acoshf.c: Likewise.
49871 * math/w_acoshl.c: Likewise.
49872 * math/w_acosl.c: Likewise.
49873 * math/w_asin.c: Likewise.
49874 * math/w_asinf.c: Likewise.
49875 * math/w_asinl.c: Likewise.
49876 * math/w_atanh.c: Likewise.
49877 * math/w_atanhf.c: Likewise.
49878 * math/w_atanhl.c: Likewise.
49879 * math/w_exp2.c: Likewise.
49880 * math/w_exp2f.c: Likewise.
49881 * math/w_exp2l.c: Likewise.
49882 * math/w_j0.c: Likewise.
49883 * math/w_j0f.c: Likewise.
49884 * math/w_j0l.c: Likewise.
49885 * math/w_j1.c: Likewise.
49886 * math/w_j1f.c: Likewise.
49887 * math/w_j1l.c: Likewise.
49888 * math/w_jn.c: Likewise.
49889 * math/w_jnf.c: Likewise.
49890 * math/w_log.c: Likewise.
49891 * math/w_log10.c: Likewise.
49892 * math/w_log10f.c: Likewise.
49893 * math/w_log10l.c: Likewise.
49894 * math/w_log2.c: Likewise.
49895 * math/w_log2f.c: Likewise.
49896 * math/w_log2l.c: Likewise.
49897 * math/w_logf.c: Likewise.
49898 * math/w_logl.c: Likewise.
49899 * math/w_sqrt.c: Likewise.
49900 * math/w_sqrtf.c: Likewise.
49901 * math/w_sqrtl.c: Likewise.
49902 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49903 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49904 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49905 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49906 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49907
ebaf36eb
JM
499082012-02-19 Joseph Myers <joseph@codesourcery.com>
49909
49910 [BZ #9739]
49911 * manual/string.texi (strnlen): Use correct parameter name in
49912 equivalent expression.
49913
71c254a6
JM
499142012-02-19 Joseph Myers <joseph@codesourcery.com>
49915
49916 [BZ #11174]
49917 * manual/users.texi (seteuid): Consistently use neweuid for
49918 argument name.
49919
16d2c631
JM
499202012-02-19 Joseph Myers <joseph@codesourcery.com>
49921
49922 [BZ #13704]
49923 * manual/nss.texi (Services in the NSS configuration): Correct
49924 list of services in example configuration file.
49925
cd837b09
NB
499262012-02-19 Nick Bowler <nbowler@draconx.ca>
49927
49928 [BZ #11322]
49929 * manual/arith.texi: Remove statements about negative zero
49930 behaving identically to zero.
49931
02c4bbad
JM
499322012-02-18 Joseph Myers <joseph@codesourcery.com>
49933
49934 [BZ #5993]
49935 * manual/install.texi: Do not document upgrading from libc5.
49936
366842e7
JM
499372012-02-18 Joseph Myers <joseph@codesourcery.com>
49938
49939 [BZ #4596]
49940 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49941
dd54084d
DM
499422012-02-18 David S. Miller <davem@davemloft.net>
49943
49944 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49945 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49946 %o7 across the call.
49947 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49948 instead.
49949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49950 SETUP_PIC_REG_LEAF.
49951 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49952 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49953 * sysdeps/sparc/crtn.S: Likewise.
49954
2bcc53a3
UD
499552012-02-17 Ulrich Drepper <drepper@gmail.com>
49956
49957 * aout/Makefile: Remove.
49958
09c093b5
RK
499592012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49960
49961 [BZ #13058]
49962 * manual/examples/argp-ex1.c (main): Format definition in GNU
49963 style.
49964 * manual/examples/argp-ex2.c (main): Likewise.
49965 * manual/examples/argp-ex3.c (main): Likewise.
49966 * manual/examples/argp-ex4.c (main): Likewise.
49967 * manual/examples/longopt.c (main): Use new-style prototype
49968 definition.
49969 * manual/examples/strncat.c (main): Specify return type and use
49970 (void) for arguments.
49971 * manual/examples/subopt.c (main): Use char **argv argument.
49972
2ee633a2
JM
499732012-02-17 Joseph Myers <joseph@codesourcery.com>
49974
49975 [BZ #5077]
49976 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49977 rounding modes.
49978
0520adde
FB
499792012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49980
49981 [BZ #6907]
49982 * manual/string.texi (strchr): Change when strchrnul is
49983 recommended.
49984
3f4081cd
DGM
499852012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49986
49987 [BZ #174]
49988 * manual/locale.texi (setlocale): Document LOCPATH.
49989
d1b10e78
JM
499902012-02-17 Joseph Myers <joseph@codesourcery.com>
49991
49992 [BZ #10210]
49993 * manual/process.texi (execle): Move @dots{} before last argument.
49994
79c6869c
PB
499952012-02-17 Paul Bolle <pebolle@tiscali.nl>
49996
49997 [BZ #12047]
49998 * manual/charset.texi (Generic Charset Conversion): Fix typo
49999 (LC_TYPE -> LC_CTYPE).
50000
cc6e48bc
NB
500012012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50002
50003 [BZ #5805]
50004 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50005 (scalbnf): Likewise.
50006 (scalbnl): Likewise.
50007 (scalbln): Likewise.
50008 (scalblnf): Likewise.
50009 (scalblnl): Likewise.
50010 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50011 (vwarnx): Likewise.
50012 (verr): Likewise.
50013 (verrx): Likewise.
50014 * manual/filesys.texi (telldir): Use braces around return type.
50015 * manual/llio.texi (mmap): Add space after comma.
50016 (mmap64): Likewise.
50017 * manual/math.texi (jn): Use @var{} on parameter names.
50018 (jnf): Likewise.
50019 (jnl): Likewise.
50020 (yn): Likewise.
50021 (ynf): Likewise.
50022 (ynl): Likewise.
50023 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50024 line.
50025 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50026 "...".
50027 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50028 (sched_get_priority_max): Likewise.
50029 * manual/signal.texi (sigvec): Add space after comma.
50030 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50031 names.
50032 (if_indextoname): Likewise.
50033 (if_freenameindex): Likewise.
50034 (sendto): Use ',' instead of '.' in prototype.
50035 * manual/startup.texi (syscall): Use @dots{} instead of literal
50036 "...".
50037 * manual/stdio.texi (__fpending): Separate initial words of
50038 paragraph from @deftypefun line.
50039 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50040 "...".
50041 (vsyslog): Use @var{} on parameter names.
50042 * manual/terminal.texi (stty): Use @var{} on parameter names.
50043 * manual/users.texi (getutmp): Use @var{} on parameter names.
50044 (getutmpx): Likewise.
50045
5b23062f
JM
500462012-02-17 Joseph Myers <joseph@codesourcery.com>
50047
50048 [BZ #6884]
50049 * manual/stdio.texi (fopen): Fix typos in description of
50050 ",ccs=STRING".
50051
8dee4833
AJ
500522012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50053
50054 [BZ #4026]
50055 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50056 get clock_id definition.
50057
9078ce93
TS
500582012-02-17 Thomas Schwinge <thomas@schwinge.name>
50059
50060 [BZ #4822]
50061 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50062 (madvise): Cast every argument to void on its own.
50063
3835c55f
JM
500642012-02-17 Joseph Myers <joseph@codesourcery.com>
50065
50066 [BZ #9902]
50067 * manual/startup.texi (Exit Status): Fix typo.
50068
35c47e37
JM
500692012-02-17 Joseph Myers <joseph@codesourcery.com>
50070
50071 [BZ #10140]
50072 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50073 * manual/examples/argp-ex2.c: Likewise.
50074 * manual/examples/argp-ex3.c: Likewise.
50075
e3b69ca7
RH
500762012-02-16 Richard Henderson <rth@redhat.com>
50077
50078 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50079 * sysdeps/s390/s390-32/initfini.c: Remove.
50080 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50081 * sysdeps/s390/s390-64/initfini.c: Remove.
50082
df83af67
KK
500832012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50084
50085 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50086 compiler output for sysdeps/generic/initfini.c.
50087 * sysdeps/sh/elf/initfini.c: Remove file.
50088
f63f3380
DM
500892012-02-16 David S. Miller <davem@davemloft.net>
50090
fb59b3a4
DM
50091 [BZ #11494]
50092 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50093
f63f3380
DM
50094 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50095 * sysdeps/sparc/crti.S: New file.
50096 * sysdeps/sparc/crtn.S: New file.
50097 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50098 * sysdeps/sparc/sparc64/Makefile: Likewise.
50099
df6a4a4a
MF
501002012-02-15 Mike Frysinger <vapier@gentoo.org>
50101
6dd8f3dc 50102 [BZ #3335]
df6a4a4a
MF
50103 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50104
1cac7236
RM
501052012-02-15 Roland McGrath <roland@hack.frob.com>
50106
d2c736f8
RM
50107 [BZ #4822]
50108 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50109
1cac7236
RM
50110 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50111 (write, read, close): Likewise.
50112 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50113
8e475601
JM
501142012-02-15 Joseph Myers <joseph@codesourcery.com>
50115
50116 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50117 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50118 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50119 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50120 <bits/signalfd.h>.
50121 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50123 bits/signalfd.h.
50124
ed656b40
MP
501252012-02-14 Marek Polacek <polacek@redhat.com>
50126
50127 * sysdeps/x86_64/crti.S: New file.
50128 * sysdeps/x86_64/crtn.S: New file.
50129 * sysdeps/x86_64/elf/initfini.c: Remove file.
50130
2a979d3a
JM
501312012-02-13 Joseph Myers <joseph@codesourcery.com>
50132
50133 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50134 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50135 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50136 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50137 <bits/inotify.h>.
50138 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50140 bits/inotify.h.
50141
2a418ac3
JM
501422012-02-13 Joseph Myers <joseph@codesourcery.com>
50143
50144 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50145 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50146 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50147 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50148 <bits/eventfd.h>.
50149 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50151 bits/eventfd.h.
50152
fb779be7
TS
501532012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50154
e19e83c5
RM
50155 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50156 __feraiseexcept instead of feraiseexcept.
7c35ffed 50157
fb779be7
TS
50158 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50159 nanosleep invocations.
50160 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50161 strings, and add error checking for a nanosleep invocations.
50162
59ba27a6
PE
501632012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50164
50165 Replace FSF snail mail address with URLs, as per GNU coding standards.
50166 Most of the snail mail addresses were wrong anyway, and omitting
50167 them makes the source code easier to maintain. Almost all of the
50168 changes are to license notices and to locale LC_IDENTIFICATION
50169 addresses, except for this one:
50170 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50171 not its snail mail address.
50172
57b957eb
RH
501732012-02-09 Richard Henderson <rth@twiddle.net>
50174
af850b1c
RH
50175 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50176 of kernel-features.h.
50177
57b957eb
RH
50178 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50179
6b73181a
MP
501802012-02-08 Marek Polacek <polacek@redhat.com>
50181
50182 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50183 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50184 * sysdeps/gnu/_G_config.h: Likewise.
50185 * sysdeps/generic/_G_config.h: Likewise.
50186
26ecc33a
AS
501872012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50188
6c6dbc63
AS
50189 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50190 tests.
50191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50192
e216c012
AS
50193 * sysdeps/powerpc/powerpc32/crti.S: New file.
50194 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50195 * sysdeps/powerpc/powerpc64/crti.S: New file.
50196 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50197
26ecc33a
AS
50198 * Makeconfig (have-initfini): Don't set.
50199 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50200 * configure.in (nopic_initfini): Don't substitute.
50201 * config.h.in (HAVE_INITFINI): Don't #undef.
50202 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50203 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50204
3add8e13
JM
502052012-02-08 Joseph Myers <joseph@codesourcery.com>
50206
50207 Support crti.S and crtn.S provided directly by architectures.
50208 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50209 [crti.S in sysdirs] (omit-deps): Likewise.
50210 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50211 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50212 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50213 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50214 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50215 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50216 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50217 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50218 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50219 compiler output for sysdeps/generic/initfini.c.
50220 * sysdeps/i386/elf/Makefile: Remove file.
50221 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50222
a22f12b4
MP
502232012-02-07 Marek Polacek <polacek@redhat.com>
50224
50225 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50226 * sysdeps/gnu/_G_config.h: Likewise.
50227 * sysdeps/mach/hurd/_G_config.h: Likewise.
50228
148cf100
MP
502292012-02-07 Marek Polacek <polacek@redhat.com>
50230
50231 * math/Makefile (tests): Add tst-CMPLX2.
50232 * math/tst-CMPLX2.c: New file.
50233
cfdc0dd7
AS
502342012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50235
84ba42c4
AS
50236 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50237
cfdc0dd7
AS
50238 * math/libm-test.inc (jn_test): Add missing L suffix.
50239
622c86f4
MP
502402012-02-06 Marek Polacek <polacek@redhat.com>
50241
50242 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50243 * sysdeps/i386/fpu/e_powf.S: Likewise.
50244 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50245 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50246 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50247 * sysdeps/i386/fpu/e_pow.S: Likewise.
50248 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50249 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50250 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50251 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50252 * sysdeps/i386/fpu/e_log2.S: Likewise.
50253 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50254 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50255 * sysdeps/i386/fpu/e_powl.S: Likewise.
50256 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50257 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50258 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50259 * sysdeps/i386/fpu/e_logl.S: Likewise.
50260 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50261 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50262 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50263 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50264 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50265 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50266 * sysdeps/i386/fpu/e_log.S: Likewise.
50267 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50268 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50269 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50270 * sysdeps/i386/fpu/e_logf.S: Likewise.
50271 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50272 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50273 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50274 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50275 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50276 * sysdeps/i386/fpu/e_log10.S: Likewise.
50277 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50278 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50279 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50280 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50281 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50282 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50283 * sysdeps/i386/asm-syntax.h: Likewise.
50284 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50285 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50286 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50287 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50288 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50289 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50290 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50291 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50292 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50293 * sysdeps/powerpc/sysdep.h: Likewise.
50294 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50295 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50296
d4a54ac6
JM
502972012-02-06 Joseph Myers <joseph@codesourcery.com>
50298
50299 [BZ #411]
50300 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50301
314054ea
JM
503022012-02-06 Joseph Myers <joseph@codesourcery.com>
50303
50304 * sysdeps/i386/sysdep.h: Include <features.h>.
50305 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50306 version.
50307
d8e0ca50
JM
503082012-02-05 Joseph Myers <joseph@codesourcery.com>
50309
50310 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50311 Define.
50312 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50313 LOAD_PIC_REG_STR.
50314
b1da7dd9
JM
503152012-02-03 Joseph Myers <joseph@codesourcery.com>
50316
50317 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50318 (SETUP_PIC_REG): Use GET_PC_THUNK.
50319 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50320 macro.
50321
9a1d9254
JM
503222012-02-03 Joseph Myers <joseph@codesourcery.com>
50323
50324 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50325 for non-PIC compilation.
50326 (SETUP_PIC_REG): Add .p2align directive.
50327 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50328 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50329 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50330 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50331 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50332 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50333 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50334 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50335 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50336 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50337 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50338 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50339 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50340 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50341 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50342 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50343 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50344 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50345 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50346 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50347 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50348 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50349 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50350 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50351 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50352 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50353 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50354 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50355 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50356 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50357 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50358 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50359 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50360 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50361 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50362 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50363 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50364 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50365 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50366 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50367 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50368
65dc3b75
JM
503692012-02-03 Joseph Myers <joseph@codesourcery.com>
50370
50371 * math/tst-CMPLX.c: Include <stdio.h>.
50372
d55bf177
JM
503732012-01-31 Joseph Myers <joseph@codesourcery.com>
50374
50375 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50376 float.
50377 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50378 * sysdeps/sparc/bits/mathdef.h: Likewise.
50379
69db4f8f
MP
503802012-01-31 Marek Polacek <polacek@redhat.com>
50381
50382 * libio/libio.h: Don't define _PARAMS.
50383 * locale/programs/config.h: Don't define PARAMS.
50384 * stdlib/strtol_l.c: Likewise.
50385 (__strtol_l): Remove PARAMS from the prototype.
50386
41b81892
UD
503872012-01-31 Ulrich Drepper <drepper@gmail.com>
50388
3b49edc0
UD
50389 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50390 names. Just use the correct names. Remove unnecessary wrapper
50391 functions.
50392 * malloc/arena.c: Likewise.
50393 * malloc/hooks.c: Likewise.
50394
41b81892
UD
50395 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50396 ARENA_TEST says not to. Simplify test for creation of a new arena.
50397 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50398
27a25b6e
UD
503992012-01-30 Ulrich Drepper <drepper@gmail.com>
50400
50401 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50402 into tail calls.
50403 (update_get_addr): New function.
50404 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50405 GET_ADDR_MODULE parameter.
50406
c8a89e7d
JM
504072012-01-30 Joseph Myers <joseph@codesourcery.com>
50408
50409 * crypt/cert.c: Remove __STDC__ conditionals.
50410 * crypt/crypt-entry.c: Likewise.
50411 * crypt/crypt_util.c: Likewise.
50412 * libio/filedoalloc.c: Likewise.
50413 * libio/fileops.c: Likewise.
50414 * libio/genops.c: Likewise.
50415 * libio/iofclose.c: Likewise.
50416 * libio/iofdopen.c: Likewise.
50417 * libio/iofopen.c: Likewise.
50418 * libio/iofopen64.c: Likewise.
50419 * libio/iogetdelim.c: Likewise.
50420 * libio/iopopen.c: Likewise.
50421 * libio/obprintf.c: Likewise.
50422 * libio/oldfileops.c: Likewise.
50423 * libio/oldiofclose.c: Likewise.
50424 * libio/oldiofdopen.c: Likewise.
50425 * libio/oldiofopen.c: Likewise.
50426 * libio/oldiopopen.c: Likewise.
50427 * libio/wfiledoalloc.c: Likewise.
50428 * libio/wgenops.c: Likewise.
50429 * locale/programs/xmalloc.c: Likewise.
50430 * misc/syslog.c: Likewise.
50431 * stdio-common/xbug.c: Likewise.
50432 * string/memchr.c: Likewise.
50433 * string/memcmp.c: Likewise.
50434 * string/memrchr.c: Likewise.
50435 * string/rawmemchr.c: Likewise.
50436 * sysdeps/posix/getcwd.c: Likewise.
50437 * time/strftime_l.c: Likewise.
50438
3b100462
JM
504392012-01-30 Joseph Myers <joseph@codesourcery.com>
50440
50441 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50442 * config.make.in (config-cflags-sse2avx): Define.
50443 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50444 Fix typo.
50445
607998af
CM
504462012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50447
50448 * scripts/config.guess: Update from upstream config git repository.
50449 * scripts/config.sub: Likewise.
50450
3601428f
CM
504512012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50452
3ac8b282
CM
50453 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50454 (EM_NUM): Update.
50455 (R_TILEPRO_*, R_TILEGX_*): New macros.
50456
e034841e
CM
50457 * scripts/firstversions.awk: Fix bug in version range handling.
50458
540d7568
CM
50459 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50460
3601428f
CM
50461 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50462
463de862
CM
50463 * include/sys/epoll.h: New file.
50464 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50465 libc_hidden_def.
50466
73139a76
UD
504672012-01-28 Ulrich Drepper <drepper@gmail.com>
50468
96bc5b45
UD
50469 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50470 Avoid unnecessary __WORDSIZE == 64 test.
50471 (fmaxf): Use VEX format if possible.
50472 (fmax): Likewise.
50473 (fminf): Likewise.
50474 (fmin): Likewise.
50475
56f6f6a2
UD
50476 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50477 * math/math_private.h: Remove libc_fegetround* and
50478 libc_fesetround*.
50479 * sysdeps/i386/configure.in: Check for -msse2avx.
50480 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50481 also if SSE2AVX is defined.
50482 Remove libc_fegetround* and libc_fesetround*.
50483 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50484 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50485 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50486 of HAS_YMM_USABLE.
50487 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50488 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50489 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50490 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50491 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50492
73139a76
UD
50493 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50494
d73f93a4
AZ
504952012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50496
50497 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50498 size is not set.
50499 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50500
6ee65ed6
UD
505012012-01-27 Ulrich Drepper <drepper@gmail.com>
50502
50503 [BZ #13618]
50504 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50505 relocation.
50506 * Makeconfig (libm): Define.
50507 * elf/Makefile: Add rules to build and run tst-relsort1.
50508 * elf/tst-relsort1.c: New file.
50509 * elf/tst-relsort1mod1.c: New file.
50510 * elf/tst-relsort1mod2.c: New file.
50511
8db21882
JM
505122012-01-27 Joseph Myers <joseph@codesourcery.com>
50513
50514 * math/s_ldexp.c: Remove __STDC__ conditionals.
50515 * math/s_ldexpf.c: Likewise.
50516 * math/s_ldexpl.c: Likewise.
50517 * math/s_nextafter.c: Likewise.
50518 * math/s_nexttowardf.c: Likewise.
50519 * math/s_significand.c: Likewise.
50520 * math/s_significandf.c: Likewise.
50521 * math/s_significandl.c: Likewise.
50522 * math/w_jnl.c: Likewise.
50523 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50524 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50525 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50526 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50527 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50528 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50529 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50530 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50531 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50532 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50533 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50534 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50535 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50536 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50537 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50538 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50539 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50540 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50542 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50543 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50544 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50545 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50546 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50547 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50548 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50549 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50550 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50551 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50552 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50553 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50554 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50555 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50556 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50557 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50558 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50559 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50560 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50561 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50562 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50563 * sysdeps/ieee754/k_standard.c: Likewise.
50564 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50565 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50566 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50567 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50568 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50569 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50570 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50571 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50572 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50573 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50574 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50575 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50576 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50577 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50578 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50579 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50580 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50581 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50582 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50583 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50584 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50585 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50586 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50587 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50588 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50589 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50590 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50591 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50592 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50593 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50594 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50595 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50596 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50597 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50598 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50599 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50600 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50601 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50602 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50603 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50604 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50605 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50606 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50607 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50608 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50609 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50610 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50611 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50612 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50613 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50614 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50615 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50616 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50617 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50618 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50619 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50620 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50621 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50622 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50623 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50624 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50625 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50626 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50627 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50628 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50629 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50630 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50631 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50632 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50633 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50634 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50635 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50636 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50637 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50638 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50639 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50640 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50641 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50642 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50643 * sysdeps/ieee754/s_matherr.c: Likewise.
50644 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50645 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50646 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50647 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50648
965a54a4
JM
506492012-01-26 Joseph Myers <joseph@codesourcery.com>
50650
50651 * crypt/md5.h: Remove __STDC__ conditionals.
50652 * libio/libioP.h: Likewise.
50653 * locale/programs/config.h: Likewise.
50654 * sysdeps/generic/sysdep.h: Likewise.
50655 * sysdeps/i386/asm-syntax.h: Likewise.
50656 * sysdeps/s390/asm-syntax.h: Likewise.
50657 * sysdeps/unix/sysdep.h: Likewise.
50658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50660
7071ad79
JM
506612012-01-26 Joseph Myers <joseph@codesourcery.com>
50662
50663 * libio/libio.h: Remove __STDC__ conditionals.
50664 * malloc/obstack.h: Likewise.
50665 * math/complex.h: Likewise.
50666 * math/math.h: Likewise.
50667 * sysdeps/generic/_G_config.h: Likewise.
50668 * sysdeps/gnu/_G_config.h: Likewise.
50669 * sysdeps/mach/hurd/_G_config.h: Likewise.
50670 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50671 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50672 * sysdeps/sparc/bits/mathdef.h: Likewise.
50673
afc5ed09
UD
506742012-01-26 Ulrich Drepper <drepper@gmail.com>
50675
50676 [BZ #13583]
50677 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50678 Clean up HAS_* macros.
afc5ed09 50679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50680 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50681 possible.
50682 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50683 HAS_AVX.
50684 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50685 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50686 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50687 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50688 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50689
bdb6de1d
JM
506902012-01-25 Joseph Myers <joseph@codesourcery.com>
50691
50692 * elf/tst-unique3.cc (gets): Remove declaration.
50693 * elf/tst-unique3lib.cc (gets): Likewise.
50694 * elf/tst-unique3lib2.cc (gets): Likewise.
50695 * elf/tst-unique4.cc (gets): Likewise.
50696
b15549e6
UD
506972012-01-24 Ulrich Drepper <drepper@gmail.com>
50698
50699 * include/stdio.h: Add C++ protection. Add gets declarations and
50700 definitions.
50701 * debug/tst-chk1.c: Don't declare gets here.
50702 * stdio-common/tst-gets.c: Likewise.
50703
a037381f
JM
507042012-01-24 Joseph Myers <joseph@codesourcery.com>
50705
50706 * posix/glob: Remove directory.
50707
f1d4aa75
JM
507082012-01-24 Joseph Myers <joseph@codesourcery.com>
50709
50710 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50711
81c0c964
PT
507122012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50713
50714 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50715 of the non-standard EPFNOSUPPORT.
50716
0ea698ae
ST
507172011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50718
50719 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50720 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50721 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50722
d220b117
UD
507232012-01-21 Ulrich Drepper <drepper@gmail.com>
50724
50725 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50726
3e1aa84e
UD
507272012-01-20 Ulrich Drepper <drepper@gmail.com>
50728
50729 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50730 transient errors.
50731 * nscd/grpcache.c (cache_addgr): Likewise.
50732 * nscd/hstcache.c (cache_addhst): Likewise.
50733 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50734 * nscd/pwdcache.c (cache_addpw): Likewise.
50735 * nscd/servicescache.c (cache_addserv): Likewise.
50736
400aa020
UD
507372012-01-16 Ulrich Drepper <drepper@gmail.com>
50738
d77e7869
UD
50739 * malloc/malloc.c: Various cleanups.
50740 * malloc/hooks.c: Likewise.
50741
400aa020
UD
50742 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50743 * stdlib/bug-fmtmsg1.c: New file.
50744
50745 * stdlib/fmtmsg.c (init): Add missing unlock.
50746 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50747
e0a309cf
MP
507482012-01-12 Marek Polacek <polacek@redhat.com>
50749
50750 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50751 and _GNU_SOURCE.
50752
929d11c7
WS
507532012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50754
50755 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50756 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50757 macro to ensure uniqueness of label name.
50758 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50759 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50760
41d0e869
UD
507612012-01-11 Ulrich Drepper <drepper@gmail.com>
50762
0cc5ed3b
UD
50763 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50764
41d0e869
UD
50765 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50766 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50767 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50768 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50769
a47a831a
UD
507702012-01-10 Ulrich Drepper <drepper@gmail.com>
50771
daa891c0
UD
50772 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50773
50774 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50775 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50776 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50777
e58ef0f2
UD
50778 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50779
a47a831a 50780 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50781 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50782 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50783 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50784
50785 * math/bits/math-finite.h: Add ldexp support.
50786
a0bfc9c7
MP
507872012-01-10 Marek Polacek <polacek@redhat.com>
50788
50789 * locale/programs/localedef.h (show_archive_content): Add noreturn
50790 attribute.
50791
d6e97a1d
UD
507922012-01-09 Ulrich Drepper <drepper@gmail.com>
50793
50794 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50795
d5835c26
UD
507962012-01-08 Ulrich Drepper <drepper@gmail.com>
50797
e5f484c6
UD
50798 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50799
d5835c26
UD
50800 * io/Makefile (headers): Add bits/poll2.h.
50801
d1f741e9
WS
508022011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50803
50804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50805 typo #include statement.
50806
ec09c1c4
UD
508072012-01-08 Ulrich Drepper <drepper@gmail.com>
50808
50809 * include/sys/cdefs.h: Define __attribute_alloc_size.
50810 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50811 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50812 * elf/pldd.c: Likewise.
50813 * iconv/iconv_charmap.c: Likewise.
50814 * iconv/iconvconfig.c: Likewise.
50815 * iconv/strtab.c: Likewise.
50816 * locale/programs/locale.c: Likewise.
50817 * locale/programs/localedef.h: Likewise.
50818 * locale/programs/simple-hash.c: Likewise.
50819 * nscd/nscd.h: Likewise.
50820 * nss/makedb.c: Likewise.
50821 * sysdeps/generic/ldconfig.h: Likewise.
50822 * locale/programs/localedef.c: Remove xmalloc prototype.
50823 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50824
20b38e03
PP
508252012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50826
50827 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50828 appropriate.
50829
a0da5fe1
UD
508302012-01-08 Ulrich Drepper <drepper@gmail.com>
50831
1d5a644a 50832 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50833 * math/tst-CMPLX.c: New file.
1d5a644a 50834
8784a6db
UD
50835 * math/complex.h (CMPLXL): Fix typo.
50836
d9a216c0
UD
50837 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50838 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50839 GLIBC_2.16.
50840 * debug/tst-chk1.c: Add poll and ppoll tests.
50841 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50842 * include/sys/poll.h: Add hidden proto for ppoll.
50843 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50844 * sysdeps/mach/hurd/ppoll.c: Likewise.
50845 * io/ppoll.c: Likewise.
50846 * debug/poll_chk.c: New file.
50847 * debug/ppoll_chk.c: New file.
50848 * include/bits/poll2.h: New file.
50849 * io/bits/poll2.h: New file.
50850
ac097f5c
UD
50851 [BZ #1350]
50852 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50853
2119dcfa
UD
50854 * configure.in: static is always set to yes. Remove.
50855 * config.make.in: Don't set build-static.
50856 * Makeconfig: Remove use of build-static.
50857 * dlfcn/Makefile: Likewise.
50858 * elf/Makefile: Likewise.
50859 * math/Makefile: Likewise.
50860 * misc/Makefile: Likewise.
50861 * nptl/Makefile: Likewise.
50862 * sysdeps/mach/hurd/Makefile: Likewise.
50863
121766a9
UD
50864 * configure.in: PWD_P is not used anymore.
50865 * config.make.in: Remove PWD_P entry.
50866
51a1d39c 50867 * configure.in: Remove last remnants of RANLIB.
8720d066 50868 No need to check for signed size_t anymore.
215f4bdc
UD
50869 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50870 and IA-64.
3857022a 50871 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50872 * aclocal.m4: Likewise.
50873
d3ed7225
UD
50874 * wcsmbs/mbrtoc16.c: Implement using towc function.
50875 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50876 * wcsmbs/wcsmbsload.c: Likewise.
50877 * iconv/gconv_simple.c: Likewise.
50878 * iconv/gconv_int.h: Likewise.
50879 * iconv/gconv_builtin.h: Likewise.
50880 * iconv/iconv_prog.c: Remove CHAR16 handling.
50881
50882 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50883
50884 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50885
a0da5fe1
UD
50886 * configure.in: Remove --with-elf and --enable-bounded options.
50887 Dont set base_machine for ia64. More non-ELF conditions removed.
50888 Remove testing and setting of leading underscore information.
50889 * config.make.in (build-bounded): Set to no.
50890 * config.h.in: Remove NO_UNDERSCORES entry.
50891 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50892 them.
50893 * csu/start.c: Remove !NO_UNDERSCORE code.
50894 * locale/localeinfo.h: Likewise.
50895 * sysdeps/generic/machine-gmon.h: Likewise.
50896 * sysdeps/generic/sysdep.h: Likewise.
50897 * sysdeps/i386/sysdep.h: Likewise.
50898 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50899 * sysdeps/mach/sysdep.h: Likewise.
50900 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50901 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50902 * sysdeps/sh/sysdep.h: Likewise.
50903 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50904 * sysdeps/unix/i386/sysdep.S: Likewise.
50905 * sysdeps/unix/sparc/start.c: Likewise.
50906 * sysdeps/unix/sparc/sysdep.S: Likewise.
50907 * sysdeps/unix/sparc/sysdep.h: Likewise.
50908 * sysdeps/unix/start.c: Likewise.
50909 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50910 * sysdeps/x86_64/sysdep.h: Likewise.
50911
df78418a
UD
509122012-01-07 Ulrich Drepper <drepper@gmail.com>
50913
a784e502
UD
50914 [BZ #13553]
50915 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50916 for non-gcc.
50917 * argp/argp-fmtstream.h: Use const instead __const.
50918 * argp/argp.h: Likewise.
50919 * assert/assert.h: Likewise.
50920 * bits/fenv.h: Likewise.
50921 * bits/sched.h: Likewise.
50922 * bits/sigset.h: Likewise.
50923 * bits/sigthread.h: Likewise.
50924 * catgets/nl_types.h: Likewise.
50925 * conform/data/pthread.h-data: Likewise.
50926 * crypt/crypt-private.h: Likewise.
50927 * crypt/crypt.h: Likewise.
50928 * crypt/crypt_util.c: Likewise.
50929 * ctype/ctype.h: Likewise.
50930 * debug/execinfo.h: Likewise.
50931 * debug/mbsnrtowcs_chk.c: Likewise.
50932 * debug/mbsrtowcs_chk.c: Likewise.
50933 * debug/wcsnrtombs_chk.c: Likewise.
50934 * debug/wcsrtombs_chk.c: Likewise.
50935 * debug/wcstombs_chk.c: Likewise.
50936 * dirent/dirent.h: Likewise.
50937 * dlfcn/dlfcn.h: Likewise.
50938 * elf/neededtest4.c: Likewise.
50939 * grp/grp.h: Likewise.
50940 * gshadow/gshadow.h: Likewise.
50941 * iconv/gconv.h: Likewise.
50942 * iconv/gconv_int.h: Likewise.
50943 * iconv/gconv_simple.c: Likewise.
50944 * iconv/iconv.h: Likewise.
50945 * iconv/loop.c: Likewise.
50946 * iconv/skeleton.c: Likewise.
50947 * include/aio.h: Likewise.
50948 * include/aliases.h: Likewise.
50949 * include/argz.h: Likewise.
50950 * include/arpa/inet.h: Likewise.
50951 * include/assert.h: Likewise.
50952 * include/dirent.h: Likewise.
50953 * include/dlfcn.h: Likewise.
50954 * include/execinfo.h: Likewise.
50955 * include/fcntl.h: Likewise.
50956 * include/fenv.h: Likewise.
50957 * include/glob.h: Likewise.
50958 * include/grp.h: Likewise.
50959 * include/libintl.h: Likewise.
50960 * include/mntent.h: Likewise.
50961 * include/netdb.h: Likewise.
50962 * include/pwd.h: Likewise.
50963 * include/rpc/netdb.h: Likewise.
50964 * include/sched.h: Likewise.
50965 * include/search.h: Likewise.
50966 * include/shadow.h: Likewise.
50967 * include/signal.h: Likewise.
50968 * include/stdio.h: Likewise.
50969 * include/stdlib.h: Likewise.
50970 * include/string.h: Likewise.
50971 * include/sys/socket.h: Likewise.
50972 * include/sys/stat.h: Likewise.
50973 * include/sys/statfs.h: Likewise.
50974 * include/sys/statvfs.h: Likewise.
50975 * include/sys/syslog.h: Likewise.
50976 * include/sys/time.h: Likewise.
50977 * include/sys/uio.h: Likewise.
50978 * include/time.h: Likewise.
50979 * include/unistd.h: Likewise.
50980 * include/utmp.h: Likewise.
50981 * include/wchar.h: Likewise.
50982 * include/wctype.h: Likewise.
50983 * inet/aliases.h: Likewise.
50984 * inet/arpa/inet.h: Likewise.
50985 * inet/netinet/ether.h: Likewise.
50986 * inet/netinet/in.h: Likewise.
50987 * intl/libintl.h: Likewise.
50988 * io/bits/fcntl2.h: Likewise.
50989 * io/fcntl.h: Likewise.
50990 * io/ftw.h: Likewise.
50991 * io/sys/poll.h: Likewise.
50992 * io/sys/stat.h: Likewise.
50993 * io/sys/statfs.h: Likewise.
50994 * io/sys/statvfs.h: Likewise.
50995 * io/utime.h: Likewise.
50996 * libio/bits/stdio.h: Likewise.
50997 * libio/bits/stdio2.h: Likewise.
50998 * libio/libio.h: Likewise.
50999 * libio/libioP.h: Likewise.
51000 * libio/stdio.h: Likewise.
51001 * locale/lc-ctype.c: Likewise.
51002 * locale/locale.h: Likewise.
51003 * login/utmp.h: Likewise.
51004 * malloc/arena.c: Likewise.
51005 * malloc/malloc.c: Likewise.
51006 * malloc/malloc.h: Likewise.
51007 * malloc/mcheck.c: Likewise.
51008 * malloc/mtrace.c: Likewise.
51009 * math/bits/mathcalls.h: Likewise.
51010 * math/fenv.h: Likewise.
51011 * math/math_private.h: Likewise.
51012 * misc/bits/error.h: Likewise.
51013 * misc/bits/syslog.h: Likewise.
51014 * misc/err.h: Likewise.
51015 * misc/error.h: Likewise.
51016 * misc/fstab.h: Likewise.
51017 * misc/mntent.h: Likewise.
51018 * misc/regexp.h: Likewise.
51019 * misc/search.h: Likewise.
51020 * misc/sgtty.h: Likewise.
51021 * misc/sys/mman.h: Likewise.
51022 * misc/sys/syslog.h: Likewise.
51023 * misc/sys/uio.h: Likewise.
51024 * misc/sys/xattr.h: Likewise.
51025 * misc/ttyent.h: Likewise.
51026 * nis/rpcsvc/ypclnt.h: Likewise.
51027 * nss/nss.h: Likewise.
51028 * posix/bits/unistd.h: Likewise.
51029 * posix/fnmatch.h: Likewise.
51030 * posix/glob.h: Likewise.
51031 * posix/sched.h: Likewise.
51032 * posix/spawn.h: Likewise.
51033 * posix/sys/wait.h: Likewise.
51034 * posix/unistd.h: Likewise.
51035 * posix/wordexp.h: Likewise.
51036 * pwd/pwd.h: Likewise.
51037 * resolv/netdb.h: Likewise.
51038 * resource/sys/resource.h: Likewise.
51039 * rt/aio.h: Likewise.
51040 * rt/bits/mqueue2.h: Likewise.
51041 * rt/mqueue.h: Likewise.
51042 * shadow/shadow.h: Likewise.
51043 * signal/signal.h: Likewise.
51044 * socket/send.c: Likewise.
51045 * socket/sendto.c: Likewise.
51046 * socket/sys/socket.h: Likewise.
51047 * stdio-common/printf.h: Likewise.
51048 * stdlib/bits/stdlib.h: Likewise.
51049 * stdlib/fmtmsg.h: Likewise.
51050 * stdlib/monetary.h: Likewise.
51051 * stdlib/stdlib.h: Likewise.
51052 * stdlib/ucontext.h: Likewise.
51053 * streams/stropts.h: Likewise.
51054 * string/argz.h: Likewise.
51055 * string/bits/string2.h: Likewise.
51056 * string/string.h: Likewise.
51057 * string/strings.h: Likewise.
51058 * sunrpc/rpc/auth.h: Likewise.
51059 * sunrpc/rpc/auth_des.h: Likewise.
51060 * sunrpc/rpc/clnt.h: Likewise.
51061 * sunrpc/rpc/netdb.h: Likewise.
51062 * sunrpc/rpc/pmap_clnt.h: Likewise.
51063 * sunrpc/rpc/xdr.h: Likewise.
51064 * sysdeps/generic/inttypes.h: Likewise.
51065 * sysdeps/generic/net/if.h: Likewise.
51066 * sysdeps/generic/sys/swap.h: Likewise.
51067 * sysdeps/gnu/net/if.h: Likewise.
51068 * sysdeps/gnu/utmpx.h: Likewise.
51069 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51070 * sysdeps/i386/i486/bits/string.h: Likewise.
51071 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51072 * sysdeps/s390/bits/string.h: Likewise.
51073 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51074 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51075 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51076 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51077 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51078 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51079 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51080 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51081 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51082 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51083 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51084 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51085 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51086 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51087 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51088 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51089 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51091 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51092 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51093 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51094 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51095 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51096 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51097 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51098 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51099 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51100 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51101 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51102 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51103 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51104 * sysvipc/sys/ipc.h: Likewise.
51105 * sysvipc/sys/msg.h: Likewise.
51106 * sysvipc/sys/sem.h: Likewise.
51107 * sysvipc/sys/shm.h: Likewise.
51108 * termios/termios.h: Likewise.
51109 * time/sys/time.h: Likewise.
51110 * time/time.h: Likewise.
51111 * wcsmbs/bits/wchar2.h: Likewise.
51112 * wcsmbs/uchar.h: Likewise.
51113 * wcsmbs/wchar.h: Likewise.
51114 * wctype/wctype.h: Likewise.
51115
0269750c
UD
51116 [BZ #13551]
51117 * Makeconfig: Remove all but ELF support including AIX support.
51118 * Makerules: Likewise.
51119 * config.h.in: Likewise.
51120 * config.make.in: Likewise.
51121 * configure: Likewise.
51122 * configure.in: Likewise.
51123 * csu/Makefile: Likewise.
51124 * csu/version.c: Likewise.
51125 * debug/Makefile: Likewise.
51126 * dlfcn/Makefile: Likewise.
51127 * elf/Makefile: Likewise.
51128 * extra-lib.mk: Likewise.
51129 * iconv/Makefile: Likewise.
51130 * include/libc-symbols.h: Likewise.
51131 * include/shlib-compat.h: Likewise.
51132 * resolv/Makefile: Likewise.
51133 * resolv/res_libc.c: Likewise.
51134 * rt/Makefile: Likewise.
51135 * sysdeps/i386/asm-syntax.h: Likewise.
51136 * sysdeps/i386/sysdep.h: Likewise.
51137 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51138 * sysdeps/mach/sysdep.h: Likewise.
51139 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51140 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51141 * sysdeps/s390/asm-syntax.h: Likewise.
51142 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51143 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51144 * sysdeps/sh/sysdep.h: Likewise.
51145 * sysdeps/unix/sparc/sysdep.h: Likewise.
51146 * sysdeps/wordsize-32/divdi3.c: Likewise.
51147 * sysdeps/x86_64/sysdep.h: Likewise.
51148
00bbd29b
UD
51149 * argp/Versions: Remove _argp_unlock_xxx.
51150
51151 [BZ #13559]
51152 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51153 * abilist/libBrokenLocale.abilist: Likewise.
51154 * abilist/libanl.abilist: Likewise.
51155 * abilist/libc.abilist: Likewise.
51156 * abilist/libcrypt.abilist: Likewise.
51157 * abilist/libdl.abilist: Likewise.
51158 * abilist/libm.abilist: Likewise.
51159 * abilist/libnsl.abilist: Likewise.
51160 * abilist/libpthread.abilist: Likewise.
51161 * abilist/libresolv.abilist: Likewise.
51162 * abilist/librt.abilist: Likewise.
51163 * abilist/libthread_db.abilist: Likewise.
51164 * abilist/libutil.abilist: Likewise.
51165 * abilist/libnss_db.abilist: New file.
51166
51167 * scripts/abilist.awk: Add support for indirect functions.
51168
a2693a0e
UD
51169 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51170
3f05895f
UD
51171 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51172
ecb6fb48
UD
51173 * shlib-versions: Remove entries for ports architectures.
51174
664f8cb9
UD
51175 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51176 files in ports.
51177 * elf/stackguard-macros.h: Remove support for IA-64.
51178 * elf/tst-auditmod1.c: Likewise.
51179 * sysdeps/generic/ldsodefs.h: Likewise.
51180
7ae81d88
UD
51181 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51182 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51183 configure files.
51184
bdeba135
UD
51185 [BZ #13552]
51186 * configure.in: Remove --enable-omitfp support.
51187 * FAQ.in: Adjust.
51188 * config.make.in: Likewise.
51189 * Makeconfig: Likewise.
51190 * manual/install.texi: Likewise.
51191
d75a0a62
UD
51192 In case anyone cares, the IA-64 architecture could move to ports.
51193 * sysdeps/ia64/*: Removed.
51194 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 51195 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 51196
dcc9756b
UD
51197 [BZ #13555]
51198 * configure.in: Remove entries for unsupported architectures.
51199
d3761ebc 51200 [BZ #13533]
9954432e
UD
51201 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51202 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51203 routines.
51204 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51205 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51206 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51207 fall back to using wcrtomb.
51208 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51209 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51210 renaming.
51211 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51212 * wcsmbs/tst-c16c32-1.c: New file.
51213
51214 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51215 local variable.
51216
c3a87236
UD
51217 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51218
28926a1b
UD
51219 * elf/tst-unique3.cc: Add explicit declaration of gets.
51220 * elf/tst-unique3lib.cc: Likewise.
51221 * elf/tst-unique3lib2.cc: Likewise.
51222 * elf/tst-unique4.cc: Likewise.
51223
df78418a
UD
51224 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51225
8ecd6b2a
JM
512262012-01-06 Joseph Myers <joseph@codesourcery.com>
51227
51228 [BZ #13566]
51229 * assert/assert.h (static_assert): Don't define for C++.
51230 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51231 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51232
9f115170
UD
512332012-01-03 Ulrich Drepper <drepper@gmail.com>
51234
5e0d0300
UD
51235 * iconv/loop.c (single loop): Fix assertion in storing of
51236 remaining bytes.
51237
9f115170
UD
51238 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51239
81fb02b0
UD
512402012-01-01 Ulrich Drepper <drepper@gmail.com>
51241
51242 * posix/getconf.c: Update copyright year.
51243 * nss/getent.c: Likewise.
a316c1f6 51244 * nss/makedb.c: Likewise.
81fb02b0
UD
51245 * iconv/iconvconfig.c: Likewise.
51246 * iconv/iconv_prog.c: Likewise.
51247 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51248 * elf/pldd.c: Likewise.
51249 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51250 * catgets/gencat.c: Likewise.
51251 * csu/version.c: Likewise.
51252 * elf/ldd.bash.in: Likewise.
51253 * elf/sprof.c (print_version): Likewise.
51254 * locale/programs/locale.c: Likewise.
51255 * locale/programs/localedef.c: Likewise.
a316c1f6 51256 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51257 * nscd/nscd.c (print_version): Likewise.
51258 * debug/xtrace.sh: Likewise.
51259 * malloc/memusage.sh: Likewise.
51260 * malloc/mtrace.pl: Likewise.
51261 * debug/catchsegv.sh: Likewise.
51262
2ba92745
JJ
512632011-12-30 Jakub Jelinek <jakub@redhat.com>
51264
51265 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51266 pure attribute.
51267
dadebdae
UD
512682011-12-24 Ulrich Drepper <drepper@gmail.com>
51269
d3761ebc 51270 [BZ #13533]
db6af3eb
UD
51271 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51272 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51273 transformations.
51274 * iconv/gconv_int.h: Likewise.
51275 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51276 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51277 from libc for GLIBC_2.16.
51278 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51279 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51280 * wcsmbs/uchar.h: Really define mbstate_t.
51281 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51282 * wcsmbs/c16rtomb.c: New file.
51283 * wcsmbs/mbrtoc16.c: New file.
51284 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51285 for C/POSIX locale.
51286 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51287 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51288
dadebdae
UD
51289 * wcsmbs/wchar.h: Add missing __restrict.
51290
67371b56
UD
512912011-12-23 Ulrich Drepper <drepper@gmail.com>
51292
74033a25
UD
51293 [BZ #13532]
51294 * time/Makefile (routines): Add timespec_get.
51295 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51296 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51297 timespec for ISO C11.
51298 * time/timespec_get.c: New file.
51299 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51300 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51301
380d7e87
UD
51302 [BZ #13531]
51303 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51304 * stdlib/stdlib.h: Declare aligned_alloc.
51305 * Versions.def: Add GLIBC_2.16 for libc.
51306 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51307
4e9e7a35
UD
51308 [BZ 13527]
51309 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51310 ISO C11.
51311
380d7e87 51312 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51313 code.
51314
03a71829
UD
51315 [BZ #13528]
51316 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51317
839e283e
UD
51318 [BZ #13529]
51319 * assert/assert.h (static_assert): Define.
51320
ce5294e2 51321 * version.h: Update for 2.16 development version.
90fa7312 51322
8d44e150 51323 [BZ #13526]
d7809905
UD
51324 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51325 _ISOC11_SOURCE.
51326
c0da14cd
UD
51327 * version.h (RELEASE): Bump for 2.15 release.
51328 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51329
530a3249
MP
51330 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51331 Patch by Marek Polacek <mpolacek@redhat.com>.
51332
67371b56
UD
51333 * bits/byteswap.h: Protect long long constants with __extension__.
51334 * sysdeps/i386/bits/byteswap.h: Likewise.
51335 * sysdeps/ia64/bits/byteswap.h: Likewise.
51336 * sysdeps/s390/bits/byteswap.h: Likewise.
51337 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51338
15db4de1
LD
513392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51340
51341 [BZ #13540]
bbe315ea
LD
51342 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51343 destination buffer.
15db4de1
LD
51344 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51345
2b2596b1
MP
513462011-12-23 Marek Polacek <polacek@redhat.com>
51347
51348 * elf/dl-addr.c (determine_info): Add inline keyword.
51349 * elf/tst-auditmod4b.c (check_avx): Likewise.
51350 * elf/tst-auditmod6b.c (check_avx): Likewise.
51351 * elf/tst-auditmod6c.c (check_avx): Likewise.
51352 * elf/tst-auditmod7b.c (check_avx): Likewise.
51353
70c6c246
UD
513542011-12-23 Ulrich Drepper <drepper@gmail.com>
51355
51356 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51357 !__SSE_MATH__.
51358
c044cf14
LD
513592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51360
15db4de1 51361 [BZ #13540]
c044cf14
LD
51362 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51363 processing for last bytes.
51364
6b13d9d9
BH
513652011-08-06 Bruno Haible <bruno@clisp.org>
51366
d455f537
BH
51367 [BZ #13061]
51368 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51369 U+0385, not to U+1FEE.
51370
6b13d9d9
BH
51371 [BZ #13062]
51372 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51373 entry for U+00A5 U+0301.
51374
db910efd
UD
513752011-12-22 Ulrich Drepper <drepper@gmail.com>
51376
27deeafc
UD
51377 [BZ #13166]
51378 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51379 buffer for the output is too small.
51380
aed9d171
UD
51381 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51382 optimization.
51383
db910efd
UD
51384 [BZ #13185]
51385 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51386 SSE flags if possible.
51387
2bd779ae
LD
513882011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51389
e7f9dac3 51390 [BZ #13540]
2bd779ae
LD
51391 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51392 processing for last bytes.
51393
154bfc16
JM
513942011-12-22 Joseph Myers <joseph@codesourcery.com>
51395
51396 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51397 (syscall-list-default-options, syscall-list-default-condition)
51398 (syscall-list-includes): Define.
51399 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51400 list of ABIs and options and #if conditions for each ABI. Do not
51401 handle common syscalls between ABIs specially.
51402 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51403 Remove.
51404 (syscall-list-variants, syscall-list-32bit-options)
51405 (syscall-list-32bit-condition, syscall-list-64bit-options)
51406 (syscall-list-64bit-condition): Define.
51407 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51408 (syscall-list-variants, syscall-list-32bit-options)
51409 (syscall-list-32bit-condition, syscall-list-64bit-options)
51410 (syscall-list-64bit-condition): Define.
51411 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51412 Remove.
51413 (syscall-list-variants, syscall-list-32bit-options)
51414 (syscall-list-32bit-condition, syscall-list-64bit-options)
51415 (syscall-list-64bit-condition): Define.
51416 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51417 Remove.
51418 (syscall-list-variants, syscall-list-32bit-options)
51419 (syscall-list-32bit-condition, syscall-list-64bit-options)
51420 (syscall-list-64bit-condition): Define.
51421
21eaf3a5
UD
514222011-12-22 Ulrich Drepper <drepper@gmail.com>
51423
16c6f992
UD
51424 * locale/iso-639.def: Add brx entry.
51425
41043168
UD
51426 [BZ #13328]
51427 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51428 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51429
21eaf3a5
UD
51430 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51431 __feraiseexcept_renamed.
51432
e3a851a2
UD
514332011-12-21 Ulrich Drepper <drepper@gmail.com>
51434
4920765e
UD
51435 [BZ #13538]
51436 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51437 EPOLLET with unsigned values.
51438 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51439 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51440
e3a851a2
UD
51441 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51442 to large cancellation.
51443 * math/s_cacoshf.c: Likewise.
51444 * math/s_cacoshl.c: Likewise.
51445
b27e24b8
RK
514462011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51447
51448 [BZ #13305]
aebefeee 51449 [BZ #12786]
b27e24b8
RK
51450 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51451 * math/s_cacoshf.c: Likewise.
51452 * math/s_cacoshl.c: Likewise.
51453
ee190f67
UD
514542011-12-21 Ulrich Drepper <drepper@gmail.com>
51455
51456 [BZ #13439]
51457 * iconv/gconv.h: Define __GCONV_SWAP.
51458 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51459 * iconvdata/utf-16.c: Likewise.
51460 * iconvdata/utf-32.c: Likewise.
51461
707f25df
AS
514622011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51463
51464 [BZ #13524]
51465 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51466 numerator after shifting it by one limb.
51467
d2daaa1e
RÁE
514682011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51469
51470 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51471 under [__USE_EXTERN_INLINES].
51472
a4647e72
UD
514732011-12-17 Ulrich Drepper <drepper@gmail.com>
51474
51475 [BZ #13446]
51476 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51477
f0b264f1
AZ
514782011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51479
51480 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51481 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51482 optimized code.
51483 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51484 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51485 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51486 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51487 for strncasecmp/strncasecmp_l compilation.
51488 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51489 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51490
8ef4f244
MP
514912011-12-08 Marek Polacek <mpolacek@redhat.com>
51492
51493 [BZ #13484]
51494 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51495 of __asm__.
51496
97ac2654
UD
514972011-12-17 Ulrich Drepper <drepper@gmail.com>
51498
51499 [BZ #13506]
51500 * time/tzfile.c (__tzfile_read): Check values from file header.
51501
91d2a845
WS
515022011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51503
51504 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51505 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51506 * powerpc/powerpc32/dl-start.S: Likewise.
51507 * powerpc/powerpc32/elf/start.S: Likewise.
51508 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51509 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51510 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51511 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51512 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51513 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51514 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51515 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51516 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51517 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51518 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51519 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51520 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51521 * powerpc/powerpc32/memset.S: Likewise.
51522 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51523 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51524 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51525 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51526 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51527 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51528 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51529 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51530 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51531 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51532 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51533 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51534 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51535
a1267ba1
AZ
515362011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51537
51538 * math/libm-test.inc: Added more nearbyint tests.
51539 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51540 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51541 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51542 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51543
ad8ac1bd
RL
515442011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51545
51546 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51547 FD_CLOEXEC.
51548
1d3e4b61
UD
515492011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51550
51551 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51552 Add wcscpy-ssse3 wcscpy-c.
51553 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51554 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51555 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51556 * sysdeps/x86_64/wcschr.S: New file.
51557 * sysdeps/x86_64/wcsrchr.S: New file.
51558 * string/test-strcmp.c: Remove checking of wcscmp function for
51559 wrong alignments.
51560 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51561 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51562 wcsrchr-sse2 wcsrchr-c.
51563 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51564 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51565 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51566 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51567 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51568 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51569 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51570 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51571 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51572 * wcsmbc/wcschr.c (WCSCHR): New macro.
51573
5b330a2d
UD
515742011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51575
51576 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51577 * wcsmbs/test-wcsrchr.c: New file.
51578 * string/test-strrchr.c: Add wcsrchr support.
51579 (WIDE): New macro.
51580 * wcsmbs/test-wcscpy.c: New file.
51581 * string/test-strcpy.c: Add wcscpy support.
51582 (WIDE): New macro.
26428b7c 51583
f039c043
UD
515842011-12-10 Ulrich Drepper <drepper@gmail.com>
51585
51586 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51587 the inner loop.
51588
850fb039
AS
515892011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51590
51591 [BZ #13472]
51592 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51593
4efbd5cb
UD
515942011-12-04 Ulrich Drepper <drepper@gmail.com>
51595
52ff5dd0 51596 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51597 Minor optimizations.
52ff5dd0 51598
4efbd5cb
UD
51599 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51600 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51601 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51602
8a426e12
UD
516032011-12-03 Ulrich Drepper <drepper@gmail.com>
51604
aff2453d
UD
51605 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51606 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51607 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51608 for gcc to avoid warnings.
51609 * inet/Makefile (tests): Add tst-checks.
51610 * inet/tst-checks.c: New file.
51611
51612 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51613 warning.
51614
51615 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51616 __wmemcmp_sse2.
51617
51618 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51619 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51620
8a426e12
UD
51621 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51622
9bea3473
UD
516232011-12-02 Ulrich Drepper <drepper@gmail.com>
51624
3a965496
UD
51625 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51626 problem.
51627
9bea3473
UD
51628 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51629
f101631b
UD
516302011-11-29 Joseph Myers <joseph@codesourcery.com>
51631
51632 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51633 conditional on GCC version.
51634 (__arch_compare_and_exchange_val_8_acq)
51635 (__arch_compare_and_exchange_val_16_acq)
51636 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51637 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51638 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51639
a98275aa
UD
516402011-12-02 Joseph Myers <joseph@codesourcery.com>
51641
51642 * sysdeps/sh/backtrace.c: New file.
51643
d4cc29a2
AS
516442011-12-02 Andreas Schwab <schwab@redhat.com>
51645
51646 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51647 parenthesis.
51648
6257af2d
AS
516492011-12-01 Andreas Schwab <schwab@redhat.com>
51650
51651 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51652 falling back to utime.
51653
b5f44c1a
AS
516542011-11-30 Andreas Schwab <schwab@redhat.com>
51655
51656 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51657 expectations for float.
51658
f3a6cc0a
AS
516592011-11-29 Andreas Schwab <schwab@redhat.com>
51660
51661 * locale/weight.h (findidx): Add parameter len.
51662 * locale/weightwc.h (findidx): Likewise.
51663 * posix/fnmatch_loop.c (FCT): Adjust caller.
51664 * posix/regcomp.c (build_equiv_class): Likewise.
51665 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51666 * posix/regexec.c (check_node_accept_bytes): Likewise.
51667 * string/strcoll_l.c (STRCOLL): Likewise.
51668 * string/strxfrm_l.c (STRXFRM): Likewise.
51669
9d65ea3a
UD
516702011-11-17 Ulrich Drepper <drepper@gmail.com>
51671
51672 * Makefile.in: Remove CVSOPT handling.
51673 * configure.in: Remove use of AC_REVISION.
51674 * iconvdata/Makefile (distribute): No need to filter out CVS.
51675 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51676 handling.
51677
5583a086
AS
516782011-11-16 Andreas Schwab <schwab@redhat.com>
51679
51680 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51681 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51682 [USE_AS_STRNCASECMP_L]: Likewise.
51683 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51684 NO_TLS_DIRECT_SEG_REFS.
51685 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51686 Fix argument offsets for non-PIC.
51687 [USE_AS_STRNCASECMP_L]: Likewise.
51688 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51689 NO_TLS_DIRECT_SEG_REFS.
51690
d62a8200
UD
516912011-11-15 Ulrich Drepper <drepper@gmail.com>
51692
9d65ea3a 51693 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51694 O_CLOEXEC.
51695 * locale/loadlocale.c (_nl_load_locale): Likewise.
51696
09f93bd3
AS
516972011-11-15 Andreas Schwab <schwab@redhat.com>
51698
446514f9
AS
51699 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51700 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51701 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51702 (SYSCALL_GETTIME): Set errno on error.
51703
09f93bd3
AS
51704 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51705 count references to noai6ai_cached.
51706
312be3f9
UD
517072011-11-15 Ulrich Drepper <drepper@gmail.com>
51708
51709 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51710
51711 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51712 FD_CLOEXEC for /proc/self/maps.
51713
51714 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51715 FD_CLOEXEC for /proc/meminfo.
51716
51717 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51718 gai.conf.
51719
51720 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51721 FD_CLOEXEC for given file.
51722
51723 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51724
51725 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51726 FD_CLOEXEC for /etc/hosts.
51727 (_gethtent): Likewise.
51728
51729 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51730
51731 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51732 cancellation and set FD_CLOEXEC for /etc/netgroup.
51733
51734 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51735 reading /etc/publickey.
51736
51737 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51738 allow cancellation when reading /etc/group.
51739
51740 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51741 cancellation.
51742 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51743
51744 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51745 when using data file.
51746
51747 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51748
51749 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51750 (write_nis_obj): Use "c" and "e" in fopen.
51751
51752 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51753
51754 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51755
51756 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51757
51758 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51759
51760 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51761 locale.alias.
51762
51763 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51764
51765 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51766
51767 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51768
51769 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51770 file parsing and set FD_CLOEXEC.
51771
82af0fa8
UD
517722011-11-14 Ulrich Drepper <drepper@gmail.com>
51773
51774 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51775
a5fb313c
AS
517762011-11-14 Andreas Schwab <schwab@redhat.com>
51777
51778 * malloc/arena.c (arena_get2): Don't call reused_arena when
51779 _int_new_arena failed.
51780
6abf3465
UD
517812011-11-14 Ulrich Drepper <drepper@gmail.com>
51782
51783 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51784 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51785 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51786 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51787 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51788 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51789 to compile strcasecmp and strncasecmp.
51790 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51791 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51792
51793 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51794
76e3966e
UD
517952011-11-13 Ulrich Drepper <drepper@gmail.com>
51796
51797 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51798 locale-defines.sym to gen-as-const-headers.
51799 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51800 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51802 to compile strcasecmp and strncasecmp.
51803 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51804 strcasecmp_l and strncasecmp_l.
51805 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51806 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51807 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51808 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51809 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51810 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51811 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51812 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51813 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51814 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51815 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51816
ab26144e
UD
518172011-11-12 Ulrich Drepper <drepper@gmail.com>
51818
7edb22ef
UD
51819 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51820 result of SYSDEP_GETTIME_CPU to retval.
51821 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51822 parameter list to macro. Remove trailing semicolon. Adjust users.
51823
9694fc44
UD
51824 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51825 variable.
51826
8ad89ef8
UD
51827 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51828 mantissa words.
51829 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51830
0c822ef9
UD
51831 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51832 from unused variable.
51833
874e0564
UD
51834 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51835 DWARF definitions.
51836 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51837 for assembling.
51838
3a2edc79
UD
51839 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51840 over namespaces.
51841
f3c2577f
UD
51842 * sunrpc/rpc_prot.c (rejected): Fix case value.
51843
294ce126
UD
51844 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51845 unsigned long long int to avoid warnings in shift.
51846
5e2b63c6
UD
51847 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51848 of use of trans.
51849 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51850 variable tmp.
51851
e7f4b08e
UD
51852 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51853 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51854 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51855
ab26144e
UD
51856 * nis/nis_table.c (nis_list): Use variable of correct type for
51857 result of __follow_path call.
51858
8a6d5255
AZ
518592011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51860
51861 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51862 of math functions ceil, trunc, floor, round, and sqrt, when
51863 avaliable on the platform.
51864 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51865 name clash.
51866 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51867 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51868 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51869
aaddc98c
MP
518702011-10-30 Marek Polacek <mpolacek@redhat.com>
51871
51872 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51873 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51874
95b7042b
RM
518752011-11-11 Roland McGrath <roland@hack.frob.com>
51876
51877 * include/unistd.h: Fix __readlink return type.
51878 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51879
57769839
UD
518802011-11-11 Ulrich Drepper <drepper@gmail.com>
51881
51882 * stdlib/ucontext.h: Undo last change for makecontext.
51883
edc5984d
AS
518842011-11-11 Andreas Schwab <schwab@redhat.com>
51885
98591e58
AS
51886 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51887
edc5984d
AS
51888 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51889 * setjmp/setjmp.h: Mark functions as non-leaf.
51890 * setjmp/bits/setjmp2.h: Likewise.
51891 * stdlib/ucontext.h: Likewise.
51892
77cdc054
AS
518932011-11-10 Andreas Schwab <schwab@redhat.com>
51894
51895 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51896 (reused_arena): Don't check arena limit.
51897 (arena_get2): Atomically check arena limit.
51898
fe72eebd
UD
518992011-11-08 Ulrich Drepper <drepper@gmail.com>
51900
5f078c32
UD
51901 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51902 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51903
fe72eebd
UD
51904 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51905 instructions.
51906
ae1bc2fa
AS
519072011-11-07 Andreas Schwab <schwab@redhat.com>
51908
7583a88d
AS
51909 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51910 handler when locking.
51911
ae1bc2fa
AS
51912 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51913 Fix size of allocated buffer.
51914
10fb0bfa
AS
519152011-11-04 Andreas Schwab <schwab@redhat.com>
51916
998832a4
AS
51917 [BZ #10103]
51918 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51919 declarations for long double functions.
51920 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51921
10fb0bfa
AS
51922 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51923
3d7ba52b
AS
519242011-11-03 Andreas Schwab <schwab@redhat.com>
51925
a9ae54a1
AS
51926 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51927 installed.
51928
3d7ba52b
AS
51929 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51930 is disabled.
51931
bc8db248
ST
519322011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51933
51934 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51935
45b96dd6
AS
519362011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51937
647776f6
AS
51938 * include/alloca.h (stackinfo_alloca_round): Define.
51939 (extend_alloca): Use it.
51940 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51941 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51942 here.
51943
d91a8b93
AS
51944 * scripts/check-local-headers.sh: Ignore libaudit.h.
51945
45b96dd6
AS
51946 * nscd/Makefile (extra-objs): Make recursively expanded.
51947
432d41ce
UD
519482011-11-01 Ulrich Drepper <drepper@gmail.com>
51949
34372fc6
UD
51950 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51951 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51952
fadb59f8
UD
51953 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51954 * posix/tst-rfc3484-2.c: Likewise.
51955 * posix/tst-rfc3484-3.c: Likewise.
51956
78239589
UD
51957 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51958 process_vm_writev.
51959 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51960 process_vm_writev.
51961 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51962 process_vm_writev from libc using GLIBC_2.15 version.
51963
432d41ce
UD
51964 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51965
02f9c6cf
PP
519662011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51967
51968 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51969 stack usage.
51970
3a2c0242
UD
519712011-10-31 Ulrich Drepper <drepper@gmail.com>
51972
f4ec4833
UD
51973 [BZ #13367]
51974 * nss/getent.c (initgroups_keys): Show error message in case no group
51975 names are given.
51976
3a2c0242
UD
51977 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51978 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51979 __bump_nl_timestamp.
51980 * nscd/connections (nscd_init): When host database is served open
51981 netlink socket and request notification about configuration changes.
51982 (main_loop_poll): Track netlink file descriptor and bump timestamp
51983 in case data becomes available.
51984 (main_loop_epoll): Likewise.
51985 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51986 (database_pers_head): Add extra_data fileds.
51987 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51988 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51989 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51990 Adjust caller.
51991 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51992 in6ai data, call __free_in6ai.
51993 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51994 Add -DHAVE_NETLINK.
51995 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51996 interface information. Reuse previous data if netlink timestamp
51997 is not changed.
51998 (__bump_nl_timestamp): New function.
51999 (__free_in6ai): New function.
52000
636064eb
UD
520012011-10-30 Ulrich Drepper <drepper@gmail.com>
52002
52003 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52004 close_not_cancel_no_status here.
52005 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52006
9beb2334
UD
520072011-10-29 Ulrich Drepper <drepper@gmail.com>
52008
6ef76f3b
UD
52009 [BZ #13276]
52010 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52011 return value.
52012
0ffc4f3e 52013 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
52014 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52015 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52016
cb95113e
UD
520172011-07-03 Andreas Jaeger <aj@suse.de>
52018
52019 [BZ #10709]
52020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52021 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52022 * math/libm-test.inc (sin_test): Add test case.
52023
a1b560ff
UD
520242011-10-29 Ulrich Drepper <drepper@gmail.com>
52025
c9aaface
UD
52026 [BZ #13337]
52027 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52028 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52029
d272e7f1
UD
52030 * elf/chroot_canon.c (chroot_canon): Cleanups.
52031
1bc33071
UD
52032 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52033
1760874d
TJ
52034 [BZ #13335]
52035 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52036 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52037
51d91b18
UD
52038 * string/test-strchr.c: Make usable for strchrnul testing.
52039 * string/test-strchrnul.c: New file.
52040 * string/Makefile (strop-tests): Add strchrnul.
52041
a1b560ff 52042 * po/it.po: Update from translation team.
b611fb81 52043 * po/es.po: Likewise.
a1b560ff 52044
a5b81e1f
UD
520452011-10-28 Ulrich Drepper <drepper@gmail.com>
52046
fd52bc6d
UD
52047 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52048 the three constants needed as parameters. Drop the others.
52049 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52050 __m128i_strloadu_tolower.
52e4b9eb
UD
52051 Create and initialize variable zero and use it in all the places
52052 where _mm_setzero_si128 was used.
fd52bc6d 52053
a5b81e1f
UD
52054 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52055 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52056 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52057 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52058 anymore.
52059 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52060 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52061 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52062 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52063 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52064 __mpranred, __mptan.
52065 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52066 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52067 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52068 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52069 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52070 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52071 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52072 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52073 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52074
b4343346
AS
520752011-10-28 Andreas Schwab <schwab@redhat.com>
52076
0c92d8a8
AS
52077 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52078 redefine if SHARED.
52079 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52080
b4343346
AS
52081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52082 wide char related routines to wcsmbs subdir.
52083
3871f58f
AS
520842011-10-27 Andreas Schwab <schwab@redhat.com>
52085
52086 [BZ #13344]
52087 * misc/sys/cdefs.h (__THROWNL): Define.
52088 * posix/unistd.h: Use __THREADNL instead of __THREAD
52089 for memory synchronization functions.
52090
94d44d9f
RM
520912011-10-26 Roland McGrath <roland@hack.frob.com>
52092
21b64b15 52093 [BZ #13349]
94d44d9f
RM
52094 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52095 doesn't exist.
52096 * manual/stdio.texi (Obstack Streams): Node removed.
52097
f6ce9294
AS
520982011-10-26 Andreas Schwab <schwab@redhat.com>
52099
80479147
AS
52100 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52101 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52102 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52103
f6ce9294
AS
52104 * math/math_private.h (math_force_eval): Allow non-addressable
52105 arguments.
52106 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52107
618280a1
UD
521082011-10-25 Ulrich Drepper <drepper@gmail.com>
52109
e0016b11
UD
52110 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52111 file is not needed.
52112
52113 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52114 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52115 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52116 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52117 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52118 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52119 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52120 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52121 Add AVX variants.
52122 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52123 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52124 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52125 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52126 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52127 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52128 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52129 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52130 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52131 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52132 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52133 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52134 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52135 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52136 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52137 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52138 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52139 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52140 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52141
52142 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52143 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52144
618280a1
UD
52145 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52146 place. Use VEX encoding when compiling for AVX.
52147
37822576
AS
521482011-10-25 Andreas Schwab <schwab@redhat.com>
52149
1f1e1947
AS
52150 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52151 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52152
37822576
AS
52153 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52154
31ea014d
UD
521552011-10-25 Ulrich Drepper <drepper@gmail.com>
52156
d7826aa1 52157 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 52158 useless if() expression.
d7826aa1
UD
52159 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52160 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52161 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52162 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52163 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52164 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52165 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52166 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52167 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52168 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52169 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52170 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52171 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52172 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52173 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52174 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52175 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52176 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52177 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52178
31ea014d
UD
52179 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52180
16437fec
AS
521812011-10-25 Andreas Schwab <schwab@redhat.com>
52182
52183 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52184 condition.
52185 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52186
31d3cc00
UD
521872011-10-25 Ulrich Drepper <drepper@gmail.com>
52188
52189 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52190 .text section. Avoid duplicate constants.
52191 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52192 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52193 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52194 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52195 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52196 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52197 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52198 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52199 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52200 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52201 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52202 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52203 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52204 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52205 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52206 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52207 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52208 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52209 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52210 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52211 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52212 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52213 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52214 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52215 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52216 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52217 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52218 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52219 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52220 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52221 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52222 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52223 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52224 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52225 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52226 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52227 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52228 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52229 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52230 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52231 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52232 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52233 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52234 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52235 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52236
58985aa9
UD
522372011-10-24 Ulrich Drepper <drepper@gmail.com>
52238
202c9deb
UD
52239 * sysdeps/x86_64/dla.h: Move to ...
52240 * sysdeps/x86_64/fpu/dla.h: ...here.
52241 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52242 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52243
af968f62
UD
52244 * config.make.in: Add have-mfma4 entry.
52245 * configure.in: Substitute libc_cv_cc_fma4.
52246 * math/Makefile (dbl-only-routines): Add sincostab.
52247 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52248 Use __sincostab not sincos.
52249 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52250 name is a macro.
52251 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52252 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52253 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52254 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52255 using __copysign.
52256 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52257 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52258 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52259 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52260 and __inv.
52261 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52262 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52263 __copysign.
52264 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52265 define aliases when function name is a macro.
52266 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52267 sysdeps/ieee754/dbl-64/sincos.tbl.
52268 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52269 fma4-enabled routines.
52270 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52271 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52272 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52273 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52274 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52275 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52276 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52277 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52278 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52279 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52280 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52281 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52282 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52283 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52284 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52285 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52286 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52287 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52288 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52290 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52291 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52292 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52293 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52294 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52295 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52296 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52297 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52298 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52299 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52300
58985aa9
UD
52301 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52302 rename.
52303 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52304 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52305 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52306 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52307 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52308 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52309 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52310 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52311
a201fbcf
AS
523122011-10-24 Andreas Schwab <schwab@redhat.com>
52313
52314 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52315
fc2ee42a
LD
523162011-10-23 Ulrich Drepper <drepper@gmail.com>
52317
bb3129bd
UD
52318 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52319
0275fff8
UD
52320 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52321 prediction.
52322 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52323
2fa2ae85
UD
52324 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52325 Remove unused variable magic_bits.
52326 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52327
fc2ee42a
LD
52328 * string/strnlen.c: Define and use STRNLEN macro.
52329 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52330 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52331 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52332 * wcsmbs/wcslen.c: Define and use WCSLEN.
52333 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52334 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52335 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52336 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52337 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52338 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52339 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52340
ce7dd29f
LD
523412011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52342
52343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52344 strnlen-sse2-no-bsf.
52345 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52346 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52347 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52348 Add strnlen support.
52349 (USE_AS_STRNLEN): New macro.
52350 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52351 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52352 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52353 * sysdeps/x86_64/wcslen.S: New file.
52354
979c70a3
MZ
523552011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52356
52357 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52358 XMM-moves are used for copying on small sizes.
52359
2d09f82f
LD
523602011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52361
52362 * wcsmbs/Makefile (strop-tests): Add wcschr.
52363 * wcsmbs/test-wcschr.c: New file.
52364 * string/test-strchr.c: Update.
52365 Add wcschr support.
52366 (WIDE): New macro.
52367
619fccca
LD
523682011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52369
2d09f82f 52370 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52371 * wcsmbs/test-wcslen.c: New file.
52372 * string/test-strlen.c: Update.
52373 Add wcslen support.
52374 (WIDE): New macro.
52375
09f699ea
UD
523762011-10-23 Ulrich Drepper <drepper@gmail.com>
52377
52378 * po/it.po: Update from translation team.
52379
95584d3b
LD
523802011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52381
52382 * sysdeps/x86_64/wcscmp.S: Update.
52383 Fix wrong comparison semantics.
52384 wcscmp shall use signed comparison not unsigned.
52385 Don't use substraction to avoid overflow bug.
52386 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52387 * wcsmbc/wcscmp.c: Likewise.
52388 * string/test-strcmp.c: Likewise.
52389 Add new tests to check cases with negative values.
52390
c8b3296b
UD
523912011-10-23 Ulrich Drepper <drepper@gmail.com>
52392
52393 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52394 * sysdeps/x86_64/dla.h: ...here. New file.
52395 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52396 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52397 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52399 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52400 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52401 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52402 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52403 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52404
246ad57a
AS
524052011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52406
52407 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52408 __ynl_finite aliases.
52409
a1a87169
UD
524102011-10-22 Ulrich Drepper <drepper@gmail.com>
52411
0d355eb7
UD
52412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52413
a1a87169
UD
52414 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52415 define DLA_FMA.
52416 [DLA_FMA] (EMULV): Use DLA_FMA.
52417 [DLA_FMA] (MUL12): Use EMULV.
52418 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52419 that are not needed.
52420 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52421 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52422 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52423 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52424 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52425 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52426 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52427
ee2aafe0
AS
524282011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52429
52430 * math/s_nan.c: Undef __nan.
52431 * math/s_nanf.c: Undef __nanf.
52432 * math/s_nanl.c: Undef __nanl.
52433 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52434 "math_private.h".
52435
bc62c2fb
UD
524362011-10-22 Ulrich Drepper <drepper@gmail.com>
52437
77425c63
UD
52438 * math/s_catan.c: Add branch predictions.
52439 * math/s_catanf.c: Likewise.
52440 * math/s_catanh.c: Likewise.
52441 * math/s_catanhf.c: Likewise.
52442 * math/s_catanhl.c: Likewise.
52443 * math/s_catanl.c: Likewise.
52444 * math/s_cexp.c: Likewise.
52445 * math/s_cexpf.c: Likewise.
52446 * math/s_cexpl.c: Likewise.
52447 * math/s_clog.c: Likewise.
52448 * math/s_clog10.c: Likewise.
52449 * math/s_clog10f.c: Likewise.
52450 * math/s_clog10l.c: Likewise.
52451 * math/s_clogf.c: Likewise.
52452 * math/s_clogl.c: Likewise.
52453 * math/s_csqrt.c: Likewise.
52454 * math/s_csqrtf.c: Likewise.
52455 * math/s_csqrtl.c: Likewise.
52456 * math/s_ctanf.c: Likewise.
52457 * math/s_ctanh.c: Likewise.
52458 * math/s_ctanhf.c: Likewise.
52459 * math/s_ctanhl.c: Likewise.
52460 * math/s_ctanl.c: Likewise.
52461
bc62c2fb
UD
52462 * math/math_private.h: Define __nan, __nanf, __nanl.
52463 * math/s_cacosh.c: Include <math_private.h>.
52464 * math/s_cacoshl.c: Likewise.
52465 * math/s_casinh.c: Likewise.
52466 * math/s_casinhf.c: Likewise.
52467 * math/s_casinhl.c: Likewise.
52468 * math/s_ccos.c: Rely entire on ccosh.
52469 * math/s_ccosf.c: Rely entire on ccoshf.
52470 * math/s_ccosl.c: Rely entirely on ccoshl.
52471 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52472 Remove tests for FE_INVALID.
52473 * math/s_ccoshf.c: Likewise.
52474 * math/s_ccoshl.c: Likewise.
52475 * math/s_csin.c: Likewise.
52476 * math/s_csinf.c: Likewise.
52477 * math/s_csinh.c Likewise.
52478 * math/s_csinhf.c: Likewise.
52479 * math/s_csinhl.c: Likewise.
52480 * math/s_csinl.c: Likewise.
52481 * math/s_ctan.c: Likewise.
52482 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52483 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52484 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52485
8ec250a4
UD
524862011-10-21 Ulrich Drepper <drepper@gmail.com>
52487
c196fed8
UD
52488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52489 compilation problems.
52490
8ec250a4
UD
52491 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52492 __builtin_expect.
52493
8d4f46c6
UD
524942011-10-20 Ulrich Drepper <drepper@gmail.com>
52495
ed72b654
UD
52496 * sysdeps/i386/configure.in: Test for -mfma4 option.
52497 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52498 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52499 COMMON_CPUID_INDEX_80000001.
52500 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52501 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52502 use it if FMA3 is not supported.
52503 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52504
8d4f46c6
UD
52505 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52506 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52507
d45c60c2
AS
525082011-10-20 Andreas Schwab <schwab@redhat.com>
52509
52510 [BZ #12892]
52511 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52512 it would create a cycle with a link time dependency.
52513
d9a4d2ab
UD
525142011-10-19 Ulrich Drepper <drepper@gmail.com>
52515
855d1560
UD
52516 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52517 instruction.
52518 * string/Makefile (strop-tests): Add rawmemchr.
52519 * string/test-rawmemchr.c: New file.
52520
d9a4d2ab
UD
52521 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52522 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52523 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52524 when compiling str{,n}casecmp and when AVX is available. Hook up
52525 new optimized code in initializers.
52526
8f3b1ffe
AS
525272011-10-19 Andreas Schwab <schwab@redhat.com>
52528
52529 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52530 __feraiseexcept instead of feraiseexcept.
52531
d38f1dba
UD
525322011-10-18 Ulrich Drepper <drepper@gmail.com>
52533
d9a8d0ab
UD
52534 * math/math_private.h: Define defaults for libc_fetestexcept and
52535 libc_feupdateenv.
52536 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52537 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52538 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52539 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52540 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52541 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52542 libc_fetestexcept and libc_feupdateenv.
52543
4855e3dd
UD
52544 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52545 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52546 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52547 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52548 libc_feholdexcept_setround.
52549
581d30e3
UD
52550 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52551 Add s_nearbyint-c and s_nearbyintf-c.
52552 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52553 nearbyintf inlines.
52554 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52555 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52556 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52557 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52558
d38f1dba
UD
52559 * math/math_private.h: Define defaults for libc_fegetround,
52560 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52561 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52562 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52563 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52564 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52565 standard functions.
52566 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52567 Remove comments and hacks for old compiler versions.
52568 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52569 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52570 libc_feholdexceptl.
52571
caa6c9d8
AS
525722011-10-18 Andreas Schwab <schwab@redhat.com>
52573
52574 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52575 (__feraiseexcept_renamed): Add __NTH.
52576 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52577 namespace violations.
52578
97c066e6
UD
525792011-10-17 Ulrich Drepper <drepper@gmail.com>
52580
99ce7b04
UD
52581 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52582
1004d182
UD
52583 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52584
228a984d
UD
52585 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52586 recently added interfaces.
52587 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52588
c8553a6a
UD
52589 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52590 about macro parameter expansion.
52591
ed22dcf6
UD
52592 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52593 __NO_MATH_INLINES is defined. Cleanups.
52594
52595 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52596 and __floorf is target has SSE4.1.
52597 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52598 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52599 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52600 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52601
b171c137
UD
52602 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52603 name.
52604 (floorf): Likewise.
52605
97c066e6
UD
52606 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52607
629f62ef
AS
526082011-10-17 Andreas Schwab <schwab@redhat.com>
52609
49a43d80
AS
52610 * misc/sys/cdefs.h: Fix last change.
52611
629f62ef
AS
52612 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52613 database lookup.
52614
e453f6cd
UD
526152011-10-16 Ulrich Drepper <drepper@gmail.com>
52616
aa78043a
UD
52617 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52618
ad0f5cad
UD
52619 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52620 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52621 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52622 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52623 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52624 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52625 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52626 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52627 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52628 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52629 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52630 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52631 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52632 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52633 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52634 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52635 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52636 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52637 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52638 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52639 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52640 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52641
52642 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52643 ceil, ceilf, floor, floorf.
52644
52645 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52646 Perform IRELATIVE relocations last.
52647
e453f6cd
UD
52648 * elf/do-rel.h: Add another parameter nrelative, replacing the
52649 local variable with the same name. Change name of the function
52650 to end in Rel or Rela (uppercase).
52651 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52652 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52653 elf_dynamic_do_##reloc function.
52654
fd5bdc09
UD
526552011-10-15 Ulrich Drepper <drepper@gmail.com>
52656
79b195b5
UD
52657 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52658 is sufficient, at least on modern CPUs.
52659
d4a28569
UD
52660 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52661
b61099b5
UD
52662 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52663 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52664
bcf01e6d
UD
52665 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52666 __expl_finite.
52667 * math/bits/math-finite.h: Add entries for exp.
52668 * math/e_expl.c: Add __*_finite alias.
52669 * sysdeps/i386/fpu/e_exp.S: Likewise.
52670 * sysdeps/i386/fpu/e_expf.S: Likewise.
52671 * sysdeps/i386/fpu/e_expl.c: Likewise.
52672 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52673 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52674 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52675 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52676 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52677 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52678 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52679
ba1a0d59
UD
52680 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52681 is sufficient, at least on modern CPUs.
52682
fd5bdc09
UD
52683 * ctype/ctype-info.c (__ctype_init): Define.
52684 * include/ctype.h (__ctype_init): Declare.
52685 (__ctype_b_loc): The variable is always initialized.
52686 (__ctype_toupper_loc): Likewise.
52687 (__ctype_tolower_loc): Likewise.
52688 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52689 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52690
7872cfb0
AS
526912011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52692
b468825a
AS
52693 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52694
7872cfb0
AS
52695 * configure.in: Also look in $cxxmachine/include for C++ system
52696 headers.
52697
be13f7bf
LD
526982011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52699
52700 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52701 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52702 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52703 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52704 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52705 (USE_AS_WMEMCMP): New macro.
52706 Fixing indents.
52707 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52708 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52709 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52710 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52712 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52713 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52714 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52715 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52716 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52717 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52718 (USE_AS_WMEMCMP): New macro.
52719 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52720 * sysdeps/string/test-memcmp.c: Update.
52721 Fix simple_wmemcmp.
52722 Add new tests.
52723 * wcsmbs/wmemcmp.c: Update.
52724 (WMEMCMP): New macro.
52725 Fix overflow bug.
52726
556a2007
AJ
527272011-10-12 Andreas Jaeger <aj@suse.de>
52728
52729 [BZ #13268]
52730 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52731
538faaa7
UD
527322011-10-15 Ulrich Drepper <drepper@gmail.com>
52733
ab6737ff
UD
52734 * libio/iofwide.c (do_length): Avoid warning.
52735
538faaa7
UD
52736 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52737
396a21b1
UD
527382011-10-14 Ulrich Drepper <drepper@gmail.com>
52739
cdf2901f
UD
52740 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52741
38ad40ce
UD
52742 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52743 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52744 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52745 * sysdeps/i386/i686/fpu/e_log.S: New file.
52746 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52747 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52748
396a21b1
UD
52749 * ctype/ctype.h: Add support for inlined isXXX functions when
52750 compiling C++ code.
52751
6b1f68c9
AS
527522011-10-14 Andreas Schwab <schwab@redhat.com>
52753
349290c0
AS
52754 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52755
6b1f68c9
AS
52756 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52757
f2282d42
RM
527582011-10-13 Roland McGrath <roland@hack.frob.com>
52759
52760 [BZ #13291]
52761 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52762
5298ffa8
AS
527632011-10-13 Andreas Schwab <schwab@redhat.com>
52764
714fad23
AS
52765 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52766 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52767 feraiseexcept.
52768
81dcc7fb
AS
52769 * sysdeps/x86_64/memrchr.S: Check for zero size.
52770
5298ffa8
AS
52771 * string/stratcliff.c: Add memrchr tests.
52772
951fbcec
LD
527732011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52774
52775 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52776 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52777 rawmemchr-sse2 rawmemchr-sse2-bsf.
52778 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52779 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52780 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52781 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52782 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52783 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52784 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52785 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52786 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52787 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52788 * string/memrchr.c (MEMRCHR): New macro.
52789
0ac5ae23
UD
527902011-10-12 Ulrich Drepper <drepper@gmail.com>
52791
52792 Add integration with gcc's -ffinite-math-only and optimize wrapper
52793 functions in libm.
52794 * Versions.def: Define GLIBC_2.15 version for libm.
52795 * math/Makefile (headers): Add bits/math-finite.h.
52796 * math/bits/math-finite.h: New file.
52797 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52798 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52799 * math/e_acoshl.c: Add __*_finite alias.
52800 * math/e_acosl.c: Likewise.
52801 * math/e_asinl.c: Likewise.
52802 * math/e_atan2l.c: Likewise.
52803 * math/e_atanhl.c: Likewise.
52804 * math/e_coshl.c: Likewise.
52805 * math/e_exp10.c: Likewise.
52806 * math/e_exp10f.c: Likewise.
52807 * math/e_exp10l.c: Likewise.
52808 * math/e_exp2l.c: Likewise.
52809 * math/e_fmodl.c: Likewise.
52810 * math/e_gammal_r.c: Likewise.
52811 * math/e_hypotl.c: Likewise.
52812 * math/e_j0l.c: Likewise.
52813 * math/e_j1l.c: Likewise.
52814 * math/e_jnl.c: Likewise.
52815 * math/e_lgammal_r.c: Likewise.
52816 * math/e_log10l.c: Likewise.
52817 * math/e_log2l.c: Likewise.
52818 * math/e_logl.c: Likewise.
52819 * math/e_powl.c: Likewise.
52820 * math/e_sinhl.c: Likewise.
52821 * math/e_sqrtl.c: Likewise.
52822 * math/e_scalb.c: Completely rewritten and optimized.
52823 * math/e_scalbf.c: Likewise.
52824 * math/e_scalbl.c: Likewise.
52825 * math/w_acos.c: Likewise.
52826 * math/w_acosf.c: Likewise.
52827 * math/w_acosl.c: Likewise.
52828 * math/w_acosh.c: Likewise.
52829 * math/w_acoshf.c: Likewise.
52830 * math/w_acoshl.c: Likewise.
52831 * math/w_asin.c: Likewise.
52832 * math/w_asinf.c: Likewise.
52833 * math/w_asinl.c: Likewise.
52834 * math/w_atan2.c: Likewise.
52835 * math/w_atan2f.c: Likewise.
52836 * math/w_atan2l.c: Likewise.
52837 * math/w_atanh.c: Likewise.
52838 * math/w_atanhf.c: Likewise.
52839 * math/w_atanhl.c: Likewise.
52840 * math/w_exp10.c: Likewise.
52841 * math/w_exp10f.c: Likewise.
52842 * math/w_exp10l.c: Likewise.
52843 * math/w_fmod.c: Likewise.
52844 * math/w_fmodf.c: Likewise.
52845 * math/w_fmodl.c: Likewise.
52846 * math/w_j0.c: Likewise.
52847 * math/w_j0f.c: Likewise.
52848 * math/w_j0l.c: Likewise.
52849 * math/w_j1.c: Likewise.
52850 * math/w_j1f.c: Likewise.
52851 * math/w_j1l.c: Likewise.
52852 * math/w_jn.c: Likewise.
52853 * math/w_jnf.c: Likewise.
52854 * math/w_log.c: Likewise.
52855 * math/w_logf.c: Likewise.
52856 * math/w_logl.c: Likewise.
52857 * math/w_log10.c: Likewise.
52858 * math/w_log10f.c: Likewise.
52859 * math/w_log10l.c: Likewise.
52860 * math/w_log2.c: Likewise.
52861 * math/w_log2f.c: Likewise.
52862 * math/w_log2l.c: Likewise.
52863 * math/w_pow.c: Likewise.
52864 * math/w_powf.c: Likewise.
52865 * math/w_powl.c: Likewise.
52866 * math/w_remainder.c: Likewise.
52867 * math/w_remainderf.c: Likewise.
52868 * math/w_remainderl.c: Likewise.
52869 * math/w_scalb.c: Likewise.
52870 * math/w_scalbf.c: Likewise.
52871 * math/w_scalbl.c: Likewise.
52872 * math/w_sqrt.c: Likewise.
52873 * math/w_sqrtf.c: Likewise.
52874 * math/w_sqrtl.c: Likewise.
52875 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52876 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52877 used.
52878 * math/math_private.h: Declare __kernel_standard_f.
52879 * math/w_cosh.c: Remove cruft and optimize a bit.
52880 * math/w_coshf.c: Likewise.
52881 * math/w_coshl.c: Likewise.
52882 * math/w_exp2.c: Likewise.
52883 * math/w_exp2f.c: Likewise.
52884 * math/w_exp2l.c: Likewise.
52885 * math/w_hypot.c: Likewise.
52886 * math/w_hypotf.c: Likewise.
52887 * math/w_hypotl.c: Likewise.
52888 * math/w_lgamma.c: Likewise.
52889 * math/w_lgamma_r.c: Likewise.
52890 * math/w_lgammaf.c: Likewise.
52891 * math/w_lgammaf_r.c: Likewise.
52892 * math/w_lgammal.c: Likewise.
52893 * math/w_lgammal_r.c: Likewise.
52894 * math/w_sinh.c: Likewise.
52895 * math/w_sinhf.c: Likewise.
52896 * math/w_sinhl.c: Likewise.
52897 * math/w_tgamma.c: Likewise.
52898 * math/w_tgammaf.c: Likewise.
52899 * math/w_tgammal.c: Likewise.
52900 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52901 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52902 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52903 Minor optimizations. Pretty printing. Remove cruft.
52904 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52905 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52906 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52907 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52908 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52909 * sysdeps/i386/fpu/e_asin.S: Likewise.
52910 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52911 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52912 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52913 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52914 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52915 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52916 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52917 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52918 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52919 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52920 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52921 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52922 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52923 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52924 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52925 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52926 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52927 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52928 * sysdeps/i386/fpu/e_log.S: Likewise.
52929 * sysdeps/i386/fpu/e_log10.S: Likewise.
52930 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52931 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52932 * sysdeps/i386/fpu/e_log2.S: Likewise.
52933 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52934 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52935 * sysdeps/i386/fpu/e_logf.S: Likewise.
52936 * sysdeps/i386/fpu/e_logl.S: Likewise.
52937 * sysdeps/i386/fpu/e_pow.S: Likewise.
52938 * sysdeps/i386/fpu/e_powf.S: Likewise.
52939 * sysdeps/i386/fpu/e_powl.S: Likewise.
52940 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52941 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52942 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52943 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52944 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52945 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52946 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52947 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52948 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52949 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52950 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52952 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52953 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52954 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52955 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52956 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52957 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52958 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52959 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52960 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52961 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52962 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52963 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52965 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52966 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52967 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52968 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52969 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52970 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52971 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52972 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52973 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52974 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52975 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52976 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52977 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52978 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52979 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52980 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52981 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52982 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52983 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52984 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52985 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52986 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52987 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52988 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52989 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52990 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52991 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52992 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52993 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52994 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52995 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52996 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52997 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52998 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52999 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53000 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53001 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53002 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53003 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53004 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53005 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53006 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53007 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53008 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53009 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53010 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53011 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53012 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53013 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53014 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53015 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53016 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53017 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53018 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53019 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53020 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53021 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53022 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53023 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53024 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53025 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53026 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53027 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53028 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53029 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53030 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53031 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53032 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53033 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53034 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53035 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53036 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53037 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53038 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53039 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53040 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53041 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53042 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53043 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53044 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53045 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53046 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53047 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53048 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53049 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53050 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53051 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53052 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53053 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53054 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53055 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53056 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53057 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53058 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53059 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53060 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53061 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53062 (__isnanf): Likewise.
53063 (__isinf_ns): Likewise.
53064 (__isinf_nsf): Likewise.
53065 (__finite): Likewise.
53066 (__finitef): Likewise.
53067 (__ieee754_sqrt): Define as macro.
53068 (__ieee754_sqrtf): Define as macro.
53069 (__ieee754_sqrtl): Define as macro.
53070 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53071 inlined copy.
53072 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53073 __FINITE_MATH_ONLY__ consistent.
53074 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53075
12cc2fcd
AS
530762011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53077
a843a204
AS
53078 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53079 of rawmemchr.
53080
12cc2fcd
AS
53081 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53082
c853acd5
UD
530832011-10-09 Ulrich Drepper <drepper@gmail.com>
53084
53085 * po/ja.po: Update from translation team.
53086
c658d255
RM
530872011-10-08 Roland McGrath <roland@hack.frob.com>
53088
110946e4
RM
53089 * locale/programs/locarchive.c (prepare_address_space): New function.
53090 (create_archive, enlarge_archive, open_archive): Use it.
53091
50604220
RM
53092 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53093 inside [SHARED], where it is used.
53094
c658d255
RM
53095 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53096
53097 * nss/getent.c (netgroup_keys): Remove unused variable.
53098 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53099
6a621eb7
UD
531002011-10-08 Ulrich Drepper <drepper@gmail.com>
53101
7edb55ce
UD
53102 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53103 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53104 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53105 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53106 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53107 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53108 * math/Makefile (libm-calls): Add s_isinf_ns.
53109 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53110 * math/multc3.c: Likewise.
53111 * math/s_casin.c: Likewise.
53112 * math/s_casinf.c: Likewise.
53113 * math/s_casinl.c: Likewise.
53114 * math/s_ccos.c: Likewise.
53115 * math/s_ccosf.c: Likewise.
53116 * math/s_ccosl.c: Likewise.
53117 * math/s_ctan.c: Likewise.
53118 * math/s_ctanf.c: Likewise.
53119 * math/s_ctanh.c: Likewise.
53120 * math/s_ctanhf.c: Likewise.
53121 * math/s_ctanhl.c: Likewise.
53122 * math/s_ctanl.c: Likewise.
53123 * math/w_fmod.c: Likewise.
53124 * math/w_fmodf.c: Likewise.
53125 * math/w_fmodl.c: Likewise.
53126 * math/w_remainder.c: Likewise.
53127 * math/w_remainderf.c: Likewise.
53128 * math/w_remainderl.c: Likewise.
53129 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53130 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53131 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53132 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53133 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53134 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53135 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53136 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53137
187da0ae
UD
53138 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53139 of the number.
53140 * stdio-common/printf_fphex.c: Likewise.
53141 * stdio-common/printf_size.c: Likewise.
53142
9277c064
UD
53143 * math/e_exp10.c: Include math_private.h using <...> not "...".
53144 * math/e_exp10f.c: Likewise.
53145 * math/e_exp10l.c: Likewise.
53146 * math/e_exp2l.c: Likewise.
53147 * math/e_j0l.c: Likewise.
53148 * math/e_j1l.c: Likewise.
53149 * math/e_jnl.c: Likewise.
53150 * math/e_lgammal_r.c: Likewise.
53151 * math/e_rem_pio2l.c: Likewise.
53152 * math/e_scalb.c: Likewise.
53153 * math/e_scalbf.c: Likewise.
53154 * math/e_scalbl.c: Likewise.
53155 * math/k_cosl.c: Likewise.
53156 * math/k_sinl.c: Likewise.
53157 * math/k_tanl.c: Likewise.
53158 * math/s_cacoshf.c: Likewise.
53159 * math/s_catan.c: Likewise.
53160 * math/s_catanf.c: Likewise.
53161 * math/s_catanh.c: Likewise.
53162 * math/s_catanhf.c: Likewise.
53163 * math/s_catanhl.c: Likewise.
53164 * math/s_catanl.c: Likewise.
53165 * math/s_ccosh.c: Likewise.
53166 * math/s_ccoshf.c: Likewise.
53167 * math/s_ccoshl.c: Likewise.
53168 * math/s_cexp.c: Likewise.
53169 * math/s_cexpf.c: Likewise.
53170 * math/s_cexpl.c: Likewise.
53171 * math/s_clog.c: Likewise.
53172 * math/s_clog10.c: Likewise.
53173 * math/s_clog10f.c: Likewise.
53174 * math/s_clog10l.c: Likewise.
53175 * math/s_clogf.c: Likewise.
53176 * math/s_clogl.c: Likewise.
53177 * math/s_csin.c: Likewise.
53178 * math/s_csinf.c: Likewise.
53179 * math/s_csinh.c: Likewise.
53180 * math/s_csinhf.c: Likewise.
53181 * math/s_csinhl.c: Likewise.
53182 * math/s_csinl.c: Likewise.
53183 * math/s_csqrt.c: Likewise.
53184 * math/s_csqrtf.c: Likewise.
53185 * math/s_csqrtl.c: Likewise.
53186 * math/s_ctan.c: Likewise.
53187 * math/s_ctanf.c: Likewise.
53188 * math/s_ctanh.c: Likewise.
53189 * math/s_ctanhf.c: Likewise.
53190 * math/s_ctanhl.c: Likewise.
53191 * math/s_ctanl.c: Likewise.
53192 * math/s_ldexp.c: Likewise.
53193 * math/s_ldexpf.c: Likewise.
53194 * math/s_ldexpl.c: Likewise.
53195 * math/s_significand.c: Likewise.
53196 * math/s_significandf.c: Likewise.
53197 * math/s_significandl.c: Likewise.
53198 * math/w_acos.c: Likewise.
53199 * math/w_acosf.c: Likewise.
53200 * math/w_acosh.c: Likewise.
53201 * math/w_acoshf.c: Likewise.
53202 * math/w_acoshl.c: Likewise.
53203 * math/w_acosl.c: Likewise.
53204 * math/w_asin.c: Likewise.
53205 * math/w_asinf.c: Likewise.
53206 * math/w_asinl.c: Likewise.
53207 * math/w_atan2.c: Likewise.
53208 * math/w_atan2f.c: Likewise.
53209 * math/w_atan2l.c: Likewise.
53210 * math/w_atanh.c: Likewise.
53211 * math/w_atanhf.c: Likewise.
53212 * math/w_atanhl.c: Likewise.
53213 * math/w_cosh.c: Likewise.
53214 * math/w_coshf.c: Likewise.
53215 * math/w_coshl.c: Likewise.
53216 * math/w_dremf.c: Likewise.
53217 * math/w_exp10.c: Likewise.
53218 * math/w_exp10f.c: Likewise.
53219 * math/w_exp10l.c: Likewise.
53220 * math/w_exp2.c: Likewise.
53221 * math/w_exp2f.c: Likewise.
53222 * math/w_fmod.c: Likewise.
53223 * math/w_fmodf.c: Likewise.
53224 * math/w_fmodl.c: Likewise.
53225 * math/w_hypot.c: Likewise.
53226 * math/w_hypotf.c: Likewise.
53227 * math/w_hypotl.c: Likewise.
53228 * math/w_j0.c: Likewise.
53229 * math/w_j0f.c: Likewise.
53230 * math/w_j0l.c: Likewise.
53231 * math/w_j1.c: Likewise.
53232 * math/w_j1f.c: Likewise.
53233 * math/w_j1l.c: Likewise.
53234 * math/w_jn.c: Likewise.
53235 * math/w_jnf.c: Likewise.
53236 * math/w_jnl.c: Likewise.
53237 * math/w_lgamma.c: Likewise.
53238 * math/w_lgamma_r.c: Likewise.
53239 * math/w_lgammaf.c: Likewise.
53240 * math/w_lgammaf_r.c: Likewise.
53241 * math/w_lgammal.c: Likewise.
53242 * math/w_lgammal_r.c: Likewise.
53243 * math/w_log.c: Likewise.
53244 * math/w_log10.c: Likewise.
53245 * math/w_log10f.c: Likewise.
53246 * math/w_log10l.c: Likewise.
53247 * math/w_log2.c: Likewise.
53248 * math/w_log2f.c: Likewise.
53249 * math/w_log2l.c: Likewise.
53250 * math/w_logf.c: Likewise.
53251 * math/w_logl.c: Likewise.
53252 * math/w_pow.c: Likewise.
53253 * math/w_powf.c: Likewise.
53254 * math/w_powl.c: Likewise.
53255 * math/w_remainder.c: Likewise.
53256 * math/w_remainderf.c: Likewise.
53257 * math/w_remainderl.c: Likewise.
53258 * math/w_scalb.c: Likewise.
53259 * math/w_scalbf.c: Likewise.
53260 * math/w_scalbl.c: Likewise.
53261 * math/w_sinh.c: Likewise.
53262 * math/w_sinhf.c: Likewise.
53263 * math/w_sinhl.c: Likewise.
53264 * math/w_sqrt.c: Likewise.
53265 * math/w_sqrtf.c: Likewise.
53266 * math/w_sqrtl.c: Likewise.
53267 * math/w_tgamma.c: Likewise.
53268 * math/w_tgammaf.c: Likewise.
53269 * math/w_tgammal.c: Likewise.
53270
6a621eb7
UD
53271 * po/ja.po: Update from translation team.
53272
bf582445
AJ
532732011-09-29 Andreas Jaeger <aj@suse.de>
53274
f9efbf3a
AJ
53275 [BZ #13179]
53276 * sunrpc/netname.c (netname2host): Fix logic.
53277
bf582445
AJ
53278 [BZ #6779]
53279 [BZ #6783]
53280 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53281 correctly.
53282 * math/w_remainder.c (__remainder): Likewise.
53283 * math/w_remainderf.c (__remainderf): Likewise.
53284 * math/libm-test.inc (remainder_test): Add test cases.
53285
48693bea
AK
532862011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53287
53288 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53289 sdiv_qrnnd.
53290
42622229
LD
532912011-10-07 Ulrich Drepper <drepper@gmail.com>
53292
53293 * string/test-memcmp.c: Avoid unncessary #defines.
53294 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53295
093ecf92
LD
532962011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53297
53298 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53299 Use new sse2 version for core i3 - i7 as it's faster
53300 than sse42 version.
53301 (bit_Prefer_PMINUB_for_stringop): New.
53302 * sysdeps/x86_64/rawmemchr.S: Update.
53303 Replace with faster SSE2 version.
53304 * sysdeps/x86_64/memrchr.S: New file.
53305 * sysdeps/x86_64/memchr.S: Update.
53306 Replace with faster SSE2 version.
53307
fde56e5c
MP
533082011-09-12 Marek Polacek <mpolacek@redhat.com>
53309
53310 * elf/dl-load.c (lose): Add cast to avoid warning.
53311
21fd49a9
UD
533122011-10-07 Ulrich Drepper <drepper@gmail.com>
53313
5a06e643
UD
53314 * po/ca.po: Update from translation team.
53315
684ae515
UD
53316 * inet/getnetgrent_r.c: Hook up nscd.
53317 * nscd/Makefile (routines): Add nscd_netgroup.
53318 (nscd-modules): Add netgroupcache.
53319 (CFLAGS-netgroupcache.c): Define.
53320 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53321 (cache_search): Add const to second parameter.
53322 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53323 INNETGR.
53324 (dbs): Add netgrdb entry.
53325 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53326 (verify_persistent_db): Handle netgrdb.
53327 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53328 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53329 GETFDNETGR.
53330 (netgroup_response_header): Define.
53331 (innetgroup_response_header): Define.
53332 (datahead): Add netgroup_response_header and innetgroup_response_header
53333 elements.
53334 * nscd/nscd.conf: Add entries for netgroup cache.
53335 * nscd/nscd.h (dbtype): Add netgrdb.
53336 (_PATH_NSCD_NETGROUP_DB): Define.
53337 (netgroup_iov_disabled): Declare.
53338 (xmalloc, xcalloc, xrealloc): Move declarations here.
53339 (cache_search): Adjust prototype.
53340 Add netgroup-related prototypes.
53341 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53342 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53343 (__nscd_innetgr): Declare.
53344 * nscd/selinux.c (perms): Use access_vector_t as element type and
53345 add netgroup-related initializers.
53346 * nscd/netgroupcache.c: New file.
53347 * nscd/nscd_netgroup.c: New file.
53348 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53349 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53350 For four parameters use innetgr.
53351 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53352 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53353 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53354 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53355
21fd49a9
UD
53356 * nscd/connections.c (register_traced_file): Don't register file
53357 for disabled databases.
53358
054c0457
UD
533592011-10-06 Ulrich Drepper <drepper@gmail.com>
53360
32b63198
UD
53361 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53362
054c0457
UD
53363 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53364 from tree and freeing node.
53365
64031225
JO
533662011-09-25 Jiri Olsa <jolsa@redhat.com>
53367
53368 * nss/nsswitch.c (__nss_database_lookup): Handle
53369 nss_parse_service_list out of memory case.
53370
0490345c
JO
533712011-09-15 Jiri Olsa <jolsa@redhat.com>
53372
53373 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53374 out of memory case.
53375
3a62d00d
AS
533762011-10-04 Andreas Schwab <schwab@redhat.com>
53377
53378 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53379 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53380 pass it down.
53381 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53382 elf_machine_rela, elf_machine_lazy_rel.
53383 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53384 (ELF_DYNAMIC_DO_REL): Likewise.
53385 (ELF_DYNAMIC_DO_RELA): Likewise.
53386 (ELF_DYNAMIC_RELOCATE): Likewise.
53387 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53388 to ELF_DYNAMIC_DO_REL.
53389 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53390 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53391 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53392 elf_machine_rela.
53393 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53394 skip_ifunc, don't call ifunc function if non-zero.
53395 (elf_machine_rela): Likewise.
53396 (elf_machine_lazy_rel): Likewise.
53397 (elf_machine_lazy_rela): Likewise.
53398 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53399 (elf_machine_lazy_rel): Likewise.
53400 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53401 Likewise.
53402 (elf_machine_lazy_rel): Likewise.
53403 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53404 Likewise.
53405 (elf_machine_lazy_rel): Likewise.
53406 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53407 (elf_machine_lazy_rel): Likewise.
53408 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53409 (elf_machine_lazy_rel): Likewise.
53410 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53411 (elf_machine_lazy_rel): Likewise.
53412 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53413 (elf_machine_lazy_rel): Likewise.
53414 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53415 (elf_machine_lazy_rel): Likewise.
53416 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53417 (elf_machine_lazy_rel): Likewise.
53418
68577918
UD
534192011-09-28 Ulrich Drepper <drepper@gmail.com>
53420
53421 * nss/nss_files/files-init.c (_nss_files_init): Use static
53422 initialization for all the *_traced_file variables.
53423
68822d74
AS
534242011-09-28 Andreas Schwab <schwab@redhat.com>
53425
53426 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53427
2056100b
RM
534282011-09-27 Roland McGrath <roland@hack.frob.com>
53429
53430 [BZ #13226]
53431 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53432
32c76b63
AS
534332011-09-27 Andreas Schwab <schwab@redhat.com>
53434
53435 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53436 Reread the line before reparsing it.
53437
bf972c9d
AS
534382011-09-26 Andreas Schwab <schwab@redhat.com>
53439
53440 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53441
e057a1b5
JM
534422011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53443 Maxim Kuvyrkov <maxim@codesourcery.com>
53444 Joseph Myers <joseph@codesourcery.com>
53445
53446 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53447 if needed for __stack_chk_guard.
53448
bc7e1c36
RM
534492011-09-19 Roland McGrath <roland@hack.frob.com>
53450
ecb1482f
RM
53451 * sysdeps/posix/spawni.c (script_execute): Always define it.
53452 It will be optimized away if unused.
53453 (maybe_script_execute): New function.
53454 (__spawni): Call it.
53455
bc7e1c36
RM
53456 * Makerules: Don't include tls.make.
53457 (config-tls): Always set to thread.
53458 * tls.make.c: File removed.
53459
1c3b002b
MF
534602011-09-19 Mike Frysinger <vapier@gentoo.org>
53461
53462 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53463 * config.make.in (CPPFLAGS-config): New substituted variable.
53464
2840865d
UD
534652011-09-15 Ulrich Drepper <drepper@gmail.com>
53466
88738eb6
UD
53467 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53468
cbf645a6 53469 [BZ #13192]
2840865d
UD
53470 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53471 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53472
b402e91a
RM
534732011-09-15 Roland McGrath <roland@hack.frob.com>
53474
53475 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53476 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53477 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53478 (CALL_FAIL): Likewise.
53479 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53480 (CALL_FAIL): Macro removed.
53481 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53482
4c1a1f71
UD
534832011-09-15 Ulrich Drepper <drepper@gmail.com>
53484
53485 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53486 for __FINITE_MATH_ONLY__ == 1.
53487
edc121be
AS
534882011-09-15 Andreas Schwab <schwab@redhat.com>
53489
53490 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53491 __ieee754_sqrt instead of sqrt.
53492 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53493 __ieee754_sqrtf instead of sqrtf.
53494 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53495 __floorf instead of floorf.
53496 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53497 __floorf, __truncf instead of floorf, truncf.
53498
cd205654
UD
534992011-09-14 Ulrich Drepper <drepper@gmail.com>
53500
ee4d0315
UD
53501 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53502
cd205654
UD
53503 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53504 __extern_always_inline.
53505 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53506 32-bit.
53507
48b67d71
AS
535082011-09-14 Andreas Schwab <schwab@redhat.com>
53509
53510 * elf/rtld.c (dl_main): Also relocate in dependency order when
53511 doing symbol dependency testing.
53512
1ae12c75
AS
535132011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53514
53515 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53516 Always define `refsym'.
53517
995a80df
AS
535182011-09-13 Andreas Schwab <schwab@redhat.com>
53519
e529793b
AS
53520 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53521 (__FD_ELT): Renamed from __FDELT.
53522 * misc/bits/select2.h (__FD_ELT): Likewise.
53523 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53524 __FD_MASK instead of __FDELT, __FDMASK.
53525 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53526 Likewise.
53527 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53528 Likewise.
53529
52d4fef8
AS
53530 * elf/Makefile (gen-ldd): Fix pattern.
53531
995a80df
AS
53532 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53533 (init_tls): Likewise.
53534
8682f8b0
UD
535352011-09-12 Ulrich Drepper <drepper@gmail.com>
53536
53537 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53538
de82006d
AS
535392011-09-12 Andreas Schwab <schwab@redhat.com>
53540
a7c8e6a1
AS
53541 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53542 `struct cmsghdr *' instead of `void *'.
53543 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53544 Likewise.
53545
0f31fe77
AS
535462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53547
53548 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53549 if non-absolute.
53550 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53551 ldd_rewrite_script.
0f31fe77 53552
32b4c839
UD
535532011-09-11 Ulrich Drepper <drepper@gmail.com>
53554
83cd1420
UD
53555 * configure.in: Remove --with-tls option.
53556 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53557 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53558 out in case it is missing.
53559 * sysdeps/ia64/elf/configure.in: Likewise.
53560 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53561 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53562 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53563 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53564 * sysdeps/sh/elf/configure.in: Likewise.
53565 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53566 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53567 * sysdeps/x86_64/elf/configure.in: Likewise.
53568 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53569 * sysdeps/mach/hurd/tls.h: Likewise.
53570
633f745d
UD
53571 [BZ #13067]
53572 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53573
f318beb8
UD
53574 [BZ #13090]
53575 * configure.in: Fix use of AC_INIT.
53576
32b4c839
UD
53577 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53578
3ce1f295
UD
535792011-09-10 Ulrich Drepper <drepper@gmail.com>
53580
bb016596
UD
53581 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53582 __set_errno.
8e58439c
UD
53583 * malloc/hooks.c: Likewise.
53584
aebae053 53585 [BZ #11929]
02d46fc4
UD
53586 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53587 variables statically.
53588 (narenas): Initialize.
53589 (list_lock): Initialize.
bb016596
UD
53590 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53591 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53592 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53593 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53594 Add initializers to main_arena and mp_.
53595 (malloc_state): Remove pagesize member. Change all users to use
53596 GLRO(dl_pagesize).
53597
53598 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53599 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53600 is always initialized.
53601
22a89187
UD
53602 * malloc/malloc.c: Removed unused configurations and dead code.
53603 * malloc/arena.c: Likewise.
53604 * malloc/hooks.c: Likewise.
02d46fc4 53605 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53606
d063d164
UD
53607 * include/tls.h: Removed. USE___THREAD must always be defined.
53608 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53609 * elf/dl-libc.c: Likewise.
53610 * elf/dl-tsd.c: Likewise.
53611 * include/errno.h: Likewise.
53612 * include/netdb.h: Likewise.
53613 * include/resolv.h: Likewise.
53614 * inet/herrno-loc.c: Likewise.
53615 * inet/herrno.c: Likewise.
53616 * malloc/arena.c: Likewise.
53617 * malloc/hooks.c: Likewise.
53618 * malloc/malloc.c: Likewise.
53619 * resolv/res-state.c: Likewise.
53620 * resolv/res_libc.c: Likewise.
53621 * sysdeps/i386/dl-machine.h: Likewise.
53622 * sysdeps/ia64/dl-machine.h: Likewise.
53623 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53624 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53625 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53626 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53627 * sysdeps/sh/dl-machine.h: Likewise.
53628 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53629 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53630 * sysdeps/unix/i386/sysdep.S: Likewise.
53631 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53632 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53633 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53634 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53635 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53636 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53637 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53640 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53641 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53642 * sysdeps/x86_64/dl-machine.h: Likewise.
53643 * tls.make.c: Likewise.
53644
3ce1f295
UD
53645 * configure.in: Remove --with-__thread option. Make tests for
53646 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53647 tls_model attribute fail if no support is available. Remove
53648 USE_IN_LIBIO.
53649 * Makeconfig: Adjust for dropped configure option. All features are
53650 now mandatory.
53651 * Makerules: Likewise.
53652 * Versions.def: Likewise.
53653 * argp/argp-fmtstream.c: Likewise.
53654 * argp/argp-fmtstream.h: Likewise.
53655 * argp/argp-help.c: Likewise.
53656 * assert/assert.c: Likewise.
53657 * config.h.in: Likewise.
53658 * config.make.in: Likewise.
53659 * configure: Likewise.
53660 * configure.in: Likewise.
53661 * csu/Versions: Likewise.
53662 * csu/init.c: Likewise.
53663 * elf/tst-audit2.c: Likewise.
53664 * elf/tst-tls10.c: Likewise.
53665 * elf/tst-tls10.h: Likewise.
53666 * elf/tst-tls11.c: Likewise.
53667 * elf/tst-tls12.c: Likewise.
53668 * elf/tst-tls14.c: Likewise.
53669 * elf/tst-tlsmod11.c: Likewise.
53670 * elf/tst-tlsmod12.c: Likewise.
53671 * elf/tst-tlsmod13.c: Likewise.
53672 * elf/tst-tlsmod13a.c: Likewise.
53673 * elf/tst-tlsmod14a.c: Likewise.
53674 * elf/tst-tlsmod15b.c: Likewise.
53675 * elf/tst-tlsmod16a.c: Likewise.
53676 * elf/tst-tlsmod16b.c: Likewise.
53677 * elf/tst-tlsmod7.c: Likewise.
53678 * elf/tst-tlsmod8.c: Likewise.
53679 * elf/tst-tlsmod9.c: Likewise.
53680 * gmon/gmon.c: Likewise.
53681 * grp/fgetgrent_r.c: Likewise.
53682 * grp/putgrent.c: Likewise.
53683 * hurd/fopenport.c: Likewise.
53684 * include/libc-symbols.h: Likewise.
53685 * include/tls.h: Likewise.
53686 * intl/gettextP.h: Likewise.
53687 * intl/loadinfo.h: Likewise.
53688 * locale/global-locale.c: Likewise.
53689 * locale/localeinfo.h: Likewise.
53690 * mach/devstream.c: Likewise.
53691 * malloc/arena.c: Likewise.
53692 * malloc/set-freeres.c: Likewise.
53693 * misc/err.c: Likewise.
53694 * misc/getttyent.c: Likewise.
53695 * misc/mntent_r.c: Likewise.
53696 * posix/getopt.c: Likewise.
53697 * posix/wordexp.c: Likewise.
53698 * pwd/fgetpwent_r.c: Likewise.
53699 * resolv/Versions: Likewise.
53700 * resolv/res_hconf.c: Likewise.
53701 * shadow/fgetspent_r.c: Likewise.
53702 * shadow/putspent.c: Likewise.
53703 * stdio-common/printf_fphex.c: Likewise.
53704 * stdio-common/tmpfile.c: Likewise.
53705 * stdlib/abort.c: Likewise.
53706 * stdlib/fmtmsg.c: Likewise.
53707 * sunrpc/auth_unix.c: Likewise.
53708 * sunrpc/clnt_perr.c: Likewise.
53709 * sunrpc/clnt_tcp.c: Likewise.
53710 * sunrpc/clnt_udp.c: Likewise.
53711 * sunrpc/clnt_unix.c: Likewise.
53712 * sunrpc/openchild.c: Likewise.
53713 * sunrpc/svc_simple.c: Likewise.
53714 * sunrpc/svc_tcp.c: Likewise.
53715 * sunrpc/svc_udp.c: Likewise.
53716 * sunrpc/svc_unix.c: Likewise.
53717 * sunrpc/xdr.c: Likewise.
53718 * sunrpc/xdr_array.c: Likewise.
53719 * sunrpc/xdr_rec.c: Likewise.
53720 * sunrpc/xdr_ref.c: Likewise.
53721 * sunrpc/xdr_stdio.c: Likewise.
53722
1248c1c4
PB
537232011-09-09 Ulrich Drepper <drepper@gmail.com>
53724
53725 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53726
537272011-07-03 Andreas Jaeger <aj@suse.de>
53728
53729 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53730 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53731 regenerate with gen-libm-tests.pl.
53732
537332010-05-12 Petr Baudis <pasky@suse.cz>
53734
53735 [BZ #11589]
53736 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53737 around j0() zero points by switching to j1().
53738 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53739 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53741 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53742
f22e1074
UD
537432011-09-09 Ulrich Drepper <drepper@gmail.com>
53744
f19009c1
UD
53745 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53746 instead of 0.
53747 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53748 instead of 0.
f19009c1
UD
53749 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53750 Patch in part by Pavel Roskin <proski@gnu.org>.
53751
3f8cc204
UD
53752 [BZ #13138]
53753 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53754 realloc.
53755 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53756 Free memory block if necessary.
53757
f22e1074
UD
53758 [BZ #12847]
53759 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53760 be NULL. Don't lock in this case.
53761
0a2349f9
RM
537622011-09-09 Roland McGrath <roland@hack.frob.com>
53763
53764 * elf/elf.h (ELFOSABI_GNU): New macro.
53765 (ELFOSABI_LINUX): Define to that.
53766
f3cdd467
DZ
537672011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53768
53769 * string/strncat.c (strncat): Undef the symbol in case it has been
53770 defined in bits/string.h.
53771
74718d13
UD
537722011-09-09 Ulrich Drepper <drepper@gmail.com>
53773
633e9e0f
UD
53774 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53775
0a2349f9 53776 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53777 link map.
53778
f9924780
AJ
537792011-08-17 Andreas Jaeger <aj@suse.de>
53780
53781 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53782
7f5517aa
PP
537832011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53784 Ian Lance Taylor <iant@google.com>
53785
53786 * math/libm-test.inc (lround_test): New testcase.
53787 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53788
762011fe
UD
537892011-09-08 Ulrich Drepper <drepper@gmail.com>
53790
92963737
UD
53791 * Makefile: Remove support for automatic cvs check-ins.
53792 * Makerules: Likewise.
53793 * config.make.in: Likewise.
53794 * configure.in: Likewise.
53795 * intl/Makefile: Likewise.
53796 * locale/Makefile: Likewise.
53797 * po/Makefile: Likewise.
53798 * posix/Makefile: Likewise.
53799 * sysdeps/gnu/Makefile: Likewise.
53800 * sysdeps/mach/hurd/Makefile: Likewise.
53801 * sysdeps/sparc/sparc32/Makefile: Likewise.
53802
b0727fd8
JS
53803 [BZ #13118]
53804 * posix/Makefile (bug-regex32-ENV): Define.
53805 Patch by John Stanley <jpsinthemix@verizon.net>.
53806
a0f33f99
UD
53807 * misc/Makefile (headers): Add bits/select2.h.
53808 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53809 * misc/bits/select2.h: New file.
53810 * include/bits/select2.h: New file.
53811 * debug/Makefile (routines): Add fdelt_chk.
53812 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53813 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53814 FD_ISSET.
53815 * debug/fdelt_chk.c: New file.
53816
762011fe
UD
53817 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53818 * wcsmbs/test-wmemcmp.c: Likewise.
53819 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53820 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53821
538222011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53823
53824 * string/Makefile (strop-tests): Add memcmp.
53825 * string/test-wmemcmp.c: New file.
53826 * string/test-memcmp.c: Add wmemcmp support.
53827
7f513ec8
RM
538282011-09-08 Roland McGrath <roland@hack.frob.com>
53829
0442afb4
RM
53830 [BZ #13153]
53831 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53832 2011-07-19 change.
53833
7f513ec8
RM
53834 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53835 garbage value in a __mach_port_mod_refs call in the cases of the
53836 task-self and thread-self ports.
53837
a12b2239
ST
538382011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53839
53840 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53841
610f9ab4
AS
538422011-09-08 Andreas Schwab <schwab@redhat.com>
53843
7f513ec8 53844 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53845
48882a1a
LD
538462011-09-07 Ulrich Drepper <drepper@gmail.com>
53847
b49865be
UD
53848 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53849
fdc86bc9
UD
53850 * elf/dl-libc.c (dlerror_run): Pass back error code from
53851 dl_catch_error.
53852
c966526a
UD
53853 [BZ #13123]
53854 * elf/dl-load.c (lose): Free l_origin if it is valid.
53855
48882a1a
LD
53856 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53857 names.
53858 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53859 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53860 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53861 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53862 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53863 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53864
77a2a8b4
AZ
538652011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53866
53867 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53868 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53869 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53870 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53871 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53872 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53873 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53874 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53875 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53876 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53877
24f579d8
AM
538782011-08-15 Alan Modra <amodra@gmail.com>
53879
53880 [BZ #13092]
53881 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53882 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53883 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53884 ppc_mcount to static-only-routines.
53885 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53886 __mcount_internal.
53887 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53888 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53889
3d4837df
UD
538902011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53891
53892 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53893 for finite and infinity parameters.
53894
22700377
WS
538952011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53896
53897 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53898 and add nop instructions for throughput optimization.
53899 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53900
5025581e
WS
539012011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53902
53903 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53904 aligned copy for power7 with vector-scalar instructions.
53905 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53906
08a300c9
L
539072011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53908
53909 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53910 AVX check.
53911
59178ef9
AS
539122011-09-07 Andreas Schwab <schwab@redhat.com>
53913
53914 [BZ #13144]
53915 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53916 last change.
53917
e38ba7ab
UD
539182011-09-07 Ulrich Drepper <drepper@gmail.com>
53919
53920 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53921 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53922 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53923 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53924 clock_gettime.
53925
d53a73ac
UD
539262011-09-06 Ulrich Drepper <drepper@gmail.com>
53927
fc8bffcc
UD
53928 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53929 Forgot to demangle the pointer.
53930
ceaa0c5d
UD
53931 * sysdeps/i386/sysdep.h: Define atom_text_section.
53932 * sysdeps/x86_64/sysdep.h: Likewise.
53933 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53934 section with atom_text_section.
53935 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53936 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53937 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53938 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53939 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53940
a77d3c17
UD
53941 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53942 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53943 already be defined. Change to take two parameters and don't assign
53944 result to variable. Adjust all users.
53945 Define INTERNAL_GETTIME if not already defined.
53946 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53947 call.
53948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53949 HAVE_CLOCK_GETTIME_VSYSCALL.
53950 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53951
d53a73ac
UD
53952 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53953 gettimeofday vsyscall, just use time.
53954
a8f84144
AS
539552011-09-06 Andreas Schwab <schwab@redhat.com>
53956
53957 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53958 <errno.h>.
53959
ef606249
UD
539602011-09-06 Ulrich Drepper <drepper@gmail.com>
53961
53962 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53963 syscall on x86-64.
53964 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53965 syscall.
53966 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53967 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53968 syscall if possible.
53969
6585cb60
UD
539702011-09-05 Ulrich Drepper <drepper@gmail.com>
53971
53972 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53973 e_ident. Don't pass to find_mapsXX.
53974 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53975
a5f524e4
LD
539762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53977
53978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53979 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53980 * sysdeps/x86_64/multiarch/strchr.S: Update.
53981 Check bit_slow_BSF bit.
53982 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53983 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53984 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53985
554881ef
UD
539862011-09-05 Ulrich Drepper <drepper@gmail.com>
53987
d96de963
UD
53988 [BZ #13134]
53989 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53990 before glibc 2.15.
53991 (tryshell): Define.
53992 (__spawni): Change last parameter to be flag. Test
53993 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53994 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53995 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53996 * posix/spawni.c: Likewise.
53997 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53998 * posix/spawnp.c: Likewise. Change normal version to use
53999 SPAWN_XFLAGS_USE_PATH.
54000 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54001 SPAWN_XFLAGS_TRY_SHELL.
54002
d48e5868
UD
54003 [BZ #13150]
54004 * posix/glob.h: Remove gcc 1.x support.
54005
554881ef
UD
54006 [BZ #13068]
54007 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54008
693fb948
LD
540092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54010
54011 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54012 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54013 strrchr-sse2-bsf
54014 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54015 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54016 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54017 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54018 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54019 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54020
1b48c537
UD
540212011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54022
49d42c37
UD
54023 * sysdeps/x86_64/wcscmp.S: New file.
54024
1b48c537
UD
54025 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54026 wcscmp-c wcscmp-sse2
54027 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54028 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54029 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54030 * wcsmbs/wcscmp.c: Allow renaming.
54031
15c95c5d
DM
540322011-09-05 David S. Miller <davem@davemloft.net>
54033
54034 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54035 stack slot, rather than the struct return pointer slot.
54036 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54037 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54039 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54040
2f0ad8f3
UD
540412011-09-05 Ulrich Drepper <drepper@gmail.com>
54042
d88ae418
UD
54043 * po/ja.po: Update from translation team.
54044
2f0ad8f3
UD
54045 [BZ #13144]
54046 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54047 kernel in 64-bit binaries.
54048
5f4318d1
DM
540492011-09-01 David S. Miller <davem@davemloft.net>
54050
54051 * elf/elf.h (HWCAP_SPARC_*): Move to..
54052 * sysdeps/sparc/sysdep.h: this new file and add new values.
54053 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54054 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54055 _DL_HWCAP_COUNT to 24.
54056 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54057 entries.
54058 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54059 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54060 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54061 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54062 instead of magic constants.
54063 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54064
3ba57516
DM
540652011-08-31 David S. Miller <davem@davemloft.net>
54066
54067 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54068 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54069 Reimplement to do errno handling inline.
54070 (SYSCALL_ERROR_HANDLER): New macro.
54071 (__SYSCALL_STRING): Do not do errno handling in asm.
54072 (__CLONE_SYSCALL_STRING): Delete.
54073 (__INTERNAL_SYSCALL_STRING): Delete.
54074 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54075 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54076 (PSEUDO): Reimplement to do errno handling inline.
54077 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54078 (SYSCALL_ERROR_HANDLER): New macro.
54079 (__SYSCALL_STRING): Do not do errno handling in asm.
54080 (__CLONE_SYSCALL_STRING): Delete.
54081 (__INTERNAL_SYSCALL_STRING): Delete.
54082 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54083 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54084 i386.
54085 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54086 (inline_syscall*): Add 'err' argument.
54087 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54088 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54089 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54090 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54091
54092 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54093 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54094
2bc17433
AS
540952011-08-30 Andreas Schwab <schwab@redhat.com>
54096
54097 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54098
fbeb5f4d
JO
540992011-08-29 Jiri Olsa <jolsa@redhat.com>
54100
54101 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54102 directive.
54103
ad69cc26
DM
541042011-08-24 David S. Miller <davem@davemloft.net>
54105
54106 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54107
39dd69df
AS
541082011-08-24 Andreas Schwab <schwab@redhat.com>
54109
54110 * elf/Makefile: Add rules to build and run unload8 test.
54111 * elf/unload8.c: New file.
54112 * elf/unload8mod1.c: New file.
54113 * elf/unload8mod1x.c: New file.
54114 * elf/unload8mod2.c: New file.
54115 * elf/unload8mod3.c: New file.
54116
54117 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54118 it wasn't used.
54119
2c0b250a
DM
541202011-08-23 David S. Miller <davem@davemloft.net>
54121
54122 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54123 subtract stack bias.
54124 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54125 %sp not %fp in calculations.
54126 (_JMPBUF_UNWINDS_ADJ): Likewise.
54127
22044b48
DM
54128 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54129 (aio_suspend): Call it to force an exception region around the
54130 AIO_MISC_WAIT() invocation.
54131
2cae4995
AS
541322011-08-23 Andreas Schwab <schwab@redhat.com>
54133
54134 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54135 backslash.
54136
873a772e
AJ
541372011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54138
54139 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54140 protection macro.
54141 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54142 and <dl-machine.h>.
54143 (Elf64_FuncDesc): Remove.
54144
25ad0df1
DM
541452011-08-22 David S. Miller <davem@davemloft.net>
54146
54147 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54148 sigaltstack check, add missing cfi directives.
54149 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54150 missing cfi directives, and sigaltstack handling.
54151
e888bcbe
AS
541522011-08-16 Andreas Schwab <schwab@redhat.com>
54153
54154 [BZ #11724]
54155 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54156 object is seen twice.
54157 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54158
54159 * elf/Makefile (distribute): Add tst-initorder2.c.
54160 (tests): Add tst-initorder2.
54161 (modules-names): Add tst-initorder2a tst-initorder2b
54162 tst-initorder2c tst-initorder2d. Add rules to build them.
54163 ($(objpfx)tst-initorder2.out): New rule.
54164 * elf/tst-initorder2.c: New file.
54165 * elf/tst-initorder2.exp: New file.
54166
87162f46
AS
541672011-08-22 Andreas Schwab <schwab@redhat.com>
54168
70538b7f
AS
54169 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54170
f55ffe58
AS
54171 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54172 dependencies back to end of function.
54173
87162f46
AS
54174 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54175 $(elfobjdir)/ld.so.
54176
91b392a4
UD
541772011-08-21 Ulrich Drepper <drepper@gmail.com>
54178
54179 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54180 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54181 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54182 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54183 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54184 of __vdso_gettimeofday.
54185 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54186 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54187 attribute_hidden.
54188 (_libc_vdso_platform_setup): Remove initialization of
54189 __vdso_gettimeofday and __vdso_time.
54190
5c43483f
UD
541912011-08-20 Ulrich Drepper <drepper@gmail.com>
54192
775a77e7
UD
54193 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54194 and fgetc_unlocked.
54195 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54196 getc_unlocked.
89f447ed 54197
49c74ba9
UD
54198 * elf/dl-open.c (add_to_global): Report additions to the global scope
54199 for LD_DEBUG=scopes.
54200 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 54201 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 54202
5c43483f
UD
54203 [BZ #13114]
54204 * stdio-common/Makefile (tests): Add bug24.
54205 * stdio-common/bug24.c: New file.
54206
a101b025
AJ
542072011-08-19 Andreas Jaeger <aj@suse.de>
54208
54209 [BZ #13114]
54210 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54211 non-existant file when using close-on-exec mode.
54212
c88f1766
UD
542132011-08-20 Ulrich Drepper <drepper@gmail.com>
54214
0276a718
UD
54215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54216 the very first instruction.
54217
c88f1766
UD
54218 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54219 the CFI state in the end.
54220 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54221 inclusion of dl-trampoline.h.
54222 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54223
51ccffa0
AS
542242011-08-19 Andreas Schwab <schwab@redhat.com>
54225
94d7165f
AS
54226 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54227 expectations for long double.
54228
51ccffa0
AS
54229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54230 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54231
fd708658 542322011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54233
54234 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54235 artificual limit depends upon the system page size.
54236
44f0a71e
UD
542372011-08-17 Ulrich Drepper <drepper@gmail.com>
54238
54239 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54240 * resolv/Makefile: Define CFLAGS-libresolv.
54241
8de79a24
AS
542422011-08-17 Andreas Schwab <schwab@redhat.com>
54243
54244 * nss/makedb.c (compute_tables): Make variables used in nested
54245 function static.
54246
27724598
UD
542472011-08-17 Ulrich Drepper <drepper@gmail.com>
54248
c5305d88
UD
54249 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54250 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54251 if buffer was too small.
54252
27724598
UD
54253 * elf/pldd.c (main): Attach to all threads in the process.
54254 Rewrite /proc handling to use *at functions.
54255
076fe015
UD
542562011-08-16 Ulrich Drepper <drepper@gmail.com>
54257
174baab3
UD
54258 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54259 specifies first scope to show.
54260 (dl_open_worker): Update callers. Move printing scope of new
54261 object to before the relocation.
44f0a71e 54262 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54263 * sysdeps/generic/ldsodefs.h: Update declaration.
54264
076fe015
UD
54265 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54266 string for the scope number.
54267
a60df2c3
UD
542682011-08-14 Ulrich Drepper <drepper@gmail.com>
54269
54270 * nscd/servicescache.c (cache_addserv): Make sure written is always
54271 initialized.
54272
5e4287d1
RM
542732011-08-14 Roland McGrath <roland@hack.frob.com>
54274
85ae0589
RM
54275 * sysdeps/i386/i486/bits/atomic.h
54276 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54277 statement expression, so as to suppress "set but not used" warning.
54278 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54279
69f63097
RM
54280 * string/strncat.c (STRNCAT): Use prototype definition.
54281
675456ef
RM
54282 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54283 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54284 -Iprograms here.
54285 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54286 (localedef-modules): Add localedef.
54287 (locale-modules): Add locale.
54288
5e4287d1
RM
54289 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54290 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54291 to avoid a warning.
54292
9c96ff23
DM
542932011-08-14 David S. Miller <davem@davemloft.net>
54294
54295 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54296 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54297
f9ddf089
UD
542982011-08-13 Ulrich Drepper <drepper@gmail.com>
54299
44f0a71e 54300 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54301 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54302 * elf/rtld.c (dl_main): Set l_name of vDSO.
54303 Call _dl_show_scope when DL_DEBUG_SCOPES.
54304 (process_dl_debug): Recognize scopes flag and also set it for all.
54305 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54306 Declare _dl_show_scope.
54307
1dc27704
UD
54308 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54309 (do_dlopen): Pass caller_dlopen to dl_open.
54310 (__libc_dlopen_mode): Initialize caller_dlopen.
54311
f9ddf089
UD
54312 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54313 of libc. Make tolower call locale-independent. Optimize a bit by
54314 using isdigit instead of isalnum.
54315 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54316
9ac533d3
UD
543172011-08-12 Ulrich Drepper <drepper@gmail.com>
54318
54319 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54320 was a dependency or dynamically loaded.
54321
89edf2e9
UD
543222011-08-11 Ulrich Drepper <drepper@gmail.com>
54323
8e999d29
UD
54324 * intl/l10nflist.c: Allow architecture-specific pop function.
54325 * sysdeps/x86_64/l10nflist.c: New file.
54326
89edf2e9
UD
54327 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54328 classification.
54329
14d96785
AS
543302011-08-10 Andreas Schwab <schwab@redhat.com>
54331
54332 * include/dirent.h: Add libc_hidden_proto for scandirat and
54333 scandirat64. Don't declare __scandirat64.
54334 * dirent/scandirat.c: Add libc_hidden_def.
54335 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54336 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54337
6761ac04
DM
543382011-08-10 David S. Miller <davem@davemloft.net>
54339
54340 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54341 enum.
54342 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54343 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54344 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54345
c55fbd1e
UD
543462011-08-09 Ulrich Drepper <drepper@gmail.com>
54347
54348 * Versions.def [libc]: Add GLIBC_2.15.
54349 * dirent/Makefile (routines): Add scandirat and scandirat64.
54350 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54351 GLIBC_2.15.
54352 * dirent/dirent.h: Declare scandirat and scandirat64.
54353 * dirent/scandirat.c: New file.
54354 * dirent/scandirat64.c: New file.
54355 * sysdeps/wordsize-64/scandirat.c: New file.
54356 * sysdeps/wordsize-64/scandirat64.c: New file.
54357 * dirent/opendir.c: Define opendirat.
54358 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54359 using scandirat.
54360 * dirent/scandir64.c: Adjust for scandir.c change.
54361 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54362 __scandirat64, and __scandir_cancel_handler.
54363 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54364 additional parameter and use openat instead of open (outside of ld.so).
54365 Add new __opendir as wrapper around __opendirat.
54366 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54367 here without requiring old scandirat implementation.
54368
879165f2
UD
543692011-08-08 Ulrich Drepper <drepper@gmail.com>
54370
54371 * dirent/scandir.c (cancel_handler): Renamed to
54372 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54373 defined. Adjust users.
54374 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54375 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54376
cb7e923b
UD
543772011-08-04 Ulrich Drepper <drepper@gmail.com>
54378
16292edd
UD
54379 * string/test-string.h (IMPL): Use __STRING to expand name and then
54380 stringify it.
54381
cb7e923b
UD
54382 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54383 of cleanups.
54384
cff82933
LD
543852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54386
54387 * string/Makefile: Update.
54388 (strop-tests): Append strncat.
54389 * string/test-wcscmp.c: New file.
54390 New comprehensive test for wcscmp.
54391 * string/test-strcmp.c: Update.
54392 (WIDE): New define.
54393
9be9bfcc
AS
543942011-07-22 Andreas Schwab <schwab@redhat.com>
54395
54396 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54397 line.
54398
2e96f1c7
AS
543992011-07-26 Andreas Schwab <schwab@redhat.com>
54400
54401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54402 encoding to ACE if AI_IDN.
54403
85188888
JJ
544042011-08-01 Jakub Jelinek <jakub@redhat.com>
54405
54406 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54407 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54408
5fa16e9b
LD
544092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54410
54411 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54412 Fix overflow bug in strncat.
54413 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54414
54415 * string/test-strncat.c: Update.
54416 Add new tests for checking overflow bugs.
54417
544182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54419
54420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54421 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54422 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54423 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54424 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54425 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54426 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54427 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54428 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54429
54430 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54431 (USE_AS_STRCAT): Define.
54432 Add strcat and strncat support.
54433 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54434
8c1a459f
AS
544352011-07-25 Andreas Schwab <schwab@redhat.com>
54436
54437 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54438 __n bigger than INT_MAX+1.
54439 (__strncmp_g): Likewise.
54440
bba33c28
UD
544412011-07-23 Ulrich Drepper <drepper@gmail.com>
54442
798be72d
UD
54443 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54444 * libio/stido.h: Likewise.
54445
8accd4dc
UD
54446 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54447 (AF_NFC): Define.
54448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54449 (AF_NFC): Define.
54450
cbff0d96
UD
54451 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54452 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54453 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54454 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54455 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54456
9191c04a
UD
54457 [BZ #13021]
54458 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54459 installed.
54460
bba33c28
UD
54461 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54462 typo.
54463 (_dl_x86_64_save_sse): Likewise.
54464
90f139dd
UD
544652011-07-22 Ulrich Drepper <drepper@gmail.com>
54466
1aae088a
UD
54467 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54468 OSXSAVE.
54469 (_dl_x86_64_save_sse): Likewise.
54470
8e2045f5
UD
54471 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54472
90f139dd
UD
54473 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54474
1d002f25
AS
544752011-07-21 Andreas Schwab <schwab@redhat.com>
54476
54477 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54478 change.
54479 (_dl_x86_64_save_sse): Use correct AVX check.
54480
21137f89
UD
544812011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54482
54483 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54484 bug in strncpy/strncat.
54485 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54486
a65c0b7a
UD
544872011-07-21 Ulrich Drepper <drepper@gmail.com>
54488
54489 * string/tester.c (test_strcat): Add tests for different alignments
54490 of source and destination.
54491 (test_strncat): Likewise.
54492
6986b98a
UD
544932011-07-20 Ulrich Drepper <drepper@gmail.com>
54494
90bb2039
UD
54495 [BZ #12852]
54496 * posix/glob.c (glob): Check passed in values before using them in
54497 expressions to avoid some overflows.
54498 (glob_in_dir): Likewise.
54499
5644ef54
UD
54500 [BZ #13007]
54501 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54502 check for AVX enablement so that we don't crash with old kernels and
54503 new hardware.
54504 * elf/tst-audit4.c: Add same checks here.
54505 * elf/tst-audit6.c: Likewise.
54506
54507 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54508
bfc9dc9b
AS
545092011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54510
54511 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54512
702e64bb
UD
545132011-07-20 Ulrich Drepper <drepper@gmail.com>
54514
54515 * po/cs.po: Update from translation team.
54516 * po/bg.po: Likewise.
54517
295e904f
MP
545182011-07-12 Marek Polacek <mpolacek@redhat.com>
54519
54520 * misc/sys/cdefs.h: Add support for const attribute.
54521 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54522 to gnu_dev_{major,minor,makedev} functions.
54523
3ff94596
MP
545242011-07-20 Marek Polacek <mpolacek@redhat.com>
54525
54526 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54527
28b59fca
AS
545282011-07-20 Andreas Schwab <schwab@redhat.com>
54529
54530 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54531 strlen results.
54532
19df733e
AK
545332011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54534
54535 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54536 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54537 register in order to avoid conflicts with the soft frame pointer
54538 being held in r11 when necessary.
54539 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54540 (INTERNAL_VSYSCALL_NCS): Likewise.
54541
c8835729
MP
545422011-07-14 Marek Polacek <mpolacek@redhat.com>
54543
54544 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54545 * elf/dl-fini.c (_dl_fini): Adjust caller.
54546 * elf/dl-close.c (_dl_close_worker): Likewise.
54547 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54548
b902330c
MP
545492011-07-15 Marek Polacek <mpolacek@redhat.com>
54550
8991e135
MP
54551 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54552 "aux_cache->nlibs < 0".
54553
b902330c
MP
54554 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54555 in the reload-count case.
54556
99710781
LD
545572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54558
54559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54560 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54561 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54562 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54563 * sysdeps/x86_64/multiarch/strcat.S: New file.
54564 * sysdeps/x86_64/multiarch/strncat.S: New file.
54565 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54566 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54567 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54568 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54569 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54570 (USE_AS_STRCAT): Define.
54571 Add strcat and strncat support.
54572 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54573 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54574 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54575 * string/strncat.c: Update.
54576 (USE_AS_STRNCAT): Define.
54577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54578 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54579 and i7.
54580 * sysdeps/x86_64/multiarch/init-arch.h
54581 (bit_Prefer_PMINUB_for_stringop): New.
54582 (index_Prefer_PMINUB_for_stringop): Likewise.
54583 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54584 bit_Prefer_PMINUB_for_stringop.
54585
7dc6bd90
UD
545862011-07-19 Ulrich Drepper <drepper@gmail.com>
54587
54588 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54589 buffer64.
54590 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54591 of casting of buffer.
54592 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54593 buffer32 and buffer64.
54594 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54595 writes instead of casting of buffer.
54596 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54597 buffer32.
54598 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54599 casting of buffer.
54600
e0e72284
AS
546012011-07-19 Andreas Schwab <schwab@redhat.com>
54602
54603 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54604
feb1eb0b
UD
546052011-07-19 Ulrich Drepper <drepper@gmail.com>
54606
54607 * nscd/nscd.c (termination_handler): Don't do anything for a database
54608 if it has not yet been initialized.
54609
298711ff
UD
546102011-07-18 Ulrich Drepper <drepper@gmail.com>
54611
54612 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54613
546142011-07-15 Marek Polacek <mpolacek@redhat.com>
54615
54616 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54617
f9d68389
UD
546182011-07-18 Ulrich Drepper <drepper@gmail.com>
54619
54620 * po/nl.po: Update from translation team.
54621 * po/sv.po: Likewise.
54622
db290cf5
RM
546232011-07-16 Roland McGrath <roland@hack.frob.com>
54624
54625 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54626 now disallowed by GCC.
5c550700 54627
fd5e21c7
RM
54628 * configure.in (use-default-link): Default to yes if a test -shared
54629 link meets our qualifications.
54630 * configure: Regenerated.
54631
5c550700
RM
54632 * config.make.in (output-format): New variable.
54633 * configure.in: Check for ld --print-output-format support.
54634 * configure: Regenerated.
54635 * Makerules ($(common-objpfx)format.lds)
54636 [$(output-format) != unknown]: Just use $(output-format),
54637 instead of the linker-script munging.
54638
9fa2c032
RM
546392011-07-14 Roland McGrath <roland@hack.frob.com>
54640
a6928d51
RM
54641 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54642 of $(common-objpfx)shlib.lds.
54643 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54644
661607b3
RM
54645 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54646 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54647
9fa2c032
RM
54648 * configure.in (-z relro check): Adjust test code to add a large
54649 writable data section after it.
54650 * configure: Regenerated.
54651
defe9061
RM
546522011-07-11 Roland McGrath <roland@hack.frob.com>
54653
54654 * configure.in (-z relro check): Fix test code to make the variable
54655 truly const.
54656 * configure: Regenerated.
54657
319b9ad4
UD
546582011-07-11 Ulrich Drepper <drepper@gmail.com>
54659
54660 * nscd/nscd.h (struct traced_file): Define.
54661 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54662 elements. Add traced_files.
54663 (inotify_fd): Declare.
54664 (register_traced_file): Declare.
54665 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54666 (inotify_fd): Export.
54667 (resolv_conf_descr): Remove.
54668 (nscd_init): Move inotify descriptor creation to main.
54669 Don't register files for notification here.
54670 (register_traced_file): New function.
54671 (invalidate_cache): Don't use reset_res to determine whether to call
54672 res_init, go through the list of registered files.
54673 (main_loop_poll): The inotify descriptors are now stored in the
54674 structures for the traced files.
54675 (main_loop_epoll): Likewise
54676 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54677 to __nss_disable_nscd.
54678 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54679 for a database anymore. Check the records for all the registered
54680 files instead.
54681 * nss/Makefile (libnss_files-routines): Add files-init.
54682 (libnss_db-routines): Add db-init.
54683 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54684 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54685 * nss/nss_db/db-init.c: New file.
54686 * nss/nss_files/files-init.c: New file.
54687 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54688 __nss_lookup_function.
54689 (__nss_lookup_function): Call nss_load_library.
54690 (nss_load_all_libraries): New function.
54691 (__nss_disable_nscd): Take parameter with callback function for files
54692 to register. Set is_nscd. Load all the DSOs for the NSS modules
54693 used for the cached services.
54694 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54695 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54696 options for features to all the files in nscd.
54697
54698 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54699
23bee3e8
RM
547002011-07-10 Roland McGrath <roland@hack.frob.com>
54701
54702 * csu/elf-init.c (__libc_csu_init): Comment typo.
54703
46a5b7f0
UD
547042011-07-09 Ulrich Drepper <drepper@gmail.com>
54705
54706 * po/pl.po: Update from translation team.
54707 * po/ja.po: Likewise.
54708 * po/ru.po: Likewise.
54709 * po/ko.po: Likewise.
54710 * po/fr.po: Likewise.
54711
d30cf5bb
RM
547122011-07-09 Roland McGrath <roland@hack.frob.com>
54713
113ddea4
RM
54714 * configure.in (.ctors/.dtors header and trailer check):
54715 Use an empirical test on a built program.
54716 * configure: Regenerated.
54717
574920b4
RM
54718 * configure.in (-z relro check): Use an empirical test on a built DSO.
54719 Detect, but do not require, on ia64.
54720 * configure: Regenerated.
54721
d30cf5bb
RM
54722 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54723 Update tests that use readelf to use $READELF instead.
54724 * configure: Regenerated.
54725
8538fdb3
UD
547262011-07-08 Ulrich Drepper <drepper@gmail.com>
54727
54728 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54729 if the result is not used.
54730
04d08991
AJ
547312011-07-05 Andreas Jaeger <aj@suse.de>
54732
54733 [BZ#9696]
54734 * stdlib/tst-strtod.c: Add testcase.
54735
de283087
AD
547362011-07-07 Ulrich Drepper <drepper@gmail.com>
54737
4e5f31c8 54738 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54739 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54740 The latter has a higher limit. Take additional parameter to pass to
54741 the new function.
54742 (__pathconf): Pass file to __statfs_link_max.
54743 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54744 __statfs_link_max.
54745 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54746 __statfs_link_max.
54747
de283087
AD
54748 [BZ #12868]
54749 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54750 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54751 Handle Lustre.
54752 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54753 (__statfs_filesize_max): Likewise.
54754 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54755
c75fa153
AJ
547562011-07-05 Andreas Jaeger <aj@suse.de>
54757
54758 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54759
1a544854
UD
547602011-07-06 Marek Polacek <mpolacek@redhat.com>
54761
54762 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54763 `status' variable.
54764 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54765 Likewise.
54766
6f0eec67
UD
547672011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54768
54769 * Makefile (strop-tests): Add strncat.
54770 * string/test-strncat.c: New file.
54771
aae30307
UD
547722011-06-30 Marek Polacek <mpolacek@redhat.com>
54773
54774 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54775
c0cfb5eb
UD
547762011-06-21 Andreas Jaeger <aj@suse.de>
54777
54778 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54779 Copy rule from iconvdata/Makefile.
54780
01636b21
UD
547812011-07-06 Ulrich Drepper <drepper@gmail.com>
54782
54783 [BZ #12922]
54784 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54785 but no long options are defined, just return 'W'.
54786
9895c8bc
UD
547872011-06-22 Marek Polacek <mpolacek@redhat.com>
54788
54789 [BZ #9696]
54790 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54791
5d4cf042
UD
547922011-07-06 Ulrich Drepper <drepper@gmail.com>
54793
54794 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54795 netgroups to read.
960e5535 54796 (innetgr): Likewise.
5d4cf042 54797
751eb97e
RM
547982011-07-05 Roland McGrath <roland@hack.frob.com>
54799
54800 * config.make.in (install_root): Default to $(DESTDIR).
54801
f15f1e45
UD
548022011-07-05 Ulrich Drepper <drepper@gmail.com>
54803
54804 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54805
4e34ac6a
RM
548062011-07-02 Roland McGrath <roland@hack.frob.com>
54807
5e9b6af4
RM
54808 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54809
84f9ea0f
RM
54810 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54811 containing directory rather than embedding absolute directory names.
54812
ea5ee9f7
RM
54813 * scripts/check-local-headers.sh: Rewritten using awk.
54814 Match by word, not by line. Print error messages for matches.
54815 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54816
1b74661a
RM
54817 * Makerules [shlib-lds-flags empty]:
54818 ($(common-objpfx)libc_pic.opts): New target.
54819 ($(common-objpfx)libc_pic.os.clean): New target.
54820 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54821
54822 * config.make.in (OBJCOPY): New variable.
54823 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54824 * configure: Regenerated.
54825
f781ef40
RM
54826 * config.make.in (use-default-link): New variable.
54827 * configure.in (use_default_link): Grok --with-default-link to set it.
54828 * configure: Regenerated.
54829 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54830 (shlib-lds, shlib-lds-flags): Define to empty.
54831
2d4fa81e
RM
54832 * Makerules (shlib-lds): New variable.
54833 (shlib-lds-flags): New variable.
54834 (build-shlib, build-moduile, build-module-asneeded): Use it.
54835 ($(common-objpfx)libc.so): Use $(shlib-lds).
54836 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54837 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54838
31fffa6b
RM
54839 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54840 DT_FLAGS/DT_FLAGS_1 with zero flags.
54841
4e34ac6a
RM
54842 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54843 linker script munging.
54844
fcfc776b
UD
548452011-07-02 Ulrich Drepper <drepper@gmail.com>
54846
54847 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54848 as 128-bit value.
54849 * crypt/sha512.c (sha512_process_block): Perform total addition using
54850 128-bit if possible.
54851 (__sha512_finish_ctx): Likewise.
54852 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54853 as 64-bit value.
54854 * crypt/sha256.c (SWAP64): Define.
54855 (sha256_process_block): Perform total addition using 64-bit if
54856 possible.
54857 (__sha256_finish_ctx): Likewise.
54858
99231d9a
UD
548592011-07-01 Ulrich Drepper <drepper@gmail.com>
54860
54861 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54862 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54863 * nscd/hstcache.c (cache_addhst): Likewise.
54864 * nscd/grpcache.c (cache_addgr): Likewise.
54865 * nscd/aicache.c (addhstaiX): Likewise
54866 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54867
445b4a53
TK
548682011-07-01 Thorsten Kukuk <kukuk@suse.de>
54869
54870 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54871 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54872 * nscd/hstcache.c (cache_addhst): Likewise.
54873 * nscd/grpcache.c (cache_addgr): Likewise.
54874 * nscd/aicache.c (addhstaiX): Likewise
54875
6d4d8e8e
AS
548762011-07-01 Andreas Schwab <schwab@redhat.com>
54877
54878 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54879 domain only when needed.
54880
89f654c5
AS
548812011-06-30 Andreas Schwab <schwab@redhat.com>
54882
54883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54884 is always restored.
54885
cf3b23ff
UD
548862011-06-29 Ulrich Drepper <drepper@gmail.com>
54887
54888 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54889 are re-adding the entry.
54890 * nscd/servicescache.c (cache_addserv): Likewise.
54891
751626f9
AJ
548922011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54893
54894 * sysdeps/generic/dl-irel.h: fix protection against multiple
54895 inclusions.
54896 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54897
9113ea1f
UD
548982011-06-28 Ulrich Drepper <drepper@gmail.com>
54899
5c0b8d90
UD
54900 [BZ #12935]
54901 * malloc/memusage.sh: Fix quoting in message.
54902 * debug/xtrace.sh: Likewise.
54903
9113ea1f
UD
54904 * configure.in: Remove support for --experimental-malloc option, make
54905 it the default.
54906 * config.make.in: Likewise.
54907 * malloc/Makefile: Likewise.
54908
a4172181
AS
549092011-06-27 Andreas Schwab <schwab@redhat.com>
54910
54911 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54912 two-byte characters.
54913
78a7eee7
RM
549142011-06-27 Roland McGrath <roland@hack.frob.com>
54915
62bede13
RM
54916 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54917 AC_CACHE_CHECK invocation.
54918 * configure: Regenerated.
54919
78a7eee7
RM
54920 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54921
5ce33a62
UD
549222011-06-27 Ulrich Drepper <drepper@gmail.com>
54923
034807a9
UD
54924 [BZ #12350]
54925 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54926 bit from old_res_options.
54927
4902da17
UD
54928 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54929
5ce33a62
UD
54930 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54931 value type for setfct.
54932
c2344f56
L
549332011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54934
54935 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54936 __gettimeofday instead of gettimeofday.
54937
68468076
UD
549382011-06-26 Ulrich Drepper <drepper@gmail.com>
54939
54940 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54941
acb0d739
L
549422011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54943
54944 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54945
54946 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54947 info.
54948
8912479f
L
549492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54950
54951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54952 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54953 strcpy-sse2-unaligned strncpy-sse2-unaligned
54954 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54955 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54956 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54957 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54958 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54959 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54960 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54961 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54962 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54963 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54964 (STRCPY): Support SSE2 and SSSE3 versions.
54965
d5495a11
UD
549662011-06-24 Ulrich Drepper <drepper@gmail.com>
54967
54968 [BZ #12874]
54969 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54970 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54971 kernels which artificially limit size of requests.
54972
0b1cbaae
L
549732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54974
54975 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54976 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54977 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54978 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54979 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54980 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54981 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54982 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54983 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54984 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54985 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54986 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54987 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54988 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54989 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54991 Enable unaligned load optimization for Intel Core i3, i5 and i7
54992 processors.
54993 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54994 Define.
54995 (index_Fast_Unaligned_Load): Define.
54996 (HAS_FAST_UNALIGNED_LOAD): Define.
54997
07f494a0
MP
549982011-06-23 Marek Polacek <mpolacek@redhat.com>
54999
55000 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55001
fa3fc0fe
UD
550022011-06-22 Ulrich Drepper <drepper@gmail.com>
55003
55004 [BZ #12907]
55005 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55006 until it is clear that the information is realy needed.
55007 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55008
e12df166
AS
550092011-06-22 Andreas Schwab <schwab@redhat.com>
55010
55011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55012
852eb34d
UD
550132011-06-22 Ulrich Drepper <drepper@gmail.com>
55014
84e2a551
UD
55015 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55016 /sys/devices/system/cpu/online if it is usable.
55017
852eb34d
UD
55018 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55019 reading the information from the /proc filesystem to once a second.
55020
6e502e19
UD
550212011-06-21 Andreas Jaeger <aj@suse.de>
55022
55023 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55024 NULL after inclusion of kernel headers.
55025
75d39ff2
UD
550262011-06-21 Ulrich Drepper <drepper@gmail.com>
55027
51f9aa6a
UD
55028 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55029 calls to internal_setent.
55030
c0244a9d
UD
55031 [BZ #12885]
55032 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55033 addresses using gethostbyname4_r ignore IPv4 addresses.
55034
c5e3c2ae
UD
55035 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55036 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55037
75d39ff2
UD
55038 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55039
42675c6f
DM
550402011-06-20 David S. Miller <davem@davemloft.net>
55041
55042 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55043 inclusions.
55044 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55045
55046 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55047 (elf_irel): Use it.
55048 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55049 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55050 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55051 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55052 * sysdeps/x86_64/dl-irel.h: Likewise.
55053
55054 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55055 * elf/dl-sym.c: Likewise.
55056
57912a71
UD
550572011-06-15 Ulrich Drepper <drepper@gmail.com>
55058
55059 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55060 need to dereference resplen2.
55061
ee22793d
AS
550622011-06-14 Andreas Schwab <schwab@redhat.com>
55063
55064 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55065
a9e836b0
UD
550662011-06-15 Ulrich Drepper <drepper@gmail.com>
55067
77fb9117
UD
55068 * Makeconfig: Define vardbdir and inst_vardbdir.
55069 * nss/Makefile: Add rules to install db-Makefile.
55070
40c1b22c
UD
55071 * nss/nss_db/db-XXX.c: Cleanup.
55072
9f2da732
UD
55073 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55074 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55075 GLIBC_PRIVATE.
55076 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55077 * nss/makedb.c: Implement -g option to specify that value strings
55078 are generated and should not be added to table iterated over for
55079 get*ent calls.
55080 * nss/nss_db/db-initgroups.c: New file.
55081
82e9a1f7
UD
55082 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55083 interface.
55084
c41af17e
UD
55085 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55086 (internal_getgrouplist): Adjust to name change.
55087 Update use_initgroups_entry if this is not the first call.
55088 * nss/databases.def: Add initgroups entry.
55089
a9e836b0
UD
55090 * nss/makedb.c (compute_tables): Check result of multiple hash table
55091 sizes to minimize maximum chain length.
55092
2666d441
UD
550932011-06-14 Ulrich Drepper <drepper@gmail.com>
55094
55095 * Versions.def: Add entry for libnss_db.
55096 * shlib-versions: Likewise.
55097 * nss/Makefile: Add rules to build libnss_db.
55098 * nss/Versions: Add libnss_db information. Organize libnss_files
55099 entries better.
55100 * nss/db-Makefile: Add gshadow support. Change rules for the new
55101 makedb progra. Some minor improvements to generate smaller files.
55102 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55103 here from...
55104 * nss/makedb.c: ...here.
55105 Improve database format to be smaller and require less memory at
55106 runtime.
55107 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55108 db anymore.
55109 * nss/nss_db/db-netgrp.c: Likewise.
55110 * nss/nss_db/db-open.c: Likewise.
55111 * nss/nss_files/flies-XXX.x: Adjust comments.
55112 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55113 * nss/nss_files/files-grp.c: Likewise.
55114 * nss/nss_files/files-hosts.c: Likewise.
55115 * nss/nss_files/files-network.c: Likewise.
55116 * nss/nss_files/files-proto.c: Likewise.
55117 * nss/nss_files/files-pwd.c: Likewise.
55118 * nss/nss_files/files-rpc.c: Likewise.
55119 * nss/nss_files/files-service.c: Likewise.
55120 * nss/nss_files/files-sgrp.c: Likewise.
55121 * nss/nss_files/files-spwd.c: Likewise.
55122 * nss/nss_db/db-alias.c: Removed.
55123 * nss/nss_db/dummy-db.h: Removed.
55124
9ee76b5a
UD
551252011-06-02 Ulrich Drepper <drepper@gmail.com>
55126
55127 * nss/makedb.c: Rewritten to not use database library.
55128 * nss/Makefile: Update to build new makedb program.
55129
c71ca1f8
AJ
551302011-06-14 Andreas Jaeger <aj@suse.de>
55131
55132 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55133 memset declaration.
55134
3154bfb8
UD
551352011-06-10 Andreas Schwab <schwab@redhat.com>
55136
55137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55138 tmpbuf.
55139
b350afab
RM
551402011-06-10 Roland McGrath <roland@hack.frob.com>
55141
decd4e50
RM
55142 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55143 * elf/Makefile ($(objpfx)ld.so): Likewise.
55144
5615eaf2
RM
55145 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55146 Don't list ld.so twice in dependencies.
55147
55148 * posix/bug-regex31.c: Include <stdlib.h>.
55149
55150 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55151
55152 * nis/nss_compat/compat-spwd.c
55153 (getspent_next_nss_netgr): Remove unused variable.
55154 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55155
55156 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55157 nonmembers" output to use the right array.
55158
55159 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55160
55161 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55162
55163 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55164 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55165 * catgets/gencat.c (read_input_file): Likewise.
55166 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55167
55168 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55169 variable definition inside #if's controlling its use.
55170
55171 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55172
55173 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55174
55175 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55176
55177 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55178 unreachable code.
55179
55180 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55181
b68e08db
RM
55182 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55183 * configure: Regenerated.
55184
b350afab
RM
55185 * Makerules: Revert last change.
55186 * elf/Makefile: Likewise.
55187
28368601
RM
551882011-06-09 Roland McGrath <roland@hack.frob.com>
55189
55190 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55191 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55192 (reloc-link): Likewise.
55193
11988f8f
UD
551942011-06-09 Ulrich Drepper <drepper@gmail.com>
55195
55196 * elf/Makefile: Add rules to build pldd.
55197 * elf/pldd.c: New file.
55198 * elf/pldd-xx.c: New file.
55199
e80fab37
UD
552002011-06-07 Ulrich Drepper <drepper@gmail.com>
55201
55202 * version.h: Update for 2.15 development version.
55203
9b849836
DM
552042011-06-07 David S. Miller <davem@davemloft.net>
55205
55206 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55207 ifuncs.
55208 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55209 elf_machine_lazy_rel): Likewise.
55210 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55211 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55212 elf_machine_lazy_rel): Likewise.
55213 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55214 dl_hwcap via passed in argument.
55215 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55216 Likewise.
55217
5a31b283
AK
552182011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55219
55220 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55221
069e52f8
RM
552222011-06-06 Roland McGrath <roland@hack.frob.com>
55223
55224 [BZ #12849]
55225 * manual/fdl-1.1.texi: New file, verbatim from:
55226 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55227 * manual/lgpl-2.1.texi: New file, verbatim from:
55228 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55229 * manual/Makefile (licenses): New variable, list those new file names.
55230 (texis): Use it.
55231 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55232
55233 * manual/fdl.texi: File removed.
55234 * manual/lesser.texi: File removed.
55235 * manual/libc.texinfo (Copying, Documentation License):
55236 Use new @include file names, put @appendix directive before @include.
55237
f16846a5
JJ
552382011-06-04 Jakub Jelinek <jakub@redhat.com>
55239
55240 [BZ #12841]
55241 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55242 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55243 (mq_open): Add __NTH.
55244
3d29045b
L
552452011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55246
55247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55248 Assume Intel Core i3/i5/i7 processor if AVX is available.
55249
8c297311
UD
552502011-05-31 Ulrich Drepper <drepper@gmail.com>
55251
55252 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55253 typo.
55254
c8fc0c91
UD
552552011-05-31 Andreas Schwab <schwab@redhat.com>
55256
55257 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55258 memory. Use alloca_account. Fix memory leak when retrying.
55259
5b27a807
UD
552602011-05-31 Ulrich Drepper <drepper@gmail.com>
55261
356f8bc6
UD
55262 * version.h (RELEASE): Bump for 2.14 release.
55263 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55264
5b27a807
UD
55265 * config.make.in (RANLIB): Remove entry.
55266
01f16ab0
UD
552672011-05-30 Ulrich Drepper <drepper@gmail.com>
55268
41fce8bd
UD
55269 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55270 (libc.pot): Work around missing support for .ksh extension in xgettext.
55271
4769ae77
UD
55272 [BZ #12684]
55273 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55274 if both request failed.
55275 (send_dg): In case of server errors clear resplen or *resplen2.
55276
6b1e7d19
UD
55277 [BZ #12454]
55278 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55279 when there are multiple maps.
55280 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55281 (_dl_fini): Remove test here.
55282
01f16ab0
UD
55283 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55284
b1ebd700
UD
552852011-05-29 Ulrich Drepper <drepper@gmail.com>
55286
7ae22829
UD
55287 [BZ #12350]
55288 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55289 bit from old_res_options.
55290 (gaih_inet): Likewise.
55291
553149f6 55292 [BZ #11099]
18a84741 55293 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55294 as signed.
55295
652ffab1
UD
55296 * resolv/res_init.c (res_setoptions): Make the code more compact.
55297
16985fd0
UD
55298 [BZ #11558]
55299 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55300 set RES_USEVC.
55301
0464f746
UD
55302 [BZ #11634]
55303 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55304
7d17596c
UD
55305 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55306
cf6bbbd7
UD
55307 [BZ #11781]
55308 * malloc/malloc.h: Declare malloc hook variables as volatile.
55309
13f1ab36
UD
55310 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55311 in last patch.
55312
b1ebd700
UD
55313 [BZ #11799]
55314 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55315 raise in the comment.
80e2212d
UD
55316 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55317 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55318 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55319
ce67228d
UD
553202011-05-28 Ulrich Drepper <drepper@gmail.com>
55321
8887a920
UD
55322 [BZ #12811]
55323 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55324 grow the buffers more if it already has to be sufficient.
55325 (build_wcs_upper_buffer): Likewise.
55326 * posix/regexec.c (check_matching): Likewise.
55327 (clean_state_log_if_needed): Likewise.
55328 (extend_buffers): Don't enlarge buffers beyond size of the input
55329 buffer.
55330 Patches mostly by Emil Wojak <emil@wojak.eu>.
55331 * posix/bug-regex32.c: New file.
55332 * posix/Makefile (tests): Add bug-regex32.
55333
4f031072
UD
55334 * locale/findlocale.c (_nl_find_locale): Return right away if
55335 _nl_explode_name failed.
55336 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55337
d0478f0c
UD
55338 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55339
de81b246
UD
55340 * debug/xtrace.sh: Unify messages.
55341 * malloc/memusage.sh: Likewise.
55342
c738465a
UD
55343 [BZ #12813]
55344 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55345 time symbol from vDSO. Substitute with vsyscall if not available.
55346 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55347 __vdso_time.
55348
f1f929d7
UD
55349 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55350 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55351 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55352 Add sendmmsg and internal_sendmmsg.
55353 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55354 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55355 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55356
ce67228d
UD
55357 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55358 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55359 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55360
e57420c6
UD
553612011-05-27 Ulrich Drepper <drepper@gmail.com>
55362
a8509ca5
UD
55363 [BZ #12813]
55364 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55365 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55366 available.
55367 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55368 __vdso_getcpu.
55369
e57420c6
UD
55370 [BZ #12814]
55371 * iconvdata/Makefile (tests): Add bug-iconv9.
55372 * iconvdata/bug-iconv9.c: New file.
55373
4d07db15
AS
553742011-05-27 Andreas Schwab <schwab@redhat.com>
55375
55376 [BZ #12814]
55377 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55378
ea486f69
JJ
553792011-05-25 Jakub Jelinek <jakub@redhat.com>
55380
55381 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55382 (struct user_regs_struct): Change intcs field back to cs.
55383
6f038433
UD
553842011-05-25 Ulrich Drepper <drepper@gmail.com>
55385
55386 * po/ja.po: Update from translation team.
55387
67f86a25
UD
553882011-05-23 Ulrich Drepper <drepper@gmail.com>
55389
55390 [BZ #12795]
55391 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55392 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55393
def7fbd6
AS
553942011-05-20 Andreas Schwab <schwab@redhat.com>
55395
55396 * stdlib/longlong.h: Update from GCC.
55397
f50ef8f1
AS
553982011-05-23 Andreas Schwab <schwab@redhat.com>
55399
55400 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55401 parameter name.
55402 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55403 Add parameter name.
55404 (__sysconf): Pass it down.
55405
de7ce8f1
UD
554062011-05-22 Ulrich Drepper <drepper@gmail.com>
55407
f2962a71
UD
55408 [BZ #12671]
55409 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55410 some situations.
55411 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55412 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55413 add in in __libc_use_alloca calls. Adjust callers.
55414 (glob): Use malloc in some situations.
55415
de7ce8f1
UD
55416 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55417 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55418 pltexit.
55419
aec84f53
UD
554202011-05-21 Ulrich Drepper <drepper@gmail.com>
55421
05bb4a68
UD
55422 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55423 and CLOCK_BOOTTIME_ALARM.
55424
7ea72f99
UD
55425 [BZ #12782]
55426 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55427 is returned.
55428
7e4afad5
UD
55429 * string/_strerror.c (__strerror_r): Print negative errors as signed
55430 numbers.
55431
8e211fec
UD
55432 [BZ #12777]
55433 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55434 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55435 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55436
f7d82dc9
UD
55437 * configure.in: Fix typo in redirection and correct removal of test
55438 files in two cases.
55439
cc9e536d
UD
55440 [BZ #12788]
55441 * locale/setlocale.c (new_composite_name): Fix test to check for
55442 identical name of all categories.
55443
aec84f53
UD
55444 [BZ #12792]
55445 * libio/filedoalloc.c (local_isatty): New function.
55446 (_IO_file_doallocate): Use local_isatty.
55447 * stdio-common/perror.c (perror): In case a new stream is used
55448 forward the stream error.
55449 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55450 error flag.
55451
78e64fdc
RT
554522011-05-20 Ulrich Drepper <drepper@gmail.com>
55453
34a9094f
UD
55454 [BZ #11869]
55455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55456 alloca.
55457 * include/alloca.h (extend_alloca_account): Define.
55458
78e64fdc
RT
55459 [BZ #11857]
55460 * posix/regex.h: Fix comments with documentation of user-accessible
55461 fields after compilation and describe correct free'ing of pattern
55462 after re_compile_pattern.
55463 Patch by Reuben Thomas <rrt@sc3d.org>.
55464
457bddfc
RA
554652011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55466
55467 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55468 and -mno-altivec to prevent the compiler from using Altivec and/or
55469 VSX instructions when the corresponding registers are not available.
55470
a4527b51
AS
554712011-05-19 Andreas Schwab <schwab@redhat.com>
55472
55473 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55474
ed690b2f
UD
554752011-05-19 Ulrich Drepper <drepper@gmail.com>
55476
55477 * libio/freopen.c (freopen): Use __dup2, not dup2.
55478 * libio/freopen64.c (freopen64): Likewise.
55479
8db73634
L
554802011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55481
55482 [BZ #12775]
55483 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55484 * math/Makefile (tests): Add test-powl.
55485 (CFLAGS-test-powl.c): Define.
55486 * math/test-powl.c: New file.
55487
0a197a9d
L
554882011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55489
55490 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55491
ee30c380
UD
554922011-05-17 Ulrich Drepper <drepper@gmail.com>
55493
55494 [BZ #11837]
55495 * iconvdata/gb18030.c: Update to GB18020-2005.
55496
6ce75379
UD
554972011-05-16 Ulrich Drepper <drepper@gmail.com>
55498
a4b89fd8
AR
55499 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55500 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55501 Patch by Aharon Robbins <arnold@skeeve.com>.
55502
ea389b12
UD
55503 [BZ #11892]
55504 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55505 on the stack.
55506
68a3f91f
UD
55507 [BZ #11895]
55508 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55509 through underflows.
55510
15cc7dd1
UD
55511 [BZ #12766]
55512 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55513 point to strings before performing equality test for error_one_per_line
55514 mode.
55515
f3799213
UD
55516 [BZ #11697]
55517 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55518
d79a9c94
UD
55519 [BZ #11820]
55520 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55521 (struct user_fpregs_struct): Avoid __uint*_t types.
55522
56e5eb46
UD
55523 [BZ #6420]
55524 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55525 symbol info. Use it instead of calling _dl_addr locally.
55526 (lock_and_info): New function.
55527 (tr_freehook): Call lock_and_info and pass symbol info as additional
55528 parameter to tr_where.
55529 (tr_mallochook): Likewise.
55530 (tr_reallochook): Likewise.
55531 (tr_memalignhook): Likewise.
55532
6ce75379
UD
55533 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55534 used and couldn't be at all thread-safe.
55535
f8a3b5bf
UD
555362011-05-15 Ulrich Drepper <drepper@gmail.com>
55537
94b7cc37
UD
55538 * libio/freopen.c (freopen): Don't close old file descriptor
55539 before the new one is opened. Instead dup the new file descriptor
55540 to the old one after the new stream is created.
55541 * libio/freopen64.c (freopen64): Likewise.
55542 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55543 * libio/fileops.c (_IO_new_file_close_it): Handle new
55544 _IO_FLAGS2_NOCLOSE flag.
55545 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55546 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55547 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55548 _IO_FLAGS2_NOCLOSE flag.
55549 * include/unistd.h: Add hidden_proto for dup3.
55550 Define __have_dup3.
55551 * io/dup3.c: Define hidden symbol.
55552 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55553
bd25564e
UD
55554 [BZ #7101]
55555 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55556 when an incomplete long option is used.
55557 * posix/tst-getopt_long1.c: New file.
55558 * posix/Makefile (tests): Add tst-getopt_long1.
55559
c84cfef4
UD
55560 [BZ #10138]
55561 * scripts/config.guess: Update from autoconf-2.68.
55562 * scripts/config.sub: Likewise.
55563
3b85df27
UD
55564 [BZ #10157]
55565 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55566 tests into ...
55567 (has_cpuclock): ...this. New function.
55568 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55569 macro here based on has_cpuclock code.
55570
15a856b1
UD
55571 [BZ #10149]
55572 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55573 First byte (not low byte) is now always NUL.
55574 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55575
05f399e6
UD
55576 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55577 Use non-cancelable interfaces.
55578
10a52685 55579 [BZ #9809]
94ecc67d
UD
55580 * locale/iso-639.def: Add entry for Sorani.
55581
f8a3b5bf
UD
55582 [BZ #11901]
55583 * include/stdlib.h: Move include protection to the right place.
55584 Define abort_msg_s. Declare __abort_msg with it.
55585 * stdlib/abort.c (__abort_msg): Adjust type.
55586 * assert/assert.c (__assert_fail_base): New function. Majority
55587 of code from __assert_fail. Allocate memory for __abort_msg with
55588 mmap.
55589 (__assert_fail): Now call __assert_fail_base.
55590 * assert/assert-perr.c: Remove bulk of implementation. Use
55591 __assert_fail_base.
55592 * include/assert.hL Declare __assert_fail_base.
55593 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55594 mmap.
55595 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55596
1af4e298
UD
555972011-05-14 Ulrich Drepper <drepper@gmail.com>
55598
f8a3b5bf 55599 [BZ #11952]
d26dfc60
MG
55600 [BZ #12453]
55601 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55602 until all modules are registered in the DTV.
55603 * elf/Makefile: Add rules to build and run tst-tls19.
55604 * elf/tst-tls19.c: New file.
55605 * elf/tst-tls19mod1.c: New file.
55606 * elf/tst-tls19mod2.c: New file.
55607 * elf/tst-tls19mod3.c: New file.
55608 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55609
2fc54d6f
UD
55610 [BZ #12083]
55611 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55612 correctly.
55613
98d76b46
UD
55614 [BZ #12601]
55615 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55616 two-byte sequence errors.
55617 * iconvdata/Makefile (tests): Add bug-iconv8.
55618 * iconvdata/bug-iconv8.c: New file.
55619
da3c19ef
UD
55620 [BZ #12626]
55621 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55622 buf2 definition.
55623
ca408c15
UD
55624 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55625
d6f67f7d
UD
55626 [BZ #12432]
55627 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55628 (dummy_getcfa): New function.
55629 (init): Get _Unwind_GetCFA address, use dummy if not found.
55630 (backtrace_helper): In recursion check, also check whether CFA changes.
55631 (__backtrace): Completely initialize arg.
55632
1af4e298 55633 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55634 storing incomplete byte sequence in state object. Avoid testing for
55635 guaranteed too small input if we know there is enough data available.
1af4e298 55636
da62f81b
AS
556372011-05-11 Andreas Schwab <schwab@redhat.com>
55638
55639 * Makeconfig (+link-pie): Indent.
55640 * Rules (binaries-pie): Define if $(have-fpie) and
55641 $(build-shared).
55642 (binaries-shared): Also filter out $(binaries-pie).
55643 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55644 * nscd/Makefile (others-pie): Add nscd.
55645 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55646 ($(objpfx)nscd): Remove command override.
55647 * login/Makefile (others-pie): Add pt_chown.
55648 ($(objpfx)pt_chown): Remove command override.
55649 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55650 remove command overrides.
55651
fcabc0f8
UD
556522011-05-13 Ulrich Drepper <drepper@gmail.com>
55653
20030ae6
UD
55654 * libio/tst_putwc.c: Fix error messages.
55655
fcabc0f8
UD
55656 [BZ #12724]
55657 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55658 currently writing and seek to current position when not.
55659 * libio/Makefile (tests): Add bug-fclose1.
55660 * libio/bug-fclose1.c: New file.
55661
320a5dc0
PB
556622011-05-12 Ulrich Drepper <drepper@gmail.com>
55663
55664 [BZ #12511]
55665 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55666 don't set DF_1_NODELETE here.
55667 (do_lookup_x): When entering new entry test for copy relocation
55668 and if necessary set DF_1_NODELETE flag.
55669 * elf/tst-unique4.cc: New file.
55670 * elf/tst-unique4.h: New file.
55671 * elf/tst-unique4lib.cc: New file.
55672 * elf/Makefile: Add rules to build and run tst-unique4.
55673 Patch by Piotr Bury <pbury@goahead.com>.
55674
22836f52
UD
556752011-05-11 Ulrich Drepper <drepper@gmail.com>
55676
f574184a
UD
55677 [BZ #12052]
55678 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55679
e1fb097f
UD
55680 [BZ #12625]
55681 * misc/mntent_r.c (addmntent): Flush the stream after the output
55682
22836f52
UD
55683 [BZ #12393]
55684 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55685 (is_trusted_path_normalize): Skip initial colon. Append slash
55686 to empty buffer. Duplicate is_trusted_path code but allow
55687 constructed patch to be prefix.
55688 (is_dst): Allow $ORIGIN followed by /.
55689 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55690 Correct testing of result of is_trusted_path_normalize
55691 (decompose_rpath): Fix warning.
55692
7b3b0b2a
UD
556932011-05-10 Ulrich Drepper <drepper@gmail.com>
55694
55695 [BZ #11257]
55696 * grp/initgroups.c (internal_getgrouplist): When we found the service
55697 list through the initgroups entry in nsswitch.conf do not always
55698 continue on a successful lookup. Don't always use the
eac80ce2 55699 __nss_group_database value if it is set.
7b3b0b2a
UD
55700 * nss/nsswitch.conf (initgroups): Change action for successful db
55701 lookup to continue for compatibility.
55702
2a81eaa5
UD
557032011-05-09 Ulrich Drepper <drepper@gmail.com>
55704
be97a69e
UD
55705 [BZ #11532]
55706 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55707 and CP774 modules.
55708 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55709 and CP774 modules.
55710 * iconvdata/tst-tables.sh: Likewise.
55711 * iconvdata/cp770.c: New file.
55712 * iconvdata/cp771.c: New file.
55713 * iconvdata/cp772.c: New file.
55714 * iconvdata/cp773.c: New file.
55715 * iconvdata/cp774.c: New file.
55716 * iconvdata/testdata/CP770: New file.
55717 * iconvdata/testdata/CP770..UTF8: New file.
55718 * iconvdata/testdata/CP771: New file.
55719 * iconvdata/testdata/CP771..UTF8: New file.
55720 * iconvdata/testdata/CP772: New file.
55721 * iconvdata/testdata/CP772..UTF8: New file.
55722 * iconvdata/testdata/CP773: New file.
55723 * iconvdata/testdata/CP773..UTF8: New file.
55724 * iconvdata/testdata/CP774: New file.
55725 * iconvdata/testdata/CP774..UTF8: New file.
55726
55727 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55728 END CHARMAP line.
55729 * iconvdata/gen-8bit-gap.sh: Likewise.
55730 * iconvdata/gen-8bit.sh: Likewise.
55731
c1e9e399
UD
55732 * locale/iso-639.def: Add ary entry.
55733
24c55fb3 55734 [BZ #11258]
96b4b1b0
UD
55735 * locale/C-translit.h.in: Add U20A1 transliteration.
55736
bdc2f971
KB
55737 [BZ #12178]
55738 * locale/iso-639.def: Add wae entry.
55739 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55740
2952b117
UD
55741 [BZ #12545]
55742 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55743 for n.
55744
2a81eaa5
UD
55745 [BZ #12711]
55746 * locale/C-translit.h.in: Add entry for U20B9.
55747 Patch by pravin.d.s@gmail.com.
55748
28377d1b
UD
557492011-05-08 Ulrich Drepper <drepper@gmail.com>
55750
7fb90fb8
UD
55751 [BZ #12713]
55752 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55753 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55754 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55755 in rtld. Use *stat64.
7fb90fb8 55756 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55757 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55758 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55759 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55760 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55761 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55762 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55763 __fstatat64 macros.
7fb90fb8
UD
55764 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55765 * dirent/rewinddir.c: Add libc_hidden_def.
55766 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 55767 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 55768
28377d1b
UD
55769 * include/dirent.h (__alloc_dir): Add flags parameter.
55770 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55771 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55772 __alloc_dir.
55773 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55774 from fdopendir if O_CLOEXEC is already set.
55775
66bdbaa4
AM
557762011-03-15 Alan Modra <amodra@gmail.com>
55777
55778 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55779 l_tls_firstbyte_offset non-zero. Save padding offset in
55780 l_tls_firstbyte_offset for later use.
55781 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55782 freeing static tls block.
55783
95721191
JN
557842011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55785
55786 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55787 where #ifdef was intended. The intent is to prevent ARG_MAX from
55788 being defined by the kernel headers.
55789
f87dfb1f
UD
557902011-05-07 Ulrich Drepper <drepper@gmail.com>
55791
55792 [BZ #12734]
55793 * resolv/resolv.h: Define RES_NOTLDQUERY.
55794 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55795 no-tld-query and set RES_NOTLDQUERY.
55796 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55797 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55798 modern BIND to search name as TLD unless forbidden.
55799
47c3cd7a
UD
558002011-05-07 Petr Baudis <pasky@suse.cz>
55801 Ulrich Drepper <drepper@gmail.com>
55802
55803 [BZ #12393]
55804 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55805 (is_trusted_path): ...to here.
c1e9ea35 55806 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55807 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55808 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55809
8a35c912
PP
558102011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55811
55812 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55813 __BEGIN/__END_DECLS.
55814
acd41f47
UD
558152011-05-06 Ulrich Drepper <drepper@gmail.com>
55816
55817 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55818 NSS_STATUS_NOTFOUND if no record was found.
55819
597df647
AS
558202011-05-05 Andreas Schwab <schwab@redhat.com>
55821
55822 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55823 (headers-not-in-tirpc): Remove rpc/netdb.h
55824 * resolv/netdb.h: Revert last change.
55825
b9af1301
PP
558262011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55827
55828 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55829 circular dependency between libgcc.a and libc.a.
55830
4e34d5f5
AS
558312011-05-05 Andreas Schwab <schwab@redhat.com>
55832
55833 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55834 * nis/Makefile: Don't install rpcsvc/*.
55835 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55836 instead of <rpc/types.h>.
55837 (MAXHOSTNAMELEN): Define.
55838
00ee369c
AS
558392011-05-03 Andreas Schwab <schwab@redhat.com>
55840
55841 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55842
0b592a30
MB
558432011-04-28 Maciej Babinski <mbabinski@google.com>
55844
55845 [BZ #12714]
55846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55847 gethostbyname4_r when IPv6 results are possible.
55848
6e04cbbe
UD
558492011-05-02 Ulrich Drepper <drepper@gmail.com>
55850
55851 [BZ #12723]
55852 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55853 _PC_PIPE_BUF handling.
55854
e4ecafe0
BH
558552011-04-30 Bruno Haible <bruno@clisp.org>
55856
55857 [BZ #12717]
55858 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55859 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55860 to 'int'.
55861 * inet/getnameinfo.c (getnameinfo): Likewise.
55862
125ee683
UD
558632011-04-29 Ulrich Drepper <drepper@gmail.com>
55864
55865 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55866 to groups setting in database lookup.
55867 * nss/nsswitch.conf: Add initgroups entry.
55868
b722481a
EB
558692011-04-22 Ulrich Drepper <drepper@gmail.com>
55870
55871 [BZ #12685]
55872 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55873 mode string.
55874 Patch by Eric Blake <eblake@redhat.com>.
55875
4df46dbd
L
558762011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55877
55878 * sunrpc/Makefile (need-export-routines): Add svc_run.
55879 (routines): Remove svc_run.
55880 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55881 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55882 * sunrpc/svc_run.c (svc_run): Likewise.
55883 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55884
e84142d2
UD
558852011-04-21 Ulrich Drepper <drepper@gmail.com>
55886
55887 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55888 problem in reallocation in last patch.
55889
877175d8
UD
558902011-04-20 Ulrich Drepper <drepper@gmail.com>
55891
55892 * sunrpc/Makefile: Move inclusion of Rules.
55893
ab8eed78
UD
558942011-04-19 Ulrich Drepper <drepper@gmail.com>
55895
55896 * nss/nss_files/files-initgroups.c: New file.
55897 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55898 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55899 _nss_files_initgroups_dyn.
55900
e3d8f584
RS
559012011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55902
55903 * elf/elf.h (R_ARM_IRELATIVE): Define.
55904
af190f45
UD
559052011-04-19 Ulrich Drepper <drepper@gmail.com>
55906
55907 * po/ru.po: Update from translation team.
55908
53cf59ef
UD
559092011-04-17 Ulrich Drepper <drepper@gmail.com>
55910
55911 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55912 dependencies.
55913
4c559bcd
MF
559142011-02-06 Mike Frysinger <vapier@gentoo.org>
55915
55916 [BZ #12653]
55917 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55918 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55919 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55920 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55921 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55922
4420675c
AS
559232011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55924
55925 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55926 differing bytes.
55927 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55928 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55929 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55930
75ea32ab
UD
559312011-04-17 Ulrich Drepper <drepper@gmail.com>
55932
55933 [BZ #12420]
55934 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55935 storing it.
55936 * stdlib/bug-getcontext.c: New file.
55937 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55938
27390476
AK
559392011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55940
55941 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55942 instructions into .machine "z9-109".
55943 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55944 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55945
10442705
AK
559462011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55947
55948 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55949 between environment variables and auxiliary vector.
55950
7b57bfe5
UD
559512011-04-16 Ulrich Drepper <drepper@gmail.com>
55952
55953 * Makefile: Add rules to build linkobj/libc.so.
55954 * include/libc-symbols.h: Define libc_hidden_nolink.
55955 * include/rpc/auth.h: Mark functions which are to be hidden.
55956 * include/rpc/auth_des.h: Likewise.
55957 * include/rpc/auth_unix.h: Likewise.
55958 * include/rpc/clnt.h: Likewise.
55959 * include/rpc/des_crypt.h: Likewise.
55960 * include/rpc/key_prot.h: Likewise.
55961 * include/rpc/pmap_clnt.h: Likewise.
55962 * include/rpc/pmap_prot.h: Likewise.
55963 * include/rpc/pmap_rmt.h: Likewise.
55964 * include/rpc/rpc_msg.h: Likewise.
55965 * include/rpc/svc.h: Likewise.
55966 * include/rpc/svc_auth.h: Likewise.
55967 * include/rpc/xdr.h: Likewise.
55968 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55969 * nss/Makefile: Likewise.
55970 * sunrpc/Makefile: Don't install headers. Build library with normal
55971 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55972 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55973 for the compat linking library. Remove use of INTDEF/INTUSE.
55974 * sunrpc/auth_none.c: Likewise.
55975 * sunrpc/auth_unix.c: Likewise.
55976 * sunrpc/authdes_prot.c: Likewise.
55977 * sunrpc/authuxprot.c: Likewise.
55978 * sunrpc/clnt_gen.c: Likewise.
55979 * sunrpc/clnt_perr.c: Likewise.
55980 * sunrpc/clnt_raw.c: Likewise.
55981 * sunrpc/clnt_simp.c: Likewise.
55982 * sunrpc/clnt_tcp.c: Likewise.
55983 * sunrpc/clnt_udp.c: Likewise.
55984 * sunrpc/clnt_unix.c: Likewise.
55985 * sunrpc/des_crypt.c: Likewise.
55986 * sunrpc/des_soft.c: Likewise.
55987 * sunrpc/get_myaddr.c: Likewise.
55988 * sunrpc/key_call.c: Likewise.
55989 * sunrpc/key_prot.c: Likewise.
55990 * sunrpc/netname.c: Likewise.
55991 * sunrpc/pm_getmaps.c: Likewise.
55992 * sunrpc/pm_getport.c: Likewise.
55993 * sunrpc/pmap_clnt.c: Likewise.
55994 * sunrpc/pmap_prot.c: Likewise.
55995 * sunrpc/pmap_prot2.c: Likewise.
55996 * sunrpc/pmap_rmt.c: Likewise.
55997 * sunrpc/publickey.c: Likewise.
55998 * sunrpc/rpc_cmsg.c: Likewise.
55999 * sunrpc/rpc_common.c: Likewise.
56000 * sunrpc/rpc_dtable.c: Likewise.
56001 * sunrpc/rpc_prot.c: Likewise.
56002 * sunrpc/rpc_thread.c: Likewise.
56003 * sunrpc/rtime.c: Likewise.
56004 * sunrpc/svc.c: Likewise.
56005 * sunrpc/svc_auth.c: Likewise.
56006 * sunrpc/svc_authux.c: Likewise.
56007 * sunrpc/svc_raw.c: Likewise.
56008 * sunrpc/svc_run.c: Likewise.
56009 * sunrpc/svc_simple.c: Likewise.
56010 * sunrpc/svc_tcp.c: Likewise.
56011 * sunrpc/svc_udp.c: Likewise.
56012 * sunrpc/svc_unix.c: Likewise.
56013 * sunrpc/svcauth_des.c: Likewise.
56014 * sunrpc/xcrypt.c: Likewise.
56015 * sunrpc/xdr.c: Likewise.
56016 * sunrpc/xdr_array.c: Likewise.
56017 * sunrpc/xdr_float.c: Likewise.
56018 * sunrpc/xdr_intXX_t.c: Likewise.
56019 * sunrpc/xdr_mem.c: Likewise.
56020 * sunrpc/xdr_rec.c: Likewise.
56021 * sunrpc/xdr_ref.c: Likewise.
56022 * sunrpc/xdr_sizeof.c: Likewise.
56023 * sunrpc/xdr_stdio.c: Likewise.
56024
e6c61494
UD
560252011-04-10 Ulrich Drepper <drepper@gmail.com>
56026
56027 [BZ #12650]
56028 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56029 * sysdeps/ia64/dl-tls.h: Likewise.
56030 * sysdeps/powerpc/dl-tls.h: Likewise.
56031 * sysdeps/s390/dl-tls.h: Likewise.
56032 * sysdeps/sh/dl-tls.h: Likewise.
56033 * sysdeps/sparc/dl-tls.h: Likewise.
56034 * sysdeps/x86_64/dl-tls.h: Likewise.
56035 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56036
34fe483e
AS
560372011-03-14 Andreas Schwab <schwab@redhat.com>
56038
56039 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56040 rpath element also skip the following colon.
56041 (expand_dynamic_string_token): Add is_path parameter and pass
56042 down to DL_DST_REQUIRED and _dl_dst_substitute.
56043 (decompose_rpath): Call expand_dynamic_string_token with
56044 non-zero is_path. Ignore empty rpaths.
56045 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56046 with zero is_path.
56047
f12a32e6
AS
560482011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56049
56050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56051 Make cancelable.
56052
38a7d692
UD
560532011-04-09 Ulrich Drepper <drepper@gmail.com>
56054
56055 [BZ #12655]
56056 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56057 Patch by Filipe David Manana <fdmanana@apache.org>.
56058
e451d22b
AS
560592011-04-07 Andreas Schwab <schwab@redhat.com>
56060
56061 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56062 Maintain aligned stack.
56063 (CHECK_RSP): Remove unused macro.
56064
dedc7c7b
UD
560652011-04-03 Ulrich Drepper <drepper@gmail.com>
56066
56067 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56068 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56069
94521213
UD
560702011-04-02 Ulrich Drepper <drepper@gmail.com>
56071
56072 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56073
8cb700c0 56074 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 56075
0354e355
L
560762011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56077
56078 [BZ #12518]
56079 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56080 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56081 * sysdeps/x86_64/memmove.c: New file.
56082 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56083 (memcpy): Renamed to ...
56084 (__new_memcpy): This.
56085 (memcpy): Provide GLIBC_2_14 memcpy.
56086 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56087 (memcpy): Provide GLIBC_2_2_5 memcpy.
56088
8593482f
UD
560892011-04-01 Ulrich Drepper <drepper@gmail.com>
56090
56091 [BZ #12631]
56092 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56093
81a5726b
AS
560942011-03-30 Andreas Schwab <schwab@redhat.com>
56095
56096 * misc/syncfs.c: New file.
56097 * misc/Makefile (routines): Add syncfs.
56098 * posix/unistd.h: Declare syncfs.
56099 * sysdeps/unix/syscalls.list: Add syncfs.
56100
00e5419f
AS
561012011-04-01 Andreas Schwab <schwab@redhat.com>
56102
56103 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56104 open_by_handle_at.
56105 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56106 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56108 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56110 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56111 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56112
748876bf
UD
561132011-04-01 Ulrich Drepper <drepper@gmail.com>
56114
658e451d
UD
56115 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56116 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56117 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56119 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56121 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56122
748876bf
UD
56123 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56124 sync_file_range.c with -fexceptions.
56125 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56126 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56127 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56128 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56129 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56130 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56131 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
56132 sync_file_range as cancellation point
56133 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56134 now a wrapper around __call_sync_file_range with cancellation handling.
56135 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56136 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56137 function name to __call_sync_file_range.
56138 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56139 Add call_sync_file_range.
748876bf 56140
6e63d5e1
AS
561412011-04-01 Andreas Schwab <schwab@redhat.com>
56142
56143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 56144 bits/timex.h.
6e63d5e1 56145
46998f74
UD
561462011-04-01 Ulrich Drepper <drepper@gmail.com>
56147
4c1423ed
UD
56148 * iconv/iconv.h: Fix typo in comment.
56149 * io/fcntl.h: Likewise.
56150 * libio/stdio.h: Likewise.
56151 * posix/spawn.h: Likewise.
56152 * posix/unistd.h: Likewise.
56153 * stdlib/stdlib.h: Likewise.
56154 * time/time.h: Likewise.
56155 * wcsmbs/wchar.h: Likewise.
56156
158648c0
UD
56157 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56158 open_by_handle): Add.
56159 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56160 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56161 Augment a few comments.
56162 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56163 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56164 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56165 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56166 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56167 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56168 open_by_handle.
56169
46998f74
UD
56170 * io/fcntl.h (AT_EMPTY_PATH): Define.
56171
83fe108b
UD
561722011-03-30 Ulrich Drepper <drepper@gmail.com>
56173
56174 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56175 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56176 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56177 to...
56178 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
56179 * Versions.def: Add GLIBC_2.14.
56180 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56181 Export.
83fe108b 56182
bb242059
UD
561832011-03-22 Ulrich Drepper <drepper@gmail.com>
56184
56185 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56186 round counter.
56187 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56188
c97a1282
L
561892011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56190
56191 [BZ #12597]
56192 * string/test-strncmp.c (do_page_test): New function.
56193 (check2): Likewise.
56194 (test_main): Call check2.
56195 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56196
2a115601
UD
561972011-03-20 Ulrich Drepper <drepper@gmail.com>
56198
56199 [BZ #12587]
56200 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56201 Handle cache information in CPU leaf 4.
56202 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56203
8126d904
UD
562042011-03-18 Ulrich Drepper <drepper@gmail.com>
56205
042c49c6 56206 [BZ #12583]
8126d904
UD
56207 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56208 character representation.
56209 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56210
ccfe366e
RA
562112011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56212
56213 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56214 END(__isnan) to END(__isnanf) to match function entry point/label
56215 EALIGN(__isnanf,...).
56216
c6e13027
JJ
562172011-03-10 Jakub Jelinek <jakub@redhat.com>
56218
56219 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56220
33f85a3f
UD
562212011-03-10 Ulrich Drepper <drepper@gmail.com>
56222
028478fa
UD
56223 [BZ #12510]
56224 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56225 copy from the symbol referenced in the relocation to initialize the
56226 used variable.
56227 Patch by Piotr Bury <pbury@goahead.com>.
56228 * elf/Makefile: Add rules to build and tst-unique3.
56229 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56230 * elf/tst-unique3.cc: New file.
56231 * elf/tst-unique3.h: New file.
56232 * elf/tst-unique3lib.cc: New file.
56233 * elf/tst-unique3lib2.cc: New file.
56234
33f85a3f
UD
56235 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56236
03592fc7
MF
562372011-03-10 Mike Frysinger <vapier@gentoo.org>
56238
56239 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56240 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56241 to _start.
03592fc7 56242
6a5ee102
UD
562432011-03-06 Ulrich Drepper <drepper@gmail.com>
56244
56245 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56246 to-be-loaded object along a path to loader is ld.so.
56247
7e4ba49c
HJ
562482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56249 Ulrich Drepper <drepper@gmail.com>
56250
56251 * sysdeps/x86_64/memset.S: After aligning destination, code
56252 branches to different locations depending on the value of
56253 misalignment, when multiarch is enabled. Fix this.
56254
562552011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56256
56257 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56258 Set _x86_64_preferred_memory_instruction for AMD processsors.
56259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56260 Set bit_Prefer_SSE_for_memop for AMD processors.
56261
13a804de
UD
562622011-03-04 Ulrich Drepper <drepper@gmail.com>
56263
56264 * libio/fmemopen.c (fmemopen): Optimize a bit.
56265
9d25c392
AS
562662011-03-03 Andreas Schwab <schwab@redhat.com>
56267
56268 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56269
a5543c6a
RM
562702011-03-03 Roland McGrath <roland@redhat.com>
56271
56272 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56273
012d35f7
DM
562742011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56275
7e4ba49c 56276 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56277 __bzero_ultra1 instead of __memset_ultra1.
56278
4bff6e01
AS
562792011-02-23 Andreas Schwab <schwab@redhat.com>
56280 Ulrich Drepper <drepper@gmail.com>
56281
56282 [BZ #12509]
56283 * include/link.h (struct link_map): Add l_orig_initfini.
56284 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56285 returning unsuccessfully.
56286 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56287 close of a file loaded at startup, restore the original l_initfini
56288 list.
56289 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56290 list, store the pointer.
56291 * elf/Makefile ($(objpfx)noload-mem): New rule.
56292 (noload-ENV): Define.
56293 (tests): Add $(objpfx)noload-mem.
56294 * elf/noload.c: Include <memcheck.h>.
56295 (main): Call mtrace. Close all opened handles.
56296
f2092faf
AS
562972011-02-17 Andreas Schwab <schwab@redhat.com>
56298
56299 [BZ #12454]
56300 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56301 dependencies are missing.
56302
6c8a2e88
ST
563032011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56304
f2092faf 56305 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56306 Hurd needs munmap.
56307 * sysdeps/mach/hurd/ifreq.h: New file.
56308
84a42118
PB
563092011-01-27 Petr Baudis <pasky@suse.cz>
56310 Ulrich Drepper <drepper@gmail.com>
56311
071f805e 56312 [BZ 12445]#
84a42118
PB
56313 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56314 to extend_alloca().
56315 * stdio-common/bug23.c: New file.
56316 * stdio-common/Makefile (tests): Add bug23.
56317
e23fe25b
AS
563182010-09-28 Andreas Schwab <schwab@redhat.com>
56319 Ulrich Drepper <drepper@gmail.com>
56320
56321 [BZ #12489]
56322 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56323 before performing relro protection. At old place add assertion
56324 to make sure nothing changed.
56325
d3f02e10
NS
563262011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56327 Glauber de Oliveira Costa <glommer@gmail.com>
56328
56329 * elf/elf.h: Add new ARM TLS relocs.
56330
d55fd7a5
RA
563312011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56332
56333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56334 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56335 cast from r3.
56336 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56337 'tests' variable.
56338 * sysdeps/wordsize-64/tst-writev.c: New file.
56339
2206397e
RA
563402011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56341
56342 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56343 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56344 insns in _dl_start to prevent a TOC reference before relocs are
56345 resolved.
56346
e9433893
UD
563472011-02-15 Ulrich Drepper <drepper@gmail.com>
56348
56349 [BZ #12469]
56350 * Makeconfig: Remove RANLIB definition.
56351 * Makerules: Don't use RANLIB.
56352 * aclocal.m4: Remove ranlib test.
56353 * configure.in: No need to check for ranlib.
56354 * elf/rtld-Rules: Don't use RANLIB.
56355
f75286c6
ST
563562011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56357
8e31c82d
ST
56358 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56359 protection macro.
56360 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56361 inclusion protection macro.
56362
f75286c6
ST
56363 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56364 SIGRTMIN and SIGRTMAX and print information in that case only when
56365 SIGRTMIN is defined.
56366
c1d0e639
JJ
563672011-02-11 Jakub Jelinek <jakub@redhat.com>
56368
56369 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56370 arginfo fn returning -1.
56371
56372 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56373 and thousands string is zero terminated.
56374
edf9294e
AS
563752011-02-03 Andreas Schwab <schwab@redhat.com>
56376
56377 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56378 sysdeps/unix/sysv/linux/bits/socket.h.
56379
2b7e92df
ST
563802011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56381
edf9294e
AS
56382 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56383 (__CPU_COUNT): Remove old macros.
56384 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56385 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56386 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56387 (__sched_cpualloc, __sched_cpufree): Add declarations.
56388
a4c7ea7b
UD
563892011-02-05 Ulrich Drepper <drepper@gmail.com>
56390
56391 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56392 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56393 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56394 (readdhstai): Return value of addhstaiX call.
56395 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56396 (addgrbyX): Return value returned by cache_addgr.
56397 (readdgrbyname): Return value returned by addgrbyX.
56398 (readdgrbygid): Likewise.
56399 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56400 (addpwbyX): Return value returned by cache_addpw.
56401 (readdpwbyname): Return value returned by addhstbyX.
56402 (readdpwbyuid): Likewise.
56403 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56404 (addservbyX): Return value returned by cache_addserv.
56405 (readdservbyname): Return value returned by addservbyX:
56406 (readdservbyport): Likewise.
56407 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56408 (addhstbyX): Return value returned by cache_addhst.
56409 (readdhstbyname): Return value returned by addhstbyX.
56410 (readdhstbyaddr): Likewise.
56411 (readdhstbynamev6): Likewise.
56412 (readdhstbyaddrv6): Likewise.
56413 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56414 (readdinitgroups): Return value returned by addinitgroupsX.
56415 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56416 (prune_cache): Keep track of timeout value of re-added entries.
56417 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56418 * nscd/nscd.h: Adjust prototypes of readd* functions.
56419
a0bf67cc
RM
564202011-02-04 Roland McGrath <roland@redhat.com>
56421
56422 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56423 (nis_stats): Likewise.
56424 * nis/nis_modify.c (nis_modify): Likewise.
56425 * nis/nis_remove.c (nis_remove): Likewise.
56426 * nis/nis_add.c (nis_add): Likewise.
56427
56428 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56429
56430 * posix/fnmatch_loop.c: Add some consts.
56431
56432 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56433
435b95eb
L
564342011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56435
56436 [BZ #12460]
56437 * config.make.in (config-cflags-novzeroupper): Define.
56438 * configure.in: Substitute libc_cv_cc_novzeroupper.
56439 * elf/Makefile (AVX-CFLAGS): Define.
56440 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56441 (CFLAGS-tst-auditmod4a.c): Likewise.
56442 (CFLAGS-tst-auditmod4b.c): Likewise.
56443 (CFLAGS-tst-auditmod6b.c): Likewise.
56444 (CFLAGS-tst-auditmod6c.c): Likewise.
56445 (CFLAGS-tst-auditmod7b.c): Likewise.
56446 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56447
8517b15e
UD
564482011-02-02 Ulrich Drepper <drepper@gmail.com>
56449
56450 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56451 function to the callback.
56452 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56453
10a656fe
AS
564542011-02-02 Andreas Schwab <schwab@redhat.com>
56455
56456 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56457 of errno.
56458
968dad0a
UD
564592011-01-19 Ulrich Drepper <drepper@gmail.com>
56460
9f94d2ea 56461 [BZ #11724]
968dad0a
UD
56462 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56463 of constructors.
56464 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56465 of destructors.
56466 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56467
56468 [BZ #11724]
56469 * elf/Makefile: Add rules to build and run new test.
56470 * elf/tst-initorder.c: New file.
56471 * elf/tst-initorder.exp: New file.
56472 * elf/tst-initordera1.c: New file.
56473 * elf/tst-initordera2.c: New file.
56474 * elf/tst-initordera3.c: New file.
56475 * elf/tst-initordera4.c: New file.
56476 * elf/tst-initorderb1.c: New file.
56477 * elf/tst-initorderb2.c: New file.
56478 * elf/tst-order-a1.c: New file.
56479 * elf/tst-order-a2.c: New file.
56480 * elf/tst-order-a3.c: New file.
56481 * elf/tst-order-a4.c: New file.
56482 * elf/tst-order-b1.c: New file.
56483 * elf/tst-order-b2.c: New file.
56484 * elf/tst-order-main.c: New file.
56485 New test case by George Gensure <werkt0@gmail.com>.
56486
86e92359
UD
564872010-10-01 Andreas Schwab <schwab@redhat.com>
56488
56489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56490 decoding ACE if AI_CANONIDN.
56491
5d5732b0
UD
564922011-01-18 Ulrich Drepper <drepper@gmail.com>
56493
56494 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56495
a77e8cbc
UD
564962011-01-17 Ulrich Drepper <drepper@gmail.com>
56497
6392473f
UD
56498 * version.h (RELEASE): Bump for 2.13 release.
56499 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56500
620a0529
UD
56501 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56502
18ba70a5
UD
56503 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56504 MADV_NOHUGEPAGE.
32465c3e
UD
56505 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56506 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56507 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56508 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56509 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56510 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56511
c0dafcf1
UD
56512 * posix/getconf.c: Update copyright year.
56513 * catgets/gencat.c: Likewise.
56514 * csu/version.c: Likewise.
56515 * debug/catchsegv.sh: Likewise.
56516 * debug/xtrace.sh: Likewise.
56517 * elf/ldconfig.c: Likewise.
56518 * elf/ldd.bash.in: Likewise.
56519 * elf/sprof.c (print_version): Likewise.
56520 * iconv/iconv_prog.c: Likewise.
56521 * iconv/iconvconfig.c: Likewise.
56522 * locale/programs/locale.c: Likewise.
56523 * locale/programs/localedef.c: Likewise.
56524 * malloc/memusage.sh: Likewise.
56525 * malloc/mtrace.pl: Likewise.
56526 * nscd/nscd.c (print_version): Likewise.
56527 * nss/getent.c: Likewise.
56528
a77e8cbc
UD
56529 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56530 PF_CAIF, and PF_ALG.
56531 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56532
77e8bddf
AS
565332011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56534
1f20b93a
AS
56535 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56536 (modules-names): Use them.
56537 (ifunc-test-modules, ifunc-pie-tests): Define.
56538 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56539 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56540 (test-extras): Likewise.
56541 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56542 $(compile-command.c).
56543 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56544 (all-built-dso): Define.
56545 (check-textrel.out, check-execstack.out): Depend on it.
56546
77e8bddf
AS
56547 * configure.in: Don't override --enable-multi-arch.
56548
bc425b33
UD
565492011-01-15 Ulrich Drepper <drepper@gmail.com>
56550
56551 [BZ #6812]
56552 * nscd/hstcache.c (tryagain): Define.
56553 (cache_addhst): Return tryagain not notfound for temporary errors.
56554 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56555 failed.
56556
794c3ad3
UD
565572011-01-14 Ulrich Drepper <drepper@gmail.com>
56558
70181fdd
UD
56559 [BZ #10563]
56560 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56561 to make the syscall.
56562 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56563
794c3ad3
UD
56564 [BZ #12378]
56565 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56566 and fall back to matching as normal character if the string ends before
56567 the matching ']' is found. This is what POSIX requires.
56568 * posix/testfnm.c: Adjust test result.
56569 * posix/globtest.sh: Adjust test result. Add new test.
56570 * posix/tst-fnmatch.input: Likewise.
56571 * posix/tst-fnmatch2.c: Add new test.
56572
68dc9497
AS
565732010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56574
56575 * elf/Makefile (check-execstack): Revert last change. Depend on
56576 check-execstack.h.
56577 (check-execstack.h): New target.
56578 (generated): Add check-execstack.h.
56579 * elf/check-execstack.c: Include "check-execstack.h".
56580 (main): Revert last change.
56581 (handle_file): Return zero if GNU_STACK is absent and
56582 DEFAULT_STACK_PERMS doesn't include PF_X.
56583
451f001b
UD
565842011-01-13 Ulrich Drepper <drepper@gmail.com>
56585
cfa28e56
UD
56586 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56587 in child fails because the descriptor is already closed.
8cf8ce17
UD
56588 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56589 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56590 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56591
1086d70d
UD
56592 [BZ #12397]
56593 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56594 syscall.
56595
451f001b
UD
56596 [BZ #10484]
56597 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56598 temporary buffer used to handle multi lookups locally.
a85b5cb4 56599 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56600
08769175
UD
566012011-01-12 Ulrich Drepper <drepper@gmail.com>
56602
56603 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56604 loader is ld.so.
56605
5e49c52e
UD
566062011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56607
56608 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56609 alignment for SSE2.
56610
60522a5f
UD
566112011-01-12 Ulrich Drepper <drepper@gmail.com>
56612
56613 [BZ #12394]
56614 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56615 characters. When rounding increased number of integer digits recompute
56616 number of groups.
56617 * stdio-common/tst-grouping.c: New file.
56618 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56619
f257bbd7
UD
566202011-01-09 Ulrich Drepper <drepper@gmail.com>
56621
56622 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56623 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56624
56625 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56626 void.
56627 * bits/select.h: Likewise.
56628
fa9c15cb
UD
566292011-01-08 Ulrich Drepper <drepper@gmail.com>
56630
56631 * po/ja.po: Update from translation team.
56632
16c2895f
DM
566332011-01-04 David S. Miller <davem@sunset.davemloft.net>
56634
56635 [BZ #11155]
56636 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56637 implementation just like for lxstat, fxstatat, et al.
56638
2543fef2
JM
566392010-12-27 Jim Meyering <meyering@redhat.com>
56640
56641 [BZ #12348]
56642 * posix/regexec.c (build_trtable): Return failure indication upon
56643 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56644
98727dbe
UD
566452010-12-25 Ulrich Drepper <drepper@gmail.com>
56646
5bd6dc5c
UD
56647 [BZ #12201]
56648 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56649 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56650 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56651 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56652
97983464
UD
56653 [BZ #12207]
56654 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56655
98727dbe
UD
56656 [BZ #12204]
56657 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56658 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56659
4a531bb0
L
566602010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56661
56662 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56663 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56664 script has SORT_BY_INIT_PRIORITY.
56665 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56666 NO_CTORS_DTORS_SECTIONS is defined.
56667 * elf/soinit.c: Likewise.
56668 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56669 NO_CTORS_DTORS_SECTIONS is defined.
56670 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56671 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56672 * sysdeps/sh/init-first.c: Likewise.
56673 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56674
07eb4b71
UD
566752010-12-24 Ulrich Drepper <drepper@gmail.com>
56676
56677 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56678 always use the slow path.
56679
30950a5f
RA
566802010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56681
56682 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56683 similar rule which adds the sysdep directories to the header search in
56684 order to pick up the correct platform stackinfo.h.
56685 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56686 perform test if it is, otherwise return successfully without testing.
56687 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56688 DEFAULT_STACK_PERMS define in stackinfo.h.
56689 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56690 defined in stackinfo.h.
56691 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56692 DEFAULT_STACK_PERMS defined in stackinfo.h.
56693 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56694 * sysdeps/ia64/stackinfo.h: Likewise.
56695 * sysdeps/s390/stackinfo.h: Likewise.
56696 * sysdeps/sh/stackinfo.h: Likewise.
56697 * sysdeps/sparc/stackinfo.h: Likewise.
56698 * sysdeps/x86_64/stackinfo.h: Likewise.
56699 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56700 PF_X for powerpc64. Retain PF_X for powerpc32.
56701
db753e2c
UD
567022010-12-19 Ulrich Drepper <drepper@gmail.com>
56703
14b697f7
UD
56704 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56705 accurately.
db753e2c
UD
56706 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56707 GETDENTS_64BIT_ALIGNED.
56708
28300719
UD
567092010-12-14 Ulrich Drepper <dreper@gmail.com>
56710
14b697f7 56711 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56712
4f197237
AS
567132010-12-10 Andreas Schwab <schwab@redhat.com>
56714
dbb0472f
AS
56715 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56716 _GNU_SOURCE.
56717
4f197237
AS
56718 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56719 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56720 Remove __restrict.
56721 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56722 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56723
fb88ac72
UD
567242010-12-09 Ulrich Drepper <drepper@gmail.com>
56725
56726 [BZ #11655]
56727 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56728 are initialized.
56729
42acbb92
JJ
567302010-12-09 Jakub Jelinek <jakub@redhat.com>
56731
56732 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56733
c038d98d
UD
567342010-12-03 Ulrich Drepper <drepper@gmail.com>
56735
56736 * po/it.po: Update from translation team.
56737
3a4a2499
L
567382010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56739
56740 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56741 unused codes.
56742
1e24cf6e
UD
567432010-11-30 Ulrich Drepper <drepper@gmail.com>
56744
56745 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56746
a7690819
AS
567472010-11-24 Andreas Schwab <schwab@redhat.com>
56748
56749 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56750 specially.
56751 (gaih_getanswer_slice): Likewise.
56752
3bf8d1b1
JJ
567532010-10-20 Jakub Jelinek <jakub@redhat.com>
56754
56755 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56756
6db52fbb
PB
567572010-05-31 Petr Baudis <pasky@suse.cz>
56758
56759 [BZ #11149]
56760 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56761 silently even in the chroot mode.
56762
eaca7569
UD
567632010-11-22 Ulrich Drepper <drepper@gmail.com>
56764
56765 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56766 last patch a bit. Pretty printing
56767
3056dcdb
UD
567682010-05-31 Petr Baudis <pasky@suse.cz>
56769
56770 [BZ #10085]
56771 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56772 initialization of skip_initgroups_dyn.
56773
cf7c9078
UD
567742010-11-19 Ulrich Drepper <drepper@gmail.com>
56775
56776 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56777 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56778
a1fb5e3e
UD
567792010-11-16 Ulrich Drepper <drepper@gmail.com>
56780
56781 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56782
3540d66b
AS
567832010-11-11 Andreas Schwab <schwab@redhat.com>
56784
56785 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56786 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56787 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56788 ($(objpfx)tst-fnmatch-mem): New rule.
56789 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56790 * posix/tst-fnmatch.c (main): Call mtrace.
56791
13b69574
L
567922010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56793
56794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56795 Support Intel processor model 6 and model 0x2c.
56796
da93d214
LM
567972010-11-10 Luis Machado <luisgpm@br.ibm.com>
56798
56799 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56800 signed comparison.
56801
8ca52c6e
L
568022010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56803
56804 [BZ #12205]
56805 * string/test-strncasecmp.c (check_result): New function.
56806 (do_one_test): Use it.
56807 (check1): New function.
56808 (test_main): Use it.
56809 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56810 Support strcasecmp and strncasecmp.
56811
69da074d
UD
568122010-11-08 Ulrich Drepper <drepper@gmail.com>
56813
56814 [BZ #12194]
56815 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56816 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56817
ff02d528
L
568182010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56819
56820 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56821 IFUNC support.
56822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56823 memset-x86-64.
56824 * sysdeps/x86_64/multiarch/bzero.S: New file.
56825 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56826 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56827 * sysdeps/x86_64/multiarch/memset.S: New file.
56828 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56829 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56830 Set bit_Prefer_SSE_for_memop for Intel processors.
56831 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56832 Define.
56833 (index_Prefer_SSE_for_memop): Define.
56834 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56835
344d0b54
LM
568362010-11-04 Luis Machado <luisgpm@br.ibm.com>
56837
56838 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56839 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56840
c0dde15b
UD
568412010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56842
56843 [BZ #12191]
56844 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56845 (__x86_64_raw_data_cache_size_half): Likewise.
56846 (__x86_64_raw_shared_cache_size): Likewise.
56847 (__x86_64_raw_shared_cache_size_half): Likewise.
56848
56849 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56850 (__x86_64_raw_data_cache_size_half): Likewise.
56851 (__x86_64_raw_shared_cache_size): Likewise.
56852 (__x86_64_raw_shared_cache_size_half): Likewise.
56853 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56854 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56855 and __x86_64_raw_shared_cache_size_half. Round
56856 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56857 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56858 to multiple of 256 bytes.
56859
0e516e0e
MS
568602010-11-03 Ulrich Drepper <drepper@gmail.com>
56861
56862 [BZ #12167]
56863 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56864 of inacessible symlinks. Verify result of symlink before returning it.
56865 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56866 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56867
0e012e87
ER
568682010-10-28 Erich Ritz <erichritz@gmail.com>
56869
56870 * math/math.h (isinf): Fix typo in comment.
56871
de0ff7bc
UD
568722010-11-01 Ulrich Drepper <drepper@gmail.com>
56873
56874 * po/da.po: Update from translation team.
56875
fa41c84d
UD
568762010-10-26 Ulrich Drepper <drepper@gmail.com>
56877
56878 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56879 is added to the list.
56880
f0967738
AK
568812010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56882 Ulrich Drepper <drepper@gmail.com>
56883
56884 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56885 the global list here. Move code to...
56886 (_dl_add_to_namespace_list): ...here. New function.
56887 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56888 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56889 * elf/dl-load.c (lose): Don't remove the element from the list.
56890 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56891 (_dl_map_object): Likewise.
56892
568932010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56894
56895 [BZ #12159]
56896 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56897 into all bytes of SSE register.
56898 Patch by Richard Li <richardpku@gmail.com>.
56899
f0967738 569002010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56901
56902 [BZ #12140]
56903 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56904 perturbing.
56905
d0b9e94f
MB
569062010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56907
56908 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56909 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56910 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56911 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56913 submachine.
56914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56915
8e9f92e9
AS
569162010-10-22 Andreas Schwab <schwab@redhat.com>
56917
56918 * include/dlfcn.h (__RTLD_SECURE): Define.
56919 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56920 mode & __RTLD_SECURE instead.
56921 (open_path): Rename preloaded parameter to secure.
56922 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56923 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56924 * elf/dl-deps.c (openaux): Likewise.
56925 * elf/rtld.c (struct map_args): Remove is_preloaded.
56926 (map_doit): Don't use it.
56927 (dl_main): Likewise.
56928 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56929 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56930
bc96fbda
AS
569312010-09-09 Andreas Schwab <schwab@redhat.com>
56932
56933 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56934 (sysd-rules-targets): Remove duplicates.
56935 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56936 rtld-%.$o dependency.
56937
22cd1c9b
AS
569382010-10-18 Andreas Schwab <schwab@redhat.com>
56939
56940 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56941 _dl_map_object do it.
56942
18edac48
UD
569432010-10-19 Ulrich Drepper <drepper@gmail.com>
56944
56945 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56946 fast fma builtins, define the macros in the C99 standard.
56947 (FP_FAST_FMAF): Likewise.
56948 (FP_FAST_FMAL): Likewise.
56949 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56950
56951 * bits/mathdef.h: Update copyright year.
56952 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56953
d2050124
MM
569542010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56955
56956 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56957 builtins, define the macros in the C99 standard.
56958 (FP_FAST_FMAF): Likewise.
56959 (FP_FAST_FMAL): Likewise.
56960 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56961 multiply/add.
56962 (FP_FAST_FMAF): Likewise.
56963
475facd1
JJ
569642010-10-15 Jakub Jelinek <jakub@redhat.com>
56965
56966 [BZ #3268]
56967 * math/libm-test.inc (fma_test): Some new testcases.
56968 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56969 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56970 y and infinite z. Do multiplication by C already in long double.
56971 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56972 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56973 y and infinite z. Do bitwise or of inexact bit into u.d.
56974 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56975 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56976 * sysdeps/i386/fpu/s_fma.S: Removed.
56977 * sysdeps/i386/fpu/s_fmal.S: Removed.
56978
7c08a05c
JJ
569792010-10-16 Jakub Jelinek <jakub@redhat.com>
56980
56981 [BZ #3268]
56982 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56983 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56984 computation is not scheduled after fetestexcept. Fix value
56985 of minimum denormal long double.
56986
f3f7372d
JJ
569872010-10-14 Jakub Jelinek <jakub@redhat.com>
56988
56989 [BZ #3268]
56990 * math/libm-test.inc (fma_test): Add some more tests.
56991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56992 correctly.
56993
14d43591
AS
569942010-10-15 Andreas Schwab <schwab@redhat.com>
56995
56996 * scripts/data/localplt-s390-linux-gnu.data: New file.
56997 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56998
5e908464
JJ
569992010-10-13 Jakub Jelinek <jakub@redhat.com>
57000
57001 [BZ #3268]
57002 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57003 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57004 instead of dbl-64.
57005 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57006 inlines.
57007 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57008 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57009 if one of x and y is very large and the other is subnormal.
57010 * sysdeps/s390/fpu/s_fmaf.c: New file.
57011 * sysdeps/s390/fpu/s_fma.c: New file.
57012 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57013 * sysdeps/powerpc/fpu/s_fma.S: New file.
57014 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57015 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57016 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57017
570182010-10-12 Jakub Jelinek <jakub@redhat.com>
57019
57020 [BZ #3268]
57021 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57022 fma tests.
57023 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57024 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57025 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57026 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57027 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57028 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57029 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57030
b833d51f
UD
570312010-10-12 Ulrich Drepper <drepper@redhat.com>
57032
57033 [BZ #12078]
57034 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57035 * posix/bug-regex31.input: Add test case.
57036
1751705d
UD
570372010-10-11 Ulrich Drepper <drepper@gmail.com>
57038
e9b9cbf5
UD
57039 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57040 * posix/bug-regex31.input: New file.
57041
57042 [BZ #12078]
57043 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57044 (parse_sub_exp): Fix last change, use postorder.
57045
ef06edbe
UD
57046 * posix/bug-regex31.c: New file.
57047 * posix/Makefile: Add rules to build and run bug-regex31.
57048
a129c80d
UD
57049 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57050
57051 [BZ #12078]
57052 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57053
b76b818e
UD
57054 [BZ #12108]
57055 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57056 to have entries in sys_siglist.
57057
1751705d
UD
57058 [BZ #12093]
57059 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57060 be NULL.
57061
9ff8d36f
JJ
570622010-10-07 Jakub Jelinek <jakub@redhat.com>
57063
57064 [BZ #3268]
57065 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57066 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57067 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57068 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57069 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57070 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57071 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57072 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57073 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57074 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57075 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57076 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57077 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57078 * math/ftestexcept.c (fetestexcept): Likewise.
57079 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57080 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57081 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57082 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57083 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57084 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57085 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57086
af325969
UD
570872010-10-11 Ulrich Drepper <drepper@gmail.com>
57088
c579b202 57089 [BZ #12107]
af325969
UD
57090 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57091 newline.
57092
67a67b95
UD
570932010-10-06 Ulrich Drepper <drepper@gmail.com>
57094
57095 * string/bug-strstr1.c: New file.
57096 * string/Makefile: Add rules to build and run bug-strstr1.
57097
5fb308bc
EB
570982010-10-05 Eric Blake <eblake@redhat.com>
57099
57100 [BZ #12092]
57101 * string/str-two-way.h (two_way_long_needle): Always clear memory
57102 when skipping input due to the shift table.
57103
45db99c7
UD
571042010-10-03 Ulrich Drepper <drepper@gmail.com>
57105
3b111893
UD
57106 [BZ #12005]
57107 * malloc/mcheck.c: Handle large requests.
57108
45db99c7
UD
57109 [BZ #12077]
57110 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57111 for strncmp and strncasecmp.
57112 * string/stratcliff.c: Add tests for strcmp and strncmp.
57113 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57114
cf7a1eb8
NI
571152010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57116
57117 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57118 __set_fpscr.
57119
6484ba5e
AJ
571202010-09-30 Andreas Jaeger <aj@suse.de>
57121
57122 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57123 (CGROUP_SUPER_MAGIC): Define.
57124 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57125 Handle btrfs and cgroup file systems.
57126 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57127 Likewise.
57128
91c42559
LM
571292010-09-27 Luis Machado <luisgpm@br.ibm.com>
57130
57131 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57132 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57133
87a97932
AK
571342010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57135
57136 [BZ #12067]
57137 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57138 trying to locate the ELF header.
57139
c21cc9bc
AS
571402010-09-27 Andreas Schwab <schwab@redhat.com>
57141
57142 [BZ #11611]
57143 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57144 Mask out sign-bit copies when constructing f_fsid.
57145
315970f6
PB
571462010-09-24 Petr Baudis <pasky@suse.cz>
57147
57148 * debug/stack_chk_fail_local.c: Add missing licence exception.
57149 * debug/warning-nop.c: Likewise.
57150
1ac7a2c7
JM
571512010-09-15 Joseph Myers <joseph@codesourcery.com>
57152
57153 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57154 implementing getdents64 using getdents syscall, set d_type if
57155 __ASSUME_GETDENTS32_D_TYPE.
57156
56801c50
AS
571572010-09-16 Andreas Schwab <schwab@redhat.com>
57158
57159 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57160 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57161
dda51327
UD
571622010-09-21 Ulrich Drepper <drepper@redhat.com>
57163
57164 [BZ #12037]
57165 * posix/unistd.h: Undo change of feature selection for ftruncate from
57166 2010-01-11.
57167
8ffcee4a
UD
571682010-09-20 Ulrich Drepper <drepper@redhat.com>
57169
a545ecd9 57170 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
57171 detection.
57172
e24f0a8b
AS
571732010-09-20 Andreas Schwab <schwab@redhat.com>
57174
57175 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57176 fanotify_mark.
57177 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57178
7291c56f
AS
571792010-09-14 Andreas Schwab <schwab@redhat.com>
57180
57181 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57182 variables after CHECK_SP call.
57183 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57184
bc5fb037
AS
571852010-09-13 Andreas Schwab <schwab@redhat.com>
57186 Ulrich Drepper <drepper@redhat.com>
57187
57188 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57189 re-relocationg ld.so.
57190 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57191 _dl_init_paths call.
57192 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57193 here anymore.
57194
e66e7419
UD
571952010-09-14 Ulrich Drepper <drepper@redhat.com>
57196
57197 * resolv/res_init.c (__res_vinit): Count the default server we added.
57198
c044aa75
CLT
571992010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57200 Ulrich Drepper <drepper@redhat.com>
57201
57202 [BZ #11968]
57203 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57204 (____longjmp_chk): Use %ebx for saving value across system call.
57205 Add unwind info.
57206
32cf4069
AS
572072010-09-06 Andreas Schwab <schwab@redhat.com>
57208
57209 * manual/Makefile: Don't mix pattern rules with normal rules.
57210
817328ee
AS
572112010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57212
57213 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57214 operation.
57215 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57216 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57217 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57218 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57219 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57220 Likewise.
57221
29fddf61
UD
572222010-09-04 Ulrich Drepper <drepper@redhat.com>
57223
57224 [BZ #11979]
57225 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57226 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57227
0959ffc9
UD
572282010-09-02 Ulrich Drepper <drepper@redhat.com>
57229
57230 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57231 * sysdeps/x86_64/addmul_1.S: Likewise.
57232 * sysdeps/x86_64/lshift.S: Likewise.
57233 * sysdeps/x86_64/mul_1.S: Likewise.
57234 * sysdeps/x86_64/rshift.S: Likewise.
57235 * sysdeps/x86_64/sub_n.S: Likewise.
57236 * sysdeps/x86_64/submul_1.S: Likewise.
57237
ece29840
ST
572382010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57239
0959ffc9
UD
57240 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57241 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57242 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57243 * bits/sched.h [__need_schedparam]
ece29840 57244 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57245 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57246 (__defined_schedparam): Define to 1.
ece29840
ST
57247 (__sched_param): New structure, identical to sched_param.
57248 (__need_schedparam): Undefine.
57249
e53a31fe
MF
572502010-08-31 Mike Frysinger <vapier@gentoo.org>
57251
fdc0c10d
MF
57252 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57253 (epoll_create1): Declare.
57254
e53a31fe
MF
57255 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57256
a726d796
AS
572572010-08-31 Andreas Schwab <schwab@redhat.com>
57258
57259 [BZ #7066]
57260 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57261 shifting retval into place.
57262
2f3e3dc7
UD
572632010-09-01 Ulrich Drepper <drepper@redhat.com>
57264
f2933da9
UD
57265 * nis/rpcsvc/nis.h: Update copyright notice.
57266 * nis/rpcsvc/nis.x: Likewise.
57267 * nis/rpcsvc/nis_callback.h: Likewise.
57268 * nis/rpcsvc/nis_callback.x: Likewise.
57269 * nis/rpcsvc/nis_object.x: Likewise.
57270 * nis/rpcsvc/nis_tags.h: Likewise.
57271 * nis/rpcsvc/yp.h: Likewise.
57272 * nis/rpcsvc/yp.x: Likewise.
57273 * nis/rpcsvc/ypupd.h: Likewise.
57274 * nis/yp_xdr.c: Likewise.
57275 * nis/ypupdate_xdr.c: Likewise.
57276
2f3e3dc7
UD
57277 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57278 mainly the body of pmap_getport. Add parameters to specify timeouts.
57279 (pmap_getport): Use __libc_rpc_getport.
57280 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57281 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57282 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57283
f3dcc2f9
AS
572842010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57285
57286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57287 fanotify_mark.
57288
6d34eb5b
RM
572892010-08-27 Roland McGrath <roland@redhat.com>
57290
57291 * sysdeps/i386/i686/multiarch/Makefile
57292 (CFLAGS-varshift.c): New variable.
57293
9ea3de11
UD
572942010-08-27 Ulrich Drepper <drepper@redhat.com>
57295
c96d23fc
UD
57296 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57297 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57298
9ea3de11
UD
57299 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57300
57301 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57302
623aac7f
L
573032010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57304
57305 * sysdeps/x86_64/strlen.S: Unroll the loop.
57306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57307 strlen-sse2 strlen-sse2-bsf.
57308 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57309 __strlen_no_bsf if bit_Slow_BSF is set.
57310 (__strlen_sse42): Removed.
57311 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57312 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57313
8b2b7715
RM
573142010-08-25 Roland McGrath <roland@redhat.com>
57315
57316 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57317 * sysdeps/x86_64/multiarch/varshift.c: New file.
57318 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57319 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57320 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57321 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57322
e73015f2
L
573232010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57324
57325 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57326 strlen-sse2 strlen-sse2-bsf.
57327 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57328 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57329 (__strlen_sse2): Removed.
57330 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57331 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57333 bit_Slow_BSF for Atom.
57334 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57335 (index_Slow_BSF): Define.
57336 (HAS_SLOW_BSF): Define.
57337
df24a73e
UD
573382010-08-25 Ulrich Drepper <drepper@redhat.com>
57339
57340 [BZ #10851]
57341 * resolv/res_init.c (__res_vinit): When no server address at all
57342 is given default to loopback.
57343
f2ac4868
RM
573442010-08-24 Roland McGrath <roland@redhat.com>
57345
09055553
RM
57346 * configure.in: Remove config-name.h generation.
57347 * configure: Regenerated.
57348 * config-name.in: File removed.
57349 * scripts/config-uname.sh: New file.
57350 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57351 ($(objdir)config-name.h): New target.
57352
f2ac4868
RM
57353 * sunrpc/rpc_parse.h: Avoid nested comment.
57354
73f27d5e
RH
573552010-08-24 Richard Henderson <rth@redhat.com>
57356 Ulrich Drepper <drepper@redhat.com>
57357 H.J. Lu <hongjiu.lu@intel.com>
57358
57359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57361 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57362 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57363 _mm_alignr_epi8 with _mm_loadu_si128.
57364 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57365 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57366 (__m128i_shift_right): Removed.
57367 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57368 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57369 * sysdeps/x86_64/multiarch/varshift.h: New file.
57370 * sysdeps/x86_64/multiarch/varshift.S: New file.
57371
84b9230c
MF
573722010-08-21 Mike Frysinger <vapier@gentoo.org>
57373
57374 * configure.in: Move assembler checks to before sysdep dir checking.
57375
9bbd0ddc
PB
573762010-08-20 Petr Baudis <pasky@suse.cz>
57377
57378 * LICENSES: Sync the sunrpc license.
57379
9da4bb31
UD
573802010-08-19 Ulrich Drepper <drepper@redhat.com>
57381
a7ab6ec8
UD
57382 * sunrpc/auth_des.c: Update copyright notice once again.
57383 * sunrpc/auth_none.c: Likewise.
57384 * sunrpc/auth_unix.c: Likewise.
57385 * sunrpc/authdes_prot.c: Likewise.
57386 * sunrpc/authuxprot.c: Likewise.
57387 * sunrpc/bindrsvprt.c: Likewise.
57388 * sunrpc/clnt_gen.c: Likewise.
57389 * sunrpc/clnt_perr.c: Likewise.
57390 * sunrpc/clnt_raw.c: Likewise.
57391 * sunrpc/clnt_simp.c: Likewise.
57392 * sunrpc/clnt_tcp.c: Likewise.
57393 * sunrpc/clnt_udp.c: Likewise.
57394 * sunrpc/clnt_unix.c: Likewise.
57395 * sunrpc/des_crypt.c: Likewise.
57396 * sunrpc/des_soft.c: Likewise.
57397 * sunrpc/get_myaddr.c: Likewise.
57398 * sunrpc/getrpcport.c: Likewise.
57399 * sunrpc/key_call.c: Likewise.
57400 * sunrpc/key_prot.c: Likewise.
57401 * sunrpc/openchild.c: Likewise.
57402 * sunrpc/pm_getmaps.c: Likewise.
57403 * sunrpc/pm_getport.c: Likewise.
57404 * sunrpc/pmap_clnt.c: Likewise.
57405 * sunrpc/pmap_prot.c: Likewise.
57406 * sunrpc/pmap_prot2.c: Likewise.
57407 * sunrpc/pmap_rmt.c: Likewise.
57408 * sunrpc/rpc/auth.h: Likewise.
57409 * sunrpc/rpc/auth_unix.h: Likewise.
57410 * sunrpc/rpc/clnt.h: Likewise.
57411 * sunrpc/rpc/des_crypt.h: Likewise.
57412 * sunrpc/rpc/key_prot.h: Likewise.
57413 * sunrpc/rpc/netdb.h: Likewise.
57414 * sunrpc/rpc/pmap_clnt.h: Likewise.
57415 * sunrpc/rpc/pmap_prot.h: Likewise.
57416 * sunrpc/rpc/pmap_rmt.h: Likewise.
57417 * sunrpc/rpc/rpc.h: Likewise.
57418 * sunrpc/rpc/rpc_des.h: Likewise.
57419 * sunrpc/rpc/rpc_msg.h: Likewise.
57420 * sunrpc/rpc/svc.h: Likewise.
57421 * sunrpc/rpc/svc_auth.h: Likewise.
57422 * sunrpc/rpc/types.h: Likewise.
57423 * sunrpc/rpc/xdr.h: Likewise.
57424 * sunrpc/rpc_clntout.c: Likewise.
57425 * sunrpc/rpc_cmsg.c: Likewise.
57426 * sunrpc/rpc_common.c: Likewise.
57427 * sunrpc/rpc_cout.c: Likewise.
57428 * sunrpc/rpc_dtable.c: Likewise.
57429 * sunrpc/rpc_hout.c: Likewise.
57430 * sunrpc/rpc_main.c: Likewise.
57431 * sunrpc/rpc_parse.c: Likewise.
57432 * sunrpc/rpc_parse.h: Likewise.
57433 * sunrpc/rpc_prot.c: Likewise.
57434 * sunrpc/rpc_sample.c: Likewise.
57435 * sunrpc/rpc_scan.c: Likewise.
57436 * sunrpc/rpc_scan.h: Likewise.
57437 * sunrpc/rpc_svcout.c: Likewise.
57438 * sunrpc/rpc_tblout.c: Likewise.
57439 * sunrpc/rpc_util.c: Likewise.
57440 * sunrpc/rpc_util.h: Likewise.
57441 * sunrpc/rpcinfo.c: Likewise.
57442 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57443 * sunrpc/rpcsvc/key_prot.x: Likewise.
57444 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57445 * sunrpc/rpcsvc/mount.x: Likewise.
57446 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57447 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57448 * sunrpc/rpcsvc/rex.x: Likewise.
57449 * sunrpc/rpcsvc/rstat.x: Likewise.
57450 * sunrpc/rpcsvc/rusers.x: Likewise.
57451 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57452 * sunrpc/rpcsvc/spray.x: Likewise.
57453 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57454 * sunrpc/rtime.c: Likewise.
57455 * sunrpc/svc.c: Likewise.
57456 * sunrpc/svc_auth.c: Likewise.
57457 * sunrpc/svc_authux.c: Likewise.
57458 * sunrpc/svc_raw.c: Likewise.
57459 * sunrpc/svc_run.c: Likewise.
57460 * sunrpc/svc_simple.c: Likewise.
57461 * sunrpc/svc_tcp.c: Likewise.
57462 * sunrpc/svc_udp.c: Likewise.
57463 * sunrpc/svc_unix.c: Likewise.
57464 * sunrpc/svcauth_des.c: Likewise.
57465 * sunrpc/xcrypt.c: Likewise.
57466 * sunrpc/xdr.c: Likewise.
57467 * sunrpc/xdr_array.c: Likewise.
57468 * sunrpc/xdr_float.c: Likewise.
57469 * sunrpc/xdr_mem.c: Likewise.
57470 * sunrpc/xdr_rec.c: Likewise.
57471 * sunrpc/xdr_ref.c: Likewise.
57472 * sunrpc/xdr_sizeof.c: Likewise.
57473 * sunrpc/xdr_stdio.c: Likewise.
57474
9da4bb31
UD
57475 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57476 handling.
57477
bdaa77bc
AS
574782010-08-19 Andreas Schwab <schwab@redhat.com>
57479
57480 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57481
fe2f79db
LM
574822010-08-19 Luis Machado <luisgpm@br.ibm.com>
57483
57484 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57485 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57486 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57487 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57488 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57489 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57490 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57491 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57492 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57493 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57494 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57495 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57496 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57497 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57498
b9b42ee0
AB
574992010-07-26 Anton Blanchard <anton@samba.org>
57500
57501 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57502 * malloc/arena.c (heap_trim): Likewise.
57503
1c06ba31
UD
575042010-08-16 Ulrich Drepper <drepper@redhat.com>
57505
57506 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57507 here. Not...
57508 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57509 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57510
f8392f40
L
575112010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57512
57513 * sysdeps/i386/elf/Makefile: New file.
57514
3162f12e
AS
575152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57516
57517 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57518 from fanotify_init.
57519 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57520 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57521
28c90b2c
UD
575222010-08-15 Ulrich Drepper <drepper@redhat.com>
57523
57524 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57525 of strncasecmp_l.
1feccb6c 57526 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57527
ca6bb004
UD
575282010-08-14 Ulrich Drepper <drepper@redhat.com>
57529
e9f82e0d
UD
57530 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57531 strncase_l-nonascii.
57532 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57533 Add strncase_l-ssse3.
57534 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57535 * sysdeps/x86_64/strcmp.S: Likewise.
57536 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57537 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57538 * sysdeps/x86_64/strncase.S: New file.
57539 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57540 * sysdeps/x86_64/strncase_l.S: New file.
57541 * string/Makefile (strop-tests): Add strncasecmp.
57542 * string/test-strncasecmp.c: New file.
57543
57544 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57545 warning.
57546
ca6bb004
UD
57547 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57548 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57549
052fa7b3
AS
575502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57551
57552 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57553
962dba78
UD
575542010-08-12 Ulrich Drepper <drepper@redhat.com>
57555
57556 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57557 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57558 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57559
bebff237
AM
575602010-05-01 Alan Modra <amodra@gmail.com>
57561
57562 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57563 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57564 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57565 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57566 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57567 tidying. Don't tail-call __sigjmp_save for static lib.
57568 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57569 save location.
57570 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57571 (CALL_MCOUNT): Add eh info, and nop after bl.
57572 (TAIL_CALL_SYSCALL_ERROR): New macro.
57573 (PSEUDO_RET): Use it.
57574 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57575 Correct save location of integer regs and cr.
57576 (_dl_profile_resolve): Correct cr save location. Delete nops
57577 after bl when SHARED. Reduce cfi size a little by better
57578 placement of cfi directives.
57579 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57580 make a stack frame. Instead use parm save area as a temp.
57581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57582 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57584 Don't make a stack frame for parent, use parm save area.
57585 Increase child stack frame to 112 bytes. Don't save unused reg,
57586 and adjust reg usage. Set up cfi on error recovery and
57587 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57589 (__makecontext): Add dummy nop after jump to exit.
57590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57591 Use correct parm save area and cr save, reduce stack frame.
57592 Correct cfi for possible PSEUDO_RET frame setup.
57593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57594 Branch to local label emitted by PSEUDO_RET rather than
57595 __syscall_error.
57596
02637374
AS
575972010-08-12 Andreas Schwab <schwab@redhat.com>
57598
57599 [BZ #11904]
57600 * locale/programs/locale.c (print_assignment): New function.
57601 (show_locale_vars): Use it.
57602
c3e2f19b
UD
576032010-08-11 Ulrich Drepper <drepper@redhat.com>
57604
3cdaa6ad
UD
57605 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57606 field.
57607 (struct statfs64): Likewise.
57608 (_STATFS_F_FLAGS): Define.
57609 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57610 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57611 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57612 (ST_VALID): Define locally.
57613 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57614 __statvfs_getflags, use the provided value.
57615 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57616 __ASSUME_STATFS_F_FLAGS.
57617
754f7da3
UD
57618 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57619
10b3bedc
UD
57620 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57621 Add sys/fanotify.h.
57622 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57623 fanotify_mask for GLIBC_2.13.
57624 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57625 fanotify_init and fanotify_mark.
57626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57627 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57628
c08fb0d7
UD
57629 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57630 Add prlimit.
57631 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57632 prlimit64 for GLIBC_2.13.
57633 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57634 prlimit64.
57635 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57636 syscall.
57637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57638 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57639 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57640 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57641 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57642 add prlimit alias.
57643 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57644
15bac72b
UD
57645 [BZ #11903]
57646 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57647 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57648
c3e2f19b
UD
57649 * nss/Makefile: Add rules to build and run tst-nss-test1.
57650 * shlib-versions: Add entry for libnss_test1.
57651 * nss/nss_test1.c: New file.
57652 * nss/tst-nss-test1.c: New file.
57653
57654 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57655 (__nss_configure_lookup): Set appropriate entry in
57656 __nss_configure_lookup to true.
57657 * nss/nsswitch.h: Define enum with indeces of databases in
57658 databases and __nss_database_custom arrays. Declare
57659 __nss_database_custom.
57660 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57661 to avoid using nscd when custom rules are installed.
57662 * nss/getXXbyYY_r.c: Likewise.
57663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57664
57665 * nss/nss_files/files-parse.c: Whitespace fixes.
57666
f15ce4d8
UD
576672010-08-09 Ulrich Drepper <drepper@redhat.com>
57668
57669 [BZ #11883]
57670 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57671 * posix/fnmatch_loop.c: Likewise.
57672
d22e4cc9
AK
576732010-07-17 Andi Kleen <ak@linux.intel.com>
57674
57675 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57676 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57677 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57678 * Versions.def [GLIBC_2.13]: Add.
57679
805bc17d
UD
576802010-08-06 Ulrich Drepper <drepper@redhat.com>
57681
57682 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57683 Also fail if tpwd after pwuid call is NULL.
57684
5a42321d
ST
576852010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57686
57687 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57688 when converting to ms.
57689
fd3ebeda
ST
576902010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57691
57692 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57693 EOPNOTSUPP errors with ENOTTY.
57694 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57695 EOPNOTSUPP errors with ENOTTY.
57696
73507d3a
UD
576972010-07-31 Ulrich Drepper <drepper@redhat.com>
57698
57699 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57700 Add strcasecmp_l-ssse3.
57701 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57702 strcasecmp.
57703 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57704 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57705 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57706
fe36dd02
UD
577072010-07-30 Ulrich Drepper <drepper@redhat.com>
57708
66f6765a
UD
57709 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57710
42e08a54
UD
57711 * string/Makefile (strop-tests): Add strcasecmp.
57712 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57713 strcasecmp_l-nonascii.
57714 (gen-as-const-headers): Add locale-defines.sym.
57715 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57716 * sysdeps/x86_64/strcasecmp.S: New file.
57717 * sysdeps/x86_64/strcasecmp_l.S: New file.
57718 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57719 * sysdeps/x86_64/locale-defines.sym: New file.
57720 * string/test-strcasecmp.c: New file.
57721
fe36dd02
UD
57722 * string/test-strcasestr.c: Test both ends of the range of characters.
57723 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57724
48cbc0d6
RM
577252010-07-29 Roland McGrath <roland@redhat.com>
57726
76e6d6bc 57727 [BZ #11856]
48cbc0d6
RM
57728 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57729
880113d9
UD
577302010-07-27 Ulrich Drepper <drepper@redhat.com>
57731
57732 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57733 for ld.so.
57734
deb9cabb
AS
577352010-07-27 Andreas Schwab <schwab@redhat.com>
57736
57737 * manual/memory.texi (Malloc Tunable Parameters): Document
57738 M_PERTURB.
57739
1c7570ff
RM
577402010-07-26 Roland McGrath <roland@redhat.com>
57741
57742 [BZ #11840]
57743 * configure.in (-fgnu89-inline check): Set and substitute
57744 gnu89_inline, not libc_cv_gnu89_inline.
57745 * configure: Regenerated.
57746 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57747
24fb0f88
UD
577482010-07-26 Ulrich Drepper <drepper@redhat.com>
57749
57750 * string/test-strnlen.c: New file.
57751 * string/Makefile (strop-tests): Add strnlen.
57752 * string/tester.c (test_strnlen): Add a few more test cases.
57753 * string/tst-strlen.c: Better error reporting.
57754
57755 * sysdeps/x86_64/strnlen.S: New file.
57756
8e96b93a
UD
577572010-07-24 Ulrich Drepper <drepper@redhat.com>
57758
57759 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57760 lower-latency instructions.
57761
dbc676d4
UD
577622010-07-23 Ulrich Drepper <drepper@redhat.com>
57763
57764 * string/test-strcasestr.c: New file.
57765 * string/test-strstr.c: New file.
57766 * string/Makefile (strop-tests): Add strstr and strcasestr.
57767 * string/str-two-way.h: Don't undefine MAX.
57768 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57769
f6a31e0e
AS
577702010-07-21 Andreas Schwab <schwab@redhat.com>
57771
57772 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57773 strcasestr-nonascii.
57774 (CFLAGS-strcasestr-nonascii.c): Define.
57775 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57776 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57777 Remove unused attribute.
57778
5dbc3b6c
RM
577792010-07-20 Roland McGrath <roland@redhat.com>
57780
57781 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57782 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57783 ld.so.cache was broken. With it, there is no way to disable dsocaps
57784 like LD_HWCAP_MASK can disable hwcaps.
57785
23d101d8
EPM
577862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57787
57788 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57789
cc9f2e47
UD
577902010-07-16 Ulrich Drepper <drepper@redhat.com>
57791
57792 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57793 call in strcasestr.
57794 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57795 __strcasestr_sse42_nonascii.
57796 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57797 strcasestr-nonascii.c.
57798 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57799
77c1b069
LM
578002010-06-15 Luis Machado <luisgpm@br.ibm.com>
57801
57802 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57803 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57804 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57805 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57806
440566c3
UD
578072010-07-09 Ulrich Drepper <drepper@redhat.com>
57808
57809 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57810 fcntl.
57811
5be9d05d
AS
578122010-07-06 Andreas Schwab <schwab@redhat.com>
57813
c30b7ee2 57814 [BZ #11577]
5be9d05d
AS
57815 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57816 dl_signal_cerror.
57817
8a492a67
UD
578182010-07-06 Ulrich Drepper <drepper@redhat.com>
57819
57820 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57821 _PC_PIPE_BUF using F_GETPIPE_SZ.
57822
713df3d5
RM
578232010-07-05 Roland McGrath <roland@redhat.com>
57824
57825 * manual/arith.texi (Rounding Functions): Fix rint description
57826 implicit in round description.
57827
702e8f14
UD
578282010-07-02 Ulrich Drepper <drepper@redhat.com>
57829
57830 * elf/Makefile: Fix linking for a few tests to make recent linker
57831 happy.
57832
52ed8be9
AS
578332010-06-30 Andreas Schwab <schwab@redhat.com>
57834
57835 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57836 $(common-objpfx)libc_nonshared.a.
57837
f47c9a11
LM
578382010-06-21 Luis Machado <luisgpm@br.ibm.com>
57839
57840 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57841 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57842 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57843 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57844 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57845 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57846 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57847 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57862 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57863 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57864 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57865 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57866 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57867 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57868 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57869 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57870 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57871 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57872 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57873 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57888
6fb8cbcb
L
578892010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57890
57891 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57892 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57893 * string/memmove.c (memmove): Renamed to ...
57894 (MEMMOVE): ...this. Default to memmove.
57895 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57896 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57897 (END_CHK): Define.
57898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57899 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57900 mempcpy-ssse3-back memmove-ssse3-back.
57901 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57902 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57903 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57904 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57905 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57906 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57907 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57908 * sysdeps/x86_64/multiarch/memmove.c: New file.
57909 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57910 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57911 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57912 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57913 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57914 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57915 Define.
57916 (index_Fast_Copy_Backward): Define.
57917 (HAS_ARCH_FEATURE): Define.
57918 (HAS_FAST_REP_STRING): Define.
57919 (HAS_FAST_COPY_BACKWARD): Define.
57920
4e733bac 579212010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57922
57923 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57924 Restore proper fallback handling.
57925
63c4ed22
UD
579262010-06-19 Ulrich Drepper <drepper@redhat.com>
57927
ac2b484c
UD
57928 [BZ #11701]
57929 * posix/group_member.c (__group_member): Correct checking loop.
57930
63c4ed22
UD
57931 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57932 OOM in getpwuid_r correctly. Return error number when the caller
57933 should return, otherwise -1.
57934 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57935 call returning > 0 value.
57936 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57937
765ade4b
AS
579382010-06-07 Andreas Schwab <schwab@redhat.com>
57939
57940 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57941 libc_nonshared.a from targets in modules-names.
57942
80da2e09
KS
579432010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57944
57945 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57946 requires it.
57947
158db122
LM
579482010-06-10 Luis Machado <luisgpm@br.ibm.com>
57949
57950 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57951 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57952 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57953 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57954
caa78cf8
AS
579552010-06-02 Andreas Schwab <schwab@redhat.com>
57956
57957 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57958
b2ef2c01
UD
579592010-06-14 Ulrich Drepper <drepper@redhat.com>
57960
57961 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57962 and F_GETPIPE_SZ.
57963 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57964 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57966 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57967 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57968 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57969
fbd643b6
RM
579702010-06-14 Roland McGrath <roland@redhat.com>
57971
57972 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57973
f32f2869
JJ
579742010-06-07 Jakub Jelinek <jakub@redhat.com>
57975
57976 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57977 __REDIRECT followed by __THROW.
57978 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57979 * posix/getopt.h (getopt): Likewise.
57980
2a50c078
EPM
579812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57982
57983 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57984 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57985 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57986 in AT_FLAGS.
57987 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57988 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57989
eb5ad2eb
LM
579902010-05-28 Luis Machado <luisgpm@br.ibm.com>
57991
57992 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57993
3c88fe1e
L
579942010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57995
57996 [BZ #11640]
57997 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57998 Properly check family and model.
57999
d2f73151
TY
580002010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58001
58002 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58003
ebd2e13d
LM
580042010-05-24 Luis Machado <luisgpm@br.ibm.com>
58005
58006 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58007
b32b8b45
UD
580082010-05-21 Ulrich Drepper <drepper@redhat.com>
58009
58010 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58011 symbol reference.
58012
9acbe24d
AS
580132010-05-19 Andreas Schwab <schwab@redhat.com>
58014
58015 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58016 symbol reference.
58017
f0ccf6ea
AS
580182010-05-21 Andreas Schwab <schwab@redhat.com>
58019
3d04ff3a
AS
58020 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58021 and internal_recvmmsg.
58022 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58023 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58024 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58025 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58026
f0ccf6ea
AS
58027 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58028 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58029 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58030
5b08ac57
AS
580312010-05-20 Andreas Schwab <schwab@redhat.com>
58032
58033 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58034
4828935d
LM
580352010-05-17 Luis Machado <luisgpm@br.ibm.com>
58036
58037 POWER7 optimizations.
58038 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58039 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58040
373d545e
UD
580412010-05-19 Ulrich Drepper <drepper@redhat.com>
58042
58043 * version.h: Update for 2.13 development version.
58044
21a2b1ae
AS
580452010-05-12 Andrew Stubbs <ams@codesourcery.com>
58046
58047 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58048 exceptions. Return 0.
58049
3f7dcb2b
RM
580502010-05-07 Roland McGrath <roland@redhat.com>
58051
58052 * elf/ldconfig.c (main): Add a const.
58053
5f24d53a 580542010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 58055
a160f8d8
UD
58056 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58057 (args_options): Add no-idn option.
58058 (ahosts_keys_int): Add idn_flags to ai_flags.
58059 (parse_option): Handle 'i' option to clear idn_flags.
58060
5f24d53a
UD
58061 * malloc/malloc.c (_int_free): Possible race in the most recently
58062 added check. Only act on the data if no current modification
58063 happened.
265bb1ce
UD
58064
58065See ChangeLog.17 for earlier changes.