]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add a testcase for copy reloc against protected data
[thirdparty/glibc.git] / ChangeLog
CommitLineData
83569fb8
L
12015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #17711]
4 * config.make.in (have-protected-data): New.
5 * configure.ac: Check linker support for protected data symbol.
6 * configure: Regenerated.
7 * elf/Makefile (modules-names): Add tst-protected1moda and
8 tst-protected1modb if $(have-protected-data) is yes.
9 (tests): Add tst-protected1a and tst-protected1b if
10 $(have-protected-data) is yes.
11 ($(objpfx)tst-protected1a): New.
12 ($(objpfx)tst-protected1b): Likewise.
13 (tst-protected1modb.so-no-z-defs): Likewise.
14 * elf/tst-protected1a.c: New file.
15 * elf/tst-protected1b.c: Likewise.
16 * elf/tst-protected1mod.h: Likewise.
17 * elf/tst-protected1moda.c: Likewise.
18 * elf/tst-protected1modb.c: Likewise.
19
62da1e3b
L
202015-03-31 H.J. Lu <hongjiu.lu@intel.com>
21
22 [BZ #17711]
23 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
24 indicates it is called from do_lookup_x on relocation against
25 protected data, skip the data definion in the executable from
26 copy reloc.
27 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
28 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
29 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
30 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
32 otherwise to 0.
33 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
35 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
36 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
39
675ddb71
MG
402015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
41
42 * sysdeps/nptl/pthread.h: Remove duplicate definition of
43 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
44
4d611e12
MG
452015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
46
47 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
48 THREAD_SETMEM_NC.
49 * sysdeps/x86_64/nptl/tls.h: Ditto.
50
7285eb53
RM
512015-03-27 Roland McGrath <roland@hack.frob.com>
52
53 * dlfcn/tststatic.c (main): Converted to ...
54 (do_test): ... this.
55 (TEST_FUNCTION): New macro.
56 Include test-skeleton.c.
57
19a6a3ac
AM
582015-03-26 Alan Modra <amodra@gmail.com>
59
60 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
61 Don't segfault if ifunc resolver returns a NULL. Do set plt to
62 zero for undefined weak.
63 (elf_machine_plt_conflict): Similarly.
64
a9fe4c5a
JM
652015-03-25 Joseph Myers <joseph@codesourcery.com>
66
efd5b641
JM
67 * math/auto-libm-test-in: Add more tests of acosh, asinh and
68 atanh.
69 * math/auto-libm-test-out: Regenerated.
70 * sysdeps/i386/fpu/libm-test-ulps: Update.
71 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72
e9b10151
JM
73 * math/auto-libm-test-in: Add another test of asin.
74 * math/auto-libm-test-out: Regenerated.
75 * sysdeps/i386/fpu/libm-test-ulps: Update.
76 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77
9fa55373
JM
78 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
79 Remove macro.
80 (LLL_EBX_REG): Likewise.
81 (LLL_ENTER_KERNEL): Likewise.
82
38755f14
JM
83 * math/auto-libm-test-in: Add more tests of asin.
84 * math/auto-libm-test-out: Regenerated.
85 * sysdeps/i386/fpu/libm-test-ulps: Update.
86 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87
a9fe4c5a
JM
88 [BZ #18138]
89 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
90 libc_do_syscall_args): New structure.
91 (INTERNAL_SYSCALL_MAIN_0): New macro.
92 (INTERNAL_SYSCALL_MAIN_1): Likewise.
93 (INTERNAL_SYSCALL_MAIN_2): Likewise.
94 (INTERNAL_SYSCALL_MAIN_3): Likewise.
95 (INTERNAL_SYSCALL_MAIN_4): Likewise.
96 (INTERNAL_SYSCALL_MAIN_5): Likewise.
97 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
98 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
99 Replace conditional definitions by conditional definitions of ....
100 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
101 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
102 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
103 (libpthread-sysdep_routines): Add libc-do-syscall.
104 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
105 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
106 to __NR_futex not 240.
107
afcd9480
AM
1082015-03-25 Alan Modra <amodra@gmail.com>
109
110 * NEWS: Advertise TLS optimization.
111 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
112 (DT_PPC_NUM): Increment.
113 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
114 (CHECK_STATIC_TLS): Use here.
115 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
116 TLS descriptors.
117 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
118 * sysdeps/powerpc/dl-tls.c: New file.
119 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
120 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
121 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
122 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
126
da9f3334
AM
1272015-03-25 Alan Modra <amodra@gmail.com>
128
129 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
130 for overlapping .opd entries" to "support...".
131 * sysdeps/powerpc/powerpc64/configure: Regenerate
132
bc899ea0
JM
1332015-03-25 Joseph Myers <joseph@codesourcery.com>
134
8d643971
JM
135 * math/auto-libm-test-in: Add more tests of acos.
136 * math/auto-libm-test-out: Regenerated.
137 * sysdeps/i386/fpu/libm-test-ulps: Update.
138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
139
bc899ea0
JM
140 * math/auto-libm-test-in: Add more tests of expm1.
141 * math/auto-libm-test-out: Regenerated.
142 * sysdeps/i386/fpu/libm-test-ulps: Update.
143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
144
7c84a504
JM
1452015-03-24 Joseph Myers <joseph@codesourcery.com>
146
239ed6f3
JM
147 * math/auto-libm-test-in: Add more tests of cosh and sinh.
148 * math/auto-libm-test-out: Regenerated.
149 * sysdeps/i386/fpu/libm-test-ulps: Update.
150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
151
a737e826
JM
152 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
154
7c84a504
JM
155 * math/auto-libm-test-in: Add more tests of log2.
156 * math/auto-libm-test-out: Regenerated.
157 * sysdeps/i386/fpu/libm-test-ulps: Update.
158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
159
7e9c7b9b
RM
1602015-03-23 Roland McGrath <roland@hack.frob.com>
161
162 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
163 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
164 _IO_IS_APPENDING bit in READ_WRITE instead.
165
98734cc5
FW
1662015-03-23 Florian Weimer <fweimer@redhat.com>
167
168 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
169 (__determine_cpumask_size): Replace extend_alloca with a
170 variable-length array. Do not treat res == 0 as an error.
171
2b028564
FW
1722015-03-23 Florian Weimer <fweimer@redhat.com>
173
174 [BZ #18100]
175 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
176 and integer overflow.
177 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
178 (main): Add integer overflow tests.
179 * manual/pattern.texi (Calling Wordexp): Document additional use
180 for WRDE_SYNTAX.
181
59261ad3
AM
1822015-03-23 Alan Modra <amodra@gmail.com>
183
184 * config.h.in: Remove HAVE_ASM_PPC_REL16.
185 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
186 and false branch of conditional.
187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
188 Likewise.
189
d583531a
ST
1902015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
191
192 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
193 libc-modules.h
868df0f9
ST
194 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
195 unused declaration of _hurd_intr_rpc_msg_in_trap.
196 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
197 defined instead of whether it is non-zero.
198 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
199 input constraint instead of both input and output constraint. Use ecx
200 clobber instead of %ecx.
201 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
202 mutex_unlock): Use a statement expression instead of an expression list.
203 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
204 type to vm_size_t instead of vm_address_t.
205 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
206 defined instead of whether it is non-zero.
207 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
208 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
209 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
210 comparisons with mapaddr.
211 * nscd/nscd-client.h: Include <time.h>.
212 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
213 9th parameter to __vm_region instead of int.
661a7dba 214 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
215 * scripts/check-local-headers.sh (exclude): Add device/,
216 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
217 cthreads.h.
d583531a 218
298e5d56
RM
2192015-03-19 Roland McGrath <roland@hack.frob.com>
220
221 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
222 to account for alignment padding.
223 * sysdeps/arm/memmove.S: Likewise.
224
becb26b8
CM
2252015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
226
227 * sysdeps/unix/sysv/linux/generic/README: New file.
228
c2f5813a
JM
2292015-03-18 Joseph Myers <joseph@codesourcery.com>
230
231 [BZ #18138]
232 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
233 (futex_abstimed_wait)
234 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
235 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
236 of lll_futex_timed_wait.
237
ed6b0fe7
BH
2382015-03-18 Brad Hubbard <bhubbard@redhat.com>
239
240 [BZ #17542]
241 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
242
f8aeae34
AO
2432015-03-17 Alexandre Oliva <aoliva@redhat.com>
244
245 [BZ #17090]
246 [BZ #17620]
247 [BZ #17621]
248 [BZ #17628]
249 * NEWS: Update.
250 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
251 entries with Static TLS too. Skip entries past the end of the
252 allocated DTV, from Alan Modra.
253 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
254 Static TLS DTV entry set up from...
255 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
256 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
257 * nptl/allocatestack.c (init_one_static_tls): ... and here...
258 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
259 for Static TLS.
260 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
261 that the slot we find is associated with the given map before
262 using its generation count.
263 * nptl_db/db_info.c: Include ldsodefs.h.
264 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
265 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
266 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
267 (link_map::l_tls_offset): New struct field.
268 (dtv_t::counter): Likewise.
269 (rtld_global): New struct.
270 (_rtld_global): New rtld variable.
271 (dl_tls_dtv_slotinfo_list): New rtld global field.
272 (dtv_slotinfo_list): New struct.
273 (dtv_slotinfo): Likewise.
274 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
275 (td_lookup): Rename to...
276 (td_mod_lookup): ... this. Use new mod parameter instead of
277 LIBPTHREAD_SO.
278 * nptl_db/td_thr_tlsbase.c: Include link.h.
279 (dtv_slotinfo_list, dtv_slotinfo): New functions.
280 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
281 addresses even if the DTV is out of date or missing them.
282 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
283 index zero-length arrays.
284 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
285 (td_lookup): Make it a macro implemented in terms of...
286 (td_mod_lookup): ... this declaration.
287 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
288 (DB_MAIN_VARIABLE): Likewise.
289
b97eb2bd
L
2902015-03-16 H.J. Lu <hongjiu.lu@intel.com>
291
292 [BZ #18134]
293 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
294
cb219290
PE
2952015-03-15 Paul Eggert <eggert@cs.ucla.edu>
296
297 * stdlib/setenv.c (__add_to_environ): Revert previous change.
298
a3905fd9
AS
2992015-03-14 Andreas Schwab <schwab@linux-m68k.org>
300
301 [BZ #18128]
302 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
303 (atomic_add, atomic_increment_and_test)
304 (atomic_decrement_and_test): Fix 64-bit arithmetic.
305
2ecccaed
PE
3062015-03-13 Paul Eggert <eggert@cs.ucla.edu>
307
308 * stdlib/setenv.c (__add_to_environ):
309 Dump core quickly if setenv (..., NULL, ...) is called.
310
cdaf79d0
RM
3112015-03-13 Roland McGrath <roland@hack.frob.com>
312
313 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
314 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
315 all the necessary asm magic in one place.
316 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
317 using those.
318
cf9313e7
CD
3192015-03-13 Carlos O'Donell <carlos@redhat.com>
320
321 [BZ #14906]
322 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
323 traced file mtime. Use consistent log message.
324 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
325 (register_traced_file): Call install_watches. Always set mtime.
326 (invalidate_cache): Iterate over all trace files. Call install_watches.
327 (inotify_check_files): Don't inline. Handle watching parent
328 directories and configuration file movement in and out.
329 (handle_inotify_events): New function.
330 (main_loop_poll): Call handle_inotify_events.
331 (main_loop_epoll): Likewise.
332 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
333 (struct traced_file): Use array of inotify fds. Add parent directory,
334 and basename.
335 (struct database_dyn): Remove unused file_mtime.
336 (init_traced_file): New inline function.
337 (define_traced_file): New macro.
338 * nss/nss_db/db-init.c: Use define_traced_file.
339 (_nss_db_init): Use init_traced_file.
340 * nss/nss_files/files-init.c: Use define_traced_file.
341 (_nss_files_init): Use init_traced_file.
342
7d67a196
JM
3432015-03-12 Joseph Myers <joseph@codesourcery.com>
344
345 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
346 [_LIBC]: Do not include <stdlib.h>.
347 [!_LIBC] (abort): Remove declaration.
348 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
349 _FP_STATIC_ASSERT instead of conditionally calling abort.
350 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
351 (_FP_EXTEND_CNAN): Likewise.
352 (FP_TRUNC): Likewise.
353 (__FP_CLZ): Likewise.
354 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
355
af85ebcd
YS
3562015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
357
358 * manual/string.texi (XPG basename): Fix prototype.
359
2e807f29
SL
3602015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
361
362 [BZ #18080]
363 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
364 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
365 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
366 (__setcontext): Likewise.
367 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
368 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
369 Call rt_sigprocmask syscall one time to set new signal mask
370 and retrieve the current signal mask instead of two calls.
371 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
372 (__swapcontext): Likewise.
373 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
374 * stdlib/tst-setcontext2.c: New file.
375
1b2bebe6
SL
3762015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
377
378 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
379
6a1cf708
AJ
3802015-03-11 Aurelien Jarno <aurelien@aurel32.net>
381
382 [BZ #18093]
383 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
384 the wrong size.
385
a2d4cf72
PP
3862015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
387
388 [BZ #18043]
389 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
390
5ca10a0c
AZ
3912015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
392
393 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
394 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
395 Remove define.
396 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
397 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
398 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
399 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
400 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
401 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
402 define.
403 * nptl_db/td_symbol_list.c (td_lookup): Remove
404 HAVE_ASM_GLOBAL_DOT_NAME code.
405 * sysdeps/powerpc/powerpc64/configure.ac: Remove
406 HAVE_ASM_GLOBAL_DOT_NAME check.
407 * sysdeps/powerpc/powerpc64/configure: Regenerate.
408 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
409 (DOT_LABEL): Remove define.
410 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
411 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
412 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
413 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
414 (__TLS_GET_ADDR): Likewise.
415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
416 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
417
e4363cfb
CD
4182015-03-11 Carlos O'Donell <carlos@redhat.com>
419
420 [BZ #18111]
421 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
422 (_FPU_SETCW): Initialize cw from fpsr before storing.
423 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
424 (fesetexceptflag): Rewrite using fpu_control.h.
425 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
426
fae1aa8d
JDA
4272015-03-11 John David Anglin <danglin@gcc.gnu.org>
428
429 [BZ #18110]
430 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
431 asms.
432 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
433
068a6274
JM
4342015-03-11 Joseph Myers <joseph@codesourcery.com>
435
436 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
437 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
438 abort.
439 (_FP_FMA): Likewise.
440 (_FP_DIV): Likewise.
441
d3821ab0
RM
4422015-03-10 Roland McGrath <roland@hack.frob.com>
443
44a6213c
RM
444 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
445 with 0 in that case.
446 * Makefile (summarize-tests): New canned sequence, factored out of
447 commands for targets tests and xtests. Display summary lines that
448 don't start with PASS: or XFAIL: rather than ones that do start with
449 ERROR: or FAIL:. Make the commands fail if any summary lines fail
450 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
451 do start with ERROR: or FAIL:.
452 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
453 (except for [$(build-shared) = yes]).
454 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
455 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
456 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
457 * nptl/Makefile: Revert 2015-03-04 changes.
458 [$(CXX) empty] (tests-unsupported): New variable.
459 * debug/Makefile: Likewise.
460
d3821ab0
RM
461 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
462 gnulib file. Replace __attribute with __attribute__ throughout.
463
85ca85ae
CD
4642015-03-10 Carlos O'Donell <carlos@redhat.com>
465
466 * sysdeps/hppa/fpu/libm-test-ulps: Update.
467
6411f81d
JM
4682015-03-10 Joseph Myers <joseph@codesourcery.com>
469
470 [BZ #18104]
471 * math/auto-libm-test-in: Add another test of pow.
472 * math/auto-libm-test-out: Regenerated.
473
d421868b
AZ
4742015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
475
476 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
477 $(config-cflags-nofma).
478
a2f8be9c
JM
4792015-03-10 Joseph Myers <joseph@codesourcery.com>
480
481 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
482 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
483 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
484 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
485 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
486 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
487 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
488 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
489 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
490 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
491 Add comment on closing #endif.
492
01d032e0
PP
4932015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
494
495 * posix/wordexp.c (CHAR_IN_SET): New macro.
496 (parse_param): Use it.
497
d439bc56
AZ
4982015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
499
500 * sysdeps/powerpc/fpu/libm-test-ulps: update.
501
5f85a4bf
PP
5022015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
503
504 [BZ #18043]
505 * posix/wordexp.c (parse_param): Fix buffer overflow.
506 * posix/wordexp-test.c (test_case): Add test case.
507
f8ba70e9
PP
5082015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
509
510 [BZ #18042]
511 * posix/wordexp.c (parse_backtick): Fix off-by-one.
512 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
513
36103ba2
PP
5142015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
515
516 [BZ #18043]
517 * posix/wordexp-test.c (test_case): Add test for BZ #18043
518 (do_bz18043): Delete.
519 (at_page_end): New.
520 (testit): Refactor to have words at the edge of unreadable page.
521
18d26750
PP
5222015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
523
524 [BZ #16734]
525 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
526 Cleanup read-only streams as well.
527 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
528
9f95dc5d
ST
5292015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
530
531 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
532 <bits/libc-lockP.h>
533
b838844b
JM
5342015-03-07 Joseph Myers <joseph@codesourcery.com>
535
536 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
537 on [__KERNEL__].
538 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
539 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
540 * soft-fp/op-common.h (_FP_DECL): Likewise.
541
e0ed2fb4
L
5422015-03-06 H.J. Lu <hongjiu.lu@intel.com>
543
544 * elf/ifuncdep2.c (global): Replace
545 __attribute__((visibility("protected"))) with
546 asm (".protected global").
547 * elf/ifuncmod1.c (global): Likewise.
548 * elf/ifuncmod5.c (global): Likewise.
549
fa9dda64
JM
5502015-03-06 Joseph Myers <joseph@codesourcery.com>
551
552 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
553 <asm/sfp-machine.h> instead of <sfp-machine.h>.
554
4acc27ed
RM
5552015-03-06 Roland McGrath <roland@hack.frob.com>
556
557 * manual/install.texi (Configuring and compiling):
558 Document test-wrapper-env-only.
559 * INSTALL: Regenerated.
560
895c30cb
PP
5612015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
562
563 [BZ #18043]
564 * posix/wordexp.c (parse_param): Fix buffer overflow.
565 * posix/wordexp-test.c (do_bz18043): Add test case.
566
5df56c7e
VB
5672015-03-06 Vincent Bernat <vincent@bernat.im>
568
569 * time/tst-strptime2.c (do_test): Ensure failing tests are
570 reported correctly.
571 * time/tst-strptime3.c (do_test): Likewise.
572
1cdf2ea1
ST
5732015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
574
575 Fix aio_error thread-safety.
1cdf2ea1
ST
576 * sysdeps/pthread/aio_error.c: New file
577 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
578 synchronization.
579
d176a41a
FW
5802015-03-06 Florian Weimer <fweimer@redhat.com>
581
582 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
583 (group_number, vfprintf): Use it.
1597b744
FW
584 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
585 (JUMP, REF): Use it.
586 (WORK_BUFFER_SIZE): New enum constant.
587 (process_arg, vfprintf): Use it.
d176a41a 588
7e7af349
RJ
5892015-03-06 Rical Jasan <ricaljasan@pacific.net>
590
591 * manual/errno.texi (Error Messages): Complete example function
592 by adding missing #define.
593 (program_invocation_name): Add statement indicating GNU
594 extension and reference which header file declares the variable.
595 (program_invocation_short_name): Likewise.
596
4ca8ddfb
MF
5972015-03-06 Mike Frysinger <vapier@gentoo.org>
598
599 * manual/errno.texi (Error Messages): Delete strerror ISO C89
600 compatibility note.
601
9162c01d
RM
6022015-03-05 Roland McGrath <roland@hack.frob.com>
603
604 * Makeconfig (test-wrapper-env-only): New variable.
605 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
606 then use that with $(test-wrapper-env-only) rather than using
607 $(test-wrapper-env) $(run-program-env) $($*-ENV).
608
209826bc
L
6092015-03-05 H.J. Lu <hongjiu.lu@intel.com>
610
611 [BZ #18082]
612 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
613 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
614 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
615 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
616 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
617 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
618 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
619 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
620 Likewise.
621 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
622 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
623 Likewise.
624 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
625 Likewise.
626 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
627 Likewise.
628 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
629 Likewise.
630 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
631 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
632 Likewise.
633 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
634 Likewise.
635 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
636 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
637
2cfe32bc
RM
6382015-03-04 Roland McGrath <roland@hack.frob.com>
639
8bff5aab
RM
640 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
641 (ETH_ALEN): New macro.
642 (struct ether_addr): Use it for length of ether_addr_octet.
643
2752f338
RM
644 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
645 (setdb): Don't call __nss_configure_lookup for "rpc".
646 (do_test): Don't call test_rpc.
647 (output_rpcent, test_rpc): Functions moved ...
648 * sunrpc/test-rpcent.c: ... to this new file.
649 * sunrpc/Makefile (tests): Add it.
650
2cfe32bc
RM
651 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
652 __xpg_sigpause.
653 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
654 * nptl/tst-signal6.c: Likewise.
655 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
656 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
657
e4693aa7
RM
658 * configure.ac (libc_cv_cxx_link_ok): New check.
659 Reset CXX to empty if it fails to link.
660 * configure: Regenerated.
661 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
662 bug-atexit3-lib only if $(CXX) is nonempty.
663 * nptl/Makefile (tests): Likewise for tst-cancel24.
664 (tests, tests-static): Likewise for tst-cancel24-static.
665 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
666 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
667 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
668 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 669
8e2e833a
AS
6702015-03-04 Andreas Schwab <schwab@suse.de>
671
672 [BZ #17631]
673 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
674 for non-GCC compilers.
675 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
676 Likewise.
677
85b29045
AZ
6782015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
679
680 [BZ #17776]
681 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
682 integer before bitwise and assembly operations.
683 (feclearexcept): Likewise.
684 * math/test-fenvinline.c: New file.
685 * math/Makefile: Add test-fenvinline test.
686
a0af371c
AM
6872015-03-03 Alan Modra <amodra@gmail.com>
688
689 [BZ #16512]
690 * scripts/localplt.awk: Strip off symbol version.
691 * NEWS: Mention bug fix.
692
47465629
RM
6932015-03-02 Roland McGrath <roland@hack.frob.com>
694
695 * sysdeps/pthread/timer_routines.c
696 (timer_free_list, thread_free_list, thread_active_list): Make static.
697
6d08b022
JM
6982015-03-02 Joseph Myers <joseph@codesourcery.com>
699
700 [BZ #17779]
701 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
702 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
703 Undefine.
704 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
705 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
706 Likewise.
707 * sysdeps/unix/sysv/linux/sh/kernel-features.h
708 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
709 Likewise.
710
c2c6d39f
PP
7112015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
712
713 [BZ #18036]
714 * posix/fnmatch_loop.c (END): Detect invalid pattern.
715 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
716
e8b6be00
AS
7172015-03-02 Andreas Schwab <schwab@suse.de>
718
719 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
720 variable name.
721
1a2d98af
FW
7222015-03-02 Florian Weimer <fweimer@redhat.com>
723
724 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
725 Return error status.
726
e7f07af5
AO
7272015-02-27 Alexandre Oliva <aoliva@redhat.com>
728
729 [BZ #15969]
730 * locale/findlocale.c (_nl_find_locale): Introduce const
731 version of loc_name and drop unsafe type casts.
732
c7b19ca9
RM
7332015-02-27 Roland McGrath <roland@hack.frob.com>
734
735 * dlfcn/tststatic2.c (main): Converted to ...
736 (do_test): ... this.
737 (TEST_FUNCTION): New macro.
738 Include test-skeleton.c.
739
ef4ad06f
L
7402015-02-27 H.J. Lu <hongjiu.lu@intel.com>
741
742 [BZ #17711]
743 * elf/Makefile (tests): Add vismain only if PIE is enabled.
744 (tests-pie): Add vismain.
745 (CFLAGS-vismain.c): New.
746 * elf/vismain.c: Add comments for PIE requirement.
747
2ca725c5
JM
7482015-02-27 Joseph Myers <joseph@codesourcery.com>
749
750 [BZ #18046]
751 [BZ #18047]
752 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
753 0x1p-56L as threshold for just returning the argument.
754 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
755 0x1p-32L as threshold for just returning the argument.
756 * math/auto-libm-test-in: Add more tests of atanh.
757 * math/auto-libm-test-out: Regenerated.
758 * sysdeps/i386/fpu/libm-test-ulps: Update.
759 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
760
af96be34
WD
7612015-02-27 Wilco Dijkstra wdijkstr@arm.com
762
763 * string/bcopy.c (bcopy): Call memmove for performance.
764
ddcf6798
WD
7652015-02-27 Wilco Dijkstra wdijkstr@arm.com
766
767 * string/bzero.c (__bzero): Call memset for performance.
768
49f476f4
JDA
7692015-02-27 John David Anglin <dave.anglin@bell.net>
770
b42e14ff 771 [BZ #18068]
49f476f4
JDA
772 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
773 to 00100000.
774
f8ab5d38
JM
7752015-02-27 Joseph Myers <joseph@codesourcery.com>
776
777 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
778
380bd0fd
JM
7792015-02-26 Joseph Myers <joseph@codesourcery.com>
780
31331a07
JM
781 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
782 (__kernel_standard): Use CSTR macro when setting exc.name.
783 * sysdeps/ieee754/Makefile [$(subdir) = math]
784 (CFLAGS-k_standard.c): Remove variable.
785
09220e66
JM
786 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
787 setting p and q from "else if" to "else".
788 (qzero): Likewise.
789 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
790 (qone): Likewise.
791 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
792 (qzerof): Likewise.
793 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
794 (qonef): Likewise.
795 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
796 (qzero): Likewise.
797 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
798 (qone): Likewise.
799
1d9ab20c
JM
800 [BZ #18038]
801 [BZ #18039]
802 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
803 return pi/2 for arguments below 0x1p-113L.
804 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
805 return pi/2 for arguments below 0x1p-106L.
806 * math/auto-libm-test-in: Add more tests of acos.
807 * math/auto-libm-test-out: Regenerated.
808
ec0ce0d3
JM
809 [BZ #16351]
810 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
811 (MO): New macro.
812 (__ieee754_asin): Force underflow exception for results with small
813 absolute value.
814 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
815 (MO): New macro.
816 (__ieee754_asinf): Force underflow exception for results with
817 small absolute value.
818 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
819 (__ieee754_asin): Force underflow exception for results with small
820 absolute value.
821 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
822 (__ieee754_asinf): Force underflow exception for results with
823 small absolute value.
824 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
825 (__ieee754_asinl): Force underflow exception for results with
826 small absolute value.
827 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
828 (__ieee754_asinl): Force underflow exception for results with
829 small absolute value.
830 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
831 (__ieee754_asinl): Force underflow exception for results with
832 small absolute value.
833 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
834 Include <math.h>.
835 * math/auto-libm-test-in: Do not mark underflow exceptions as
836 possibly missing for bug 16351.
837 * math/auto-libm-test-out: Regenerated.
838
380bd0fd
JM
839 [BZ #18030]
840 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
841 of power of 2 down when low part has opposite sign.
842 * math/libm-test.inc (logb_test_data): Add more tests.
843
4a28f4d5
AS
8442015-02-26 Andreas Schwab <schwab@suse.de>
845
846 [BZ #18032]
847 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
848 over collating symbol inside a bracket expression. Minor cleanup.
849 * posix/tst-fnmatch3.c (do_test): Add test case.
850
524ae9ea
JM
8512015-02-26 Joseph Myers <joseph@codesourcery.com>
852
853 [BZ #18029]
854 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
855 Adjust exponent of power of 2 down when low part has opposite
856 sign.
857 * math/libm-test.inc (ilogb_test_data): Add more tests.
858
23d43090
AO
8592015-02-26 Alexandre Oliva <aoliva@redhat.com>
860
861 [BZ #15969]
862 * locale/findlocale.c (_nl_find_locale): Fix constness error in
863 the previous change.
0d822a01
AO
864
865 [BZ #15969]
866 * locale/findlocale.c (_nl_find_locale): Retry archive search
867 after alias expansion.
868
d19df6ac
RM
8692015-02-25 Roland McGrath <roland@hack.frob.com>
870
ca681b7b
RM
871 * iconv/tst-iconv3.c (main): Converted to ...
872 (do_test): ... this.
873 (TEST_FUNCTION): New macro.
874 Include test-skeleton.c.
875
fd1f2f1c
RM
876 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
877 (convert): Make function static.
878 (test_unalign): Likewise. Add const to argument pointee types.
879 (main): Replace with static function do_test.
880 Print "Succeeded." only if RET is zero.
881 (TEST_FUNCTION): New macro.
882 Include test-skeleton.c.
883
d19df6ac
RM
884 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
885 returns a null pointer.
886
115e0de7
AZ
8872015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
888
889 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
890 to __memcpy_ppc only for static builds.
891
137cef7d
JM
8922015-02-25 Joseph Myers <joseph@codesourcery.com>
893
894 [BZ #18020]
895 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
896 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
897 * math/auto-libm-test-in: Add more tests of asinh.
898 * math/auto-libm-test-out: Regenerated.
899 * sysdeps/i386/fpu/libm-test-ulps: Update.
900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
901
cb43bb0d
CW
9022015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
903
904 [BZ #15850]
905 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
906 and ip6_mtuinfo definitions here.
907 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
908 in this define too. Update comment.
909
9be1052b
BS
9102015-02-24 Benno Schulenberg <bensberg@justemail.net>
911
912 * elf/sprof.c (load_shobj): Tweak error message to match others.
913
6807b1db
KE
9142015-02-24 Kevin Easton <kevin@guarana.org>
915
916 [BZ #16145] (partial fix)
917 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
918 to reduce lock contention.
919
b433df00
ML
9202015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
921
922 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
923 (struct timex): Update time comment.
924 (ADJ_SETOFFSET): Define.
925
440169d6
JM
9262015-02-24 Joseph Myers <joseph@codesourcery.com>
927
928 [BZ #18019]
929 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
930 2**56 not 2**28 as threshold for log (2x) formula.
931 * math/auto-libm-test-in: Add more tests of acosh.
932 * math/auto-libm-test-out: Regenerated.
933 * sysdeps/i386/fpu/libm-test-ulps: Update.
934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
935
ba7d2c54
MF
9362015-02-24 Mike Frysinger <vapier@gentoo.org>
937
938 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
939 parenthesis around the buf assignment.
940 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
941
9438b237
JM
9422015-02-24 Joseph Myers <joseph@codesourcery.com>
943
944 [BZ #16783]
945 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
946 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
947 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
948 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
949 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
950 * math/libm-test.inc (scalb_test_data): Add more tests.
951
6909d276
PP
9522015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
953
954 [BZ #17916]
955 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
956 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
957
65f6f938
ER
9582015-02-24 Eric Rannaud <e@nanocritical.com>
959
960 [BZ #17523]
961 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
962 * io/bits/fcntl2.h (open): Use it.
963 (openat): Likewise.
964 * io/open.c (__libc_open): Likewise.
965 * io/open64.c (__libc_open64): Likewise.
966 * io/open64_2.c (__open64_2): Likewise.
967 * io/open_2.c (__open_2): Likewise.
968 * io/openat.c (__openat): Likewise.
969 * io/openat64.c (__openat64): Likewise.
970 * io/openat64_2.c (__openat64_2): Likewise.
971 * io/openat_2.c (__openat_2): Likewise.
972 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
973 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
974 * sysdeps/posix/open64.c (__libc_open64): Likewise.
975 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
976 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
977 (__open_nocancel): Likewise.
978 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
979 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
980 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
981
3e3002ff
SP
9822015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
983
984 [BZ #14841]
985 * resolv/gethnamaddr.c (getanswer): Skip logging if
986 RES_USE_DNSSEC is set.
987 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
988
9813dd58
MF
9892015-02-24 Mike Frysinger <vapier@gentoo.org>
990
991 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
992
7b1ec6a0
AO
9932015-02-23 Alexandre Oliva <aoliva@redhat.com>
994
995 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
996 201304L, for Unicode 7.
997
d49499c1
L
9982015-02-23 H.J. Lu <hongjiu.lu@intel.com>
999
1000 [BZ #17836]
1001 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1002 shared library. Add gmon-start.os otherwise.
1003 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1004 $(objpfx)gmon-start.os if builing shared library.
1005 ($(objpfx)g$(static-start-installed-name)): Likewise.
1006
51225803
AS
10072015-02-23 Andreas Schwab <schwab@suse.de>
1008
1009 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1010
bdf1ff05
PP
10112015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1012
1013 [BZ #17269]
1014 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1015 (enlarge_userbuf): Likewise.
1016
95296112
CLT
10172015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1018
1019 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1020 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1021 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1022 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1023
e4a399dc
JM
10242015-02-20 Joseph Myers <joseph@codesourcery.com>
1025
1026 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1027 expression inside statement expression.
1028
7133957f
SL
10292015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1030
1031 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1032 <sysdeps/nptl/lowlevellock.h> and remove macros and
1033 functions that are now defined there.
1034 (SYS_futex): Remove.
1035 (lll_compare_and_swap): Remove.
1036 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1037
40176158
JM
10382015-02-19 Joseph Myers <joseph@codesourcery.com>
1039
1040 [BZ #17999]
1041 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1042 instead of scandirat.
1043 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1044 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1045 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1046 __scandirat.
1047 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1048 (__scandirat): Declare. Use libc_hidden_proto.
1049 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1050 Remove variable.
1051 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1052
4629c866
JM
10532015-02-18 Joseph Myers <joseph@codesourcery.com>
1054
1055 [BZ #15319]
1056 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1057 (MO): New macro.
1058 (__ieee754_atan2): For results with small absolute value, force
1059 underflow exception and remove excess range and precision from
1060 return value.
1061 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1062 (MO): New macro.
1063 (__ieee754_atan2f): For results with small absolute value, force
1064 underflow exception and remove excess range and precision from
1065 return value.
1066 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1067 (MO): New macro.
1068 (__atan): For results with small absolute value, force underflow
1069 exception and remove excess range and precision from return value.
1070 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1071 (MO): New macro.
1072 (__atanf): For results with small absolute value, force underflow
1073 exception and remove excess range and precision from return value.
1074 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1075 <math.h>.
1076 (__ieee754_atan2): Force underflow exception for results with
1077 small absolute value.
1078 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1079 <math_private.h>.
1080 (atan): Force underflow exception for results with small absolute
1081 value.
1082 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1083 (__atanf): Force underflow exception for results with small
1084 absolute value.
1085 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1086 <math.h>.
1087 (__atanl): Force underflow exception for results with small
1088 absolute value.
1089 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1090 (__atanl): Force underflow exception for results with small
1091 absolute value.
1092 * sysdeps/x86/fpu/bits/mathinline.h
1093 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1094 (__ieee754_atan2): Only define inline for long double.
1095 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1096 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1097 * math/auto-libm-test-in: Do not mark underflow exceptions as
1098 possibly missing for bug 15319. Add more tests of atan2.
1099 * math/auto-libm-test-out: Regenerated.
1100 * math/libm-test.inc (casin_test_data): Do not mark underflow
1101 exceptions as possibly missing for bug 15319.
1102 (casinh_test_data): Likewise.
1103 * sysdeps/i386/fpu/libm-test-ulps: Update.
1104
9ee16d8b
SE
11052015-02-18 Steve Ellcey <sellcey@imgtec.com>
1106
1107 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1108 * sysdeps/mips/bits/endian.h: Fix comments.
1109
4ffb1771
JM
11102015-02-18 Joseph Myers <joseph@codesourcery.com>
1111
1112 [BZ #17996]
1113 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1114 (hdestroy_r): Likewise.
1115 (hsearch_r): Likewise.
1116 (__hcreate_r): Declare and use libc_hidden_proto.
1117 (__hdestroy_r): Likewise.
1118 (__hsearch_r): Likewise.
1119 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1120 (hcreate): Call __hcreate_r instead of hcreate_r.
1121 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1122 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1123 as weak alias of __hcreate_r.
1124 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1125 __hdestroy_r.
1126 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1127 __hsearch_r.
1128 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1129 Remove variable.
1130 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1131 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1132 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1133 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1134
94c5a52a
SP
11352015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1136
1137 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1138 arena_lock into a single arena_get.
1139
8a35c3fe
CD
11402015-02-17 Carlos O'Donell <carlos@redhat.com>
1141
1142 * dl-reloc.c: Inlucde libc-internal.h.
1143 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1144 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1145 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1146 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1147 (grow_heap): Likewise.
1148 * malloc/malloc.c: Include libc-internal.h.
1149 (do_check_malloc): Call powerof2.
1150 (sysmalloc): Use pagesize. Call ALIGN_UP.
1151 (systrim): Use pagesize.
1152 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1153 (__libc_valloc): Use pagesize.
1154 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1155
1a2325c0
JM
11562015-02-17 Joseph Myers <joseph@codesourcery.com>
1157
1158 [BZ #17991]
1159 * include/sys/resource.h (__getrlimit64): Declare. Use
1160 libc_hidden_proto.
1161 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1162 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1163 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1164 getrlimit64.
1165 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1166 __getrlimit64.
1167 [!getrlimit64] (getrlimit64): Define as weak alias of
1168 __getrlimit64. Use libc_hidden_weak.
1169 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1170 using __getrlimit64 not __new_getrlimit64.
1171 (__GI_getrlimit64): Likewise.
1172 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1173 Likewise.
1174 (__GI_getrlimit64): Likewise.
1175 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1177 (getrlimit): Add __getrlimit64 alias.
1178 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1179 Likewise.
1180 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1181 Remove variable.
1182 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1183 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1184
8ae4bb5a
PP
11852015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1186
1187 * libio/fileops.c: Add missing sys/mman.h
1188 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1189
18a218b7
JM
11902015-02-17 Joseph Myers <joseph@codesourcery.com>
1191
1192 * manual/math.texi (Errors in Math Functions): Clarify goals
1193 regarding inexact and underflow exceptions.
1194
e72ad0ef
SE
11952015-02-17 Steve Ellcey <sellcey@imgtec.com>
1196
1197 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1198 * sysdeps/mips/memset.S: Ditto.
1199
2caa4099
SE
12002015-02-17 Steve Ellcey <sellcey@imgtec.com>
1201
1202 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1203
f20bfc9b
SL
12042015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1205
1206 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1207 (__v1longjmp): Remove versioned symbol.
1208 (__v1siglongjmp): Remove alias and versioned symbol.
1209 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1210 (__v2siglongjmp): Likewise.
1211
71c06b69
TR
12122015-02-16 Torvald Riegel <triegel@redhat.com>
1213
1214 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1215
a9a05adb
MF
12162015-02-16 Mike Frysinger <vapier@gentoo.org>
1217
1218 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1219
ce8fc784
JM
12202015-02-16 Joseph Myers <joseph@codesourcery.com>
1221
1222 [BZ #17987]
1223 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1224 zero result does not depend on the sign resulting from
1225 subtraction.
1226 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1227 Likewise.
1228 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1229 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1230 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1231 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1232 * math/libm-test.inc (remquo_test_data): Add more tests.
1233
0d7036bd
PE
12342015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1235
1236 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1237 Problem reported by J William Piggott.
1238
86c56b16
JM
12392015-02-16 Joseph Myers <joseph@codesourcery.com>
1240
a820f9b3
JM
1241 [BZ #17978]
1242 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1243 products 4 * y and 2 * y where those would overflow.
1244 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1245 Likewise.
1246 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1247 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1248 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1249 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1250 * math/libm-test.inc (remquo_test_data): Add more tests.
1251
be802953
JM
1252 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1253
e5e72fe9
JM
1254 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1255 [defined _COMPILING_NEWLIB].
1256 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1257 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1258
86c56b16
JM
1259 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1260 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1261
35264d14
TR
12622015-02-16 Torvald Riegel <triegel@redhat.com>
1263
1264 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1265 acquired.
1266
6f49e32a
MF
12672015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1268
1269 [BZ #17792]
1270 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1271 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1272 HOST_STACK_END_ADDR): Likewise.
1273
e525154e
SE
12742015-02-13 Steve Ellcey <sellcey@imgtec.com>
1275
1276 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1277 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1278 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1279
4ab770b7
RM
12802015-02-13 Roland McGrath <roland@hack.frob.com>
1281
1282 * sysdeps/generic/c++-types.data: New file.
1283 * sysdeps/generic/ld.abilist: New file.
1284 * sysdeps/generic/libBrokenLocale.abilist: New file.
1285 * sysdeps/generic/libanl.abilist: New file.
1286 * sysdeps/generic/libc.abilist: New file.
1287 * sysdeps/generic/libcrypt.abilist: New file.
1288 * sysdeps/generic/libdl.abilist: New file.
1289 * sysdeps/generic/libm.abilist: New file.
1290 * sysdeps/generic/libpthread.abilist: New file.
1291 * sysdeps/generic/libresolv.abilist: New file.
1292 * sysdeps/generic/librt.abilist: New file.
1293
d9afe48d
JM
12942015-02-13 Joseph Myers <joseph@codesourcery.com>
1295
1296 [BZ #17569]
1297 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1298 Compute absolute value of x as modified by fmod, not original
1299 value of x.
1300 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1301 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1302 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1303 RUN_TEST_ffI_f1_mod8.
1304 (remquo_test_data): Add more tests.
1305
3846188b
RM
13062015-02-13 Roland McGrath <roland@hack.frob.com>
1307
1308 * sysdeps/init_array/pt-crti.S: New file.
1309
95c26233
JM
13102015-02-13 Joseph Myers <joseph@codesourcery.com>
1311
1312 [BZ #17967]
1313 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1314 __builtin_fmaf instead of relying on contraction of a * b + c.
1315
3f293d61
WP
13162015-02-12 J William Piggott <elseifthen@gmx.com>
1317
1318 [BZ #17969]
1319 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1320 node.
1321
e8bd5286
JM
13222015-02-12 Joseph Myers <joseph@codesourcery.com>
1323
1324 [BZ #17964]
1325 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1326 __builtin_fma instead of relying on contraction of a * b + c.
1327
04f5a636
RM
13282015-02-12 Roland McGrath <roland@hack.frob.com>
1329
96a15749
RM
1330 * Makeconfig (ASFLAGS): Add -Werror=undef.
1331 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1332 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1333 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1334
04f5a636
RM
1335 * Makeconfig (after-link): New variable.
1336 (+link-pie, +link-pie-tests): Use it.
1337 (+link-static, +link-static-tests): Likewise.
1338 (+link, +link-tests): Likewise.
1339 * Makerules (build-module, build-module-asneeded): Likewise.
1340 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1341 Likewise.
1342 * elf/Makefile ($(objpfx)ld.so): Likewise.
1343
87a629c5
RS
13442015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1345
1346 [BZ #17965]
1347 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1348 both struct timeval and struct timespec.
1349
03d95bd4
JM
13502015-02-12 Joseph Myers <joseph@codesourcery.com>
1351
1352 [BZ #16560]
1353 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1354 and redefine.
1355 (__ieee754_exp2l): Do not multiply small fractional parts by
1356 M_LN2l.
1357 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1358 small argument.
1359 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1360 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1361 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1362 * math/auto-libm-test-in: Add more tests of exp2.
1363 * math/auto-libm-test-out: Regenerated.
1364
98408b95
RS
13652015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1366
1367 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1368 unaligned path.
1369
6f741503
AZ
13702015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1371
1372 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1373 little endian.
1374
2868e070
AS
13752015-02-12 Andreas Schwab <schwab@suse.de>
1376
1377 [BZ #15790]
1378 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1379 Filter out elision flags from value returned in kind.
1380 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1381 * nptl/tst-pthread-mutexattr.c: New file.
1382
ebf27d12
ST
13832015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1384
1385 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1386 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1387 into gnu-gnu, and update comment to refer to abi-tags.
1388
d435569c
JM
13892015-02-11 Joseph Myers <joseph@codesourcery.com>
1390
1391 [BZ #15467]
1392 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1393 (__sincos): Set errno to EDOM for infinite argument.
1394 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1395 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1396 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1397 (__sincosl): Set errno to EDOM for infinite argument.
1398 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1399 (__sincosl): Set errno to EDOM for infinite argument.
1400 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1401 (__sincosl): Set errno to EDOM for infinite argument.
1402 * math/libm-test.inc (sincos_test_data): Test errno setting.
1403
d35273f2
LH
14042015-02-11 Leonhard Holz <leonhard.holz@web.de>
1405
1406 * string/strxfrm_l.c: Remove #define STRCMP.
1407 * string/strcoll_l.c: Remove #define STRLEN.
1408 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1409 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1410
306bc0d1
JM
14112015-02-10 Joseph Myers <joseph@codesourcery.com>
1412
1413 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1414 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1415 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1416 * sysdeps/mips/mips64/Makefile: ... here.
1417 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1418 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1419 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1420 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1421 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1422 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1423 * sysdeps/mips/mips64/n64/Implies: Likewise.
1424
92b67e8d
RM
14252015-02-10 Roland McGrath <roland@hack.frob.com>
1426
1427 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1428 <sys/time.h>, <string.h>, and <errno.h>.
1429 (dest_offset, dest_address, value, zero): Remove unused variables.
1430 (ldouble): Remove typedef.
1431 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1432 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1433 1). Fix code style.
1434 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1435 (check): Function removed.
1436 (CHECK): New macro.
1437 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1438 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1439 Don't call set_sigaction_FP and remove_sigaction_FP here.
1440 (ldouble_test): Just use 'long double' as macro argument, no need for
1441 the 'ldouble' typedef.
1442 (do_test): Set up SIGFPE handler at start, using plain signal rather
1443 than sigaction. Fix code style.
1444
132a1328
EF
14452015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1446
1447 [BZ #17949]
1448 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1449 jump label.
1450
3001e54c
AZ
14512015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1452
bc0cdc49
AZ
1453 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1454 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1455
83658961
AZ
1456 * sysdeps/powerpc/configure.ac: Remove file.
1457 * sysdeps/powerpc/configure: Likewise.
1458
10169938
AZ
1459 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1460 [sysdep_routines]: Remove wordcopy-power6 object.
1461 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1462 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1463 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1464 (__memmove_ppc32): Likewise.
1465 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1466 file.
1467 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1468 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1469 Remove preprocessor.
1470
8548a53d
AZ
1471 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1472 [sysdep_routines]: Remove wide chars objects.
1473 [wcsmbs]: New rule for wide char objects.
1474
b2692114
AZ
1475 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1476 Remove wordcopy-power6 obejct.
1477 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1478 Use local call for wordcopy and memcpy symbols.
1479 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1480 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1481 implementation for loader.
1482 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1483
18e270aa
AZ
1484 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1485 Remove wordcopy-power7 object.
1486 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1487 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1488 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1489 (_wordcopy_fwd_dest_aligned): Likewise.
1490 (_wordcopy_bwd_aligned): Likewise.
1491 (_wordcopy_bwd_dest_aligned): Likewise.
1492
6f0993a6
AZ
1493 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1494 Rewrite to call __memmove_ppc instead of include default
1495 implementation.
1496
3001e54c
AZ
1497 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1498 Remove wide chars objects.
1499 [wcsmbs]: New rule for wide char objects.
1500
59b61c82
AS
15012015-02-09 Andreas Schwab <schwab@suse.de>
1502
1503 [BZ #17912]
1504 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1505 in terms of __O_DIRECTORY.
1506
ebd7aede
ST
15072015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1508
1509 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1510 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1511 call PTR_MANGLE.
1512 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1513 PTR_DEMANGLE.
ebd7aede 1514
3999d26e
PE
15152015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1516
1517 Add ersatz _Static_assert on older C hosts
1518 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1519 pre-C11 C platform that is not known to support _Static_assert.
1520
e9a5bc1c
ST
15212015-02-07 Richard Braun <rbraun@sceen.net>
1522
1523 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1524 sigstate.
e86c5b64 1525 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1526
e2049d17
ST
15272015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1528
1529 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1530 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1531 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1532 instead of int.
1533 * misc/fchflags.c (fchflags): Likewise.
1534 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1535 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1536 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1537 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1538 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1539 Declare macros.
1540 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1541 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1542 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1543 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1544 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1545 45.
a9a002fb
ST
1546 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1547 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1548 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1549 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1550 * hurd/hurd/signal.h (_hurd_self_sigstate,
1551 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1552 Explicit casts from void *.
4fc81a77 1553 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1554 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1555
f05826f0
ST
1556 [BZ #4719]
1557 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1558 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1559 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1560 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1561 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1562 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1563
a5eb23de
ST
1564 [BZ #17944]
1565 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1566 duplicates ADDR->sun_path with sockaddr LEN limitation.
1567 * sysdeps/mach/hurd/connect.c: Include <string.h>
1568 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1569 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1570 * sysdeps/mach/hurd/sendto.c: Likewise.
1571 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1572 implementing it by hand.
1573
ac9e0e5e
RM
15742015-02-06 Roland McGrath <roland@hack.frob.com>
1575
f8d1bb4c
RM
1576 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1577 Use sfi_breg on ldr.
1578 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1579 Likewise.
1580
022f4812
RM
1581 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1582 it's defined.
1583 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1584 Test SIGSETXID only if it's defined.
1585
1ac074e6
RM
1586 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1587
f50ad78b
RM
1588 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1589 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1590
9e7265f4
RM
1591 * nptl/tst-align2.c: Moved ...
1592 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1593 * nptl/Makefile (tests): Remove tst-align2.
1594 * sysdeps/unix/sysv/linux/Makefile
1595 [$(subdir) = nptl] (tests): Add tst-align-clone.
1596 * nptl/tst-getpid1.c: Moved ...
1597 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1598 * nptl/tst-getpid2.c: Moved ...
1599 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1600 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1601 * sysdeps/unix/sysv/linux/Makefile
1602 [$(subdir) = nptl] (tests): ... here.
1603 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1604 * sysdeps/unix/sysv/linux/Makefile
1605 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1606
62ad2abc
RM
1607 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1608 Drop trailing \n from perror argument. Use return rather than exit.
1609
cfa69b0b
RM
1610 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1611 on [SA_SIGINFO].
1612 * nptl/tst-cancel21.c (do_test): Likewise.
1613 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1614 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1615 [!SA_SIGINFO]: Make it a stub test.
1616
82727806
RM
1617 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1618 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1619
da3a1594
RM
1620 * posix/tst-getlogin.c: Move to ...
1621 * login/tst-getlogin.c: ... here.
1622 * posix/Makefile (tests): Move tst-getlogin to ...
1623 * login/Makefile (tests): ... here.
1624
b65c0ff9
RM
1625 * libio/tst-atime.c (do_test): Move local variables SV and E
1626 inside [ST_NOATIME] conditional.
1627
56606ab3
RM
1628 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1629
ebf7d6ee
RM
1630 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1631
ca0e0675
RM
1632 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1633 (wait_code): New function replaces macro.
1634 Call nanosleep rather than syscall.
1635
8c28bbc6
RM
1636 * nptl/pt-system.c: Rewritten. Put everything under
1637 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1638 Use IFUNC to redirect when possible.
1639
ec2a88b3
RM
1640 * nptl/pt-longjmp.c: Rewritten. Put everything under
1641 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1642 Use IFUNC to redirect when possible.
1643
beff1d13
RM
1644 * nptl/pt-fork.c: Rewritten. Put everything under
1645 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1646 Use IFUNC to redirect when possible.
1647 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1648
ea02c6b8
RM
1649 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1650 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1651 unconditionally nowadays. This included the only reference to
1652 __vdso_clock_gettime that appears outside libc proper.
1653 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1654 Remove version set (containing only __vdso_clock_gettime).
1655 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1656 Add attribute_hidden.
1657 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1658 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1659 libc_hidden_data_def.
1660 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1661 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1662
a1309c2b
RM
1663 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1664 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1665 setrpcent, and getrpcport to ...
1666 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1667 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1668 getrpcbynumber_r, and getrpcent_r to ...
1669 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1670 * inet/getrpcbyname.c: Moved ...
1671 * sunrpc/getrpcbyname.c: ... here.
1672 * inet/getrpcbyname_r.c: Moved ...
1673 * sunrpc/getrpcbyname_r.c: ... here.
1674 * inet/getrpcbynumber.c: Moved ...
1675 * sunrpc/getrpcbynumber.c: ... here.
1676 * inet/getrpcbynumber_r.c: Moved ...
1677 * sunrpc/getrpcbynumber_r.c: ... here.
1678 * inet/getrpcent.c: Moved ...
1679 * sunrpc/getrpcent.c: ... here.
1680 * inet/getrpcent_r.c: Moved ...
1681 * sunrpc/getrpcent_r.c: ... here.
1682 * inet/Makefile (routines): Move those to ...
1683 * sunrpc/Makefile (routines): ... here.
1684 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1685 the $(subdirs) list.
1686 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1687 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1688 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1689 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1690
ac9e0e5e
RM
1691 * elf/Makefile (routines): Include $(all-dl-routines), not just
1692 $(dl-routines).
1693 (rtld-routines): Likewise. Use = rather than :=.
1694 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1695 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1696 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1697 * sysdeps/arm/Makefile: Likewise.
1698 * sysdeps/i386/Makefile: Likewise.
1699 * sysdeps/x86_64/Makefile: Likewise.
1700 * sysdeps/hppa/Makefile [$(subdir) = elf]
1701 (sysdep_routines, sysdep-rtld-routines): Don't add
1702 $(sysdep-dl-routines) to these.
1703 * sysdeps/ia64/Makefile: Likewise.
1704 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1705 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1706 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1707 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1708 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1709 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1710 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1711 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1712 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1713 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1714 these; sysdep-dl-routines alone is enough.
1715
639e42eb
JM
17162015-02-06 Joseph Myers <joseph@codesourcery.com>
1717
1c7a4a51
JM
1718 [BZ #17932]
1719 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1720 where multiplication results in zero and third argument is finite
1721 and nonzero.
1722 * math/auto-libm-test-in: Add more tests of fma.
1723 * math/auto-libm-test-out: Regenerated.
1724
61f006c1
JM
1725 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1726 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1727 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1728 (_FP_CMP_EQ): Likewise.
1729 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1730
639e42eb
JM
1731 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1732 extra argument CHECK_NAN. Redefine as wrapper around
1733 _FP_EXTEND_CNAN.
1734
3c0c543b
CD
17352015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1736
4e42b5b8
CD
1737 * version.h (RELEASE): Set to "stable".
1738 (VERSION): Set to "2.21"
1739 * include/features.h (__GLIBC_MINOR__): Set to 21.
1740
3c0c543b
CD
1741 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1742
5bd80bfe 17432015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1744 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1745
1746 [BZ #16618]
1747 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1748 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1749 size in bytes. Store needed elements in wpmax. Use needed size
1750 in bytes for extend_alloca.
1751
3f823f48
CD
17522015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1753
04cb913d
CD
1754 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1755 binutls 2.25, and texinfo 5.2.
1756 * INSTALL: Regenerate.
1757 * sysdeps/nios2/configure: Regenerate.
1758 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1759 * manual/contrib.texi: Update.
1760 * po/be.po: Update.
1761 * po/bg.po: Update.
1762 * po/ca.po: Update.
1763 * po/cs.po: Update.
1764 * po/da.po: Update.
1765 * po/de.po: Update.
1766 * po/el.po: Update.
1767 * po/eo.po: Update.
1768 * po/es.po: Update.
1769 * po/fi.po: Update.
1770 * po/fr.po: Update.
1771 * po/gl.po: Update.
1772 * po/hr.po: Update.
1773 * po/hu.po: Update.
1774 * po/ia.po: Update.
1775 * po/id.po: Update.
1776 * po/it.po: Update.
1777 * po/ja.po: Update.
1778 * po/ko.po: Update.
1779 * po/lt.po: Update.
1780 * po/nb.po: Update.
1781 * po/nl.po: Update.
1782 * po/pl.po: Update.
1783 * po/pt_BR.po: Update.
1784 * po/ru.po: Update.
1785 * po/rw.po: Update.
1786 * po/sk.po: Update.
1787 * po/sl.po: Update.
1788 * po/sv.po: Update.
1789 * po/tr.po: Update.
1790 * po/uk.po: Update.
1791 * po/vi.po: Update.
1792 * po/zh_CN.po: Update.
1793 * po/zh_TW.po: Update.
1794
3f823f48
CD
1795 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1796 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1797 * sysdeps/hppa/dl-irel.h: Remove #warning.
1798 * sysdeps/hppa/entry.h: Provide prototype for
1799 __canonicalize_funcptr_for_compare and cast argument.
1800 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1801 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1802 * sysdeps/hppa/sotruss-lib.c: New file.
1803 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1804 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1805 (atomic_compare_and_exchange_bool_acq): Likewise.
1806 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1807 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1808
1809 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1810 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1811 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1812
34c56048
CLT
18132015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1814
1815 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1816 called function in non-PIC case.
1817
d4abeca5
DM
18182015-01-31 David S. Miller <davem@davemloft.net>
1819
edac0a60
DM
1820 * sysdeps/sparc/sparc32/bits/atomic.h
1821 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1822 unlock not after it.
1823 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1824 volatile register usage warnings from the compiler.
1825
d4abeca5
DM
1826 * sysdeps/sparc/nptl/sem_init.c: Delete.
1827 * sysdeps/sparc/nptl/sem_post.c: Delete.
1828 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1829 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1830 * sysdeps/sparc/sparc32/sem_init.c: New file.
1831 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1832 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1833 padding explicitly initialized.
1834 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1835 padding for in-semaphore spinlock.
1836 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1837 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1838 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1839 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1840 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1841 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1842 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1843 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1844 version.
1845 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1846 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1847
5f3d0b78
L
18482015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1849
1850 [BZ #17801]
1851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1852 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1853 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1854 New.
1855 (index_AVX_Fast_Unaligned_Load): Likewise.
1856 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1857 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1858 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1859 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1860 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1861 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1862 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1863 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1864 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1865
b658fdd8
AS
18662015-01-29 Andreas Schwab <schwab@suse.de>
1867
1868 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1869
3cb26316
SP
18702015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1871
1872 [BZ #17892]
1873 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1874
527de9e4
MS
18752015-01-28 Martin Sebor <msebor@redhat.com>
1876
1877 * math/README.libm-test: Clarify. Add "How to read the test output."
1878
06991eb8
CM
18792015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1880
1881 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1882 Define to 0.
1883
df341342
JM
18842015-01-28 Joseph Myers <joseph@codesourcery.com>
1885
1886 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1887 (__HAVE_64B_ATOMICS): Define to 0.
1888
08cee2a4
AZ
18892015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1890
d4d0ecb2
AZ
1891 [BZ #17885]
1892 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1893 value to set as new flag.
1894
08cee2a4
AZ
1895 [BZ #16576]
1896 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1897 and use _ARCH_PPCSQ instead.
1898 (__ieee754_sqrt): Likewise.
1899 (__ieee754_sqrtf): Likewise.
1900 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1901 _ARCH_PPCSQ is defined.
1902 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1903 fsqrt instruction.
1904 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1905 _ARCH_PPCSQ is defined.
1906 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1907 fsqrts instruction.
1908 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1909
5fe8e359
AK
19102015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1911
1912 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1913 bug (GCC BZ #64739).
1914
24bb7432
AS
19152015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1916
fa20da31
AS
1917 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1918 Mark _retval as used.
1919 (lll_futex_wake_unlock): Likewise.
1920 (lll_futex_timed_wait_requeue_pi): Likewise.
1921
45819cbc
AS
1922 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1923 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1924 register variables.
1925
403cc231
AS
1926 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1927 libm_hidden_def.
1928
24bb7432
AS
1929 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1930 (__bswap_64): Mark as __always_inline.
1931
9317ea65
B
19322015-01-25 Bram <bug_rh@spam.wizbit.be>
1933
1934 [BZ #15378]
1935 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1936 when none of the search directories exist.
1937
0e87343e
AZ
19382015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1939
bea58013
AZ
1940 [BZ #17869]
1941 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1942 power8 in .machine directive.
1943
0e87343e
AZ
1944 [BZ #17868]
1945 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1946 set dependency from opd value.
1947
ede0236c
L
19482015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1949
1950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1951 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1952 architecture.
ede0236c 1953
22971c35
L
19542015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1955
1956 [BZ #17870]
1957 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1958 with uint64_t.
1959 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1960 (uint64_t) 1.
e0da28a1 1961 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
1962 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1963 Replace 1UL with (uint64_t) 1.
1964 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1965 int with uint64_t.
1966
da5bf245
RM
19672015-01-23 Roland McGrath <roland@hack.frob.com>
1968
2ec2d703
RM
1969 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1970 (if_freenameindex): Likewise.
1971
da5bf245
RM
1972 * resource/getrlimit64.c: Add missing libc_hidden_def.
1973
d7423856
JM
19742015-01-22 Joseph Myers <joseph@codesourcery.com>
1975
1976 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1977 __label__.
1978 (_FP_FMA): Likewise.
1979 (_FP_TO_INT_ROUND): Likewise.
1980 (_FP_FROM_INT): Likewise.
1981
6b2ba95b
AZ
19822015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1983
1984 [BZ #16418]
1985 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1986 Make code racy and cancel safe.
1987
ccdb048d
CD
19882015-01-21 Carlos O'Donell <carlos@redhat.com>
1989
191220b3
CD
1990 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1991 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1992 attribution.
1993
0897c551
CD
1994 * pwd/tst-getpw.c: Rewrite.
1995
ccdb048d
CD
1996 [BZ #17702]
1997 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1998 (modules-names): Add moddummy1 and moddummy2.
1999 ($(objpfx)tst-rec-dlopen): Define.
2000 * dlfcn/moddummy1.c: New file.
2001 * dlfcn/moddummy2.c: New file.
2002 * dlfcn/tst-rec-dlopen.c: New file.
2003 * elf/dl-cache.c (_dl_load_cache_lookup):
2004 Return char*. Copy result with alloca/strcpy/strdup.
2005 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2006 returns char*. Free cached. If not saving realname
2007 free cached.
2008 * elf/dl-open.c (dl_open_worker): Do not assert that
2009 _r_debug->r_state is RT_CONSISTENT.
2010 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2011 returns char*.
2012
042e1521
CD
20132015-01-21 Torvald Riegel <triegel@redhat.com>
2014 Carlos O'Donell <carlos@redhat.com>
2015
2016 [BZ #12674]
2017 * nptl/sem_waitcommon.c: New file.
2018 * nptl/sem_wait.c: Include sem_waitcommon.c.
2019 (__sem_wait_cleanup, do_futex_wait): Remove.
2020 (__new_sem_wait): Adapt.
2021 (__new_sem_trywait): New function.
2022 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2023 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2024 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2025 (sem_timedwait): Adapt.
2026 * nptl/sem_post.c (__new_sem_post): Adapt.
2027 (futex_wake): New function.
2028 (__old_sem_post): Add release MO fence.
2029 * nptl/sem_open.c (sem_open): Adapt.
2030 * nptl/sem_init.c (__new_sem_init): Adapt.
2031 (futex_private_if_supported): New function.
2032 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2033 (__old_sem_getvalue): Add using previous code.
2034 * sysdeps/nptl/internaltypes.h: Adapt.
2035 * nptl/tst-sem13.c (do_test): Adapt.
2036 * nptl/tst-sem11.c (main): Adapt.
2037 * nptl/sem_trywait.c: Remove.
2038 * nptl/DESIGN-sem.txt: Remove.
2039 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2040 (gen-as-const-headers): Remove structsem.sym.
2041 * nptl/structsem.sym: Remove.
2042 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2043 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2044 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2045 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2046 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2047 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2048 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2049 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2050 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2051 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2052 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2053 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2054 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2055 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2056 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2057 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2058 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2059 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2060 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2061 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2062 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2063 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2064
fe0e85af
CD
20652015-01-20 Carlos O'Donell <carlos@redhat.com>
2066
a8db092e
CD
2067 * INSTALL: Regenerated.
2068
fe0e85af
CD
2069 * po/libc.pot: Regenerated.
2070
522e6ee3
CLT
20712015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2072 Sandra Loosemore <sandra@codesourcery.com>
2073 Andrew Jenner <andrew@codesourcery.com>
2074 Joseph Myers <joseph@codesourcery.com>
2075 Nathan Sidwell <nathan@codesourcery.com>
2076
2077 * NEWS: Mention new Nios II port.
2078 * sysdeps/nios2/Implies: New file.
2079 * sysdeps/nios2/Makefile: New file.
2080 * sysdeps/nios2/Subdirs: New file.
2081 * sysdeps/nios2/Versions: New file.
2082 * sysdeps/nios2/__longjmp.S: New file.
2083 * sysdeps/nios2/abort-instr.h: New file.
2084 * sysdeps/nios2/backtrace.c: New file.
2085 * sysdeps/nios2/bits/endian.h: New file.
2086 * sysdeps/nios2/bits/fenv.h: New file.
2087 * sysdeps/nios2/bits/link.h: New file.
2088 * sysdeps/nios2/bits/setjmp.h: New file.
2089 * sysdeps/nios2/bsd-_setjmp.S: New file.
2090 * sysdeps/nios2/bsd-setjmp.S: New file.
2091 * sysdeps/nios2/configure: New generated file.
2092 * sysdeps/nios2/configure.ac: New file.
2093 * sysdeps/nios2/crti.S: New file.
2094 * sysdeps/nios2/crtn.S: New file.
2095 * sysdeps/nios2/dl-init.c: New file.
2096 * sysdeps/nios2/dl-machine.h: New file.
2097 * sysdeps/nios2/dl-sysdep.h: New file.
2098 * sysdeps/nios2/dl-tls.h: New file.
2099 * sysdeps/nios2/dl-trampoline.S: New file.
2100 * sysdeps/nios2/gccframe.h: New file.
2101 * sysdeps/nios2/gmp-mparam.h: New file.
2102 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2103 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2104 * sysdeps/nios2/ldsodefs.h: New file.
2105 * sysdeps/nios2/libc-tls.c: New file.
2106 * sysdeps/nios2/libm-test-ulps: New file.
2107 * sysdeps/nios2/machine-gmon.h: New file.
2108 * sysdeps/nios2/math-tests.h: New file.
2109 * sysdeps/nios2/math_private.h: New file.
2110 * sysdeps/nios2/memusage.h: New file.
2111 * sysdeps/nios2/nptl/Makefile: New file.
2112 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2113 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2114 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2115 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2116 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2117 * sysdeps/nios2/nptl/tls.h: New file.
2118 * sysdeps/nios2/preconfigure: New file.
2119 * sysdeps/nios2/s_fma.c: New file.
2120 * sysdeps/nios2/s_fmaf.c: New file.
2121 * sysdeps/nios2/setjmp.S: New file.
2122 * sysdeps/nios2/sfp-machine.h: New file.
2123 * sysdeps/nios2/sotruss-lib.c: New file.
2124 * sysdeps/nios2/stackguard-macros.h: New file.
2125 * sysdeps/nios2/stackinfo.h: New file.
2126 * sysdeps/nios2/start.S: New file.
2127 * sysdeps/nios2/sysdep.h: New file.
2128 * sysdeps/nios2/tls-macros.h: New file.
2129 * sysdeps/nios2/tst-audit.h: New file.
2130 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2131 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2132 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2133 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2134 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2135 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2136 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2137 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2138 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2139 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2140 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2141 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2142 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2143 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2144 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2145 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2146 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2147 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2148 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2149 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2150 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2151 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2152 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2153 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2154 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2155 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2156 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2157 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2158 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2159 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2160 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2161 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2162 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2163 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2164 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2165 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2166 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2167 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2168 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2169 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2170 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2171 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2172 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2173 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2174
026eb207
SL
21752015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2176
2177 [BZ #17844]
2178 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2179 (getutent): Use weak_alias in non SHARED case
2180 and default_symbol_version in SHARED case.
2181 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2182 (getutent_r, pututline): Likewise.
2183 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2184 (getutid): Likewise.
2185 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2186 (getutid_r): Likewise.
2187 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2188 (getutline): Likewise.
2189 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2190 (getutline_r): Likewise.
2191 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2192 (updwtmp): Likewise.
2193
1d532483
SL
21942015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2195
2196 [BZ #17848]
2197 * sysdeps/s390/s390-32/memcmp.S
2198 (memcmp_g5): Rename to __memcmp_g5.
2199 * sysdeps/s390/s390-32/memcpy.S
2200 (memcpy_g5): Rename to __memcpy_g5.
2201 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2202 (memcpy_mvcle) Rename to __memcpy_mvcle.
2203 * sysdeps/s390/s390-32/memset.S
2204 (memset_g5): Rename to __memset_g5.
2205 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2206 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2207 and use prefixed functions.
2208 * sysdeps/s390/s390-32/multiarch/memcmp.S
2209 (memcmp_z196): Rename to __memcmp_z196.
2210 (memcmp_z10): Rename to __memcmp_z10.
2211 (memcmp): Set alias to __memcmp_g5.
2212 (bcmp): Set alias to __memcmp_g5.
2213 * sysdeps/s390/s390-32/multiarch/memcpy.S
2214 (memcpy_z196): Rename to __memcpy_z196.
2215 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2216 (memcpy_z10): Rename to __memcpy_z10.
2217 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2218 (memcpy): Set alias to __memcpy_g5.
2219 * sysdeps/s390/s390-32/multiarch/memset.S
2220 (memset_z196): Rename to __memset_z196.
2221 Jump to __memset_mvcle instead of memset_mvcle.
2222 (memset_z10): Rename to __memset_z10.
2223 Jump to __memset_mvcle instead of memset_mvcle.
2224 (memset_mvcle) Rename to __memset_mvcle.
2225 (memset): Set alias to __memset_g5.
2226 * sysdeps/s390/s390-64/memcmp.S
2227 (memcmp_z900): Rename to __memcmp_z900.
2228 * sysdeps/s390/s390-64/memcpy.S
2229 (memcpy_z900): Rename to __memcpy_z900.
2230 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2231 (memcpy_mvcle) Rename to __memcpy_mvcle.
2232 * sysdeps/s390/s390-64/memset.S
2233 (memset_z900): Rename to __memset_z900.
2234 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2235 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2236 and use prefixed functions.
2237 * sysdeps/s390/s390-64/multiarch/memcmp.S
2238 (memcmp_z196): Rename to __memcmp_z196.
2239 (memcmp_z10): Rename to __memcmp_z10.
2240 (memcmp): Set alias to __memcmp_z900.
2241 (bcmp): Set alias to __memcmp_z900.
2242 * sysdeps/s390/s390-64/multiarch/memcpy.S
2243 (memcpy_z196): Rename to __memcpy_z196.
2244 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2245 (memcpy_z10): Rename to __memcpy_z10.
2246 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2247 (memcpy): Set alias to __memcpy_z900.
2248 * sysdeps/s390/s390-64/multiarch/memset.S
2249 (memset_z196): Rename to __memset_z196.
2250 Jump to __memset_mvcle instead of memset_mvcle.
2251 (memset_z10): Rename to __memset_z10.
2252 Jump to __memset_mvcle instead of memset_mvcle.
2253 (memset_mvcle) Rename to __memset_mvcle.
2254 (memset): Set alias to __memset_z900.
2255
53fbd169
JM
22562015-01-14 Joseph Myers <joseph@codesourcery.com>
2257
2258 [BZ #17748]
2259 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2260 __fesetenv instead of fesetenv.
2261
d639a363
SP
22622015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2263
2264 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2265 macro.
2266
d3b00f46
AZ
22672015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2268
ce6615c9
AZ
2269 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2270 regression on LE.
2271
d3b00f46
AZ
2272 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2273 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2274 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2275 strncmp-power8 object.
2276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2277 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2278 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2279 * NEWS: Update.
2280
72607db0
RS
22812015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2282 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2283
2284 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2285 trailing byte check.
2286
54dc5461
DM
22872015-01-13 David S. Miller <davem@davemloft.net>
2288
2289 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2290
1c6e6f23
RM
22912015-01-13 Roland McGrath <roland@hack.frob.com>
2292
2293 * login/logout.c (logout): Use memset rather than bzero.
2294 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2295 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2296 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2297 (_gethtbyaddr): Likewise.
2298 * locale/programs/simple-hash.c (bcopy): Macro removed.
2299
96d6fd6c
AZ
23002015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2301
8bedcb5f
AZ
2302 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2303 Add strcmp-power8 object.
2304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2305 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2306 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2307 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2308 __strcmp_power8 implementation.
2309 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2310 * NEWS: Update.
2311
f06a4faf
AZ
2312 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2313 Add strncpy-power8 and stpncpy-power8 objects.
2314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2315 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2316 implementations.
2317 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2318 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2319 __stpncpy_power8 implementation.
2320 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2321 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2322 __strncpy_power8 implementation.
2323 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2324 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2325 * NEWS: Update.
2326
9f2f36e5
AZ
2327 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2328 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2329 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2330
96d6fd6c 2331 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2332 strncat-power8 object.
2333 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2334 __strcat_power8 implementation.
2335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2336 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2337 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2338 optimized strcat for power8.
2339
2340 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2341 strcpy-power8 and stpcpy-power8 objects.
2342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2343 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2344 implementations.
2345 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2346 multiarch stpcpy implementation for POWER8.
2347 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2348 multiarch strcpy implementation for POWER8.
2349 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2350 __strcpy_power8 function.
2351 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2352 stpcpy for POWER8.
2353 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2354 strcpy for POWER8.
2355 * NEWS: Update.
2356
0f9e5854
LH
23572015-01-13 Leonhard Holz <leonhard.holz@web.de>
2358
2359 [BZ #16009]
2360 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2361 weights and rules. Use do_xfrm_cached if data fits in cache,
2362 do_xfrm otherwise. Moved former main loop to...
2363 * (do_xfrm_cached): New function.
2364 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2365 find_idx, find_position and stack_push.
2366 * (find_idx): New function.
2367 * (find_position): Likewise.
2368 * localedata/sort-test.sh: Added test run for do_xfrm.
2369 * localedata/xfrm-test.c (main): Added command line option
2370 -nocache to run the test with strings that are too large for
2371 the STRXFRM cache.
2372
c60ec0e0
TR
23732015-01-13 Torvald Riegel <triegel@redhat.com>
2374
2375 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2376 variable to lll_futex_wake call, not the value itself.
2377
34e93d6c
JM
23782015-01-12 Joseph Myers <joseph@codesourcery.com>
2379
5a9e4c09
JM
2380 [BZ #17803]
2381 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2382 twom64. Adjust value to 0x1p-64L.
2383 (__scalblnl): Only return standard underflowing result for K <=
2384 -64 not K <= -63; adjust exponent for underflowing result by 64
2385 not 63.
2386 * math/libm-test.inc (scalbn_test_data): Add more tests.
2387 (scalbln_test_data): Likewise.
2388
34e93d6c
JM
2389 [BZ #17834]
2390 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2391 0x1p63L.
2392 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2393 not HX.
2394 * math/libm-test.inc (scalbn_test_data): Add more tests.
2395 (scalbln_test_data): Likewise.
2396
ca677d3c
AZ
23972015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2398 Stefani Seibold <stefani@seibold.net>
2399
2400 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2401 (sysdep_routines): Add dl-vdso here, ...
2402 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2403 (sysdep_routines): ... not here.
2404 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2405 fallback when vDSO is not presented.
2406 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2407 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2408 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2409 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2410 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2411 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2412 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2413 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2414 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2415 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2416 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2417 fallback configurable symbol when vDSO is not available.
2418 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2419 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2420 be able to redefine fallback symbol when vDSO is not available.
2421 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2422 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2423
49a9f6ab 24242015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2425
56cf2763
AZ
2426 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2427 (TLS_INIT_TP): Add tm_capable initialization.
2428 (TLS_DEFINE_INIT_TP): Likewise.
2429 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2430 TCB.
2431 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2432 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2433 calculation.
2434 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2435 transactoion is lock elision is built and TCB tm_capable is set.
2436 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2438 (INTERNAL_SYSCALL_NCS): Likewise.
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2440 (INTERNAL_SYSCALL_NCS): Likewise.
2441 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2442
4b45943a
AZ
2443 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2444 for powerpc.
2445 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2446 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2447 and remove it for 32 bits case.
2448 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2449 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2450 initialization.
2451 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2452 Disable lock elision with rdlocks if elision is not available.
2453
8d2c0a59
AZ
2454 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2455 (sysdep_routines): Add lock elision objects.
2456 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2457 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2458 [pthread_mutex_t] (__elision): Add field.
2459 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2460 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2461 elision definitions for powerpc.
2462 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2463 implementation of lock elision for powerpc.
2464 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2465 implementation of timed lock elision for powerpc.
2466 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2467 implementation of trylock with lock elision for powerpc.
2468 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2469 implementaion of unlock for lock elision for powerpc.
2470 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2471 automatic enable lock elision for mutexes.
2472 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2473 transaction execution definitions for powerpc.
2474 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2475 definitions.
2476 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2477 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2478 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2479 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2480 * NEWS: Update.
2481
bc0ed9f7
RM
24822015-01-09 Roland McGrath <roland@hack.frob.com>
2483
2484 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2485 for #include of <shm-directory.h>.
2486
585d9c18
CLT
24872015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2488
2489 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2490 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2491
aee6626c
MF
24922015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2493
2494 [BZ #17791]
2495 * NEWS: Mention bug fix.
2496 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2497 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2498 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2499
9e560f48
TR
25002015-01-09 Torvald Riegel <triegel@redhat.com>
2501
2502 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2503
e1cfbd0c
TR
25042015-01-09 Torvald Riegel <triegel@redhat.com>
2505
2506 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2507
cf71e44f
DH
25082015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2509
2510 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2511 pointer and cast to uintptr_t.
2512
b360ee62
DH
25132015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2514
2515 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2516 removed.
2517 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2518
caff764e
DH
25192015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2520
2521 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2522 of 0.
2523
59ff172f
RM
25242015-01-08 Roland McGrath <roland@hack.frob.com>
2525
c97d27f1
RM
2526 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2527 <nptl/pthreadP.h> instead.
2528 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2529
08734ccd
RM
2530 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2531 already defined.
2532 [__SIGRTMIN] (init): Function removed.
2533 [__SIGRTMIN] (initialized): Variable removed.
2534 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2535 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2536 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2537 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2538 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2539 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2540 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2541 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2542 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2543 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2544 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2545 * sysdeps/nptl/allocrtsig.c: New file.
2546 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2547 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2548 * sysdeps/generic/testrtsig.h: File removed.
2549
7b052e33
RM
2550 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2551 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2552
cc40d25e
RM
2553 * nptl/nptl-init.c (pthread_functions): Conditionalize
2554 .ptr__nptl_setxid initialization on [SIGSETXID].
2555
9287adf0
RM
2556 * sysdeps/nptl/sys/procfs.h: New file.
2557 * nptl_db/Makefile (headers): Add it.
2558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2559
59ff172f
RM
2560 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2561 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2562 * nptl/pthread_attr_setaffinity.c: Include it.
2563 * nptl/pthread_setattr_default_np.c: Likewise.
2564 * nptl/check-cpuset.h: New file.
2565
b9205857
RH
25662015-01-08 Richard Henderson <rth@redhat.com>
2567
2568 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2569 (CFLAGS-tst-execstack-prog.c): Likewise.
2570 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2571
1a0a8d15
CLT
25722015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2573 Sandra Loosemore <sandra@codesourcery.com>
2574 Andrew Jenner <andrew@codesourcery.com>
2575 Joseph Myers <joseph@codesourcery.com>
2576 Nathan Sidwell <nathan@codesourcery.com>
2577
2578 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2579 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2580 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2581 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2582 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2583 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2584 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2585 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2586 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2587 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2588 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2589 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2590 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2591 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2592 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2593 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2594 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2595
dd6e8af6
AZ
25962015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2597
2598 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2599 timespec struct member in syscall macro.
2600 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2601 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2602 first timeval struct member in syscall macro.
2603 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2604
8116321f
JM
26052015-01-07 Joseph Myers <joseph@codesourcery.com>
2606
2607 [BZ #17748]
2608 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2609 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2610 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2611 __feupdateenv and define as weak alias of __feupdateenv. Use
2612 libm_hidden_weak.
2613 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2614 libm_hidden_def.
2615 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2616 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2617 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2618 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2619 libm_hidden_def.
2620 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2621 __feupdateenv and define as weak alias of __feupdateenv. Use
2622 libm_hidden_weak.
2623 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2624 libm_hidden_def.
2625 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2626 __feupdateenv and define as weak alias of __feupdateenv. Use
2627 libm_hidden_weak.
2628 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2629 libm_hidden_def.
2630 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2631 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2632 (__feupdateenv): Likewise.
2633 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2634 __feupdateenv and define as weak alias of __feupdateenv. Use
2635 libm_hidden_weak.
2636 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2637 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2638 libm_hidden_def.
2639 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2640 function.
2641 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2642 libm_hidden_def.
2643 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2644 __feupdateenv instead of feupdateenv.
2645 (default_libc_feupdateenv_test): Likewise.
2646 (libc_feresetround_ctx): Likewise.
2647
882dfe18
AZ
26482015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2649
2650 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2651 prototype.
2652
39a12f8d
CM
26532015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2654
2655 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2656 COLL_SYM in a couple of places to avoid uninitialized variable
2657 wanings on tilegx gcc 4.8.2.
2658
dc400d7b
RE
26592015-01-07 Richard Earnshaw <rearnsha@arm.com>
2660
2661 * sysdeps/aarch64/strcpy.S: New file.
2662 * sysdeps/aarch64/stpcpy.S: New file.
2663 * NEWS: Updated.
2664
ec582ca0
RE
26652015-01-07 Richard Earnshaw <rearnsha@arm.com>
2666
2667 * sysdeps/aarch64/strrchr.S: New file.
2668 * NEWS: Updated.
2669
d5b1c5ed
EB
26702015-01-07 Eric Biggers <ebiggers3@gmail.com>
2671
2672 [BZ #17658]
2673 * stdlib/setenv.c: Fix memory leak when setting large,
2674 duplicate string.
2675
fb87ee96
VN
26762015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2677
60f046a8 2678 [BZ #17273]
fb87ee96
VN
2679 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2680 and tabs from buffer before parsing fstab entry.
2681 * misc/tst-mntent.c (main): Add test for mount entry with
2682 trailing spaces and tabs.
2683
cd42798a
JM
26842015-01-06 Joseph Myers <joseph@codesourcery.com>
2685
01238691
JM
2686 [BZ #17748]
2687 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2688 * math/fesetround.c (fesetround): Rename to __fesetround and
2689 define as weak alias of __fesetround. Use libm_hidden_weak.
2690 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2691 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2692 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2693 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2694 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2695 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2696 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2697 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2698 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2699 __fesetround_inline.
2700 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2701 __fesetround_inline instead of __fesetround.
2702 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2703 __fesetround and define as weak alias of __fesetround. Use
2704 libm_hidden_weak. Call __fesetround_inline instead of
2705 __fesetround.
2706 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2707 __fesetround and define as weak alias of __fesetround. Use
2708 libm_hidden_weak.
2709 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2710 Likewise.
2711 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2712 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2713 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2714 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2715 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2716 __fesetround and define as weak alias of __fesetround. Use
2717 libm_hidden_weak.
2718 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2719 __fesetround instead of fesetround.
2720 (default_libc_feholdexcept_setround): Likewise.
2721 (libc_feholdsetround_ctx): Likewise.
2722 (libc_feholdsetround_noex_ctx): Likewise.
2723
cd42798a
JM
2724 [BZ #17748]
2725 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2726 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2727 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2728 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2729 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2730 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2731 define as weak alias of __fesetenv. Use libm_hidden_weak.
2732 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2733 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2734 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2735 define as weak alias of __fesetenv. Use libm_hidden_weak.
2736 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2737 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2738 define as weak alias of __fesetenv. Use libm_hidden_weak.
2739 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2740 libm_hidden_def.
2741 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2742 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2743 Likewise.
2744 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2745 define as weak alias of __fesetenv. Use libm_hidden_weak.
2746 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2747 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2748 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2749 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2750 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2751 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2752 __fesetenv instead of fesetenv.
2753 (libc_feresetround_noex_ctx): Likewise.
2754 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2755 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2756 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2757 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2758 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2759 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2760 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2761 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2762 (__feupdateenv): Likewise.
2763 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2764 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2765 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2766 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2767
38949026
AJ
27682015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2769
1cf98e27 2770 [BZ #17806]
38949026
AJ
2771 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2772 addresses have been freed.
2773
5fe55e9c
AJ
27742015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2775
2776 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2777 and nservall.
2778
dc8ab018
OB
27792015-01-06 Ondřej Bílka <neleai@seznam.cz>
2780
2781 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2782 Clean up check_pf allocation pattern. addresses
2783
14bb4e57
AZ
27842015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2785
2786 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2787 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2788 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2789 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2790 * nptl/pthread_join.c (pthread_join): Likewise.
2791 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2792 * sysdeps/posix/waitid.c (__waitid): Likewise.
2793 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2794 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2795 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2796 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2797 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2798 Likewise.
2799 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2800 (__libc_pread64): Likewise.
2801 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2802 (__libc_pwrite): Likewise.
2803 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2804 (__libc_pwrite64): Likewsie.
2805 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2806 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2807 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2808 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2809 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2810 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2811 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2813 Likewise.
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2815 (__libc_pread64): Likewise.
2816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2817 Likewise.
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2819 (__libc_pwrite64): Likewise.
2820 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2821 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2822 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2823 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2824 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2825 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2826 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2827 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2828 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2829 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2830 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2831 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2832 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2833 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2834 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2835 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2836 Likewise.
2837
10a5e112
AS
28382015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2839
2840 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2841 (CFLAGS-test-double.c): Likewise.
2842 (CFLAGS-test-ldouble.c): Likewise.
2843 (CPPFLAGS-test-ifloat.c): Likewise.
2844 (CPPFLAGS-test-idouble.c): Likewise.
2845 (CPPFLAGS-test-ildoubl.c): Likewise.
2846 (CFLAGS-test-test-fenv.c): Remove variable.
2847 (CFLAGS-test-misc.c): Likewise.
2848
57ada0e7
L
28492015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2850
2851 [BZ #17797]
2852 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2853 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2854 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2855 CLOCKS_PER_SEC == 1000000.
2856 * time/clocktest.c (main): Replace %ld with %jd and cast to
2857 intmax_t.
2858
46abb64d
RM
28592015-01-05 Roland McGrath <roland@hack.frob.com>
2860
2861 * sysdeps/generic/unwind-resume.h: New file.
2862 * sysdeps/gnu/unwind-resume.c: Include it.
2863 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2864 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2865 argument list.
2866 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2867 global rather than static.
2868 (_Unwind_Resume): Update user.
2869 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2870 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2871 rather than static. Add __attribute__ ((cold)).
2872 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2873 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2874 * sysdeps/arm/arm-unwind-resume.S: New file.
2875 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2876 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2877 * sysdeps/arm/Makefile [$(subdir) = csu]
2878 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2879 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2880 Add rt-arm-unwind-resume.
2881 [$(subdir) = nptl]
2882 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2883 Add pt-arm-unwind-resume.
2884 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2885 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2886
ef9faf13
JM
28872015-01-05 Joseph Myers <joseph@codesourcery.com>
2888
2889 [BZ #17748]
2890 * include/fenv.h (__feholdexcept): Declare. Use
2891 libm_hidden_proto.
2892 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2893 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2894 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2895 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2896 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2897 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2898 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2899 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2900 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2901 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2902 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2903 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2904 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2905 (feholdexcept): Likewise.
2906 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2907 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2908 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2909 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2910 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2911 __feholdexcept instead of feholdexcept.
2912 (default_libc_feholdexcept_setround): Likewise.
2913
295a453e
SE
29142015-01-05 Steve Ellcey <sellcey@imgtec.com>
2915
2916 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2917 to avoid using stl/str to align destination.
2918
882c4b9f
SE
29192015-01-05 Steve Ellcey <sellcey@imgtec.com>
2920
2921 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2922
ac4c11f5
JM
29232015-01-05 Joseph Myers <joseph@codesourcery.com>
2924
2925 [BZ #17796]
2926 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2927 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2928 Define as weak alias not strong alias.
2929
03403e30
SE
29302015-01-05 Steve Ellcey <sellcey@imgtec.com>
2931
2932 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2933 bltzal with addiupc.
2934 (RTLD_START): Ditto.
2935
1dca195e
CM
29362015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2937
00b8b9ba
SP
2938 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2939 for __vdso_* functions in declarations.
2940 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2941 definitions.
2942 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2943 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2944
1dca195e
CM
2945 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2946 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2947 function with cast from llround().
2948 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2949 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2950 Define.
2951
a287953a
JM
29522015-01-05 Joseph Myers <joseph@codesourcery.com>
2953
ab70da77
JM
2954 [BZ #17793]
2955 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2956 Define as weak alias not strong alias.
2957
b8986484
JM
2958 [BZ #17635]
2959 * ctype/ctype-c99.c: New file. isblank implementation moved from
2960 ...
2961 * ctype/ctype-extn.c: ... here.
2962 (__isblank_l): Move to ...
2963 * ctype/ctype-c99_l.c: ... here. New file.
2964 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2965 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2966 Remove variable.
2967 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2968 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2969 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2970 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2971 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2972
a287953a
JM
2973 [BZ #17777]
2974 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2975 (posix_fadvise64): Define as weak alias not strong alias.
2976 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2977 (posix_fallocate64): Likewise.
2978 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2979 Remove variable.
2980 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2981 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2982 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2983 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2984 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2985
b1efe3bb
MF
29862015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2987
2988 [BZ #16191]
2989 * NEWS: Mention bug fix.
2990 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2991 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2992 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2993 (HOST_STACK_END_ADDR): Likewise.
2994
9706dc5f
JM
29952015-01-02 Joseph Myers <joseph@codesourcery.com>
2996
b93c2205
JM
2997 [BZ #17748]
2998 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2999 * math/fegetround.c (fegetround): Rename to __fegetround and
3000 define as weak alias of __fegetround. Use libm_hidden_weak.
3001 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3002 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3003 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3004 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3005 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3006 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3007 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3008 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3009 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3010 Undefine after rather than before function definition; use
3011 parentheses around function name in definition.
3012 (__fegetround): Also undefine macro after function definition.
3013 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3014 __fegetround and define as weak alias of __fegetround. Use
3015 libm_hidden_weak. Do not undefine as macro.
3016 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3017 Likewise.
3018 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3019 __fegetround and define as weak alias of __fegetround. Use
3020 libm_hidden_weak.
3021 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3022 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3023 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3024 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3025 __fegetround and define as weak alias of __fegetround. Use
3026 libm_hidden_weak.
3027 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3028 __fegetround instead of fegetround.
3029
253a59cc
JM
3030 [BZ #17782]
3031 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3032 Condition macro definition on [__USE_MISC].
3033
27dae011
JM
3034 [BZ #17781]
3035 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3036 (struct sigaction): Change type of sa_flags field to int.
3037
172019c0
JM
3038 [BZ #17780]
3039 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3040 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3041 __glibc_reserved0.
3042
522ad1d6
JM
3043 * nptl/version.c (banner): Use single year in copyright notice.
3044
9706dc5f
JM
3045 * NEWS: Update copyright dates.
3046 * catgets/gencat.c (print_version): Likewise.
3047 * csu/version.c (banner): Likewise.
3048 * debug/catchsegv.sh: Likewise.
3049 * debug/pcprofiledump.c (print_version): Likewise.
3050 * debug/xtrace.sh (do_version): Likewise.
3051 * elf/ldconfig.c (print_version): Likewise.
3052 * elf/ldd.bash.in: Likewise.
3053 * elf/pldd.c (print_version): Likewise.
3054 * elf/sotruss.sh: Likewise.
3055 * elf/sprof.c (print_version): Likewise.
3056 * iconv/iconv_prog.c (print_version): Likewise.
3057 * iconv/iconvconfig.c (print_version): Likewise.
3058 * locale/programs/locale.c (print_version): Likewise.
3059 * locale/programs/localedef.c (print_version): Likewise.
3060 * login/programs/pt_chown.c (print_version): Likewise.
3061 * malloc/memusage.sh (do_version): Likewise.
3062 * malloc/memusagestat.c (print_version): Likewise.
3063 * malloc/mtrace.pl: Likewise.
3064 * manual/libc.texinfo: Likewise.
3065 * nptl/version.c (banner): Likewise.
3066 * nscd/nscd.c (print_version): Likewise.
3067 * nss/getent.c (print_version): Likewise.
3068 * nss/makedb.c (print_version): Likewise.
3069 * posix/getconf.c (main): Likewise.
3070 * scripts/test-installation.pl: Likewise.
3071 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3072
b8607aac
WN
30732015-01-02 Will Newton <will.newton@linaro.org>
3074
3075 * sysdeps/arm/armv7/configure: Removed.
3076 * sysdeps/arm/armv7/configure.ac: Likewise.
3077
b168057a
JM
30782015-01-02 Joseph Myers <joseph@codesourcery.com>
3079
3080 * All files with FSF copyright notices: Update copyright dates
3081 using scripts/update-copyrights.
3082 * intl/plural.c: Regenerated.
3083 * locale/programs/charmap-kw.h: Likewise.
3084 * locale/programs/locfile-kw.h: Likewise.
3085
b217c15f
SP
30862015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3087
3088 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3089
73a268c7
JM
30902014-12-31 Joseph Myers <joseph@codesourcery.com>
3091
3092 [BZ #17748]
3093 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3094 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3095 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3096 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3097 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3098 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3099 define as weak alias of __fegetenv. Use libm_hidden_weak.
3100 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3101 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3102 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3103 define as weak alias of __fegetenv. Use libm_hidden_weak.
3104 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3105 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3106 define as weak alias of __fegetenv. Use libm_hidden_weak.
3107 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3108 libm_hidden_def.
3109 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3110 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3111 Likewise.
3112 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3113 define as weak alias of __fegetenv. Use libm_hidden_weak.
3114 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3115 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3116 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3117 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3118 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3119 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3120 __fegetenv instead of fegetenv.
3121 (libc_feholdsetround_noex_ctx): Likewise.
3122
0bd95672
MF
31232014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3124
3125 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3126 (Elf_MIPS_ABIFlags_v0): New structure.
3127 (EF_MIPS_FP64): Define.
3128 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3129 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3130 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3131 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3132 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3133 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3134 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3135 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3136 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3137 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3138 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3139 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3140 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3141 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3142 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3143 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3144 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3145 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3146 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3147 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3148 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3149 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3150 field.
3151 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3152 EF_MIPS_FP64.
3153 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3154 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3155 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3156 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3157 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3158 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3159 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3160 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3161 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3162 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3163 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3164 record the current FP ABI extension.
3165 (mips-mode-switch): Define to show if kernel headers support mode
3166 switching.
3167 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3168 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3169 supported SYSV ABI version to 3.
3170 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3171 feature.
3172
f59ad976
RS
31732014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3174 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3175
3176 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3177 path.
3178 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3179
4a3d3999
JM
31802014-12-31 Joseph Myers <joseph@codesourcery.com>
3181
3182 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3183 __fegetround and redefine to call __fegetround. Remove condition
3184 on [!__NO_MATH_INLINES].
3185 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3186 function.
3187 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3188 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3189 Remove macro.
3190 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3191 instead of <fenv_libc.h>.
3192 (__llrintl): Call fegetround instead of __fegetround.
3193 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3194 instead of <fenv_libc.h>.
3195 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3196 (__lrintl): Call fegetround instead of __fegetround.
3197 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3198 instead of <fenv_libc.h>.
3199 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3200 (__rintl): Call fegetround instead of __fegetround.
3201
195f3afc
SP
32022014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3203
3204 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3205 arrays.
3206
7062bd42
L
32072014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3208
3209 [BZ #17775]
3210 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3211 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3212 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3213
07256e18
AS
32142014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3215
3216 * sysdeps/i386/tls-macros.h: Include <features.h>.
3217 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3218 (TLS_IE): Likewise.
3219 (TLS_LD): Likewise.
3220 (TLS_GD): Likewise.
3221 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3222 define for GCC >= 5.0.
3223
1ff950ad
CM
32242014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3225
3226 * math/test-fenv.c (test_single_exception, set_single_exc,
3227 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3228 feexcp_mask_test, feenable_test, fe_single_test): Add
3229 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3230 case where they are not used.
3231 * math/libm-test.inc: Likewise.
3232 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3233 unused in the absence of FP rounding/exception support.
3234 * stdio-common/tst-printf-round.c: Likewise.
3235 * stdlib/tst-strtod-round.c: Likewise.
3236 * stdlib/tst-strtod-underflow.c: Likewise.
3237
0747f818
JM
32382014-12-30 Joseph Myers <joseph@codesourcery.com>
3239
3240 [BZ #17723]
3241 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3242 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3243 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3244 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3245 libm_hidden_weak.
3246 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3247 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3248 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3249 libm_hidden_def.
3250 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3251 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3252 libm_hidden_weak.
3253 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3254 Likewise.
3255 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3256 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3257 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3258 libm_hidden_weak.
3259 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3260 libm_hidden_def.
3261 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3262 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3263 (__feraiseexcept): Likewise.
3264 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3265 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3266 libm_hidden_weak.
3267 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3268 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3269 libm_hidden_def.
3270 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3271 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3272 Use libm_hidden_def.
3273 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3274 libm_hidden_def.
3275 (feraiseexcept): Define as weak not strong alias. Use
3276 libm_hidden_weak.
3277 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3278 New inline function. Factored out of ...
3279 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3280 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3281 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3282 feraiseexcept.
3283 * math/w_acos.c (__acos): Likewise.
3284 * math/w_asin.c (__asin): Likewise.
3285 * math/w_ilogb.c (__ilogb): Likewise.
3286 * math/w_j0.c (y0): Likewise.
3287 * math/w_j1.c (y1): Likewise.
3288 * math/w_jn.c (yn): Likewise.
3289 * math/w_log.c (__log): Likewise.
3290 * math/w_log10.c (__log10): Likewise.
3291 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3292 * sysdeps/aarch64/fpu/math_private.h
3293 (libc_feupdateenv_test_aarch64): Likewise.
3294 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3295 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3296 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3297 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3298 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3299 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3300 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3301 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3302 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3303 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3304
8d2b2763
L
33052014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3306
3307 [BZ #17732]
3308 * io/test-utime.c (main): Replace %ld with %jd and cast to
3309 intmax_t.
41fad830 3310 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3311 * nptl/tst-mutex5.c: Include <stdint.h>.
3312 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3313 * posix/tst-regex.c (run_test): Likewise.
3314 (run_test_backwards): Likewise.
5d619de4
L
3315 * rt/tst-clock.c: Include <stdint.h>.
3316 (clock_test): Replace %ld with %jd and cast to intmax_t.
3317 * rt/tst-cpuclock1.c: Include <stdint.h>.
3318 (do_test): Replace %lu with %ju and cast to uintmax_t.
3319 * rt/tst-cpuclock2.c: Include <stdint.h>.
3320 (do_test): Replace %lu with %ju and cast to uintmax_t.
3321 * rt/tst-mqueue1.c: Include <stdint.h>.
3322 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3323 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3324 intmax_t.
3325 * rt/tst-mqueue4.c (do_test): Likewise.
3326 * rt/tst-timer4.c: Include <stdint.h>.
3327 (check_ts): Replace %ld with %jd and cast to intmax_t.
3328 (do_test): Likewise.
ad86fbc3
L
3329 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3330 and cast to intmax_t.
37f46900 3331 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3332 * time/clocktest.c (main): Likewise.
3333 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3334 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3335
8b4416d8
AS
33362014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3337 H.J. Lu <hongjiu.lu@intel.com>
3338
3339 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3340 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3341 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3342 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3343 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3344 version if bit_Fast_Unaligned_Load is set.
3345 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3346 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3347 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3348 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3349 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3350 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3351 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3352 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3353 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3354 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3355 to 4.
3356 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3357 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3358 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3359 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3360
e47b8d3b
CM
33612014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3362
6d6d7fde
CM
3363 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3364 instead of #if to avoid a Wundef warning.
3365 * stdlib/tst-limits.c (do_test): Likewise.
3366
cd2c37c9
CM
3367 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3368 parallel other exception macros.
3369 (fegetenv): Convert from macro to extern inline so that it applies
3370 retroactively to inline functions already seen by the compiler.
3371 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3372
e47b8d3b
CM
3373 * posix/Makefile (before-compile): Use $(objpfx) for
3374 posix-conf-vars-def.h.
3375
4a6aca7b
SP
33762014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3377
7910c2ae
SP
3378 * posix/getconf.c (main): Use size_t for type of I.
3379 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3380 NSPEC.
3381
50cbbaa9
SP
3382 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3383 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3384 * posix/posix-envs.def: Likewise.
3385 * sysdeps/posix/sysconf.c: Likewise.
3386 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3387 (specs): Remove array.
3388 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3389 array.
3390
3b566046
SP
3391 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3392 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3393 (__sysconf): Use CONF_IS_* macros.
3394
4a6aca7b
SP
3395 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3396 ($(objpfx)posix-conf-vars-def.h): New target.
3397 * posix/posix-conf-vars.list: New file.
3398 * posix/posix-conf-vars.h: New file.
3399 * posix/confstr.c: Include posix-conf-vars.h.
3400 (confstr): Use CONF_IS_* macros.
3401 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3402 CONF_IS_* macros.
3403 * scripts/gen-posix-conf-vars.awk: New file.
3404
7c1395a7
CM
34052014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3406
0025b4cc
CM
3407 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3408 fegetround): Add no-op macros to avoid linknamespace issues.
3409
d8aaf74b
CM
3410 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3411 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3412
5d24aa60
CM
3413 * sysdeps/unix/sysv/linux/tile/sysdep.h
3414 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3415 assembly-specific section to avoid a redefinition warning.
3416
7c1395a7
CM
3417 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3418 long before casting to pointer to avoid a cast warning.
3419
3c87c616
CM
34202014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3421
3422 * sysdeps/tile/tilegx/Implies: New file.
3423
f559d8cf
RE
34242014-12-23 Richard Earnshaw <rearnsha@arm.com>
3425
3426 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3427
7d81e8d6
FW
34282014-12-23 Florian Weimer <fweimer@redhat.com>
3429
3430 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3431
90aa3d09
JM
34322014-12-22 Joseph Myers <joseph@codesourcery.com>
3433
3434 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3435 not define.
3436 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3437 <kernel-features.h>.
3438 (__utimes) [__NR_utimes]: Make code unconditional.
3439 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3440 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3441 (__ASSUME_UTIMES): Do not undefine.
3442 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3443 (__ASSUME_UTIMES): Likewise.
3444 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3445 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3446 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3447 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3448
4c0c0e2a
SE
34492014-12-22 Steve Ellcey <sellcey@imgtec.com>
3450
3451 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3452
0dacd7a3
CM
34532014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3454
b638f96a
CM
3455 [BZ #17747]
3456 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3457 alias to weak alias for j0l, y0l.
3458 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3459 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3460
0dacd7a3
CM
3461 [BZ #17746]
3462 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3463 conversion.
3464
528479c4
SE
34652014-12-22 Steve Ellcey <sellcey@imgtec.com>
3466
3467 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3468 to zero if not already defined.
3469
f56f9124
JM
34702014-12-22 Joseph Myers <joseph@codesourcery.com>
3471
3472 [BZ #17724]
3473 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3474 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3475 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3476 (char *) casts added.
3477 * sysdeps/ieee754/k_standardf.c: New file.
3478 * sysdeps/ieee754/k_standardl.c: Likewise.
3479 * math/Makefile (libm-support): Remove k_standard.
3480 (libm-calls): Add k_standard.
3481
8622d556
WD
34822014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3483
3484 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3485 Optimize to avoid an unnecessary FPCR read.
3486
f3806bdb
WD
34872014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3488
3489 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3490 Optimize to reduce FPCR/FPSR accesses.
3491
9b47df58
WD
34922014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3493
3494 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3495 Call libc_fetestexcept_aarch64.
3496
97be3cac
WD
34972014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3498
3499 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3500 Call libc_fesetround_aarch64.
3501
935ab817
JM
35022014-12-22 Joseph Myers <joseph@codesourcery.com>
3503
3504 [BZ #17733]
3505 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3506 (__bind): Do not define as weak alias.
3507 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3508 define.
3509 (__getsockname): Do not define as weak alias.
3510
cc8623f1
WN
35112014-12-22 Will Newton <will.newton@linaro.org>
3512
3513 * manual/install.texi: Document that we require bison 2.7
3514 or above.
3515 * INSTALL: Regenerate.
3516 * configure.ac: Use AC_CHECK_PROG_VER instead of
3517 AC_PATH_PROG when checking for bison and check for
3518 version 2.7 or above.
3519 * configure: Regenerate.
3520
a19ca65a
CM
35212014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3522
92901170 3523 [BZ #17745]
e969965a
CM
3524 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3525 * sysdeps/tile/ffsll.c (ffsll): To here.
3526
a19ca65a
CM
3527 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3528
050f7298
L
35292014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3530
3531 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3532 if not defined.
3533 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3534 definition.
3535 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3536 hidden ___tls_get_addr.
3537 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3538 hidden __tls_get_addr.
3539 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3540 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3541 Likewise.
3542
6df5547e
AS
35432014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3544
3545 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3546 _dl_init call.
3547
7432d613
L
35482014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3549
3550 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3551 from "call _dl_init@PLT".
3552 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3553
98fe149e
AK
35542014-12-21 Anders Kaseorg <andersk@mit.edu>
3555
3556 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3557 guarantees.
3558
d12455f5
CM
35592014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3560
3561 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3562
95dee05f
CM
35632014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3564
92901170 3565 [BZ #17744]
95dee05f
CM
3566 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3567 strnlen.
3568
2ef4b74a
SE
35692014-12-19 Steve Ellcey <sellcey@imgtec.com>
3570
3571 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3572 of multu on MIPSr6.
3573 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3574 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3575 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3576 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3577 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3578
35792014-12-19 Steve Ellcey <sellcey@imgtec.com>
3580
3581 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3582 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3583 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3584 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3585 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3586 mips32r6/mips64r6.
3587 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3588
3eb38795
OB
35892014-12-19 Ondřej Bílka <neleai@seznam.cz>
3590
3591 * string/strncat.c (STRNCAT): Simplify implementation.
3592
6d4188dd
DM
35932014-12-19 David S. Miller <davem@davemloft.net>
3594
0d4ba8be
DM
3595 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3596 access the quad as both a long double and as a series of 4 words.
3597
6d4188dd
DM
3598 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3599 link_map->l_info array access.
3600
4ef91cdc
CM
36012014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3602
804c54f7
CM
3603 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3604
4ef91cdc
CM
3605 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3606 * math/atest-exp2.c (TIMEOUT): Likewise.
3607 * math/atest-sincos.c (TIMEOUT): Likewise.
3608
afd176d6
L
36092014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3610
3611 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3612 -Wno-error with -fno-builtin-lround.
3613
a4a43a90
TR
36142014-12-19 Torvald Riegel <triegel@redhat.com>
3615
3616 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3617 Contains futex constants and functions moved over from ...
3618 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3619 <lowlevellock-futex.h>.
3620 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3621 (lll_timedwait_tid): Add comments and parentheses around macro
3622 arguments.
3623
76f71081
TR
36242014-12-19 Torvald Riegel <triegel@redhat.com>
3625
3626 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3627 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3628 (__lll_private_flag): Remove.
3629 (lll_futex_wait): Likewise.
3630 (lll_futex_timed_wait): Likewise.
3631 (lll_futex_wake): Likewise.
3632 (lll_futex_requeue): Likewise.
3633 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3634 (__lll_timedwait_tid): Spell out argument names.
3635 (lll_timedwait_tid): Add comments and parentheses around macro
3636 arguments.
3637 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3638 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3639
6b814909
TR
36402014-12-19 Torvald Riegel <triegel@redhat.com>
3641
3642 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3643 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3644 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3645 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3646 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3647 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3648 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3649 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3650 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3651 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3652 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3653 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3654 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3655 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3656 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3657 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3658 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3659 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3660 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3661
9cd4d4ab
L
36622014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3663
3664 * sysdeps/x86_64/x32/Makefile: New file.
3665
c9c1a2d0
L
36662014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3667
3668 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3669 1L with (mp_limb_t) 1.
3670
af102d95
RM
36712014-12-17 Roland McGrath <roland@hack.frob.com>
3672
dd690454
RM
3673 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3674 * nptl/libc_pthread_init.c: ... here.
3675 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3676 * nptl/register-atfork.c: ... here.
3677
74eb826c
RM
3678 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3679 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3680 Use assert_perror to check its return value.
3681 (__gai_create_helper_thread): Likewise.
3682
c9ce306b
RM
3683 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3684
af102d95
RM
3685 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3686
8ac5a76a
JM
36872014-12-17 Joseph Myers <joseph@codesourcery.com>
3688
ea41469b
JM
3689 [BZ #17725]
3690 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3691 __profil_counter.
3692 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3693 Likewise.
3694 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3695 Likewise.
3696 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3697 Likewise.
3698 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3699 (profil_counter): Likewise.
3700 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3701 (profil_counter): Likewise.
3702 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3703 Likewise.
3704 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3705 Likewise.
3706 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3707 (profil_counter): Likewise.
3708 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3709 Likewise.
3710 [!__profil_counter] (profil_counter): Define as weak alias of
3711 __profil_counter.
3712 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3713 (profil_counter): Rename to __profil_counter.
3714 [!__profil_counter] (profil_counter): Define as weak alias of
3715 __profil_counter.
3716 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3717 (profil_counter): Rename to __profil_counter.
3718 [!__profil_counter] (profil_counter): Define as weak alias of
3719 __profil_counter.
3720 * sysdeps/posix/profil.c: Update comment referring to
3721 profil_counter.
3722 (__profil): Use __profil_counter instead of profil_counter.
3723 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3724 __profil_counter. Use __profil_counter_ushort and
3725 __profil_counter_uint in definitions.
3726 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3727 instead of profil_counter_uint and profil_counter_ushort.
3728
8ac5a76a
JM
3729 [BZ #17722]
3730 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3731 define as weak alias of __inet_makeaddr.
3732 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3733 as weak alias of __inet_addr.
3734 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3735 as weak alias of __inet_pton. Use libc_hidden_weak.
3736 * include/arpa/inet.h (__inet_pton): Declare. Use
3737 libc_hidden_proto.
3738 (inet_makeaddr): Don't use libc_hidden_proto.
3739 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3740 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3741 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3742 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3743 Remove variable.
3744 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3745 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3746
66ce3cb1
SE
37472014-12-17 Steve Ellcey <sellcey@imgtec.com>
3748
3749 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3750
d22ce01b
SL
37512014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3752
3753 * stdio-common/bug-vfprintf-nargs.c (do_test):
3754 Cast value to intptr_t to avoid format warning
3755 for usage with PRIdPTR printing macro.
3756
eca2772b
SL
37572014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3758
3759 * libio/tst-widetext.c (do_test):
3760 Use format type %td instead of %Zd for ptrdiff_t
3761 in order to avoid format warning.
3762
bdf079da
AS
37632014-12-17 Andreas Schwab <schwab@suse.de>
3764
3765 * nscd/mem.c (gc): Add size_t cast to match printf format.
3766
3eb5d2fc
RM
37672014-12-16 Roland McGrath <roland@hack.frob.com>
3768
3769 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3770 (init): Apply PTR_MANGLE to pointers before storing them.
3771 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3772 before using them.
3773
d003ada2
JM
37742014-12-16 Joseph Myers <joseph@codesourcery.com>
3775
380292ba
JM
3776 [BZ #17719]
3777 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3778 define as weak alias of __memrchr.
3779 (__memrchr): Do not define as strong alias of memrchr.
3780 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3781 Remove variable.
3782 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3783 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3784 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3785
9a44d530
JM
3786 [BZ #17717]
3787 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3788 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3789 (if_indextoname): Rename to __if_indextoname and define as weak
3790 alias of __if_indextoname. Use libc_hidden_weak.
3791 (if_freenameindex): Rename to __if_freenameindex and define as
3792 weak alias of __if_freenameindex.
3793 (if_nameindex): Rename to __if_nameindex and define as weak alias
3794 of __if_nameindex.
3795 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3796 __if_nametoindex and define as weak alias of __if_nametoindex.
3797 Use libc_hidden_weak.
3798 (if_freenameindex): Rename to __if_freenameindex and define as
3799 weak alias of __if_freenameindex.
3800 (if_nameindex): Rename to __if_nameindex and define as weak alias
3801 of __if_nameindex.
3802 (if_indextoname): Rename to __if_indextoname and define as weak
3803 alias of __if_indextoname. Use libc_hidden_weak.
3804 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3805 __if_nametoindex and define as weak alias of __if_nametoindex.
3806 Use libc_hidden_weak.
3807 (if_freenameindex): Rename to __if_freenameindex and define as
3808 weak alias of __if_freenameindex. Use libc_hidden_weak.
3809 (if_nameindex_netlink): Use __if_freenameindex instead of
3810 if_freenameindex.
3811 (if_nameindex): Rename to __if_nameindex and define as weak alias
3812 of __if_nameindex. Use libc_hidden_weak.
3813 (if_indextoname): Rename to __if_indextoname and define as weak
3814 alias of __if_indextoname. Use libc_hidden_weak.
3815 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3816 libc_hidden_proto.
3817 [!_ISOMAC] (__if_freenameindex): Likewise.
3818 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3819 if_nametoindex.
3820 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3821 variable.
3822 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3823 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3824 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3825 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3826 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3827 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3828 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3829
d003ada2
JM
3830 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3831 Remove variable.
3832 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3833 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3834
a0d424ef
SP
38352014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3836
0cd85520
SP
3837 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3838 subscript above bounds'
3839
a0d424ef
SP
3840 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3841 bounds.
3842
0e426475
AS
38432014-12-16 Arjun Shankar <arjun.is@lostca.se>
3844
8b460906
AS
3845 * libio/tst-fopenloc.c: Use test-skeleton.c.
3846
fa13e15b
AS
3847 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3848 (entry): Rename to ITEM.
3849 (do_test, comp): Adjust.
3850
0e426475
AS
3851 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3852
4f646bce
TR
38532014-12-16 Torvald Riegel <triegel@redhat.com>
3854
3855 * string/tester.c: Include <libc-internal.h>.
3856 (test_memset): Ignore -Wmemset-transposed-args.
3857
a07c4427
TR
38582014-12-16 Torvald Riegel <triegel@redhat.com>
3859
3860 * misc/tst-mntent2.c (do_test): Fix warning.
3861
1469f466
TR
38622014-12-16 Torvald Riegel <triegel@redhat.com>
3863
3864 * elf/tst-unique4lib.cc(a): Mark as used.
3865
11e3417a
FW
38662014-12-16 Florian Weimer <fweimer@redhat.com>
3867
3868 [BZ #17630]
3869 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3870 names.
3871
ae61fc7b
AM
38722014-12-16 Allan McRae <allan@archlinux.org>
3873
3874 * stdio-common/Makefile (tests): Re-add bug26.
3875
363a9899
OB
38762014-12-15 Ondřej Bílka <neleai@seznam.cz>
3877
3878 [BZ #17657]
3879 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3880 static array.
3881
d52c62df
TR
38822014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3883
3884 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3885 (__lll_lock_wait): Likewise.
3886 (__lll_timedlock_wait): Likewise.
3887 (__lll_timedwait_tid): Likewise.
3888 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3889 (__lll_robust_timedlock_wait): Likewise.
3890 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3891 (lll_cond_trylock): Likewise.
3892 (__lll_lock): Likewise.
3893 (__lll_robust_lock): Likewise.
3894 (__lll_cond_lock): Likewise.
3895 (lll_robust_cond_lock): Likewise.
3896 (__lll_timedlock): Likewise.
3897 (__lll_robust_timedlock): Likewise.
3898 (__lll_unlock): Likewise.
3899 (__lll_robust_unlock): Likewise.
3900 (lll_wait_tid): Likewise.
3901 (lll_timedwait_tid): Likewise.
3902
045a6bcd
TR
39032014-12-15 Torvald Riegel <triegel@redhat.com>
3904
3905 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3906
7f786dc1
TR
39072014-12-15 Torvald Riegel <triegel@redhat.com>
3908
3909 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3910
e7e21cba
AZ
39112014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3912
3913 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3914 * stdio-common/tst-sprintf.c: Likewise.
3915
bc89c0fc
TR
39162014-12-15 Torvald Riegel <triegel@redhat.com>
3917
3918 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3919
a5357b7c
JL
39202014-12-15 Jeff Law <law@redhat.com>
3921
3922 [BZ #16617]
3923 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3924 on the heap. (CVE-2012-3406)
3925 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3926 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3927 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3928
3a12c70f
WN
39292014-12-15 Will Newton <will.newton@linaro.org>
3930
3931 * manual/install.texi: Bump required version of texinfo
3932 to 4.7 from 4.5.
3933 * INSTALL: Regenerated.
3934 * configure.ac: Check for makeinfo version 4.7 and above.
3935 * configure: Regenerated.
3936
e4f639e4
RM
39372014-12-12 Roland McGrath <roland@hack.frob.com>
3938
3939 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3940 PREFIX, string constant to insert between directory and name.
3941 * sysdeps/posix/shm_open.c: Update caller.
3942 * sysdeps/posix/shm_unlink.c: Likewise.
3943 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3944 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3945 (SEM_SHM_PREFIX): New macro.
3946 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3947 [$(have-thread-library) = no].
3948 * nptl/Makefile (libpthread-routines): Add shm-directory.
3949 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3950 * sysdeps/nptl/shm-directory.h: New file.
3951 * sysdeps/posix/shm-directory.c
3952 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3953 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3954 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3955 INTERNAL_SYSCALL.
3956 (__where_is_shmfs): Function removed.
3957 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3958 Variables removed.
3959 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3960 Use SHM_GET_NAME.
3961 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3962
3963 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3964 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3965 unconditional for use inside libpthread.
3966 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3967
439c43f6
RM
39682014-12-12 Roland McGrath <roland@hack.frob.com>
3969
c76d1ff5
RM
3970 * nptl/pthread_getaffinity.c: New file.
3971 * nptl/pthread_setaffinity.c: New file.
3972 * nptl/pthread_getname.c: New file.
3973 * nptl/pthread_setname.c: New file.
3974
439c43f6
RM
3975 * nptl/pthread_create.c (START_THREAD_DEFN)
3976 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3977
48e435cd
SL
39782014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3979 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3980
3981 * resolv/res_send.c (send_vc): Disable warning resplen may
3982 be used uninitialized.
3983
9d9c0019
SL
39842014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3985
3986 * nptl/tst-mutex6.c
3987 (ATTR_NULL): New define checks ATTR against NULL.
3988 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3989 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3990
9173840b
JL
39912014-12-11 James Lemke <jwlemke@codesourcery.com>
3992
3993 [BZ #17581]
3994 * malloc/hooks.c
3995 (mem2mem_check): Revert my previous change.
3996 (malloc_check_get_size): Revert my previous change.
3997 (mem2chunk_check): Revert my previous change.
3998
78e21c5d
RM
39992014-12-11 Roland McGrath <roland@hack.frob.com>
4000
4001 * sysdeps/posix/shm-directory.c: New file.
4002 * sysdeps/posix/shm-directory.h: New file.
4003 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4004 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4005 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4006 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4007 Transmute EPERM to EACCES.
4008 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4009 from ...
4010 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4011 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4012
f82c43af
KK
40132014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4014
4015 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4016 pointer and cast to uintptr_t.
4017 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4018 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4019 Add cast to avoid warning.
4020 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4021
fc00cf7b
JM
40222014-12-11 Joseph Myers <joseph@codesourcery.com>
4023
4024 * nptl/semaphore.h: Move to ...
4025 * sysdeps/pthread/semaphore.h: ... here.
4026 * Makefile (installed-headers): Change nptl/semaphore.h to
4027 sysdeps/pthread/semaphore.h.
4028
1c4053db
RM
40292014-12-11 Roland McGrath <roland@hack.frob.com>
4030
73b0c1a1
RM
4031 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4032 generated error format strings.
4033
1c4053db
RM
4034 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4035 -Wformat-extra-args warnings for scanf formats.
4036 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4037 test of zero-length format (duh).
4038 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4039 corner-case scanf format test.
4040 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4041 generated fprintf format string.
4042 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4043 corner-case sprintf format tests.
4044 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4045 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4046 -Wformat-extra-args warnings throughout.
4047 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4048 (CFLAGS-scanf4.c): Likewise.
4049 (CFLAGS-scanf7.c): Likewise.
4050 (CFLAGS-tst-sprintf.c): Likewise.
4051 (CFLAGS-tst-printf.c): Likewise.
4052 (CFLAGS-tst-printfsz.c): Likewise.
4053
47d51f4f
JM
40542014-12-11 Joseph Myers <joseph@codesourcery.com>
4055
a1edbf3c
JM
4056 * include/cpio.h: New file.
4057 * include/fmtmsg.h: Likewise.
4058
47d51f4f
JM
4059 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4060 corresponding format argument to size_t.
4061 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4062 arguments.
4063 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4064 corresponding format argument to size_t.
4065 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4066 arguments.
4067 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4068 corresponding format argument to size_t.
4069 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4070 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4071 (CFLAGS-tst-mbswcs2.c): Likewise.
4072 (CFLAGS-tst-mbswcs3.c): Likewise.
4073 (CFLAGS-tst-mbswcs4.c): Likewise.
4074 (CFLAGS-tst-mbswcs5.c): Likewise.
4075 (CFLAGS-tst-trans.c): Likewise
4076
e9813cfb
RM
40772014-12-11 Roland McGrath <roland@hack.frob.com>
4078
4079 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4080 rather than assuming they won't contain any '%'s.
4081
f627ca82
CM
40822014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4083
4084 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4085 inhibit_loop_to_libcall to avoid recursive calls.
4086 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4087 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4088
7f296942
AZ
40892014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4090
4091 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4092 prototype.
4093
d0276e18
SE
40942014-12-11 Steve Ellcey <sellcey@imgtec.com>
4095
4096 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4097 integer value instead of boolean.
4098
fc56e970
SE
40992014-12-11 Steve Ellcey <sellcey@imgtec.com>
4100
4101 * malloc/malloc.c: Fix powerof2 check.
4102
40e53917
SL
41032014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4104
4105 * locale/programs/locfile.h (maybe_swap_uint32):
4106 Remove inline and add unused attribute.
4107
1ea166df
SL
41082014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4109
9d9c0019 4110 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
4111 Truncating assembler expression to a .long expression.
4112
acf869f4
AS
41132014-12-11 Andreas Schwab <schwab@suse.de>
4114
4115 * elf/rtld.c (struct map_args): Constify str member.
4116 (do_preload): Constify fname argument.
4117
9d969099
AZ
41182014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4119
4120 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4121 constants definition.
4122
da5bcaa4
AS
41232014-12-11 Andreas Schwab <schwab@suse.de>
4124
b0a3c164
AS
4125 [BZ #16657]
4126 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4127 FORCE_ELISION instead of DO_ELISION.
4128 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4129 Remove.
4130 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4131 Likewise.
4132
da5bcaa4
AS
4133 * iconvdata/gconv-modules: Remove duplicate entry.
4134
6d248857
WN
41352014-12-11 Will Newton <will.newton@linaro.org>
4136
4137 Merge gettext 0.19.3 into intl/.
4138
4139 This involves a number of cosmetic changes to comments
4140 and ANSI function definitions and prototypes throughout
4141 all the files. The gettext copyright header is used but
4142 with the date ranges taken from the glibc copy.
4143
4144 * NEWS: Add gettext merge to 2.21.
4145 * intl/bindtextdom.c: Switch to gettext copyright.
4146 Use ANSI definitions and prototypes.
4147 Use gl_* locking primitives rather than __libc_* ones.
4148 Use __builtin_expect rather than __glibc_likely/unlikely.
4149 * intl/dcgettext.c: Switch to gettext copyright.
4150 Use ANSI definitions and prototypes.
4151 * intl/dcigettext.c: Switch to gettext copyright.
4152 Use ANSI definitions and prototypes.
4153 (INTDIV0_RAISES_SIGFPE): New define.
4154 Use gl_* locking primitives rather than __libc_* ones.
4155 Include eval-plural.h instead of plural-eval.c.
4156 Use __builtin_expect rather than __glibc_likely/unlikely.
4157 * intl/dcngettext.c: Switch to gettext copyright.
4158 Use ANSI definitions and prototypes.
4159 * intl/dgettext.c: Likewise.
4160 * intl/dngettext.c: Likewise.
4161 * intl/plural-eval.c: Renamed to...
4162 * intl/eval-plural.h: ...this.
4163 * intl/explodename.c: Switch to gettext copyright.
4164 Use ANSI definitions and prototypes.
4165 (_nl_explode_name): Use strchr instead of __rawmemchr.
4166 * intl/finddomain.c: Switch to gettext copyright.
4167 Use ANSI definitions and prototypes.
4168 Use gl_* locking primitives rather than __libc_* ones.
4169 (_nl_find_domain): Use malloc rather than alloca for
4170 allocation of temporary locale name.
4171 * intl/gettext.c: Switch to gettext copyright.
4172 Use ANSI definitions and prototypes.
4173 * intl/gettextP.h: Switch to gettext copyright.
4174 Use ANSI definitions and prototypes.
4175 Use gl_* locking primitives rather than __libc_* ones.
4176 * intl/gmo.h: Switch to gettext copyright.
4177 (struct sysdep_string): Move struct segment_pair outside of
4178 struct definition.
4179 * intl/hash-string.c: Use ANSI definitions and prototypes.
4180 * intl/hash-string.h: Switch to gettext copyright.
4181 Use ANSI definitions and prototypes.
4182 * intl/l10nflist.c: Switch to gettext copyright.
4183 Use ANSI definitions and prototypes.
4184 (_nl_normalize_codeset): Avoid integer overflow.
4185 * intl/loadinfo.h: Switch to gettext copyright.
4186 Use ANSI definitions and prototypes.
4187 (LIBINTL_DLL_EXPORTED): New define.
4188 (PATH_SEPARATOR): New define.
4189 * intl/loadmsgcat.c: Switch to gettext copyright.
4190 * intl/localealias.c: Switch to gettext copyright.
4191 Use ANSI definitions and prototypes.
4192 (_nl_expand_alias): Use PATH_SEPARATOR.
4193 * intl/ngettext.c: Switch to gettext copyright.
4194 Use ANSI definitions and prototypes.
4195 * intl/plural-exp.c: Likewise.
4196 * intl/plural-exp.h: Switch to gettext copyright.
4197 Use ANSI definitions and prototypes.
4198 (struct expression): Move definition of enum operator outside
4199 of struct definition.
4200 * intl/plural.c: Regenerate.
4201 * intl/plural.y: Switch to gettext copyright.
4202 Use ANSI definitions and prototypes.
4203 Port to bison 3.0.
4204 * intl/textdomain.c: Switch to gettext copyright.
4205 Use ANSI definitions and prototypes.
4206 Use gl_* locking primitives rather than __libc_* ones.
4207
48c43298
SE
42082014-12-10 Steve Ellcey <sellcey@imgtec.com>
4209
4210 * debug/warning-nop.c: Add used atrribute.
4211
2b89bce9
JM
42122014-12-10 Joseph Myers <joseph@codesourcery.com>
4213
c153ac9f
JM
4214 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4215
2b89bce9
JM
4216 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4217 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4218 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4219
2cfbdb9a
JM
42202014-12-10 Joseph Myers <joseph@codesourcery.com>
4221 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4222
4223 [BZ #17634]
4224 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4225 Undefine after defining function. Define as weak alias of
4226 __wcschr. Use libc_hidden_weak.
4227 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4228 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4229 (libc_hidden_def): Also define __GI___wcschr alias.
4230 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4231 __wcschr and define as weak alias of __wcschr.
4232 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4233 __wcschr.
4234 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4235 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4236 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4237 libc_hidden_weak. Do not use libc_hidden_def.
4238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4239 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4240 __GI___wcschr alias.
4241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4242 [IS_IN (libc)] (wcschr): Define as macro expanding to
4243 __redirect_wcschr.
4244 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4245 [IS_IN (libc)] (__wcschr_power6): Likewise.
4246 [IS_IN (libc)] (__wcschr_power7): Likewise.
4247 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4248 instead of wcschr.
4249 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4250 __libc_wcschr.
4251 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4252 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4253 __wcschr and define as weak alias of __wcschr. Use
4254 libc_hidden_builtin_def.
4255 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4256 as weak alias of __wcschr. Use libc_hidden_weak.
4257 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4258 wcschr.
4259 * time/era.c (_nl_init_era_entries): Likewise.
4260 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4261 variable.
4262 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4263 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4264
1b8bf351
JM
42652014-12-10 Joseph Myers <joseph@codesourcery.com>
4266
4267 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4268 format for long int variable.
4269
f5f46d51
AK
42702014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4271
4272 [BZ #10672]
07008f7d 4273 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4274 qsort stable.
4275
217a74a8
AS
42762014-12-10 Andreas Schwab <schwab@suse.de>
4277
4278 [BZ #12847]
4279 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4280 user-controlled locks.
4281
aa76a5c7
RE
42822014-12-10 Richard Earnshaw <rearnsha@arm.com>
4283
4284 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4285 register.
4286
2084e7ca
JM
42872014-12-10 Joseph Myers <joseph@codesourcery.com>
4288
a4ecc9eb
JM
4289 * configure.ac (--disable-werror): New configure option.
4290 (enable_werror): New AC_SUBST.
4291 * configure: Regenerated.
4292 * config.make.in (enable-werror): New variable.
4293 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4294 -Wno-error=undef.
4295 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4296 * manual/install.texi (Configuring and compiling): Document
4297 --disable-werror.
4298 * INSTALL: Regenerated.
4299 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4300 (CFLAGS-tst-chk2.c): Likewise.
4301 (CFLAGS-tst-chk3.c): Likewise.
4302 (CFLAGS-tst-chk4.cc): Likewise.
4303 (CFLAGS-tst-chk5.cc): Likewise.
4304 (CFLAGS-tst-chk6.cc): Likewise.
4305 (CFLAGS-tst-lfschk1.c): Likewise.
4306 (CFLAGS-tst-lfschk2.c): Likewise.
4307 (CFLAGS-tst-lfschk3.c): Likewise.
4308 (CFLAGS-tst-lfschk4.cc): Likewise.
4309 (CFLAGS-tst-lfschk5.cc): Likewise.
4310 (CFLAGS-tst-lfschk6.cc): Likewise.
4311
0f88636c
JM
4312 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4313 (main): Disable -Wdeprecated-declarations around calls to
4314 register_printf_function.
4315
c81e9deb
JM
4316 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4317 (do_test): Disable -Wdiv-by-zero around some calls to
4318 fwrite_unlocked and fread_unlocked.
4319
2084e7ca
JM
4320 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4321 (DIAG_POP_NEEDS_COMMENT): Likewise.
4322 (_DIAG_STR1): Likewise.
4323 (_DIAG_STR): Likewise.
4324 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4325 * stdio-common/bug21.c: Include <libc-internal.h>.
4326 (do_test): Disable -Wformat around call to sscanf.
4327 * stdio-common/scanf14.c: Include <libc-internal.h>.
4328 (main): Disable -Wformat around some calls to scanf functions.
4329
df7ecc6b
TR
43302014-12-09 Torvald Riegel <triegel@redhat.com>
4331
4332 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4333
2aa3862e
AZ
43342014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4335
4336 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4337 stack variable alignment.
4338
c5c2b7c3
JM
43392014-12-06 Joseph Myers <joseph@codesourcery.com>
4340
4341 [BZ #17682]
4342 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4343 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4344 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4345 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4346 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4347 __getrlimit instead of getrlimit.
4348 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4349 __gettimeofday instead of gettimeofday.
4350 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4351 Likewise.
4352 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4353 Likewise.
4354 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4355 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4356 Remove variable.
4357 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4358 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4359
9752c3cd
AZ
43602014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4361
4362 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4363 for wide-character tests.
4364
4bee4cd9
RM
43652014-12-04 Roland McGrath <roland@hack.frob.com>
4366
4367 * io/openat64.c: #include <libc-internal.h>
4368 (__openat64): Prototypify. Use ignore_value on MODE.
4369 * io/openat.c: Likewise.
4370 * misc/reboot.c: #include <libc-internal.h>
4371 (reboot): Prototypify. Use ignore_value on HOWTO.
4372 * misc/ptrace.c: #include <libc-internal.h>
4373 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4374
84dbedb6
JM
43752014-12-04 Joseph Myers <joseph@codesourcery.com>
4376
4377 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4378 XPG4, UNIX98 and XOPEN2K.
4379 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4380 Remove variable.
4381 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4382
b7a3e1c4 43832014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4384
af50dfc1 4385 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4386 * libio/iofopen.c: Likewise.
4387 * libio/wfileops.c: Likewise.
4388
fe8b4d98
SP
4389 [BZ #17653]
4390 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4391 offset on EOF.
4392 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4393 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4394 (fgets_func): Function pointer to fgets and fgetws.
4395 (do_ftell_test): Add test to verify ftell value after read
4396 EOF.
4397 (do_test): Set fgets_func.
4398
61b4f792
SP
4399 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4400 O_TRUNC flag for w and w+ modes.
4401 (do_rewind_test): Likewise.
4402 (do_ftell_test): Likewise.
4403 (do_write_test): Likewise.
4404
be349d70
SP
4405 [BZ #17647]
4406 * libio/fileops.c (do_ftell): Seek only when there are
4407 unflushed writes.
4408 * libio/wfileops.c (do_ftell_wide): Likewise.
4409 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4410 test case.
4411 (do_one_test): Call it.
4412
e3d6dba5
JM
44132014-12-03 Joseph Myers <joseph@codesourcery.com>
4414
4415 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4416 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4417 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4418 Remove variable.
4419 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4420 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4421 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4422
7f994279
JM
44232014-12-02 Joseph Myers <joseph@codesourcery.com>
4424
28a91e8f
JM
4425 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4426 Remove variable.
4427 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4428
7f994279
JM
4429 [BZ #17668]
4430 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4431 as weak alias of __getifaddrs. Use libc_hidden_weak.
4432 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4433 __freeifaddrs. Use libc_hidden_weak.
4434 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4435 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4436 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4437 __freeifaddrs. Use libc_hidden_weak.
4438 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4439 __getifaddrs and define as weak alias of __getifaddrs. Use
4440 libc_hidden_weak.
4441 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4442 __freeifaddrs. Use libc_hidden_weak.
4443 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4444 Remove variable.
4445 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4446 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4447
bbe4c142
PJ
44482014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4449
4450 [BZ #17601]
4451 * sysdeps/mips/start.S (__start): Use indirect jump to call
4452 __libc_start_main.
4453
66cadc05
JM
44542014-12-02 Joseph Myers <joseph@codesourcery.com>
4455
909e16d9
JM
4456 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4457
4e0b9016
JM
4458 * nptl/tst-mutex1.c: Include <stdbool.h>.
4459 [!ATTR] (ATTR_NULL): New macro.
4460 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4461 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4462 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4463
b1aff6a4
JM
4464 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4465 to char *.
4466
266865c0
JM
4467 [BZ #17665]
4468 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4469 Change conditional to [__USE_MISC].
4470
84e5e756
JM
4471 [BZ #17664]
4472 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4473 fgets_unlocked.
4474 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4475 __fgets_unlocked.
4476 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4477 fgets_unlocked.
4478 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4479 Remove variable.
4480 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4481 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4482 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4483 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4484 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4485 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4486 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4487 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4488 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4489
66cadc05
JM
4490 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4491
2e8a2de2 44922014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
4493
4494 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4495 Remove strpbrk objects.
4496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4497 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4498 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4499 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4500 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4501 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4502
bb2542e0
AZ
4503 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4504 Remove strcspn objects.
4505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4506 (__libc_ifunc_impl_list): Remove strcspn implementation.
4507 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4508 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4509 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4510 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4511
4512 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4513 Remove strspn objetcs.
4514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4515 (__libc_ifunc_impl_list): Remove strspn implementation.
4516 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4517 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4518 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4519 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4520
08f1e1d2
JL
45212014-12-01 James Lemke <jwlemke@codesourcery.com>
4522
4523 [BZ #17581]
4524 * malloc/hooks.c
4525 (mem2mem_check): Add a terminator to the chain of checking blocks.
4526 (malloc_check_get_size): Use it here.
4527 (mem2chunk_check): Ditto.
4528
a8a7d7d2
RS
45292014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4530
4531 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4532 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4533
97114a38
CD
45342014-11-29 Carlos O'Donell <carlos@redhat.com>
4535
c8dc1727
CD
4536 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4537
6d03458e
CD
4538 * nptl/nptl-init.c: Include libc-internal.h.
4539 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4540
97114a38
CD
4541 * elf/ldconfig.c (search_dir): Expand comment.
4542
0e7e69ba
JM
45432014-11-29 Joseph Myers <joseph@codesourcery.com>
4544
4545 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4546 variable.
4547 (linknamespace-symlist-stdlibs-tests): Likewise.
4548 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4549 instead of $(objpfx)symlist-stdlibs.
4550 (linknamespace-libs-isoc): New variable.
4551 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4552 (linknamespace-libs-ISO): New variable.
4553 (linknamespace-libs-ISO99): Likewise.
4554 (linknamespace-libs-ISO11): Likewise.
4555 (linknamespace-libs-XPG3): Likewise.
4556 (linknamespace-libs-XPG4): Likewise.
4557 (linknamespace-libs-POSIX): Likewise.
4558 (linknamespace-libs-UNIX98): Likewise.
4559 (linknamespace-libs-XOPEN2K): Likewise.
4560 (linknamespace-libs-POSIX2008): Likewise.
4561 (linknamespace-libs-XOPEN2K8): Likewise.
4562 ($(objpfx)symlist-stdlibs): Replace by
4563 $(linknamespace-symlist-stdlibs-tests). Use
4564 $(linknamespace-libs-$*) as set of libraries.
4565 ($(linknamespace-header-tests)): Update dependencies. Use
4566 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4567 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4568 * conform/linknamespace.pl: Remove comment about considering
4569 definitions of symbols from irrelevant libraries.
4570
d8dd0080
L
45712014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4572
4573 [BZ #13862]
4574 * elf/dl-tls.c: Include <atomic.h>.
4575 (oom): Remove #ifdef SHARED/#endif.
4576 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4577 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4578 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4579 big enough.
4580 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4581 * nptl/Makefile (tests): Add tst-stack4.
4582 (modules-names): Add tst-stack4mod.
4583 ($(objpfx)tst-stack4): New.
4584 (tst-stack4mod.sos): Likewise.
4585 ($(objpfx)tst-stack4.out): Likewise.
4586 ($(tst-stack4mod.sos)): Likewise.
4587 (clean): Likewise.
4588 * nptl/tst-stack4.c: New file.
4589 * nptl/tst-stack4mod.c: Likewise.
4590
167da422
B
45912014-11-27 J. Brown <jb999@gmx.de>
4592
4593 * sysdeps/x86/bits/string.h: Add recent CPUs.
4594
9114625b
JM
45952014-11-27 Joseph Myers <joseph@codesourcery.com>
4596
6b5189eb
JM
4597 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4598 sigblock.
4599
49051f8e
JM
4600 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4601 feof.
4602
9114625b
JM
4603 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4604 variable.
4605
e7300fef
SL
46062014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4607
4608 * nscd/connections.c: Include libc-internal.h because of macro
4609 usage ignore_value.
4610
1721f0a4
SP
46112014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4612
4613 * string/bits/string3.h (__warn_memset_zero_len): Don't
4614 declare for gcc newer than 5.0.
4615 (memset): Don't test for zero-length __LEN for gcc newer than
4616 5.0.
4617
be970916
JM
46182014-11-27 Joseph Myers <joseph@codesourcery.com>
4619
d88548f4
JM
4620 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4621 size_t for %zu format.
4622
be970916
JM
4623 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4624 difference, not %ju.
4625
3b20fd5c
JM
46262014-11-26 Joseph Myers <joseph@codesourcery.com>
4627
8915eace
JM
4628 * include/libc-internal.h (ignore_value): New macro.
4629 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4630 with ignore_value.
4631
f1a5a0e3
JM
4632 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4633 definition.
4634
59ef1715
JM
4635 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4636 pthread_cleanup_push to void *.
4637
a6f3079b
JM
4638 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4639 Undefine.
4640
706688aa
JM
4641 [BZ #16619]
4642 [BZ #16740]
4643 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4644 instead of 1L << 52.
4645
12da14a5
JM
4646 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4647 * libio/bug-rewind2.c (do_test): Likewise.
4648
bd5dadac
JM
4649 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4650 * debug/test-strcpy_chk-ifunc.c: Likewise.
4651 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4652 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4653 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4654 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4655 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4656 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4657 * Rules [$(multi-arch) = no] (tests): Do not filter out
4658 $(tests-ifunc).
4659 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4660 * debug/Makefile (tests-ifunc): Remove variable.
4661 (tests): Do not add $(tests-ifunc).
4662 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4663 (tests): Do not add $(tests-ifunc).
4664 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4665 [TEST_IFUNC]: Remove conditionals.
4666 * string/test-string.h (TEST_IFUNC): Remove macro.
4667 [TEST_IFUNC]: Remove conditionals.
4668
3b20fd5c
JM
4669 * string/test-strchr.c [!WIDE] (L): New macro.
4670 [WIDE] (L): Likewise.
4671 (check1): Use CHAR instead of char. Use L on string and character
4672 constants.
4673
704f7947
AZ
46742014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4675
4676 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4677 tests.
4678 * sysdeps/powerpc/bits/atomic.h
4679 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4680 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4681 (atomic_exchange_and_add_acq): Likewise.
4682 (atomic_exchange_and_add_rel): Likewise.
4683 * sysdeps/powerpc/powerpc32/bits/atomic.h
4684 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4685 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4686 * sysdeps/powerpc/powerpc64/bits/atomic.h
4687 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4688 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4689
cdcb42d7
TR
46902014-11-26 Torvald Riegel <triegel@redhat.com>
4691
4692 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4693 Change synchronization of __sched_fifo_min_prio and
4694 __sched_fifo_max_prio.
4695 * nptl/pthread_mutexattr_getprioceiling.c
4696 (pthread_mutexattr_getprioceiling): Likewise.
4697 * nptl/pthread_mutexattr_setprioceiling.c
4698 (pthread_mutexattr_setprioceiling): Likewise.
4699 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4700 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4701 Likewise.
4702
c82f5c0c
JM
47032014-11-26 Joseph Myers <joseph@codesourcery.com>
4704
4705 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4706 void.
4707
439e1ad6
JM
47082014-11-25 Joseph Myers <joseph@codesourcery.com>
4709
4710 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4711 third argument const.
4712
b1eda10e
PE
47132014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4714
4715 fnmatch: work around GCC compiler warning bug with uninit var
4716 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4717 This works around a bug with x86-64 GCC 4.9.2 and earlier
4718 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4719 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4720 used uninitialized in this function [-Wmaybe-uninitialized]".
4721
bde2667a
JM
47222014-11-25 Joseph Myers <joseph@codesourcery.com>
4723
4724 * posix/bug-regex31.c (main): Return RES not 0.
4725
5fbb5691
AB
47262014-11-25 Anton Blanchard <anton@samba.org>
4727
4728 * sysdeps/powerpc/bits/atomic.h
4729 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4730
467fec0b
BM
47312014-11-24 Sterling Augustine <saugustine@google.com>
4732
4733 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4734
e9ff8efb
RC
47352014-11-24 Ryan Cumming <etaoins@gmail.com>
4736
4737 [BZ #17608]
4738 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4739
9744496f
JM
47402014-11-24 Joseph Myers <joseph@codesourcery.com>
4741
4742 [BZ #17633]
4743 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4744 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4745 variable.
4746 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4747 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4748
6423d475
WD
47492014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4750
4751 * string/strncpy.c (strncpy): Improve performance by using memset.
4752
47532014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4754
4755 * string/strcpy.c (strcpy):
4756 Improve performance by using strlen and memcpy.
4757
5d178c37
LH
47582014-11-24 Leonhard Holz <leonhard.holz@web.de>
4759
4760 * string/strcoll_l.c (get_next_seq): __always_inline.
4761 * string/strcoll_l.c (do_compare): __always_inline.
4762
279bc5b3
SP
47632014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4764
7a9ebfa1
SP
4765 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4766 defined.
4767 * include/mqueue.h: Likewise.
4768 * include/stdlib.h: Likewise.
4769
4f41c682
SP
4770 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4771 (get_null_defines): Adjust.
4772 * sunrpc/Makefile: Adjust comment.
4773 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4774 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4775 (CFLAGS-interp.c): Likewise.
4776 (CFLAGS-ldconfig.c): Likewise.
4777 (CPPFLAGS-.os): Likewise.
4778 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4779 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4780 * extra-modules.mk (extra-modules.mk): Likewise.
4781 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4782 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4783 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4784 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4785 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4786 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4787 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4788 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4789 * iconvdata/Makefile (CPPFLAGS): Likewise.
4790 (cpp-srcs-left): Add libof for all iconvdata routines.
4791 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4792 * include/assert.h: Likewise.
4793 * include/ctype.h: Likewise.
4794 * include/errno.h: Likewise.
4795 * include/libc-symbols.h: Likewise.
4796 * include/math.h: Likewise.
4797 * include/netdb.h: Likewise.
4798 * include/resolv.h: Likewise.
4799 * include/stdio.h: Likewise.
4800 * include/stdlib.h: Likewise.
4801 * include/string.h: Likewise.
4802 * include/sys/stat.h: Likewise.
4803 * include/wctype.h: Likewise.
4804 * intl/l10nflist.c: Likewise.
4805 * libidn/idn-stub.c: Likewise.
4806 * libio/libioP.h: Likewise.
4807 * nptl/libc_multiple_threads.c: Likewise.
4808 * nptl/pthreadP.h: Likewise.
4809 * posix/regex_internal.h: Likewise.
4810 * resolv/res_hconf.c: Likewise.
4811 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4812 * sysdeps/arm/memmove.S: Likewise.
4813 * sysdeps/arm/sysdep.h: Likewise.
4814 * sysdeps/generic/_itoa.h: Likewise.
4815 * sysdeps/generic/symbol-hacks.h: Likewise.
4816 * sysdeps/gnu/errlist.awk: Likewise.
4817 * sysdeps/gnu/errlist.c: Likewise.
4818 * sysdeps/i386/i586/memcpy.S: Likewise.
4819 * sysdeps/i386/i586/memset.S: Likewise.
4820 * sysdeps/i386/i686/memcpy.S: Likewise.
4821 * sysdeps/i386/i686/memmove.S: Likewise.
4822 * sysdeps/i386/i686/mempcpy.S: Likewise.
4823 * sysdeps/i386/i686/memset.S: Likewise.
4824 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4825 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4826 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4827 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4828 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4829 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4830 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4831 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4832 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4833 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4834 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4835 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4836 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4837 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4838 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4839 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4840 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4841 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4842 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4843 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4844 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4845 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4846 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4847 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4848 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4849 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4850 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4851 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4852 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4853 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4854 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4855 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4857 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4858 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4859 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4860 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4861 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4862 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4863 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4864 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4865 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4866 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4867 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4868 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4869 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4870 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4871 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4872 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4873 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4874 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4875 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4876 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4877 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4878 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4879 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4880 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4881 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4882 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4883 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4884 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4885 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4886 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4887 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4888 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4889 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4890 * sysdeps/posix/closedir.c: Likewise.
4891 * sysdeps/posix/opendir.c: Likewise.
4892 * sysdeps/posix/readdir.c: Likewise.
4893 * sysdeps/posix/rewinddir.c: Likewise.
4894 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4895 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4896 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4897 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4898 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4899 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4900 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4901 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4902 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4903 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4904 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4905 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4906 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4907 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4908 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4909 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4910 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4911 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4912 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4913 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4914 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4915 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4916 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4917 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4918 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4919 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4920 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4921 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4922 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4923 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4924 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4925 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4926 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4928 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4929 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4930 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4931 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4932 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4933 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4934 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4935 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4936 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4937 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4938 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4939 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4940 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4941 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4942 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4943 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4944 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4945 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4946 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4947 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4948 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4949 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4950 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4951 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4952 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4953 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4954 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4955 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4956 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4957 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4958 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4959 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4960 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4961 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4962 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4963 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4964 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4965 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4966 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4967 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4968 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4969 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4970 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4971 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4972 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4973 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4974 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4975 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4976 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4977 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4978 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4979 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4980 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4981 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4982 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4983 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4984 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4985 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4986 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4987 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4988 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4989 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4990 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4991 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4992 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4993 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4994 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4995 * sysdeps/unix/alpha/sysdep.S: Likewise.
4996 * sysdeps/unix/alpha/sysdep.h: Likewise.
4997 * sysdeps/unix/make-syscalls.sh: Likewise.
4998 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4999 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5000 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5001 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5002 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5003 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5004 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5005 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5006 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5007 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5008 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5009 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5010 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5011 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5012 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5013 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5014 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5015 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5016 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5017 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5018 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5019 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5020 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5021 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5022 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5023 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5024 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5027 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5028 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5029 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5030 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5031 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5032 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5033 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5034 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5035 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5036 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5037 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5038 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5039 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5040 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5041 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5042 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5043 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5044 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5045 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5046 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5047 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5048 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5049 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5050 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5051 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5052 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5053 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5054 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5056 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5057 * sysdeps/x86_64/memcpy.S: Likewise.
5058 * sysdeps/x86_64/memmove.c: Likewise.
5059 * sysdeps/x86_64/memset.S: Likewise.
5060 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5061 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5062 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5063 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5064 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5065 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5066 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5067 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5068 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5069 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5070 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5071 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5072 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5073 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5074 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5075 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5076 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5077 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5078 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5079 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5080 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5081 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5082 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5083 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5084 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5085 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5086 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5087 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5088 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5089 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5090 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5091 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5092 * sysdeps/x86_64/strcmp.S: Likewise.
5093
76ca86a5
SP
5094 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5095
a3848485
SP
5096 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5097 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5098 * elf/rtld-Rules: Likewise.
5099 * elf/setup-vdso.h: Likewise.
5100 * include/assert.h: Likewise.
5101 * include/bits/stdlib-float.h: Likewise.
5102 * include/errno.h: Likewise.
5103 * include/sys/stat.h: Likewise.
5104 * include/unistd.h: Likewise.
5105 * sysdeps/aarch64/setjmp.S: Likewise.
5106 * sysdeps/alpha/setjmp.S: Likewise.
5107 * sysdeps/arm/__longjmp.S: Likewise.
5108 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5109 * sysdeps/arm/setjmp.S: Likewise.
5110 * sysdeps/arm/sysdep.h: Likewise.
5111 * sysdeps/generic/_itoa.h: Likewise.
5112 * sysdeps/generic/dl-sysdep.h: Likewise.
5113 * sysdeps/generic/ldsodefs.h: Likewise.
5114 * sysdeps/i386/dl-tls.h: Likewise.
5115 * sysdeps/i386/setjmp.S: Likewise.
5116 * sysdeps/m68k/setjmp.c: Likewise.
5117 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5118 * sysdeps/mach/hurd/opendir.c: Likewise.
5119 * sysdeps/posix/getcwd.c: Likewise.
5120 * sysdeps/posix/opendir.c: Likewise.
5121 * sysdeps/posix/profil.c: Likewise.
5122 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5123 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5124 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5125 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5126 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5127 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5128 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5129 * sysdeps/s390/dl-tls.h: Likewise.
5130 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5131 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5132 * sysdeps/sh/sh3/setjmp.S: Likewise.
5133 * sysdeps/sh/sh4/setjmp.S: Likewise.
5134 * sysdeps/unix/alpha/sysdep.h: Likewise.
5135 * sysdeps/unix/arm/sysdep.S: Likewise.
5136 * sysdeps/unix/i386/sysdep.S: Likewise.
5137 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5138 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5139 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5140 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5141 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5142 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5143 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5144 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5145 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5146 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5147 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5148 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5149 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5152 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5154 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5155 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5156 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5157 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5158 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5160 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5161 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5162 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5164 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5165 * sysdeps/x86_64/setjmp.S: Likewise.
5166
a109996e
SP
5167 * include/math.h: Use IS_IN instead of IS_IN_libm.
5168 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5169 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5170 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5171 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5172 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5173 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5174 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5175 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5176 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5178 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5179 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5180 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5188 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5189 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5190 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5191 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5192 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5193 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5194 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5195 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5196 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5197 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5198 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5199 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5200 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5202 Likewise.
5203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5204 Likewise.
5205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5206 Likewise.
5207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5208 Likewise.
5209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5210 Likewise.
5211 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5212 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5213 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5214 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5215 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5216 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5222 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5223 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5224 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5225 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5226 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5227 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5228 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5229 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5230 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5231 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5232 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5233 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5234 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5235 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5237 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5238
ce9f10f7
SP
5239 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5240 * nptl/pthreadP.h: Likewise.
5241 * nptl_db/structs.def: Likewise.
5242 * sysdeps/arm/sysdep.h: Likewise.
5243 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5244 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5245 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5246 * sysdeps/unix/alpha/sysdep.h: Likewise.
5247 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5248 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5249 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5250 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5251 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5252 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5253 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5254 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5255 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5256 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5257 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5258 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5259 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5260 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5263 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5264 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5265 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5266 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5267 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5268 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5269 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5270 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5271 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5272 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5273
016afc75
SP
5274 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5275 * nptl/pthreadP.h: Likewise.
5276 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5277 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5278 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5279 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5280 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5281 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5282 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5283 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5284 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5285 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5286 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5287 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5289 Likewise.
5290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5291 Likewise.
5292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5294 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5295 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5297 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5298 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5299 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5300
9b42a0b3
SP
5301 * dlfcn/dladdr.c: Use IS_IN.
5302 * dlfcn/dladdr1.c: Likewise.
5303 * dlfcn/dlclose.c: Likewise.
5304 * dlfcn/dlerror.c: Likewise.
5305 * dlfcn/dlinfo.c: Likewise.
5306 * dlfcn/dlmopen.c: Likewise.
5307 * dlfcn/dlopen.c: Likewise.
5308 * dlfcn/dlsym.c: Likewise.
5309 * dlfcn/dlvsym.c: Likewise.
5310
85f36372
SP
5311 * include/ifaddrs.h: Use IS_IN.
5312 * inet/check_pf.c: Likewise.
5313 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5314 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5315
fb6784e3
SP
5316 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5317 IS_IN_ldconfig.
5318 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5319 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5320
2886d2d1
SP
5321 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5322 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5323 IS_IN (libc).
5324
9a484857
SP
5325 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5326
a10178bd
SP
5327 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5328 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5329 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5330 * include/libc-symbols.h (IS_IN_LIB): New macro.
5331 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5332 * include/netdb.h: Likewise.
5333 * include/stap-probe.h: Remove all uses of IN_LIB.
5334
279bc5b3
SP
5335 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5336 instead of IN_MODULE.
5337 * include/libc-symbols.h (IN_MODULE): Define using
5338 MODULE_NAME.
5339 (PASTE_NAME, PASTE_NAME1): New macros.
5340 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5341 of IN_LIB.
5342 (STAP_PROBE_ASM): Likewise.
5343
e0cfa510
ST
53442014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5345
5346 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5347 __mach_init in dlopened libc.
5348
34d97d87
MF
53492014-11-22 Mike Frysinger <vapier@gentoo.org>
5350
5351 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5352 * sysdeps/arm/preconfigure: Regenerate.
5353
33cd1f74
RM
53542014-11-21 Roland McGrath <roland@hack.frob.com>
5355
5356 * nptl/pthread_create.c (__pthread_create_2_1): Set
5357 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5358 when copying values from IATTR into PD.
5359
8c230039
WN
53602014-11-21 Will Newton <will.newton@linaro.org>
5361 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5362
6d3db89b
AP
5363 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5364 Refactor inline-asm. Also add comment.
5365
01194ba1
WN
5366 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5367 ElfW macro instead of hardcoded Elf64 types.
5368 (la_aarch64_gnu_pltenter): Likewise.
5369 * sysdeps/aarch64/dl-machine.h
5370 (elf_machine_runtime_setup): Use ElfW(Addr).
5371
8c230039
WN
5372 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5373 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5374 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5375 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5376 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5377 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5378 (R_AARCH64_TLS_DTPMOD): This.
5379 (R_AARCH64_TLS_DTPREL64): Rename to ...
5380 (R_AARCH64_TLS_DTPREL): This.
5381 (R_AARCH64_TLS_TPREL64): Rename to ...
5382 (R_AARCH64_TLS_TPREL): This.
5383 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5384 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5385 R_AARCH64_TLS_TPREL64.
5386 (elf_machine_rela): Likewise.
5387
0d79fa53
TR
53882014-11-21 Torvald Riegel <triegel@redhat.com>
5389
5390 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5391 by setting it to 0. 64b atomics are not supported currently.
5392
b59d114b
AO
53932014-11-21 Alexandre Oliva <aoliva@redhat.com>
5394
5395 [BZ #16469]
5396 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5397 search domain names.
5398
f3d945d5
AO
53992014-11-21 Alexandre Oliva <aoliva@redhat.com>
5400
5401 [BZ #16469]
5402 * NEWS: Update.
5403 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5404 trailing dot.
5405 * posix/tst-getaddrinfo5.c: New.
5406 * posix/Makefile (tests): Add it.
5407
49698902
AO
54082014-11-21 Alexandre Oliva <aoliva@redhat.com>
5409
5410 [BZ #14498]
5411 * NEWS: Fixed.
5412 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5413 after parsing line but before break_if_match.
5414 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5415 if there is a protocol mismatch.
5416
81959214
MS
54172014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5418
5419 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5420 because the potential race is on the user-supplied stream.
5421
7729e0e9
AO
54222014-11-21 Alexandre Oliva <aoliva@redhat.com>
5423
5424 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5425 string literal if not passed a buffer.
5426 * manual/job.texi (ctermid): Update reasoning, note deviation
5427 from posix, suggest mtasurace when not passed a buffer, for
5428 future non-preliminary safety notes.
5429
a4ea5e28
AO
54302014-11-21 Alexandre Oliva <aoliva@redhat.com>
5431
5432 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5433 of not passing it a buffer.
5434 Reported by Peng Haitao.
5435
a2b581cb
AO
54362014-11-21 Alexandre Oliva <aoliva@redhat.com>
5437
5438 * manual/Makefile ($(objpfx)stamp-summary): Require
5439 check-safety.sh to pass.
5440 * manual/check-safety.sh: Wish for verification that every
5441 @deftypefn and @deftypefun is followed by a @safety remark.
5442
f214ff74
RM
54432014-11-20 Roland McGrath <roland@hack.frob.com>
5444
7f0dfae0
RM
5445 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5446
2f531bbb
RM
5447 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5448 PTHREAD_CANCEL_ASYNCHRONOUS.
5449 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5450 send SIGCANCEL.
5451
f214ff74
RM
5452 * nptl/default-sched.h: New file.
5453 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5454 * nptl/pthread_create.c: Include it.
5455 (__pthread_create_2_1): Use collect_default_sched instead of making
5456 Linux syscalls here directly.
5457
e37c91d4
TR
54582014-11-20 Torvald Riegel <triegel@redhat.com>
5459
5460 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5461 __pthread_once): Use C11 atomics.
5462
1eccfecd
TR
54632014-11-20 Torvald Riegel <triegel@redhat.com>
5464
5465 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5466
ff871426
TR
54672014-11-20 Torvald Riegel <triegel@redhat.com>
5468
5469 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5470 atomic_thread_fence_acquire, atomic_thread_fence_release,
5471 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5472 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5473 atomic_compare_exchange_weak_relaxed,
5474 atomic_compare_exchange_weak_acquire,
5475 atomic_compare_exchange_weak_release,
5476 atomic_exchange_acquire, atomic_exchange_release,
5477 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5478 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5479 atomic_fetch_and_acquire,
5480 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5481
1ea339b6
TR
54822014-11-20 Torvald Riegel <triegel@redhat.com>
5483
5484 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5485 USE_ATOMIC_COMPILER_BUILTINS): Define.
5486 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5487 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5488 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5489 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5490 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5491 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5492 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5493 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5494 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5495 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5496 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5497 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5498 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5499 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5500 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5501 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5502 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5503 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5504 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5505 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5506 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5507 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5508 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5509 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5510 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5511 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5512 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5513 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5514 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5515 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5516 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5517 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5518 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5519 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5520 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5521 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5522 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5523 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5524 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5525 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5526
cbd463e2
RM
55272014-11-19 Roland McGrath <roland@hack.frob.com>
5528
d960211f
RM
5529 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5530 the sched_priority value here. It was already checked when the user
5531 called pthread_attr_setschedparam.
5532
cbd463e2
RM
5533 * nptl/tst-bad-schedattr.c: New file.
5534 * nptl/Makefile (tests): Add it.
5535
a39208bd
CD
55362014-11-19 Carlos O'Donell <carlos@redhat.com>
5537 Florian Weimer <fweimer@redhat.com>
5538 Joseph Myers <joseph@codesourcery.com>
5539 Adam Conrad <adconrad@0c3.net>
5540 Andreas Schwab <schwab@suse.de>
5541 Brooks <bmoses@google.com>
5542
5543 [BZ #17625]
5544 * wordexp-test.c (__dso_handle): Add prototype.
5545 (__register_atfork): Likewise.
5546 (__app_register_atfork): New function.
5547 (registered_forks): New global.
5548 (register_fork): New function.
5549 (test_case): Add 3 new tests for WRDE_CMDSUB.
5550 (main): Call __app_register_atfork.
5551 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5552 fork count is non-zero fail the test.
5553 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5554 is set.
5555 (parse_dollars): Remove check for WRDE_NOCMD.
5556 (parse_dquote): Likewise.
5557
9cd47470
SP
55582014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5559
130ac68c
SP
5560 * Makeconfig (built-modules): List non-library modules to be
5561 built.
5562 (module-cppflags): Include libc-modules.h for
5563 everything except shlib-versions.v.i.
5564 (CPPFLAGS): Use it.
5565 (before-compile): Add libc-modules.h.
5566 ($(common-objpfx)libc-modules.h,
5567 $(common-objpfx)libc-modules.stmp): New targets.
5568 (common-generated): Add libc-modules.h and libc-modules.stmp.
5569 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5570 * include/libc-symbols.h: Don't include libc-modules.h.
5571 * include/libc-modules.h: Remove file.
5572 * scripts/gen-libc-modules.awk: New script to generate
5573 libc-modules.h.
5574 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5575 Depend on libc-modules.stmp.
5576
286663c3
SP
5577 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5578
9cd47470
SP
5579 * Makeconfig (in-module): Get value of libof set for the
5580 translation unit.
5581 (CPPFLAGS): Use $(in-module).
5582 * Makerules: Don't suffix routine names for nonlib.
5583 * include/libc-modules.h: New file.
5584 * include/libc-symbols.h: Include libc-modules.h
5585 (IS_IN): New macro to replace IS_IN_* macros.
5586 * elf/Makefile: Set libof-* for each routine.
5587 * elf/rtld-Rules: Likewise.
5588 * extra-modules.mk: Likewise.
5589 * iconv/Makefile: Likewise.
5590 * iconvdata/Makefile: Likewise.
5591 * locale/Makefile: Likewise.
5592 * malloc/Makefile: Likewise.
5593 * nss/Makefile: Likewise.
5594 * sysdeps/gnu/Makefile: Likewise.
5595 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5596 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5597 * sysdeps/s390/s390-64/Makefile: Likewise.
5598 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5599 CPPFLAGS for nscd instead of nonlib.
5600
32fed10f
RM
56012014-11-18 Roland McGrath <roland@hack.frob.com>
5602
d71035bd
RM
5603 * nptl/createthread.c: New file.
5604
6540b991
RM
5605 * nptl/createthread.c: Moved ...
5606 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5607
32fed10f
RM
5608 * nptl/createthread.c: Add proper top-line comment.
5609 (do_clone): Folded into ...
5610 (create_thread): ... here. Take new arguments STOPPED_START and
5611 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5612 increment __nptl_threads, do event-reporting logic, do
5613 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5614 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5615 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5616 just send SIGCANCEL.
5617 * nptl/pthread_create.c: Forward-declare create_thread before
5618 including createthread.c.
5619 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5620 declaration, and new macro START_THREAD_SELF to replace argument.
5621 Remove return statement.
5622 (report_thread_creation): New function.
5623 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5624 synchronization logic, and __nptl_nthreads increment here, around
5625 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5626 PD->parent_cancelhandling here, before create_thread. When
5627 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5628 __deallocate_stack, and ENOMEM translation here.
5629
107a5bf0
JM
56302014-11-18 Joseph Myers <joseph@codesourcery.com>
5631
5632 [BZ #17616]
5633 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5634 (mptwo): Rename to __mptwo.
5635 (__inv): Use __mptwo instead of mptwo.
5636 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5637 (mptwo): Rename to __mptwo.
5638 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5639 of mpone and __mptwo instead of mptwo.
5640 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5641 instead of mpone.
5642 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5643 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5644 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5645 of mpone and __mptwo instead of mptwo.
5646 (__mpranred): Use __mpone instead of mpone.
5647 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5648 variable.
5649 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5650 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5651 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5652 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5653 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5654 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5655 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5656 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5657 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5658 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5659 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5660 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5661 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5662 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5663 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5664 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5665 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5666 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5667 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5668
3b679ab3
TV
56692014-11-18 Tom de Vries <tom@codesoucery.com>
5670
5671 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5672 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5673
56742014-11-17 Richard Henderson <rth@redhat.com>
5675
5676 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5677 (_FP_PACK_RAW_2): Remove.
5678 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5679 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5680 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5681 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5682 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5683 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5684 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5685 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5686 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5687 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5688 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5689 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5690 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5691 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5692 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5693 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5694
0781a777
RM
56952014-11-14 Roland McGrath <roland@hack.frob.com>
5696
5697 * signal/signal.h [__USE_MISC]
5698 (struct sigvec): Remove type.
5699 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5700 (sigvec): Remove declaration.
5701 * sysdeps/posix/sigvec.c: Moved ...
5702 * signal/sigvec.c: ... here, replacing old file.
5703 (struct sigvec): New type, copied from old signal.h definition.
5704 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5705 (__sigvec): Convert definition to prototype.
5706 (sigvec): Replace weak_alias with compat_symbol.
5707 * signal/Versions (libc: GLIBC_2.21): New version set.
5708 * include/signal.h: Remove __sigvec declaration.
5709 * sysdeps/unix/bsd/sigvec.c: Remove file.
5710 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5711 * manual/signal.texi (BSD Handler): Remove subsection.
5712 Move siginterrupt up to ...
5713 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5714 (Blocking in BSD): Fold subsection into its parent.
5715 * NEWS: Mention sigvec removal.
5716
a4733812
JM
57172014-11-14 Joseph Myers <joseph@codesourcery.com>
5718
5ae4fe60
JM
5719 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5720 (DLA_FMS): Make definition conditional only on [__FMA4__].
5721 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5722 definition.
5723
6a0dd472
JM
5724 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5725 Make definition conditional only on [PROF].
5726 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5727 definition.
5728 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5729 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5730
a4733812
JM
5731 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5732 !__GNUC__].
5733 * include/signal.h (__sigpause): Move declaration above call to
5734 libc_hidden_proto.
5735 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5736 variable.
5737 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5738 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5739
cf7246dd
DM
57402014-11-14 David S. Miller <davem@davemloft.net>
5741
5742 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5743 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5744
c1b0aadc
JM
57452014-11-14 Joseph Myers <joseph@codesourcery.com>
5746
4863355a
JM
5747 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5748 * configure: Regenerated.
5749 * manual/install.texi (Tools for Compilation): Document a
5750 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5751 compiler verified to work.
5752 * INSTALL: Regenerated.
5753
c1b0aadc
JM
5754 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5755 redeclare with asm name.
5756 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5757 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5758 including <string.h>.
5759 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5760 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5761 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5762 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5763 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5764 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5765 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5766
2a1cfd94
JM
57672014-11-13 Joseph Myers <joseph@codesourcery.com>
5768
bf438382
JM
5769 * stdlib/strtol.c (__strtol): Use prototype definition.
5770
2a1cfd94
JM
5771 [BZ #17594]
5772 * stdlib/strtol.c (SYM__): New macro.
5773 (SYM__1): Likewise.
5774 (__strtol): Likewise.
5775 (strtol): Rename to __strtol and define as weak alias of
5776 __strtol. Use libc_hidden_weak.
5777
20ed0d26
SL
57782014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5779
5780 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5781 Use numbered labels in inline assembly.
5782
53244a4e
SL
57832014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5784
5785 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5786 Add setjmp LIBC_PROBE.
5787 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5788 Likewise.
5789 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5790 Add longjmp, longjmp_target LIBC_PROBE.
5791 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5792 Likewise.
5793
47df8251
SL
57942014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5795
5796 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5797 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5798 to get rid of unused variable warning.
5799
618cebef
SL
58002014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5801
5802 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5803 Check for unwind_backtrace == NULL only in SHARED case.
5804 (__backchain_backtrace): Compile only in SHARED case.
5805 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5806 Likewise.
5807 (__backchain_backtrace): Declare as static.
5808
c6aab2cb
RM
58092014-11-12 Roland McGrath <roland@hack.frob.com>
5810
5811 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5812 (__libc_multiple_threads_ptr): Variable moved ...
5813 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5814
5a6fa4d7
JM
58152014-11-12 Joseph Myers <joseph@codesourcery.com>
5816
24f4f825
JM
5817 * conform/GlibcConform.pm: New file.
5818 * conform/conformtest.pl: Use GlibcConform module.
5819 * conform/linknamespace.pl: New file.
5820 * conform/list-header-symbols.pl: Likewise.
5821 * conform/Makefile (linknamespace-symlists-base): New variable.
5822 (linknamespace-symlists-tests): Likewise.
5823 (linknamespace-header-base): Likewise.
5824 (linknamespace-header-tests): Likewise.
5825 (tests-special): Add new tests.
5826 ($(linknamespace-symlists-tests)): New rule.
5827 (linknamespace-libs): New variable.
5828 ($(objpfx)symlist-stdlibs): New rule.
5829 ($(linknamespace-header-tests)): Likewise.
5830 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5831 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5832 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5833 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5834 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5835 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5836 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5837 (test-xfail-ISO/math.h/linknamespace): Likewise.
5838 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5839 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5840 (test-xfail-ISO/time.h/linknamespace): Likewise.
5841 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5842 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5843 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5844 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5845 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5846 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5847 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5848 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5849 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5850 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5851 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5852 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5853 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5854 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5855 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5856 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5857 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5858 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5859 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5860 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5861 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5862 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5863 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5864 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5865 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5866 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5867 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5868 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5869 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5870 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5871 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5872 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5873 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5874 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5875 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5876 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5877 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5878 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5879 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5880 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5881 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5882 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5883 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5884 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5885 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5886 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5887 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5888 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5889 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5890 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5891 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5892 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5893 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5894 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5895 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5896 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5897 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5898 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5899 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5900 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5901 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5902 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5903 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5904 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5905 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5906 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5907 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5908 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5909 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5910 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5911 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5912 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5913 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5914 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5915 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5916 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5917 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5918 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5919 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5920 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5921 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5922 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5923 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5924 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5925 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5926 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5927 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5928 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5929 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5930 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5931 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5932 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5933 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5934 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5935 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5936 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5937 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5938 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5939 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5940 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5941 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5942 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5943 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5944 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5945 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5946 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5947 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5948 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5949 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5950 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5951 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5952 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5953 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5954 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5955 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5956 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5957 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5958 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5959 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5960 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5961 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5962 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5963 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5964 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5965 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5966 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5967 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5968 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5969 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5970 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5971 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5972 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5973 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5974 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5975 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5976 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5977 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5978 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5979 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5980 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5981 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5982 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5983 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5984 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5985 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5986 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5987 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5988 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5989 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5990 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5991
cc67478e
JM
5992 [BZ #17589]
5993 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5994 of fgets_unlocked.
5995
9975e3d3
JM
5996 [BZ #17585]
5997 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5998 (memmem): Rename to __memmem and define as weak alias of
5999 __memmem. Use libc_hidden_weak.
6000 (__memmem): Use libc_hidden_def.
6001 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6002 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6003 memmem.
6004
c4eae752
JM
6005 [BZ #17582]
6006 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6007 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6008 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6009 and define as weak alias of __fgets_unlocked. Use
6010 libc_hidden_weak.
6011 (__fgets_unlocked): Use libc_hidden_def.
6012 * include/stdio.h (__fgets_unlocked): Declare. Use
6013 libc_hidden_proto.
6014 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6015 __fgets_unlocked instead of fgets_unlocked.
6016 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6017 (GET_NPROCS_CONF_PARSER): Likewise.
6018 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6019 (GET_NPROCS_CONF_PARSER): Likewise.
6020
01cad84e
JM
6021 [BZ #17574]
6022 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6023 weak alias of __wmemset. Use libc_hidden_weak.
6024 (__wmemset): Use libc_hidden_def.
6025 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6026 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6027 of wmemset.
6028
939da411
JM
6029 [BZ #17573]
6030 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6031 with asm name __mempcpy.
6032 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6033
293d9a41
JM
6034 [BZ #17572]
6035 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6036 and define as weak alias of __rawmemchr.
6037 (__rawmemchr): Do not define as strong alias of rawmemchr.
6038
bef8fd60
JM
6039 [BZ #17571]
6040 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6041 alias of __qsort_r.
6042 (qsort): Call __qsort_r instead of qsort_r.
6043 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6044 (__qsort_r): Declare. Call libc_hidden_proto.
6045 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6046 instead of qsort_r.
6047 * nscd/gai.c (__qsort_r): Define to qsort_r.
6048 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6049 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6050 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6051
c52ff39e
JM
6052 [BZ #17570]
6053 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6054 define as weak alias of __malloc_info.
6055
2f5c1b00
JM
6056 [BZ #17584]
6057 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6058 as weak alias of __rewinddir. Don't use libc_hidden_def.
6059 (__rewinddir): Use libc_hidden_def.
6060 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6061 as weak alias of __rewinddir. Don't use libc_hidden_def.
6062 (__rewinddir): Use libc_hidden_def.
6063 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6064 weak alias of __rewinddir. Don't use libc_hidden_def.
6065 (__rewinddir): Use libc_hidden_def.
6066 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6067 (__rewinddir): Use libc_hidden_proto.
6068 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6069 rewinddir.
6070 (__getcwd): Use __rewinddir instead of rewinddir.
6071
5a6fa4d7
JM
6072 [BZ #17583]
6073 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6074 alias of __fileno. Use libc_hidden_weak.
6075 (__fileno): Use libc_hidden_def.
6076 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6077 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6078 alias of __ftello.
6079 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6080 __ftello.
6081 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6082 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6083 libc_hidden_def.
6084 (fread_unlocked): Don't use libc_hidden_ver.
6085 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6086 and define as weak alias of __fread_unlocked. Don't use
6087 libc_hidden_def.
6088 (__fread_unlocked): Use libc_hidden_def.
6089 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6090 (ftello): Don't use libc_hidden_proto.
6091 (__ftello): Declare. Use libc_hidden_proto.
6092 (fread_unlocked): Don't use libc_hidden_proto.
6093 (__fread_unlocked): Declare. Use libc_hidden_proto.
6094 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6095 and __ftello instead of fileno, fread_unlocked and ftello.
6096
2581b98e
SP
60972012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6098
6099 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6100 GOT12.
6101 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6102 Likewise.
6103 (_dl_start_user): Likewise.
6104 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6105
533bb7c2
SP
61062014-11-12 Carlos O'Donell <carlos@redhat.com>
6107 Siddhesh Poyarekar <siddhesh@redhat.com>
6108
6109 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6110 Move argv and envp down instead of moving argc up.
6111 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6112
fffa1cf8
LH
61132014-11-12 Leonhard Holz <leonhard.holz@web.de>
6114
6115 [BZ #17506]
6116 * test-skeleton.c (main): Return successful if one of
6117 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6118 * string/tst-strcoll-overflow.c: Define expected status.
6119
fb89b46d
TU
61202014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6121
6122 [BZ #17475]
6123 * locale/iso-639.def: Define Bhili and Tulu language codes.
6124
5c40c3ba
AH
61252014-11-11 Alan Hayward <alan.hayward@arm.com>
6126
6127 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6128
b17fe01b 61292014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
6130
6131 [BZ #17555]
6132 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6133
bd805071
AS
61342014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6135
6136 * configure.ac: Updated check of minimal required version to
6137 2.22.
6138 * manual/install.texi (Tools for Compilation): Updated version
6139 number.
6140 * configure: Regenerated.
6141 * INSTALL: Likewise.
6142
1400983e
AS
61432014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6144
6145 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6146 __tls_get_addr.
6147
2c46a66a
JM
61482014-11-07 Joseph Myers <joseph@codesourcery.com>
6149
6150 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6151 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6152 (__waitpid): Don't define as alias. Use libc_hidden_def not
6153 libc_hidden_weak.
6154 (waitpid): Define as alias of __waitpid.
6155 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6156 __waitpid.
6157 (__waitpid): Don't define as alias. Use libc_hidden_def not
6158 libc_hidden_weak.
6159 (waitpid): Define as alias of __waitpid.
6160 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6161 __libc_waitpid alias.
6162 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6163 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6164 Likewise.
6165 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6166 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6167 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6168 alias.
6169 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6170 __waitpid.
6171 (__waitpid): Don't define as alias. Use libc_hidden_def not
6172 libc_hidden_weak.
6173 (waitpid): Define as alias of __waitpid.
6174
da53d6db
CD
61752014-11-06 Carlos O'Donell <carlos@redhat.com>
6176
a2887bdb
CD
6177 * manual/llio.texi: Add comment that write safety has been
6178 fixed in Linux.
6179
da53d6db
CD
6180 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6181 (localplt-build-dso): Add elf/ld.so.
6182 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6183 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6184 and free for ld.so.
6185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6186 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6188 Likewise.
6189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6190 Likewise.
6191 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6192 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6193 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6194 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6195 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6196 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6197 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6198 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6199 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6200 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6201 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6202
9cf27b8d
JM
62032014-11-05 Joseph Myers <joseph@codesourcery.com>
6204
6205 [BZ #14132]
6206 * include/libc-symbols.h (INTUSE): Remove macro.
6207 (INTDEF): Likewise.
6208 (INTVARDEF): Likewise.
6209 (_INTVARDEF): Likewise.
6210 (INTDEF2): Likewise.
6211 (INTVARDEF2): Likewise.
6212 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6213 rtld_hidden_def instead of INTVARDEF.
6214 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6215 (_dl_starting_up_internal): Remove declaration.
6216 (_dl_starting_up): Use rtld_hidden_proto.
6217 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6218 declaration.
6219 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6220 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6221 _dl_starting_up.
6222 * elf/dl-writev.h (_dl_writev): Likewise.
6223 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6224 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6225 _dl_starting_up_internal.
6226
af83568d
AZ
62272014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6228
6229 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6230 test-skeleton.c.
6231
b01ee67c
WN
62322014-11-05 Will Newton <will.newton@linaro.org>
6233
6234 * benchtests/Makefile: (bench-malloc): Add malloc thread
6235 scalability benchmark.
6236 * benchtests/bench-malloc-threads.c: New file.
6237
be9d4ccc
RE
62382014-11-05 Richard Earnshaw <rearnsha@arm.com>
6239
6240 * sysdeps/aarch64/strchrnul.S: New file.
6241
7110166d
AZ
62422014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6243
6244 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6245 definition.
6246 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6247 Likwise.
6248 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6249 Likewise.
6250 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6251 Likewise.
6252 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6253 Likewise.
6254 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6255 Likewise.
6256
62572014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6258
6259 * catgets/test-gencat.c: Use test-skeleton.c.
6260 * catgets/tst-catgets.c: Likewise.
6261 * csu/tst-empty.c: Likewise.
6262 * elf/tst-audit2.c: Likewise.
6263 * elf/tst-global1.c: Likewise.
6264 * elf/tst-pathopt.c: Likewise.
6265 * elf/tst-piemod1.c: Likewise.
6266 * elf/tst-tls10.c: Likewise.
6267 * elf/tst-tls11.c: Likewise.
6268 * elf/tst-tls12.c: Likewise.
6269 * gnulib/tst-gcc.c: Likewise.
6270 * iconvdata/tst-e2big.c: Likewise.
6271 * iconvdata/tst-loading.c: Likewise.
6272 * iconv/tst-iconv1.c: Likewise.
6273 * iconv/tst-iconv2.c: Likewise.
6274 * inet/test-inet6_opt.c: Likewise.
6275 * inet/tst-gethnm.c: Likewise.
6276 * inet/tst-network.c: Likewise.
6277 * inet/tst-ntoa.c: Likewise.
6278 * intl/tst-codeset.c: Likewise.
6279 * intl/tst-gettext2.c: Likewise.
6280 * intl/tst-gettext3.c: Likewise.
6281 * intl/tst-ngettext.c: Likewise.
6282 * intl/tst-translit.c: Likewise.
6283 * io/test-stat.c: Likewise.
6284 * libio/test-fmemopen.c: Likewise.
6285 * libio/tst-freopen.c: Likewise.
6286 * libio/tst-sscanf.c: Likewise.
6287 * libio/tst-ungetwc1.c: Likewise.
6288 * libio/tst-ungetwc2.c: Likewise.
6289 * libio/tst-widetext.c: Likewise.
6290 * localedata/tst-ctype.c: Likewise.
6291 * localedata/tst-digits.c: Likewise.
6292 * localedata/tst-leaks.c: Likewise.
6293 * localedata/tst-mbswcs1.c: Likewise.
6294 * localedata/tst-mbswcs2.c: Likewise.
6295 * localedata/tst-mbswcs3.c: Likewise.
6296 * localedata/tst-mbswcs4.c: Likewise.
6297 * localedata/tst-mbswcs5.c: Likewise.
6298 * localedata/tst-setlocale.c: Likewise.
6299 * localedata/tst-trans.c: Likewise.
6300 * localedata/tst-wctype.c: Likewise.
6301 * localedata/tst-xlocale1.c: Likewise.
6302 * login/tst-grantpt.c: Likewise.
6303 * malloc/tst-calloc.c: Likewise.
6304 * malloc/tst-malloc.c: Likewise.
6305 * malloc/tst-mallocstate.c: Likewise.
6306 * malloc/tst-mcheck.c: Likewise.
6307 * malloc/tst-mtrace.c: Likewise.
6308 * malloc/tst-obstack.c: Likewise.
6309 * math/atest-exp2.c: Likewise.
6310 * math/atest-exp.c: Likewise.
6311 * math/atest-sincos.c: Likewise.
6312 * math/test-matherr.c: Likewise.
6313 * math/test-misc.c: Likewise.
6314 * math/test-powl.c: Likewise.
6315 * math/tst-definitions.c: Likewise.
6316 * misc/tst-dirname.c: Likewise.
6317 * misc/tst-efgcvt.c: Likewise.
6318 * misc/tst-fdset.c: Likewise.
6319 * misc/tst-hsearch.c: Likewise.
6320 * misc/tst-mntent2.c: Likewise.
6321 * nptl/tst-sem7.c: Likewise.
6322 * nptl/tst-sem8.c: Likewise.
6323 * nptl/tst-sem9.c: Likewise.
6324 * nss/test-netdb.c: Likewise.
6325 * posix/tst-fnmatch.c: Likewise.
6326 * posix/tst-getlogin.c: Likewise.
6327 * posix/tst-gnuglob.c: Likewise.
6328 * posix/tst-mmap.c: Likewise.
6329 * pwd/tst-getpw.c: Likewise.
6330 * resolv/tst-inet_ntop.c: Likewise.
6331 * rt/tst-timer.c: Likewise.
6332 * stdio-common/test-fseek.c: Likewise.
6333 * stdio-common/test-popen.c: Likewise.
6334 * stdio-common/test-vfprintf.c: Likewise.
6335 * stdio-common/tst-cookie.c: Likewise.
6336 * stdio-common/tst-fileno.c: Likewise.
6337 * stdio-common/tst-gets.c: Likewise.
6338 * stdio-common/tst-obprintf.c: Likewise.
6339 * stdio-common/tst-perror.c: Likewise.
6340 * stdio-common/tst-sprintf2.c: Likewise.
6341 * stdio-common/tst-sprintf3.c: Likewise.
6342 * stdio-common/tst-sprintf.c: Likewise.
6343 * stdio-common/tst-swprintf.c: Likewise.
6344 * stdio-common/tst-tmpnam.c: Likewise.
6345 * stdio-common/tst-unbputc.c: Likewise.
6346 * stdio-common/tst-wc-printf.c: Likewise.
6347 * stdlib/tst-environ.c: Likewise.
6348 * stdlib/tst-fmtmsg.c: Likewise.
6349 * stdlib/tst-limits.c: Likewise.
6350 * stdlib/tst-rand48-2.c: Likewise.
6351 * stdlib/tst-rand48.c: Likewise.
6352 * stdlib/tst-random2.c: Likewise.
6353 * stdlib/tst-random.c: Likewise.
6354 * stdlib/tst-strtol.c: Likewise.
6355 * stdlib/tst-strtoll.c: Likewise.
6356 * stdlib/tst-tls-atexit.c: Likewise.
6357 * stdlib/tst-xpg-basename.c: Likewise.
6358 * string/test-ffs.c: Likewise.
6359 * string/tst-bswap.c: Likewise.
6360 * string/tst-inlcall.c: Likewise.
6361 * string/tst-strtok.c: Likewise.
6362 * string/tst-strxfrm.c: Likewise.
6363 * sysdeps/x86_64/tst-audit10.c: Likewise.
6364 * sysdeps/x86_64/tst-audit3.c: Likewise.
6365 * sysdeps/x86_64/tst-audit4.c: Likewise.
6366 * sysdeps/x86_64/tst-audit5.c: Likewise.
6367 * time/tst-ftime_l.c: Likewise.
6368 * time/tst-getdate.c: Likewise.
6369 * time/tst-mktime3.c: Likewise.
6370 * time/tst-mktime.c: Likewise.
6371 * time/tst-posixtz.c: Likewise.
6372 * time/tst-strptime2.c: Likewise.
6373 * time/tst-strptime3.c: Likewise.
6374 * wcsmbs/tst-btowc.c: Likewise.
6375 * wcsmbs/tst-mbrtowc.c: Likewise.
6376 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6377 * wcsmbs/tst-wchar-h.c: Likewise.
6378 * wcsmbs/tst-wcpncpy.c: Likewise.
6379 * wcsmbs/tst-wcrtomb.c: Likewise.
6380 * wcsmbs/tst-wcsnlen.c: Likewise.
6381 * wcsmbs/tst-wcstof.c: Likewise.
6382
2004e7fb
JM
63832014-11-04 Joseph Myers <joseph@codesourcery.com>
6384
ab97ee8f
JM
6385 [BZ #14132]
6386 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6387 INTDEF.
6388 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6389 declaration.
6390 (_dl_mcount): Use rtld_hidden_proto.
6391 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6392 _dl_mcount.
6393 * elf/rtld.c (_rtld_global_ro): Likewise.
6394
c5684fdb
JM
6395 [BZ #14132]
6396 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6397 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6398 of _dl_init_internal.
6399 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6400 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6401 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6402 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6403 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6404 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6405 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6406 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6407 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6408 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6409 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6410 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6411 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6412 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6413 * sysdeps/tile/dl-start.S (_start): Likewise.
6414 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6415 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6416
4243cbea
JM
6417 [BZ #14132]
6418 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6419 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6420 (rtld_progname): Make macro definition unconditional.
6421 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6422 INTDEF.
6423 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6424 (dl_main): Likewise.
6425 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6426 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6427 instead of _dl_argv_internal.
6428 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6429 __GI__dl_argv instead of INTUSE(_dl_argv).
6430 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6431 __GI__dl_argv instead of _dl_argv_internal.
6432
2004e7fb
JM
6433 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6434 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6435 macro.
6436 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6437 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6438 New macro.
6439 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6440 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6441 macro.
6442 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6443 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6444
97827bfc
AS
64452014-11-04 Andreas Schwab <schwab@suse.de>
6446
6447 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6448
5e4df284
AZ
64492014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6450
6451 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6452 mtvsrd instruction in binary form.
6453
04b76b5a
AS
64542014-11-03 Andreas Schwab <schwab@suse.de>
6455
6456 [BZ #17522]
6457 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6458 for less than MB_LEN_MAX use a local buffer of that size.
6459 * libio/tst-fputws.c: New file.
6460 * libio/Makefile (tests): Add tst-fputws.
6461
4c6da7da
JM
64622014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6463
6464 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6465 the size of the fpu_fr.fpu_dregs[] array.
6466
1679ba8e
JM
64672014-11-01 Joseph Myers <joseph@codesourcery.com>
6468
6469 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6470 (__nanosleep): Do not define as alias.
6471 (nanosleep): Define as alias of __nanosleep.
6472 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6473 __libc_nanosleep name.
6474
2626c183
JM
64752014-10-31 Joseph Myers <joseph@codesourcery.com>
6476
6477 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6478 install.texi in comment.
6479
7f981fc2
TR
64802014-10-31 Torvald Riegel <triegel@redhat.com>
6481
6482 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6483 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6484 ... add here and use lwsync or sync ...
6485 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6486 ... and add here using lwsync.
6487
d6f373d2
MF
64882014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6489
6490 * elf/dl-machine-reject-phdr.h: New file.
6491 * elf/dl-load.c: #include that.
6492 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6493 if that returned true.
6494
67c37987
RM
64952014-10-31 Roland McGrath <roland@hack.frob.com>
6496
6497 [BZ #17496]
6498 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6499 gen-as-const-headers chunk. Add a big scare comment after the last
6500 safe place to touch before-compile.
6501
94a42455 65022014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6503
f3f5d895
JM
6504 * manual/install.texi (Tools for Compilation): Update autoconf
6505 version requirements.
6506 * INSTALL: Regenerated.
6507
f62ff286
JM
6508 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6509 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6510 (__libc_pselect): Likewise.
94a42455
JM
6511
6512 [BZ #14138]
6513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6517
ff9dbdc0
TR
65182014-10-31 Torvald Riegel <triegel@redhat.com>
6519
6520 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6521 correct barrier instruction.
6522 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6523 Likewise.
6524 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6525 Likewise.
6526
b4f66884
RM
65272014-10-30 Roland McGrath <roland@hack.frob.com>
6528
6529 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6530 after defining inlines. Instead, just use parens to defeat macro
6531 expansion of __isctype in its declaration.
6532
e19c95fd
JM
65332014-10-30 Joseph Myers <joseph@codesourcery.com>
6534
6535 * include/sys/uio.h (__libc_readv): Remove declaration.
6536 (__libc_writev): Likewise.
6537 * misc/readv.c (__libc_readv): Rename to __readv.
6538 (__readv): Do not define as alias.
6539 (readv): Define as alias of __readv.
6540 * misc/writev.c (__libc_writev): Rename to __writev.
6541 (__writev): Do not define as alias.
6542 (writev): Define as alias of __writev.
6543 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6544 (__readv): Do not define as alias.
6545 (readv): Define unconditionally as alias of __readv.
6546 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6547 (__writev): Do not define as alias.
6548 (writev): Define unconditionally as alias of __writev.
6549 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6550 name.
6551 (writev): Do not define __libc_writev name.
6552
65b00b6c
RM
65532014-10-30 Roland McGrath <roland@hack.frob.com>
6554
6555 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6556 (convert_charseq): New function, broken out of ...
6557 (use_from_charmap): ... here. Call it.
6558 (use_to_charmap): Use convert_charseq and free instead of duplicating
6559 its code with a variable-length stack struct.
6560
d4e157aa
JM
65612014-10-30 Joseph Myers <joseph@codesourcery.com>
6562
6563 * include/fcntl.h (__libc_creat): Remove declaration.
6564 * io/creat.c (__libc_creat): Rename to creat.
6565 (creat): Do not define as alias.
6566 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6567 of creat instead of __libc_creat.
6568 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6569 to creat.
6570 (creat): Do not define as alias.
6571 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6572 __libc_creat.
6573 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6574 __libc_creat name.
6575 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6576 Likewise.
6577
0c6891a0
CD
65782014-10-29 Carlos O'Donell <carlos@redhat.com>
6579
6580 * manual/llio.texi: Add comments discussing why write() may be
6581 considered MT-unsafe on Linux.
6582
cc00cece
CD
65832014-10-28 Carlos O'Donell <carlos@redhat.com>
6584
6585 * dl-load.c (local_strdup): Remove.
6586 (expand_dynamic_string_token): Use __strdup.
6587 (decompose_rpath): Likewise.
6588 (_dl_map_object): Likewise.
6589
51e623f2
JM
65902014-10-28 Joseph Myers <joseph@codesourcery.com>
6591
6592 [BZ #14132]
6593 * sysdeps/generic/unwind-dw2-fde.c
6594 (__register_frame_info_bases_internal): Do not declare.
6595 (__register_frame_info_table_bases_internal): Likewise.
6596 (__deregister_frame_info_bases_internal): Likewise.
6597 (__register_frame_info_bases): Declare and use hidden_proto before
6598 definition. Use hidden_def instead of INTDEF.
6599 (__register_frame_info_table_bases): Likewise.
6600 (__deregister_frame_info_bases): Likewise.
6601 (__register_frame_info): Do not use INTUSE.
6602 (__register_frame): Likewise.
6603 (__register_frame_info_table): Likewise.
6604 (__register_frame_table): Likewise.
6605 (__deregister_frame_info): Likewise.
6606 (__deregister_frame): Likewise.
6607
03d41216
GC
66082014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6609
6610 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6611 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6612 not undefine.
6613 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6614 Likewise.
6615 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6616 Likewise.
6617
a4b3624d
JM
66182014-10-27 Joseph Myers <joseph@codesourcery.com>
6619
6620 [BZ #14138]
6621 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6622 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6623 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6624 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6625 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6626 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6627 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6628 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6629 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6630 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6631 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6632 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6633 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6634 syscall.
6635 (setfsuid): Likewise.
6636 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6637 (setfsuid): Likewise.
6638 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6639 (setfsuid): Likewise.
6640 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6641 Likewise.
6642 (setfsuid): Likewise.
6643 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6644 (setfsuid): Likewise.
6645 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6646 Likewise.
6647 (setfsuid): Likewise.
6648
3574f2fd
AS
66492014-10-27 Andreas Schwab <schwab@suse.de>
6650
6651 [BZ #17501]
6652 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6653 check for Slow_SSE4_2 feature bit.
6654 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6655 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6656 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6657 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6658
70996a37
RM
66592014-10-24 Roland McGrath <roland@hack.frob.com>
6660
461a7b1e
RM
6661 * configure.ac: Validate compiler version with a empirical test of
6662 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6663 $CC -v output.
6664 * configure: Regenerated.
6665
70996a37
RM
6666 * inet/htons.c (htons): Prototypify.
6667 * inet/htonl.c (htonl): Likewise.
6668
e80514b5
WD
66692014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6670
6671 * string/strncat.c (strncat): Improve performance by using strlen.
6672
6e46de42
WD
66732014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6674
6675 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6676
6a9ad2fa
WD
66772014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6678
6679 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6680 Call libc_fetestexcept_aarch64.
6681
1c8810ed
WD
66822014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6683
6684 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6685 Call libc_feholdexcept_aarch64.
6686
8b1af712
WD
66872014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6688
6689 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6690 Call get_rounding_mode.
6691
a7b00c11
WD
66922014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6693
6694 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6695 Simplify logic.
6696
3a84f1a6
WD
66972014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6698
6699 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6700 Simplify logic.
6701
48eb7a94
JM
67022014-10-24 Joseph Myers <joseph@codesourcery.com>
6703
c8bc4038
JM
6704 [BZ #14138]
6705 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6706 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6707 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6708 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6709 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6710 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6711 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6712 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6713 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6714 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6715 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6716 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6717 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6718 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6719 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6720 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6721 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6722 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6723 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6724 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6725 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6726 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6727 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6728 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6729 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6730 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6731 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6732 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6733 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6734 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6735 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6736 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6737 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6738 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6739 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6740 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6741 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6742 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6743 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6744 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6745 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6746 syscall.
6747 (geteuid): Likewise.
6748 (getgid): Likewise.
6749 (getuid): Likewise.
6750 (getresgid): Likewise.
6751 (getresuid): Likewise.
6752 (getgroups): Likewise.
6753 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6754 (geteuid): Likewise.
6755 (getgid): Likewise.
6756 (getuid): Likewise.
6757 (getresgid): Likewise.
6758 (getresuid): Likewise.
6759 (getgroups): Likewise.
6760 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6761 (geteuid): Likewise.
6762 (getgid): Likewise.
6763 (getuid): Likewise.
6764 (getresgid): Likewise.
6765 (getresuid): Likewise.
6766 (getgroups): Likewise.
6767 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6768 Likewise.
6769 (geteuid): Likewise.
6770 (getgid): Likewise.
6771 (getuid): Likewise.
6772 (getresgid): Likewise.
6773 (getresuid): Likewise.
6774 (getgroups): Likewise.
6775 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6776 (geteuid): Likewise.
6777 (getgid): Likewise.
6778 (getuid): Likewise.
6779 (getresgid): Likewise.
6780 (getresuid): Likewise.
6781 (getgroups): Likewise.
6782 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6783 Likewise.
6784 (geteuid): Likewise.
6785 (getgid): Likewise.
6786 (getuid): Likewise.
6787 (getgroups): Likewise.
6788
48eb7a94
JM
6789 [BZ #14138]
6790 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6791 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6792 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6793 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6794 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6795 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6796 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6797 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6798 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6799 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6800 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6801 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6802 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6803 __chown.
6804 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6805 (lchown): Likewise.
6806 (fchown): Likewise.
6807 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6808 Likewise.
6809 (lchown): Likewise.
6810 (fchown): Likewise.
6811 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6812 (lchown): Likewise.
6813 (fchown): Likewise.
6814 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6815 Likewise.
6816 (lchown): Likewise.
6817 (fchown): Likewise.
6818
ea9a7c8b
WD
68192014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6820
6821 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6822 Simplify logic.
6823
e226de33
WD
68242014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6825
6826 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6827 Cleanup logic.
6828
6e3d8ed3
WD
68292014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6830
6831 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6832 Remove unused include.
6833
eb04247d
WD
68342014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6835
6836 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6837 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6838 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6839 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6840
13d84554
CD
68412014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6842 Helge Deller <deller@gmx.de>
6843
6844 [BZ #17508]
6845 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6846 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6847 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6848
15f9c5df
JM
68492014-10-23 Joseph Myers <joseph@codesourcery.com>
6850
6851 [BZ #14132]
6852 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6853 Remove macro definition.
6854 (__ashrdi3_v_glibc20): Likewise.
6855 (__lshrdi3_v_glibc20): Likewise.
6856 (__cmpdi2_v_glibc20): Likewise.
6857 (__ucmpdi2_v_glibc20): Likewise.
6858 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6859 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6860 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6861 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6862 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6863 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6864
c6dfed24
RM
68652014-10-22 Roland McGrath <roland@hack.frob.com>
6866
6867 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6868 old GNU extension [0] syntax.
6869 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6870 alloca rather than an array member with variable length.
6871 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6872 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6873 (parse_opt): ... here. Likewise use alloca there.
6874 Validate the -i argument before checking for rootness.
6875 (send_shutdown): New function, broken out of ...
6876 (parse_opt): ... here.
6877
8c2b1ed8
RM
68782014-10-22 Roland McGrath <roland@hack.frob.com>
6879
6880 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6881 macro to get at the _rt_local_ro field.
6882 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6883 ([PIC] case) or _dl_hwcap ([!PIC] case).
6884 * sysdeps/arm/setjmp.S: Likewise.
6885
6886 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6887 * sysdeps/arm/configure.ac: New check to define it.
6888 * sysdeps/arm/configure: Regenerated.
6889 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6890 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6891 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6892 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6893 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6894 Use move/movt pair instead of a load.
6895 (LDST_GLOBAL): Macro removed.
6896 (LDR_GLOBAL): New macro replaces it.
6897 (LDR_HIDDEN): New macro.
6898 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6899 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6900
6901 * setjmp/tst-setjmp-static.c: New file.
6902 * setjmp/Makefile (tests): Add it.
6903 (tests-static): New variable.
6904
b5af9297
MR
69052014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6906
6907 [BZ #17485]
6908 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6909
a13d0d74
JM
69102014-10-21 Joseph Myers <joseph@codesourcery.com>
6911
6912 [BZ #14132]
6913 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6914
f05e73f6
RM
69152014-10-21 Roland McGrath <roland@hack.frob.com>
6916
6917 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6918
6ab1d1ea
RM
69192014-10-20 Roland McGrath <roland@hack.frob.com>
6920
6921 * io/fts.c (dirent_not_directory): New function.
6922 (fts_build): Call it.
6923
ab49e763
RM
69242014-10-20 Roland McGrath <roland@hack.frob.com>
6925
e436eb79
RM
6926 * nptl/version.c (__nptl_main): Use normal __write rather than
6927 INTERNAL_SYSCALL.
6928 (banner): Update copyright years.
6929
6af246cf
RM
6930 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6931 gettimeofday.
6932 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6933 * nptl/pthread_cond_timedwait.c: Likewise.
6934 * nptl/pthread_mutex_timedlock.c: Likewise.
6935 * nptl/sem_timedwait.c: Likewise.
6936
ab49e763
RM
6937 * sysdeps/nptl/bits/libc-lock.h
6938 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6939 (__libc_lock_init_recursive): Return void, not 0.
6940 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6941 (__libc_rwlock_init): Likewise.
6942 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6943
f50277c1
TR
69442014-10-20 Torvald Riegel <triegel@redhat.com>
6945
6946 [BZ #15215]
6947 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6948 (__pthread_once_slow): ... here.
6949 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6950 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6951
63668b70
TR
69522014-10-20 Torvald Riegel <triegel@redhat.com>
6953
6954 [BZ #15215]
6955 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6956 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6957 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6958 * nptl/pthread_once.c (__pthread_once): Likewise.
6959 Update comments.
6960
42b7f5d4
JM
69612014-10-20 Joseph Myers <joseph@codesourcery.com>
6962
6963 [BZ #14138]
6964 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6965 name.
6966 (writev): Use __libc_writev as strong name.
6967 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6968 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6969
b0643088
RM
69702014-10-17 Roland McGrath <roland@hack.frob.com>
6971
114c4e09
RM
6972 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6973
674b8978
RM
6974 * sysdeps/i386/nptl/tls.h
6975 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6976 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6977 New macros.
6978 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6979 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6980 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6981 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6982 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6983 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6984
184ee940
RM
6985 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6986 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6987 on [__NR_futex].
6988 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6989 broken out of ...
6990 (__pthread_mutex_init): ... here. Call it.
6991 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6992 Conditionalize PI cases on [__NR_futex].
6993 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6994 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6995 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6996
327ae257
RM
6997 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6998 conditional on [SIGSETXID].
6999 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7000 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7001 is defined. Likewise for SIGSETXID.
7002 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7003 Conditionalize definitions on [SIGSETXID].
7004 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7005 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7006 unblocking on [SIGCANCEL].
7007
b0643088
RM
7008 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7009 [__NR_set_robust_list].
7010
33cc770b
SP
70112014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7012
7013 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7014 (do_compare): Likewise.
7015
0742aef6
LH
70162014-10-17 Leonhard Holz <leonhard.holz@web.de>
7017
7018 [BZ #15884]
7019 * string/strcoll_l.c: Don't include stdio.h.
7020 (coll_seq): Remove members idxarr and rulearr.
7021 (get_next_seq_cached): Remove function.
7022 (get_next_seq): Likewise.
7023 (get_next_seq_nocache): Rename to get_next_seq.
7024 (do_compare): Remove function.
7025 (do_compare_nocache): Rename to do_compare.
7026 (STRCOLL): Remove weight and rules cache.
7027
ee54ce44
RM
70282014-10-16 Roland McGrath <roland@hack.frob.com>
7029
7030 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7031 * sysdeps/arm/sfp-machine.h: ... to here.
7032 * sysdeps/arm/Implies: Remove arm/soft-fp.
7033
a75d3b02
JM
70342014-10-14 Joseph Myers <joseph@codesourcery.com>
7035
7036 * conform/data/sys/utsname.h-data (*_t): Allow.
7037 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7038 [POSIX] (WEXITED): Do not expect constant.
7039 [POSIX] (WSTOPPED): Likewise.
7040 [POSIX] (WNOHANG): Likewise.
7041 [POSIX] (WNOWAIT): Likewise.
7042 [POSIX] (siginfo_t): Do not expect type or elements.
7043 [POSIX] (pid_t): Do not expect type.
7044 [POSIX] (signal.h): Do not allow header.
7045 [POSIX] (sys/resource.h): Likewise.
7046 [POSIX] (si_*): Do not allow pattern.
7047 [POSIX] (W*): Likewise.
7048 [POSIX] (P_*): Likewise.
7049 [POSIX] (BUS_*): Likewise.
7050 [POSIX] (CLD_*): Likewise.
7051 [POSIX] (FPE_*): Likewise.
7052 [POSIX] (ILL_*): Likewise.
7053 [POSIX] (POLL_*): Likewise.
7054 [POSIX] (SEGV_*): Likewise.
7055 [POSIX] (SI_*): Likewise.
7056 [POSIX] (TRAP_*): Likewise.
7057 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7058 variable.
7059
fda389c8
SP
70602014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7061
7062 [BZ #12926]
7063 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7064 infinite loop when __recvmsg returns 0.
7065
6bc6bd3b
JM
70662014-10-10 Joseph Myers <joseph@codesourcery.com>
7067
fcb32af1
JM
7068 * CANCEL-FCT-WAIVE: Remove file.
7069 * CANCEL-FILE-WAIVE: Likewise.
7070
6bc6bd3b
JM
7071 [BZ #14132]
7072 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7073 instead of INTVARDEF.
7074 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7075 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7076 rtld_hidden_data_def instead of INTVARDEF.
7077 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7078 * elf/dl-deps.c (expand_dst): Likewise.
7079 * elf/dl-load.c (_dl_dst_count): Likewise.
7080 (_dl_dst_substitute): Likewise.
7081 (decompose_rpath): Likewise.
7082 (_dl_init_paths): Likewise.
7083 (open_path): Likewise.
7084 (_dl_map_object): Likewise.
7085 * elf/rtld.c (dl_main): Likewise.
7086 (process_dl_audit): Likewise.
7087 (process_envvars): Likewise.
7088 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7089 Remove declaration.
7090 (__libc_enable_secure): Use rtld_hidden_proto.
7091
b8c80a7e
KS
70922014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7093
7094 * elf/dl-load.c
7095 (add_path): New function broken out of _dl_rtld_di_serinfo.
7096 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7097
ff12c11f
JM
70982014-10-09 Joseph Myers <joseph@codesourcery.com>
7099
5c0508a3
JM
7100 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7101 parentheses around macro arguments.
7102 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7103 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7104 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7105 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7106 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7107 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7108 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7109 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7110 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7111 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7112 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7113 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7114 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7115 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7116 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7117 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7118 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7119 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7120 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7121 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7122 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7123 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7124 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7125 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7126 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7127 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7128 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7129 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7130 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7131 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7132 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7133 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7134 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7135 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7136 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7137 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7138 Likewise.
7139 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7140 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7141 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7142 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7143 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7144 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7145 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7146 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7147 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7148 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7149 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7150 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7151 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7152 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7153 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7154 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7155 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7156 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7157 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7158 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7159 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7160 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7161 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7162 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7163 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7164 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7165 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7166 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7167 (_FP_FRAC_SRS_1): Likewise.
7168 (_FP_FRAC_CLZ_1): Likewise.
7169 (_FP_MUL_MEAT_1_imm): Likewise.
7170 (_FP_MUL_MEAT_1_wide): Likewise.
7171 (_FP_MUL_MEAT_1_hard): Likewise.
7172 (_FP_SQRT_MEAT_1): Likewise.
7173 (_FP_FRAC_ASSEMBLE_1): Likewise.
7174 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7175 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7176 (__FP_CLZ_2): Likewise.
7177 (_FP_MUL_MEAT_2_wide): Likewise.
7178 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7179 (_FP_MUL_MEAT_2_gmp): Likewise.
7180 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7181 (_FP_SQRT_MEAT_2): Likewise.
7182 (_FP_FRAC_ASSEMBLE_2): Likewise.
7183 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7184 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7185 (_FP_FRAC_CLZ_4): Likewise.
7186 (_FP_MUL_MEAT_4_wide): Likewise.
7187 (_FP_MUL_MEAT_4_gmp): Likewise.
7188 (_FP_SQRT_MEAT_4): Likewise.
7189 (_FP_FRAC_ASSEMBLE_4): Likewise.
7190 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7191 * soft-fp/op-common.h (_FP_CMP): Likewise.
7192 (_FP_CMP_EQ): Likewise.
7193 (_FP_CMP_UNORD): Likewise.
7194 (_FP_TO_INT): Likewise.
7195 (_FP_FROM_INT): Likewise.
7196 [!__FP_CLZ] (__FP_CLZ): Likewise.
7197 (_FP_DIV_HELP_imm): Likewise.
7198 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7199 Likewise.
7200 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7201 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7202 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7203 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7204 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7205 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7206 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7207 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7208 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7209 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7210 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7211 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7212 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7213 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7214 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7215 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7216 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7217 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7218 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7219 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7220 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7221 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7222 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7223 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7224 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7225 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7226 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7227 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7228 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7229 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7230 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7231 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7232 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7233 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7234 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7235 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7236 (FP_UNPACK_RAW_SP): Likewise.
7237 (FP_PACK_RAW_S): Likewise.
7238 (FP_PACK_RAW_SP): Likewise.
7239 (FP_UNPACK_S): Likewise.
7240 (FP_UNPACK_SP): Likewise.
7241 (FP_UNPACK_SEMIRAW_S): Likewise.
7242 (FP_UNPACK_SEMIRAW_SP): Likewise.
7243 (FP_PACK_S): Likewise.
7244 (FP_PACK_SP): Likewise.
7245 (FP_PACK_SEMIRAW_S): Likewise.
7246 (FP_PACK_SEMIRAW_SP): Likewise.
7247 (_FP_SQRT_MEAT_S): Likewise.
7248 (FP_CMP_S): Likewise.
7249 (FP_CMP_EQ_S): Likewise.
7250 (FP_CMP_UNORD_S): Likewise.
7251 (FP_TO_INT_S): Likewise.
7252 (FP_FROM_INT_S): Likewise.
7253
a736ec37
JM
7254 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7255
ff12c11f
JM
7256 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7257 (FP_EX_INVALID_IMZ): Likewise.
7258 (FP_EX_INVALID_IMZ_FMA): Likewise.
7259 (FP_EX_INVALID_ISI): Likewise.
7260 (FP_EX_INVALID_ZDZ): Likewise.
7261 (FP_EX_INVALID_IDI): Likewise.
7262 (FP_EX_INVALID_SQRT): Likewise.
7263 (FP_EX_INVALID_CVI): Likewise.
7264 (FP_EX_INVALID_VC): Likewise.
7265 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7266 "invalid" exceptions.
7267 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7268 (_FP_ADD_INTERNAL): Likewise.
7269 (_FP_MUL): Likewise.
7270 (_FP_FMA): Likewise.
7271 (_FP_DIV): Likewise.
7272 (_FP_CMP_CHECK_NAN): Likewise.
7273 (_FP_SQRT): Likewise.
7274 (_FP_TO_INT): Likewise.
7275 (FP_EXTEND): Likewise.
7276
b6dcfe8c
AM
72772014-10-09 Allan McRae <allan@archlinux.org>
7278
7279 * po/fr.po: Update French translation from translation project.
7280
2d6a47ba
JM
72812014-10-09 Joseph Myers <joseph@codesourcery.com>
7282
cb831245
JM
7283 [BZ #14132]
7284 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7285 of INTDEF.
7286 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7287 (__cxa_atexit): Use libc_hidden_proto.
7288 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7289
5deeb190
JM
7290 [BZ #14132]
7291 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7292 declaration.
7293 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7294 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7295 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7296 [!_ISOMAC] (__iswctype_internal): Likewise.
7297 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7298 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7299 alias.
7300 (fcntl): Remove __fcntl_internal alias.
7301 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7302 __connect_internal alias.
7303 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7304 Likewise.
7305
454ac701
JM
7306 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7307 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7308 FP_DENORM_ZERO.
7309 (_FP_CHECK_FLUSH_ZERO): New macro.
7310 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7311 (_FP_CMP): Likewise.
7312 (_FP_CMP_EQ): Likewise.
7313 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7314 FP_DENORM_ZERO.
7315 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7316 (FP_TRUNC): Likewise.
7317
0022e688
JM
7318 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7319 treated as invalid conversion, not as normal exponent.
7320
73e28d9c
JM
7321 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7322 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7323 (_FP_CMP_EQ): Likewise.
7324 (_FP_CMP_UNORD): Likewise.
7325 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7326 (FP_CMP_EQ_D): Likewise.
7327 (FP_CMP_UNORD_D): Likewise.
7328 * soft-fp/extended.h (FP_CMP_E): Likewise.
7329 (FP_CMP_EQ_E): Likewise.
7330 (FP_CMP_UNORD_E): Likewise.
7331 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7332 (FP_CMP_EQ_Q): Likewise.
7333 (FP_CMP_UNORD_Q): Likewise.
7334 * soft-fp/single.h (FP_CMP_S): Likewise.
7335 (FP_CMP_EQ_S): Likewise.
7336 (FP_CMP_UNORD_S): Likewise.
7337 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7338 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7339 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7340 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7341 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7342 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7343 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7344 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7345 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7346 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7347 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7348 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7349 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7350 to FP_CMP_Q.
7351 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7352 FP_CMP_Q.
7353 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7354 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7355 FP_CMP_EQ_Q.
7356 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7357 FP_CMP_Q.
7358 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7359 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7360 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7361 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7362 FP_CMP_EQ_Q.
7363 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7364 FP_CMP_Q.
7365 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7366 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7367 FP_CMP_EQ_Q.
7368 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7369 FP_CMP_Q.
7370 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7371 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7372 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7373 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7374 FP_CMP_EQ_Q.
7375
43059f42
JM
7376 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7377 a subnormal result, set the underflow exception if trapping on
7378 underflow is enabled.
7379 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7380 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7381 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7382 redefine to 0.
7383 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7384 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7385 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7386 * soft-fp/extendxftf2.c (__extendxftf2): Use
7387 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7388
2d6a47ba
JM
7389 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7390 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7391 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7392 FP_HANDLE_EXCEPTIONS.
7393 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7394 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7395 FP_HANDLE_EXCEPTIONS.
7396 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7397 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7398 FP_HANDLE_EXCEPTIONS.
7399 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7400 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7401 FP_HANDLE_EXCEPTIONS.
7402
620f462e
JM
74032014-10-08 Joseph Myers <joseph@codesourcery.com>
7404
7405 [BZ #14132]
7406 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7407 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7408 use INTUSE.
7409 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7410 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7411 Remove alias.
7412 (__adjtimex): Define using libc_hidden_ver.
7413 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7414 Remove declaration.
7415 (ntp_gettime): Call __adjtimex directly.
7416 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7417 Remove declaration.
7418 (ntp_gettimex): Call __adjtimex directly.
7419 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7420 __adjtimex_internal alias.
7421
c763c5d2
RM
74222014-10-08 Roland McGrath <roland@hack.frob.com>
7423
7424 [BZ #17460]
7425 * nscd/nscd.c (more_help): Rewrite list of tables collection
7426 using xstrdup and asprintf.
7427
7428 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7429
7b8fb2b8
RM
74302014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7431 Roland McGrath <roland@hack.frob.com>
7432
7433 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7434 (do_lookup_unique): ... local function 'enter' here; update callers.
7435
abb280f7
JM
74362014-10-06 Joseph Myers <joseph@codesourcery.com>
7437
f7b42517
JM
7438 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7439 compat_symbol calls on [SHARED].
7440 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7441 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7442 Remove.
7443 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7444 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7445 (oldsetrlimit): Remove.
7446 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7448 (lchown): New syscall entry.
7449 (oldsetrlimit): Remove.
7450 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7451 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7452 (oldsetrlimit): Remove.
7453 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7454
abb280f7
JM
7455 [BZ #14138]
7456 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7457 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7458 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7459 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7460 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7461 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7462 (fchown): Likewise.
7463 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7464 (fchown): Likewise.
7465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7466 Likewise.
7467
47d46237
AZ
74682014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7469
7470 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7471 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7472 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7473 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7474 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7475 Likewise.
7476 (__old_sem_post): Likewise.
7477
74782014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7479
845a7343
CM
7480 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7481 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7482 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7483 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7484 Use INLINE_VSYSCALL macro.
7485 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7486 __vdso_clock_gettime.
7487 * sysdeps/unix/sysv/linux/tile/init-first.c
7488 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7489 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7490 __vdso_clock_gettime.
7491
83d641ef
CM
7492 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7493 to set up frame more cleanly.
7494
d9cd52e6
CM
7495 * sysdeps/tile/memcmp.c: New file.
7496
4b68ea11
CM
7497 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7498
c86f7b80
CM
7499 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7500 * sysdeps/tile/tilegx/strcasestr.c: New file.
7501 * sysdeps/tile/tilegx/strnlen.c: New file.
7502 * sysdeps/tile/tilegx/strstr.c: New file.
7503
1c4c1a6f
CM
7504 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7505
99d86ea3
AS
75062014-10-06 Arjun Shankar <arjun.is@lostca.se>
7507
7508 * nptl/tst-setuid3.c: Write errors to stdout.
7509
06210a44
KS
75102014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7511
7512 * elf/dl-deps.c
7513 (preload): New functions broken out of _dl_map_object_deps.
7514 (_dl_map_object_deps): Remove a nested function. Update call sites.
7515
6268f532
JM
75162014-10-01 Joseph Myers <joseph@codesourcery.com>
7517
7518 [BZ #14138]
7519 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7520 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7521
b925285f
SE
75222014-10-01 Steve Ellcey <sellcey@mips.com>
7523
7524 * sysdeps/mips/strcmp.S: New.
7525
754a15c6
JM
75262014-09-30 Joseph Myers <joseph@codesourcery.com>
7527
7528 [BZ #14138]
7529 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7530 (linkat): Likewise.
7531 (mkdirat): Likewise.
7532 (readlinkat): Likewise.
7533 (renameat): Likewise.
7534 (symlinkat): Likewise.
7535 (unlinkat): Likewise.
7536 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7537 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7538 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7539 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7540 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7541 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7542 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7543
85bb81c9
WN
75442014-09-30 Will Newton <will.newton@linaro.org>
7545
dc6fe23b
WN
7546 * math/math.h: Define long double math functions if
7547 _LIBC_TEST is defined.
7548 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7549
85bb81c9
WN
7550 * localedata/Makefile: Move assignment to tests-special
7551 into an ifdef testing run-built-tests.
7552 * timezone/Makefile: Likewise.
7553
b7e02da4
JM
75542014-09-29 Joseph Myers <joseph@codesourcery.com>
7555
7556 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7557 with $(BASH) not $(SHELL).
7558
62058ce6
CD
75592014-09-29 Carlos O'Donell <carlos@redhat.com>
7560 Matthew LeGendre <legendre1@llnl.gov>
7561
7562 [BZ #17411]
7563 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7564 l_reloc_result.
7565
8e257a29
KS
75662014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7567
7568 * stdio-common/printf_fp.c
7569 (hack_digit): New function, broken out of ...
7570 (__printf_fp): ... local function here. Update call sites.
7571 hack_digit now takes an additional parameter that is a pointer
7572 to a struct of the referenced locals. Those locals moved inside
7573 the struct and references updated.
7574
f4a58f0d
L
75752014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7576
7577 * aclocal.m4: Require autoconf 2.69.
7578 * configure: Regenerated.
7579 * sysdeps/aarch64/configure: Likewise.
7580 * sysdeps/alpha/configure: Likewise.
7581 * sysdeps/arm/armv7/configure: Likewise.
7582 * sysdeps/arm/configure: Likewise.
7583 * sysdeps/ia64/configure: Likewise.
7584 * sysdeps/mach/configure: Likewise.
7585 * sysdeps/mips/configure: Likewise.
7586 * sysdeps/s390/configure: Likewise.
7587 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7589
7590 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7591 file.
7592 * sysdeps/ia64/configure.ac: Likewise.
7593
93ae1eba
JM
75942014-09-26 Joseph Myers <joseph@codesourcery.com>
7595
1810d3ab
JM
7596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7597 specify symbol version for ld.so. Do not include entry for
7598 libpthread.
7599 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7600 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7601 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7602
93ae1eba
JM
7603 [BZ #14171]
7604 * Makeconfig [$(build-shared) = yes]
7605 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7606 makefiles.
7607 [$(build-shared) = yes && $(soversions.mk-done) = t]
7608 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7609 [$(build-shared) = yes && $(soversions.mk-done) = t]
7610 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7611 to Makerules.
7612 [$(build-shared) = yes && $(soversions.mk-done) = t]
7613 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7614 here.
7615 [$(build-shared) = yes && $(soversions.mk-done) = t]
7616 (common-generated): Don't append gnu/lib-names.h and
7617 gnu/lib-names.stmp here.
7618 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7619 (lib-names-h-abi): New variable.
7620 [$(build-shared) = yes && $(soversions.mk-done) = t]
7621 (lib-names-stmp-abi): Likewise.
7622 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7623 abi-variants] (before-compile): Append
7624 $(common-objpfx)$(lib-names-h-abi).
7625 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7626 abi-variants] (common-generated): Append gnu/lib-names.h.
7627 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7628 abi-variants] (install-others-nosubdir): Depend on
7629 $(inst_includedir)/$(lib-names-h-abi).
7630 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7631 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7632 [$(build-shared) = yes && $(soversions.mk-done) = t]
7633 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7634 [$(build-shared) = yes && $(soversions.mk-done) = t]
7635 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7636 [$(build-shared) = yes && $(soversions.mk-done) = t]
7637 (common-generated): Append $(lib-names-h-abi) and
7638 $(lib-names-stmp-abi).
7639 * scripts/lib-names.awk: Do not handle multi being set.
7640 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7641 Remove variable.
7642 (abi-lp64_be-ld-soname): Likewise.
7643 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7644 Likewise.
7645 (abi-hard-ld-soname): Likewise.
7646 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7647 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7648 Remove variable.
7649 (abi-o32_hard-ld-soname): Likewise.
7650 (abi-o32_soft_2008-ld-soname): Likewise.
7651 (abi-o32_hard_2008-ld-soname): Likewise.
7652 (abi-n32_soft-ld-soname): Likewise.
7653 (abi-n32_hard-ld-soname): Likewise.
7654 (abi-n32_soft_2008-ld-soname): Likewise.
7655 (abi-n32_hard_2008-ld-soname): Likewise.
7656 (abi-n64_soft-ld-soname): Likewise.
7657 (abi-n64_hard-ld-soname): Likewise.
7658 (abi-n64_soft_2008-ld-soname): Likewise.
7659 (abi-n64_hard_2008-ld-soname): Likewise.
7660 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7661 Likewise.
7662 (abi-64-v2-ld-soname): Likewise.
7663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7664 ld.so entries.
7665 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7666 variable.
7667 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7668 entry.
7669 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7670 variable.
7671 (abi-64-ld-soname): Likewise.
7672 (abi-x32-ld-soname): Likewise.
7673 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7674 entry.
7675 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7676
68870f12
JM
76772014-09-23 Joseph Myers <joseph@codesourcery.com>
7678
7679 [BZ #14138]
7680 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7681 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7682 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7683 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7684 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7685 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7686 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7687 syscall entry for GLIBC_2.2 symbol version.
7688 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7689 Likewise.
7690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7691 (setrlimit): Likewise.
7692 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7693 Likewise.
7694
ea58f202
WN
76952014-09-23 Will Newton <will.newton@linaro.org>
7696
7697 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7698 _LINUX_ARM_SYSDEP_H include guard too.
7699 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7700 define.
7701
69eb9a18
RV
77022014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7703
7704 * sysdeps/unix/sysv/linux/eventfd.c:
7705 Make first argument unsigned.
7706 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7707 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7708
20e5a5f7
OB
77092014-09-20 Ondřej Bílka <neleai@seznam.cz>
7710
7711 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7712 * socket/sys/socket.h: Likewise
7713 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7714
d3c827e7
AK
77152014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7716
7717 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7718
fe1cc35a
AS
77192014-09-17 Arjun Shankar <arjun.is@lostca.se>
7720
7721 * time/tst-ftime.c: New test.
7722 * time/Makefile (tests): Add tst-ftime.
7723
4e8afe69
JM
77242014-09-17 Joseph Myers <joseph@codesourcery.com>
7725
c4fe3ea7
JM
7726 * soft-fp/extended.h: Fix comment formatting.
7727 * soft-fp/op-1.h: Likewise.
7728 * soft-fp/op-2.h: Likewise.
7729 * soft-fp/op-4.h: Likewise.
7730 * soft-fp/op-8.h: Likewise.
7731 * soft-fp/op-common.h: Likewise.
7732 * soft-fp/soft-fp.h: Likewise.
7733
4e8afe69
JM
7734 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7735
af296fcd
JM
77362014-09-16 Joseph Myers <joseph@codesourcery.com>
7737
7738 [BZ #6652]
7739 * Makeconfig (soversions-default-setname): Remove variable.
7740 ($(common-objpfx)soversions.i): Don't pass default_setname to
7741 soversions.awk.
7742 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7743 oldest_abi to abi-versions.awk.
7744 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7745 * config.make.in (oldest-abi): Remove variable.
7746 * configure.ac (--enable-oldest-abi): Remove configure option.
7747 * configure: Regenerated.
7748 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7749 text.
7750 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7751 * scripts/soversions.awk: Do not handle default_setname variable.
7752 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7753 variable.
7754 * sysdeps/mach/hurd/configure: Regenerated.
7755 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7756 variable.
7757 * sysdeps/unix/sysv/linux/configure: Regenerated.
7758
545583d6
SP
77592014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7760
d330b980
SP
7761 * elf/Makefile (CFLAGS-interp.c): Remove.
7762 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7763 path string.
7764 * elf/interp.c: Include generated runtime-linker.h
7765
02657da2
SP
7766 * Makerules (lib%.so): Don't include $(+interp) in
7767 prerequisites.
7768 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7769 * dlfcn/eval.c: Remove file.
7770
653b1080
SP
7771 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7772 macros.
7773
602f80ec
SP
7774 [BZ #17266]
7775 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7776 4.2 and newer.
7777
545583d6
SP
7778 [BZ #17370]
7779 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7780
884ddc50
SP
77812014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7782 Jakub Jelinek <jakub@redhat.com>
7783
7784 [BZ #17266]
7785 * libio/stdio.h: Check definition of __fortify_function
7786 instead of __extern_always_inline to include bits/stdio2.h.
7787 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7788 check if __extern_always_inline is defined.
7789 [__USE_MISC || __USE_XOPEN]: Likewise.
7790 [__USE_ISOC99] Likewise.
7791 * misc/sys/cdefs.h (__fortify_function): Define only if
7792 __extern_always_inline is defined.
7793 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7794 __extern_always_inline and __extern_inline only for g++-4.3
7795 and newer or a compatible gcc.
7796
a7b87268
AS
77972014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7798
7799 [BZ #17371]
7800 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7801 last change to handle zero prefix length.
7802
3f41521d
SP
78032014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7804
61fe374a
SP
7805 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7806 _SC_REGEX_VERSION.
7807
3f41521d
SP
7808 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7809 _POSIX_RAW_SOCKETS.
7810
d8f879ee
AM
78112014-09-13 Allan McRae <allan@archlinux.org>
7812
7813 * po/ru.po: Update Russian translation from translation project.
7814
c079afb7
RM
78152014-09-12 Roland McGrath <roland@hack.frob.com>
7816
a62b3c15
RM
7817 * locale/programs/locale.c (show_locale_vars): Inline local function
7818 into its sole call site. Clean up some style nits.
7819 (print_item): New function, broken out of ...
7820 (show_info): ... local function here. Clean up style nits.
7821
d7e49b19
RM
7822 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7823 out of ...
7824 (set_class_defaults): ... local function set_default here.
7825 Define set_default as a macro locally to pass constant parameters.
7826 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7827 rather than a shared local.
7828
c079afb7
RM
7829 * stdlib/rpmatch.c (try): New function, broken out of ...
7830 (rpmatch): ... local function here. Also, prototypify definition.
7831
0bd72468
JM
78322014-09-12 Joseph Myers <joseph@codesourcery.com>
7833
ba90e050
JM
7834 * scripts/soversions.awk: Do not handle configuration names.
7835 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7836 vendor and os variables to soversions.awk.
7837 * configure.ac: Do not modify gnu-* host_os.
7838 * configure: Regenerated
7839 * shlib-versions: Remove first column with configuration names.
7840 * nptl/shlib-versions: Likewise.
7841 * nptl_db/shlib-versions: Likewise.
7842 * sysdeps/hppa/shlib-versions: Likewise.
7843 * sysdeps/m68k/shlib-versions: Likewise.
7844 * sysdeps/mach/hurd/shlib-versions: Likewise.
7845 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7846 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7847 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7848 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7849 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7850 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7851 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7852 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7854 Likewise.
7855 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7856 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7857 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7858 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7859 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7860 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7861 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7862 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7863
73a39112
JM
7864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7865 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7867 Regenerated.
7868 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7870 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7871
c729e7c1
JM
7872 * shlib-versions: Remove OS-specific entries. Moved to files in
7873 sysdeps.
7874 * sysdeps/mach/hurd/shlib-versions: New file.
7875 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7876
dc932a24
JM
7877 * nptl/shlib-versions: Remove architecture-specific entries.
7878 Moved to files in sysdeps.
7879 * shlib-versions: Likewise.
7880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7881 file.
7882 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7883 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7884 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7885 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7886
0bd72468
JM
7887 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7888 (UDP_NO_CHECK6_RX): Likewise.
7889
920238e0
SP
78902014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7891
7892 * sysdeps/posix/sysconf.c (__sysconf): Spell
7893 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7894
ba7b4d29
FW
78952014-08-12 Florian Weimer <fweimer@redhat.com>
7896
7897 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7898 loading.
7899 * iconv/Versions (__gconv_transliterate): Export for use from
7900 gconv modules.
7901 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7902 (struct __gconv_trans_data, __gconv_trans_fct,
7903 __gconv_trans_context_fct, __gconv_trans_query_fct,
7904 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7905 definitions.
7906 (struct __gconv_step_data): Remove __trans member.
7907 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7908 longer hidden. Remove unused trans_data argument.
7909 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7910 (__gconv_translit_find): Remove declaration.
7911 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7912 prototype.
7913 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7914 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7915 trans_data argument. Add hidden definition.
7916 (__gconv_translit_find): Remove.
7917 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7918 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7919 * iconv/skeleton.c: Remove transliteration initialization.
7920 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7921 __gconv_step_data initialization.
7922 * libio/iofwide.c (__libio_translit_): Remove.
7923 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7924 * wcsmbs/btowc.c (__btowc): Likewise.
7925 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7926 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7927 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7928 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7929 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7930 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7931 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7932 * wcsmbs/wctob.c (wctob): Likewise.
7933
5379aebd
SP
79342014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7935
7936 [BZ #16194]
7937 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7938 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7939 register usage.
7940 * sysdeps/x86/Makefile: Adjust.
7941
8c0ab919
RM
79422014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7943 Roland McGrath <roland@hack.frob.com>
7944
7945 * locale/weight.h: Add include guard.
7946 (findidx): Make static rather than auto; take new parameters
7947 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7948 * locale/weightwc.h: Likewise.
7949 * posix/fnmatch_loop.c
7950 (FCT): Change type of EXTRA from int32_t to wint_t.
7951 Don't include either header inside the function.
7952 Call FINDIDX rather than findidx, and pass new arguments.
7953 #undef FINDIDX at the end of the file.
7954 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7955 FINDIDX before including fnmatch_loop.c for the non-wide version.
7956 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7957 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7958 for the wide version.
7959 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7960 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7961 Pass new arguments to findidx.
7962 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7963 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7964 Don't #include it inside the function. Pass new arguments to findidx.
7965 * posix/regex_internal.h
7966 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7967 (re_string_elem_size_at): Don't #include it inside the function.
7968 Pass new arguments to findidx.
7969 * string/strcoll_l.c: #include WEIGHT_H at top level.
7970 (get_next_seq): Don't #include it inside the function.
7971 Pass new arguments to findidx.
7972 (get_next_seq_nocache): Likewise.
7973 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7974 (STRXFRM): Don't #include it inside the function.
7975 Pass new arguments to findidx.
7976
52ffbdf2
FW
79772014-09-11 Florian Weimer <fweimer@redhat.com>
7978
7979 [BZ #17344]
7980 * malloc/malloc.c (unlink): Turn asserts into a call to
7981 malloc_printerr.
7982
984c0ea9
TL
79832014-09-11 Tim Lammens <tim.lammens@gmail.com>
7984
7985 [BZ #17370]
7986 * libio/wfileops (do_ftell_wide): Free OUT.
7987
3daee107
CM
79882014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7989
7990 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7991
58b930ae
SP
79922014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7993
7994 [BZ #17363]
7995 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7996 group if the current group is empty.
7997
3b473fec
AZ
79982014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7999
71ae8647
AZ
8000 * benchtests/bench-memset.c (test_main): Add more test from size
8001 from 32 to 512 bytes.
8002 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8003 Add POWER8 memset object.
8004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8005 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8006 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8007 implementation.
8008 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8009 Likewise.
8010 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8011 multiarch POWER8 memset optimization.
8012 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8013 POWER8 memset optimization.
8014
3b473fec
AZ
8015 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8016 Remove bzero multiarch objects.
8017 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8018 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8019 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8020 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8021 Remove define.
8022 [__bzero]: Redefine to specific name.
8023 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8024 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8025 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8026 define.
8027 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8028 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8029
e6fb9587
FW
80302014-09-10 Florian Weimer <fweimer@redhat.com>
8031
8032 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8033 warnings into errors.
8034
8035 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8036 __cxa_thread_atexit_impl prototype.
8037
9d3a350b
SE
80382014-09-09 Steve Ellcey <sellcey@mips.com>
8039
8040 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8041 Fix capitalization of error message.
8042
0febba23
SE
80432014-09-09 Steve Ellcey <sellcey@mips.com>
8044
8045 * sysdeps/mips/preconfigure: Modify ABI tests.
8046
645a0e9c
CD
80472014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8048
8049 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8050
d83f0734
CD
80512014-09-07 Roland McGrath <roland@hack.frob.com>
8052 Carlos O'Donell <carlos@systemhalted.org>
8053
8054 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8055 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8056 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8057 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8058 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8059 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8060 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8061 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8062 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8063 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8064 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8065 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8066 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8067 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8068 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8069 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8070 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8071 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8072 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8073 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8074 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8075 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8076 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8077 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8078 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8079 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8080 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8081 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8082 Deconditionalize the code that was previously under [RESET_PID].
8083 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8084 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8085 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8086 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8087 include sysdep.h.
8088
21c83793
AM
80892014-09-08 Allan McRae <allan@archlinux.org>
8090
8091 * version.h (RELEASE): Set to "development".
8092 (VERSION): Set to "2.20.90"
8093
1cd9b65c
AM
80942014-09-07 Allan McRae <allan@archlinux.org
8095
b8079dd0
AM
8096 * version.h (RELEASE): Set to "stable".
8097 (VERSION): Set to "2.20"
8098 * include/features.h (__GLIBC_MINOR__): Set to 20.
8099
c46303ef
AM
8100 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8101 Liebler.
8102
1cd9b65c
AM
8103 * po/ko.po: Update Korean translation from translation project.
8104
8622092d
CM
81052014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8106
8107 [BZ #17354]
8108 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8109 macro for handling signed relocations.
8110
41488498
FW
81112014-09-03 Florian Weimer <fweimer@redhat.com>
8112
8113 [BZ #17325]
8114 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8115 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8116 assert.
8117 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8118 * iconvdata/ibm935.c (BODY): Likewise.
8119 * iconvdata/ibm937.c (BODY): Likewise.
8120 * iconvdata/ibm939.c (BODY): Likewise.
8121 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8122 assert.
8123 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8124 script.
8125 * iconvdata/run-iconv-test.sh: New test loop for checking for
8126 decoder crashers.
8127
a78b712d
KR
81282014-09-02 Khem Raj <raj.khem@gmail.com>
8129
8130 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8131 libm_hidden_ver.
8132
cb08abc6
AM
81332014-09-01 Allan McRae <allan@archlinux.org>
8134
2c31e102
AM
8135 * po/eo.po: Update Esperanto translation from translation project.
8136
cb08abc6
AM
8137 * po/ca.po: Update Catalan translation from translation project.
8138
17a62de1
ST
81392014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8140
8141 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8142 __proc_dostop call.
8143
9570bc53
MW
81442014-08-27 Mark Wielaard <mjw@redhat.com>
8145
8146 [BZ #17319]
8147 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8148 to call set_thread_area instead of hand written asm.
8149 (__NR_set_thread_area): Removed define.
8150 (TLS_FLAG_WRITABLE): Likewise.
8151 (__ASSUME_SET_THREAD_AREA): Remove check.
8152 (TLS_EBX_ARG): Remove define.
8153 (TLS_LOAD_EBX): Likewise.
8154
b0f955c9
ST
81552014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8156
8157 Simplify atomicity of socket creation in bind.
8158
8159 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8160 looking up the name after linking the file.
8161
529bf515
AM
81622014-08-27 Allan McRae <allan@archlinux.org>
8163
8164 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8165
a1a6a401
FW
81662014-08-26 Florian Weimer <fweimer@redhat.com>
8167
8168 [BZ #17187]
8169 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8170 trans_compare, open_translit, __gconv_translit_find):
8171 Remove module loading code.
8172
686ab290
AM
81732014-08-26 Allan McRae <allan@archlinux.org>
8174
e4e7cfd2
AM
8175 * po/vi.po: Update Vietnamese translation from translation project.
8176
6aa09f71
AM
8177 * po/uk.po: Update Ukrainian translation from translation project.
8178
edc0660e
AM
8179 * po/fr.po: Update French translation from translation project.
8180
7eea72ac
AM
8181 * po/ru.po: Update Russian translation from translation project.
8182
93c49eff
AM
8183 * po/pl.po: Update Polish translation from translation project.
8184
46acaf63
AM
8185 * po/cs.po: Update Czech translation from translation project.
8186
a9f5ce98
AM
8187 * po/de.po: Update German translation from translation project.
8188
373f2b78
AM
8189 * po/bg.po: Update Bulgarian translation from translation project.
8190
e7548bd8
AM
8191 * po/sv.po: Update Sweedish translation from translation project.
8192
c526bf4d
AM
8193 * po/nl.po: Update Dutch translation from translation project.
8194
686ab290
AM
8195 * po/es.po: Update Spanish translation from translation project.
8196
eb72478a
SP
81972014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8198
dd763fdb
SP
8199 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8200
318c7a58
SP
8201 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8202 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8203 (CPPFLAGS-iconvconfig): Likewise.
8204 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8205
eb72478a
SP
8206 * include/libc-symbols.h: Remove unnecessary check for
8207 NOT_IN_libc.
8208 * nptl/pthreadP.h: Likewise.
8209 * sysdeps/aarch64/setjmp.S: Likewise.
8210 * sysdeps/alpha/setjmp.S: Likewise.
8211 * sysdeps/arm/sysdep.h: Likewise.
8212 * sysdeps/i386/setjmp.S: Likewise.
8213 * sysdeps/m68k/setjmp.c: Likewise.
8214 * sysdeps/posix/getcwd.c: Likewise.
8215 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8216 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8217 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8218 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8219 * sysdeps/sh/sh3/setjmp.S: Likewise.
8220 * sysdeps/sh/sh4/setjmp.S: Likewise.
8221 * sysdeps/unix/alpha/sysdep.h: Likewise.
8222 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8223 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8224 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8225 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8228 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8229 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8230 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8231 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8232 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8233 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8235 * sysdeps/x86_64/setjmp.S: Likewise.
8236
d44a052c
JM
82372014-08-13 Joseph Myers <joseph@codesourcery.com>
8238
8239 [BZ #17263]
8240 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8241 <stdint.h>.
8242 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8243 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8244
508ce3ac
SP
82452014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8246
e44c8b0e
SP
8247 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8248
508ce3ac
SP
8249 [BZ #17262]
8250 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8251 and __x86_64__ when disabling x87 inline functions.
8252
b4acef1f
L
82532014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8254
8255 [BZ #17259]
8256 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8257 asm statement with __cpuid_count.
8258
61b1ef6e
MF
82592014-08-12 Mike Frysinger <vapier@gentoo.org>
8260
8261 * configure.ac: Change __ehdr_start code to dereference the struct.
8262 Run readelf on the output to look for relocations.
8263 * configure: Regenerated.
8264
898c62f4
JM
82652014-08-12 Joseph Myers <joseph@codesourcery.com>
8266
8267 [BZ #17261]
8268 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8269 value to 0.
8270 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8271
9a8a5720
RM
82722014-08-12 Roland McGrath <roland@hack.frob.com>
8273
8274 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8275
4e75751c
BO
82762014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8277
8278 [BZ #16892]
8279 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8280 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8281
bb2ce416
SA
82822014-08-12 Sean Anderson <seanga2@gmail.com>
8283
8284 * malloc/malloc.c: Fix typo in comment.
8285
7950a4ee
AM
82862014-08-09 Allan McRae <allan@archlinux.org>
8287
8288 * Regenerate libc.po.
8289
f469c49f
MF
82902014-08-08 Mike Frysinger <vapier@gentoo.org>
8291
8292 * intl/tst-gettext2.sh: Check every lang file for creation.
8293
656b84c2
WD
82942014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8295
8296 * sysdeps/aarch64/fpu/math_private.h
8297 (libc_feholdsetround_noex_aarch64_ctx): New function.
8298
538e9e45
W
82992014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8300
8301 * sysdeps/arm/armv6/strcpy.S (strcpy):
8302 Fix performance issue in misaligned cases.
8303
d4795e4a
AZ
83042014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8305
8306 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8307 Move definition from termios.h.
8308 (struct termio): Likewise.
8309 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8310 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8311 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8312 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8313 Likewise.
8314 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8315 Move definition to ioctl-types.h
8316 (struct termio): Likewise.
8317 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8318 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8319 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8320 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8321 Likewise.
8322
64accb62
RH
83232014-08-05 Richard Henderson <rth@redhat.com>
8324
27bb6dc0
RH
8325 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8326 exceptions.
8327 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8328 Add fraiseexcpt.
8329 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8330 Use __feraiseexcept.
8331 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8332 Protect libm symbols with IS_IN_libm.
8333
64accb62
RH
8334 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8335
e5292691
BO
83362014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8337
8338 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8339
5b4bd2d4
WN
83402014-08-04 Will Newton <will.newton@linaro.org>
8341
8342 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8343 file.
8344
fcadaeef
MF
83452014-08-04 Mike Frysinger <vapier@gentoo.org>
8346
8347 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8348 variants for each function.
8349
43a94c64
RM
83502014-08-04 Roland McGrath <roland@hack.frob.com>
8351
8352 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8353 appended ...
8354 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8355 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8356 appended ...
8357 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8358 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8359 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8360 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8361 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8362 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8363 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8364 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8365 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8366 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8367 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8368 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8369 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8370 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8371 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8372 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8373 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8374 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8375 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8376 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8377 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8378 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8379 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8380 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8381 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8382 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8383 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8384 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8385 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8386 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8387 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8388 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8389 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8390 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8391 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8392 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8393 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8394 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8395 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8396 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8397 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8398 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8399 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8400 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8401 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8402 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8403 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8404 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8405 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8406 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8407 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8408 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8409 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8410 Update #include.
8411 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8412 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8413
8f3c1fa4
RM
84142014-08-04 Roland McGrath <roland@hack.frob.com>
8415
8416 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8417 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8418 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8419 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8420 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8421 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8422
ca08746f
RM
84232014-08-04 Roland McGrath <roland@hack.frob.com>
8424
8425 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8426 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8427 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8428 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8429
9c925ff9
RM
84302014-08-04 Roland McGrath <roland@hack.frob.com>
8431
8432 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8433 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8434 (__libc_vfork): Define function under this name.
8435 (__vfork): Define as an alias.
8436 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8437 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8438
e641054c
RM
84392014-08-04 Roland McGrath <roland@hack.frob.com>
8440
8441 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8442 that was previously under [RESET_PID].
8443 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8444
dacdc867
AS
84452014-08-04 Andreas Schwab <schwab@suse.de>
8446
8447 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8448
41f725ff
MF
84492014-08-03 Mike Frysinger <vapier@gentoo.org>
8450
8451 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8452 (main): Likewise.
8453
277cfb31
RM
84542014-08-01 Roland McGrath <roland@hack.frob.com>
8455
8456 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8457
4896f049
RH
84582014-08-01 Richard Henderon <rth@redhat.com>
8459
8460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8461 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8462 typo in exact zero test.
8463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8464 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8465 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8466
6f64e7d7
RM
84672014-08-01 Roland McGrath <roland@hack.frob.com>
8468
8469 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8470 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8471 * sysdeps/arm/sysdep.h: ... here.
8472 [!__ASSEMBLER__]: Include <stdint.h>.
8473
3f3dd810
SP
84742014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8475
a476ac4b
SP
8476 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8477 (HAVE_WCTYPE_H): Likewise.
8478 (HAVE_ISWCTYPE): Likewise.
8479 (ENABLE_NLS): Likewise.
8480 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8481 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8482
78dd658a
SP
8483 * posix/regex_internal.c: Check if DEBUG is defined and is
8484 set.
8485
3f3dd810
SP
8486 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8487 (HAVE_MBSRTOWCS): Likewise.
8488 * posix/fnmatch.c: Include string.h unconditionally.
8489
95ee7fb1
SL
84902014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8491
8492 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8493 reversal.
8494
23fe486b
RM
84952014-07-31 Roland McGrath <roland@hack.frob.com>
8496
f61a113f
RM
8497 * sysdeps/generic/safe-fatal.h: New file.
8498 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8499 * nptl/forward.c: Include it.
8500 (__pthread_unwind): Use __safe_fatal as default action, rather
8501 than a bogus use of INTERNAL_SYSCALL that could never work.
8502
9fe7e787
RM
8503 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8504 * configure.ac (libc_cv_builtin_trap): New test.
8505 * configure: Regenerated.
8506 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8507 (ABORT_INSTRUCTION): Define using __builtin_trap.
8508
23fe486b
RM
8509 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8510 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8511 * sysdeps/nptl/nptl-signals.h: New file.
8512 * nptl/pthreadP.h: Include <nptl-signals.h>.
8513
f349489e
SL
85142014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8515
8516 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8517 (ONE_DIRECTION): Define.
8518 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8519 (ONE_DIRECTION): Define.
8520 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8521 (ONE_DIRECTION): Define.
8522
2f438e20
SL
85232014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8524
8525 * sysdeps/s390/Makefile: Delete file.
8526 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8527 * sysdeps/s390/__longjmp.c: Delete file.
8528 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8529 Remove fields __flags and __reserved.
8530 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8531 and add versioning.
8532 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8533 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8534 * sysdeps/s390/rtld-setjmp.S: Likewise.
8535 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8536 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8537 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8538 * sysdeps/s390/s390-32/setjmp.S: ... here.
8539 Add versioning.
8540 (__sigsetjmp): Remove setting __flags field.
8541 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8542 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8543 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8544 * sysdeps/s390/s390-64/setjmp.S: ... here.
8545 Add versioning.
8546 (__sigsetjmp): Remove setting __flags field.
8547 * sysdeps/s390/setjmp.S: Delete file.
8548 * sysdeps/s390/sigjmp.c: Likewise.
8549 * sysdeps/s390/v1-longjmp.c: Likewise.
8550 * sysdeps/s390/v1-setjmp.h: Likewise.
8551 * sysdeps/s390/v1-sigjmp.c: Likewise.
8552 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8553 Remove v1-longjmp_chk.
8554 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8555 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8556 Include debug/longjmp_chk.c and add versioning.
8557 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8558 Include nptl/pt-longjmp.c and add versioning.
8559 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8560 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8561 Include __longjmp.c.
8562 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8563 Move to ...
8564 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8565 (__getcontext): Remove setting __flags field.
8566 Add versioning.
8567 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8568 Don't restore upper high grps.
8569 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8570 Likewise.
8571 (__swapcontext): Remove setting uc_flags field.
8572 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8573 Delete file.
8574 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8575 Include __longjmp.c.
8576 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8577 Move to ...
8578 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8579 (__getcontext): Remove setting __flags field.
8580 Add versioning.
8581 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8582 (__swapcontext): Remove setting uc_flags field.
8583 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8584 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8585 Remove fields uc_high_gprs and __reserved.
8586 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8587 New file with reverted content.
8588 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8589 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8590 Regenerated.
8591 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8592 Regenerated.
8593
6c9578a2
AS
85942014-07-31 Andreas Schwab <schwab@suse.de>
8595
8596 * config.h.in (HAVE_IFUNC): Define to 0.
8597 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8598 definedness.
8599
05f3633d
LM
86002014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8601
8602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8603 memmove-avx-unaligned, memcpy-avx-unaligned and
8604 mempcpy-avx-unaligned.
8605 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8606 Add tests for AVX memcpy functions.
8607 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8608 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8609 memcpy_chk.
8610 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8611 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8612 memmove_chk.
8613 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8614 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8615 mempcpy_chk.
8616 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8617 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8618 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8619
a53fbd8e
AZ
86202013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8621
8622 [BZ #17213]
8623 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8624 powerpc64le.
8625
0961f7e1
JL
86262014-07-29 Jeff Layton <jlayton@poochiereds.net>
8627
8628 [BZ #16839]
8629 * manual/llio.texi: Add section about open file description locks.
8630 * manual/examples/ofdlocks.c: Example of open file description
8631 lock usage.
8632 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8633 F_OFD_SETLK, and F_OFD_SETLKW.
8634
cc5fb300
AM
86352014-07-23 Allan McRae <allan@archlinux.org>
8636
8637 * po/es.po: Update Spanish translation from translation project.
8638
23329dca
AS
86392014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8640
8641 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8642
9c82da17
MR
86432014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8644
8645 [BZ #17078]
8646 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8647 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8648 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8649
29c4f53e
JM
86502014-07-17 Joseph Myers <joseph@codesourcery.com>
8651
831b9896
JM
8652 [BZ #17088]
8653 * math/fesetenv.c (__fesetenv)
8654 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8655 * math/feupdateenv.c (__feupdateenv)
8656 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8657
b21c2d50
JM
8658 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8659 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8660 (__ASSUME_SOCKETCALL): Do not define.
8661
067764ef
JM
8662 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8663 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8664 (__ASSUME_SOCKETCALL): Do not define.
8665 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8666 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8667 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8668 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8669 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8670 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8671 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8672 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8673
642530c1
JM
8674 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8675 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8676 (__ASSUME_SOCKETCALL): Do not define.
8677 (__ASSUME_IPC64): Define unconditionally.
8678 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8679 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8680 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8681 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8682 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8683 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8684 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8685 Likewise.
8686
03f77315
JM
8687 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8688 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8689 (__ASSUME_SOCKETCALL): Do not define.
8690 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8691 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8692 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8693 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8694 (__ASSUME_REQUEUE_PI): Define unconditionally.
8695 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8696 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8697 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8698 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8699 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8700 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8701
083b1f7c
JM
8702 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8703 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8704 (__ASSUME_SOCKETCALL): Do not define.
8705 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8706 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8707 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8708 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8709 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8710 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8711
5be44ea6
JM
8712 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8713 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8714 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8715 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8716 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8717 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8718 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8719 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8720 (__ASSUME_GETCPU_SYSCALL): Likewise.
8721
d95ffd4c
JM
8722 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8723 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8724 cases for individual architectures.
8725 * sysdeps/gnu/configure: Regenerated.
8726 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8727 LIBC_SLIBDIR_RTLDDIR.
8728 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8729 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8730 LIBC_SLIBDIR_RTLDDIR.
8731 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8733 LIBC_SLIBDIR_RTLDDIR.
8734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8735 Regenerated.
8736 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8737 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8738 file.
8739 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8740 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8741 file.
8742 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8743 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8744 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8745 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8746
29c4f53e
JM
8747 * sysdeps/aarch64/shlib-versions: Move to ...
8748 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8749 * sysdeps/alpha/shlib-versions: Move to ...
8750 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8751 * sysdeps/arm/shlib-versions: Move to ...
8752 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8753 * sysdeps/hppa/shlib-versions: Move all contents except for
8754 libgcc_s entry to ...
8755 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8756 entry from ...
8757 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8758 * sysdeps/ia64/shlib-versions: Move to ...
8759 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8760 entry from ...
8761 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8762 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8763 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8764 * sysdeps/microblaze/shlib-versions: Move to ...
8765 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8766 * sysdeps/mips/shlib-versions: Move to ...
8767 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8768 entry from ...
8769 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8770 * sysdeps/tile/shlib-versions: Move to ...
8771 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8772 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8773 from ...
8774 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8775 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8776 entry from ...
8777 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8778
32bead5b
WN
87792014-07-17 Will Newton <will.newton@linaro.org>
8780
57977c4b
WN
8781 * sysdeps/arm/bits/atomic.h
8782 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8783 (__arch_compare_and_exchange_bool_16_int): Likewise.
8784 (__arch_compare_and_exchange_bool_64_int): Likewise.
8785
32bead5b
WN
8786 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8787 into an #else block.
8788
37fccd41
RM
87892014-07-16 Roland McGrath <roland@hack.frob.com>
8790
8791 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8792 just Linux configurations. Test empirically that the compiler sets
8793 __ARM_EABI__, rather than using the tuple to decide.
8794 * sysdeps/arm/preconfigure: Regenerated.
8795 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8796 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8797 contents appended ...
8798 * sysdeps/arm/configure.ac: ... here.
8799 * sysdeps/arm/configure: Regenerated.
8800
b365f3ec
RM
88012014-07-15 Roland McGrath <roland@hack.frob.com>
8802
8badf496
RM
8803 * nptl/pthread_kill.c: New file.
8804 * nptl/pthread_sigmask.c: New file.
8805 * nptl/pthread_sigqueue.c: New file.
8806
3df6f22e
RM
8807 * sysdeps/nptl/lowlevellock.h: New file.
8808 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8809 * sysdeps/nptl/lowlevellock-futex.h: New file.
8810
b365f3ec
RM
8811 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8812 Remove dead declarations.
8813
f2fef657
L
88142014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8815
8816 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8817 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8818 config-cflags-avx2.
8819 * sysdeps/x86_64/configure.ac: Likewise.
8820 * sysdeps/i386/configure: Regenerated.
8821 * sysdeps/x86_64/configure: Likewise.
8822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8823 memset-avx2 only if config-cflags-avx2 is yes.
8824 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8825 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8826 defined.
8827 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8828 only if HAVE_AVX2_SUPPORT is defined.
8829 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8830
f6c44d47
AM
88312014-07-14 Alan Modra <amodra@gmail.com>
8832
8833 [BZ #17153]
8834 * elf/elf.h (DT_PPC64_NUM): Correct value.
8835 * NEWS: Add to fixed bug list.
8836
7ee03f00
JM
88372014-07-13 Jim Meyering <meyering@fb.com>
8838
8839 [BZ 17150]
8840 regex: don't deref NULL upon heap allocation failure
8841 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8842 failure in one more place.
8843 To trigger the segfault, configure grep -with-included-regex,
8844 build it, and run these commands:
8845 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8846
9d39d517
AS
88472014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8848
8849 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8850
a75b89b7
RH
88512014-07-11 Richard Henderson <rth@redhat.com>
8852
8853 * sysdeps/aarch64/libm-test-ulps: Update.
8854
771eb141
FW
88552014-07-10 Florian Weimer <fweimer@redhat.com>
8856
8857 [BZ #17135]
8858 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8859 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8860 (__nptl_setxid): Initialize error member. Call
8861 __nptl_setxid_error.
8862 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8863 * nptl/descr.h (struct xid_command): Add error member.
8864 * nptl/tst-setuid3.c: New file.
8865 * nptl/Makefile (tests): Add it.
8866
bc1da176
AZ
88672014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8868
8869 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8870 New define.
8871 (__lll_trylock): Use __lll_base_trylock.
8872 (__lll_cond_trylock): Likewise.
8873
887865fc
RM
88742014-07-10 Roland McGrath <roland@hack.frob.com>
8875
c0c6bac9
RM
8876 * nptl/pthread_create.c (start_thread): Use atomic_or and
8877 lll_futex_wake directly rather than lll_robust_dead.
8878 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8879 (lll_robust_dead): Macro removed.
6a42be57 8880 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8881 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8882 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8883 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8884 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8885 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8886 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8887 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8888 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8889 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8890 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8891 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8892 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8893 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8894 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8895
887865fc
RM
8896 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8897 Use atomic_compare_and_exchange_val_acq directly rather than
8898 lll_robust_trylock.
8899 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8900 (__lll_robust_trylock, lll_robust_trylock): Removed.
8901 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8902 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8903 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8904 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8905 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8906 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8907 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8908 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8909 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8910 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8911 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8912 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8913 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8914 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8915
58536726
FW
89162014-07-02 Florian Weimer <fweimer@redhat.com>
8917
8918 * manual/locale.texi (Locale Names): New section documenting
8919 locale name syntax. Adjust menu and node chaining accordingly.
8920 (Choosing Locale): Reference Locale Names, Locale Categories.
8921 Mention setting LC_ALL=C. Reflect that name syntax is now
8922 documented.
8923 (Locale Categories): New section title. Reference Locale Names.
8924 LC_ALL is an environment variable, but not a category.
8925 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8926 description, now in Locale Name. Reference that section. Locale
8927 name syntax is now documented.
8928
4e8f95a0
FW
89292014-07-02 Florian Weimer <fweimer@redhat.com>
8930
8931 [BZ #17137]
8932 * locale/findlocale.c (name_present, valid_locale_name): New
8933 functions.
8934 (_nl_find_locale): Use the loc_name variable to store name
8935 candidates. Call name_present and valid_locale_name to check and
8936 validate locale names. Return an error if the locale is invalid.
8937
d1836456
FW
89382014-07-02 Florian Weimer <fweimer@redhat.com>
8939
8940 * locale/setlocale.c (setlocale): Use strdup for allocating
8941 composite name copy.
8942
d69b7f5a
SP
89432014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8944
888c679b
SP
8945 Sync up with gnulib.
8946 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8947 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8948 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8949 and _GL_ARG_NONNULL.
8950 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8951 [!_LIBC]: Include code for Windows and Cygwin.
8952 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8953 Include prototype for int strerror_r.
8954 [!_LIBC] (is_open): New function.
8955 (flush_stdout): New function.
8956 (print_errno_message): Use it.
8957 (error): Likewise.
8958 (error_at_line): Likewise.
8959 (error_tail) Add function attribute macros. Use
8960 __builtin_expect.
8961
180e0e4b
SP
8962 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8963
d22f1fe2
SP
8964 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8965
12f2254b
SP
8966 * io/ftw.c: Include sys/param.h unconditionally.
8967
c3c7c360
SP
8968 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8969
d62aa75a
SP
8970 [BZ #17125]
8971 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8972 libc_freeres_ptr.
8973 (freecache): New function to free CACHE on exit.
8974
d69b7f5a
SP
8975 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8976 initialization.
8977
5efe06a1
DM
89782014-07-09 David S. Miller <davem@davemloft.net>
8979
8980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8981
7000d82e
DM
8982 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8983 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8984 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8985 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8986 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8987 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8988 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8989 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8990 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8991 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8992 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8993 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8994 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8995
c213442d
AS
89962014-07-09 Andreas Schwab <schwab@suse.de>
8997
4a2552c3
AS
8998 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8999 output.
9000 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9001 (do_test): Likewise.
9002
c213442d
AS
9003 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9004
82374e65
WN
90052014-07-09 Will Newton <will.newton@linaro.org>
9006
9007 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9008 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9009 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9010 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9011 * sysdeps/hppa/start.S (_start): Likewise.
9012
6680738a
SP
90132014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9014
6ee3eab4
SP
9015 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9016
6680738a
SP
9017 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9018 defined.
9019
80b5c505
SP
90202014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9021
e35c53e3
SP
9022 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9023 after checking that it is non-NULL.
9024
80b5c505
SP
9025 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9026
91f4b564
AZ
90272014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9028
27b75f56
AZ
9029 * sysdeps/powerpc/memmove.c: Remove file.
9030 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9031 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9032 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9033 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9034 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9035 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9036 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9037 string memmove instead of removed powerpc one.
9038
e7f95bb5
AZ
9039 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9040 [weak_alias]: Fix compiler warning due trailing data.
9041 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9042 [weak_alias]: Likewise.
9043 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9044 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9045
91f4b564
AZ
9046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9047 (__libc_ifunc_impl_list): Add memmove functions.
9048
7c33f1e5
SP
90492014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9050
9051 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9052 Remove code.
9053 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9054 Likewise
9055 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9056 Likewise
9057 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9058 Likewise
9059 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9060 Likewise
9061 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9062 Likewise
9063 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9064 Likewise
9065 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9066 Likewise
9067 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9068 Likewise
9069 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9070 Likewise
9071 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9072 Likewise
9073 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9074 Likewise
9075 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9076 Likewise
9077 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9078 Likewise
9079 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9080 Likewise
9081 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9082 Likewise
9083 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9084 Likewise
9085
3f17b03b
AZ
90862014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9087
87868c24
AZ
9088 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9089 to avoid alignment traps in non-cacheable memory.
9090 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9091
07aedd78
AZ
9092 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9093 multiarch objects.
9094 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9095 file: multiarch power7 memmove.
9096 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9097 multiarch default memmove.
9098 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9099 multiarch memove for powerpc32/power4.
9100
17762f66
AZ
9101 * string/bcopy.c: Use full path to include memmove.c.
9102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9103 multiarch objects.
9104 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9105 bcopy for powerpc64.
9106 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9107 bcopy for powerpc64.
9108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9109 and memmove implementations.
9110 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9111 optimized multiarch memmove for POWER7/powerpc64.
9112 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9113 default multiarch memmove for powerpc64.
9114 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9115 multiarch for powerpc64.
9116 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9117 for POWER7/powerpc64.
9118 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9119 memmove for POWER7/powerpc64.
9120
d6f68bbe
AZ
9121 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9122 glibc default one.
9123
3f17b03b
AZ
9124 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9125 __ELF_NATIVE_CLASS equal to 64.
9126
08192659
RM
91272014-07-07 Roland McGrath <roland@hack.frob.com>
9128
f4c4021b
RM
9129 * sysdeps/nptl/lowlevellock.h: File removed.
9130
f083450f
RM
9131 * NEWS: NPTL is no longer an add-on!
9132 * nptl/internaltypes.h: Moved ...
9133 * sysdeps/nptl/internaltypes.h: ... here.
9134 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9135 * sysdeps/nptl/fork.c: Likewise.
9136 * sysdeps/nptl/gai_misc.h: Likewise.
9137 * sysdeps/nptl/librt-cancellation.c: Likewise.
9138 * sysdeps/nptl/jmp-unwind.c: Likewise.
9139 * sysdeps/nptl/setxid.h: Likewise.
9140 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9141 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9142 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9143 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9144 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9145 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9146 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9147 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9148 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9149 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9150 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9151 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9152 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9153 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9154 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9155 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9156 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9157 * nptl/Makeconfig: Moved ...
9158 * sysdeps/nptl/Makeconfig: ... here.
9159 * nptl/configure: File removed.
9160 * nptl/ANNOUNCE: File removed.
9161 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9162 * sysdeps/unix/sysv/linux/configure: Regenerated.
9163
08192659
RM
9164 * nptl/Makefile (routines): Add libc_pthread_init,
9165 libc_multiple_threads, register-atfork and unregister-atfork.
9166 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9167 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9168 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9169 pthread-pi-defines.sym, structsem.sym.
9170 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9171 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9172 [$(subdir) = nptl] (tests): Add tst-setgetname.
9173 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9174 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9175 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9176 [!LIBC_SIGACTION]: Remove aliases.
9177 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9178 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9179 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9180 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9181 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9182 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9183 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9184 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9185 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9186 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9187 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9188 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9189 __libc_allocate_rtsig_private.
9190 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9191 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9192 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9193 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9194 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9195 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9196 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9197 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9198 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9199 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9200 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9201 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9202 * nptl/internaltypes.h: ... here.
9203 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9204 * sysdeps/nptl/jmp-unwind.c: ... here.
9205 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9206 * nptl/libc-lowlevellock.c: ... here.
9207 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9208 * nptl/libc_multiple_threads.c: ... here.
9209 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9210 * nptl/libc_pthread_init.c: ... here.
9211 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9212 * nptl/lowlevelbarrier.sym: ... here.
9213 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9214 * nptl/lowlevelcond.sym: ... here.
9215 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9216 * nptl/lowlevellock.c: ... here.
9217 * nptl/lowlevellock.h: Moved ...
9218 * sysdeps/nptl/lowlevellock.h: ... here.
9219 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9220 * nptl/lowlevelrobustlock.c: ... here.
9221 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9222 * nptl/lowlevelrobustlock.sym: ... here.
9223 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9224 * nptl/lowlevelrwlock.sym: ... here.
9225 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9226 * nptl/pt-fork.c: ... here.
9227 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9228 * nptl/pthread-pi-defines.sym: ... here.
9229 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9230 * nptl/pthread_attr_getaffinity.c: ... here.
9231 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9232 * nptl/pthread_attr_setaffinity.c: ... here.
9233 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9234 * nptl/pthread_mutex_cond_lock.c: ... here.
9235 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9236 Update #include.
9237 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9238 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9239 * nptl/pthread_once.c: ... here, replacing old file.
9240 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9241 * nptl/pthread_yield.c: ... here.
9242 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9243 * nptl/register-atfork.c: ... here.
9244 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9245 * nptl/sem_post.c: ... here.
9246 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9247 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9248 * nptl/sem_timedwait.c: ... here.
9249 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9250 * nptl/sem_trywait.c: ... here.
9251 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9252 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9253 * nptl/sem_wait.c: ... here.
9254 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9255 * nptl/structsem.sym: ... here.
9256 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9257 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9258 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9259 * nptl/unregister-atfork.c: ... here.
9260 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9261 * nptl/unwindbuf.sym: ... here.
9262 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9263 * sysdeps/nptl/fork.c: ... here.
9264 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9265 * sysdeps/nptl/fork.h: ... here.
9266 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9267 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9268 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9269 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9270 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9271 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9272 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9273 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9274 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9275 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9276 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9277 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9278 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9279 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9280 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9281 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9282 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9283 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9284 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9285 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9286 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9287 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9288 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9289 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9290 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9291 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9292 * sysdeps/unix/sysv/linux/raise.c: ... here.
9293 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9294 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9295 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9296 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9297 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9298 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9299 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9300 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9301 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9302 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9303 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9304 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9305 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9306 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9307 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9308
96baf6ff
SP
93092014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9310
9311 * sysdeps/generic/memcopy.h: Add comment for
9312 MEMCPY_OK_FOR_FWD_MEMMOVE.
9313
6b7b14b2
WN
93142014-07-04 Will Newton <will.newton@linaro.org>
9315
1570a72b
WN
9316 * string/memchr.c: Merge from gnulib.
9317 [_LIBC]: Remove conditionals.
9318 (__ptr_t): Remove define.
9319 (LONG_MAX_32_BITS): Likewise.
9320 (LONG_MAX): Likewise.
9321 (MEMCHR): Use ANSI prototype and optimize algorithm.
9322
6b7b14b2
WN
9323 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9324
38851324
SP
93252014-07-03 Roland McGrath <roland@hack.frob.com>
9326
3d9eb57c
RM
9327 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9328 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9329
78b984ae
RM
9330 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9331 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9332 in a bare environment with no <stdlib.h> installed.
9333 * sysdeps/nptl/configure: Regenerated.
9334
2d5976a5
RM
9335 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9336
c1f5acd4
RM
9337 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9338 AC_EGREP_CPP for kernel header checks, so they only succeed if
9339 including <linux/version.h> actually works right.
9340 * sysdeps/unix/sysv/linux/configure: Regenerated.
9341
4d614fe5
RM
9342 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9343 value so it's not diagnosed as unused.
9344
38851324
SP
9345 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9346 thing) with "ifeq ($(subdir),rt)".
9347
b3ec00e5
RH
93482014-07-03 Richard Henderson <rth@redhat.com>
9349
69862e25
RH
9350 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9351 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9352 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9353
d5e16ade
RH
9354 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9355 (math_force_eval): New.
9356
ca7b945c
RH
9357 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9358 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9359
cd1175a3
RH
9360 * sysdeps/alpha/fpu/s_round.c: Remove file.
9361 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9362
b3ec00e5
RH
9363 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9364 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9365 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9366 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9367 (_dl_start, print_statistics): Likewise.
9368 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9369 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9370
9371 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9372 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9373 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9374 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9375 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9376 (HP_SMALL_TIMING_AVAIL): Define.
9377 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9378 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9379 (HP_SMALL_TIMING_AVAIL): Define.
9380 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9381 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9382
9383 * sysdeps/aarch64/hp-timing.h: New file.
9384
9385 * sysdeps/generic/hp-timing.h: Remove dead comment.
9386 * sysdeps/generic/hp-timing-common.h: New file.
9387 * sysdeps/alpha/hp-timing.h: Include it.
9388 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9389 * sysdeps/i386/i686/hp-timing.h: Likewise.
9390 * sysdeps/ia64/hp-timing.h: Likewise.
9391 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9392 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9393 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9394 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9395 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9396 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9397 (hp_timing_t): New.
9398
9399 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9400 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9401 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9402 * elf/rtld.c (_dl_start_final): Likewise.
9403 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9404 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9405 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9406 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9407 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9408 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9409 (HP_TIMING_DIFF_INIT): Remove.
9410 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9411 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9412 (HP_TIMING_DIFF_INIT): Remove.
9413 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9414 * sysdeps/i386/i686/hp-timing.c: Remove file.
9415 * sysdeps/x86_64/hp-timing.c: Remove file.
9416 * sysdeps/ia64/hp-timing.c: Remove file.
9417 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9418 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9419 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9420 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9421
9422 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9423 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9424 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9425 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9426 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9427 (HP_TIMING_ACCUM): Remove.
9428 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9429 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9430 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9431
9432 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9433 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9434 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9435 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9436 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9437 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9438 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9439 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9440
9441 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9442
225f410f
MR
94432014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9444
9445 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9446
3247f285
SP
94472014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9448
9449 Sync up with gettext.
9450 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9451 [_MSC_VER]: Include malloc.h
9452 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9453 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9454 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9455 TEMP_FAILURE_RETRY. Cast return of alloca.
9456 [!_LIBC] Call gl_rwlock_init.
9457 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9458
d12704c7
SP
94592014-07-02 Roland McGrath <roland@hack.frob.com>
9460
9461 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9462 before checking its value.
9463
99f8dc92
SP
94642014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9465
05fdac77
SP
9466 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9467
99f8dc92
SP
9468 * debug/memcpy_chk.c: Don't include pagecopy.h.
9469 * debug/mempcpy_chk.c: Likewise.
9470 * string/memcpy.c: Likewise.
9471 * string/memmove.c: Likewise.
9472 * sysdeps/powerpc/memmove.c: Likewise.
9473 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9474 definition of PAGE_COPY_FWD_MAYBE here...
9475 * sysdeps/generic/pagecopy.h: ... from here.
9476 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9477
bc8ea385
VR
94782014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9479 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9480
9481 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9483 optimizations.
9484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9485 (__libc_ifunc_impl_list): Likewise.
9486 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9487 multiarch strcat for PPC64.
9488 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9489 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9490
fe5f34e4
RM
94912014-07-02 Roland McGrath <roland@hack.frob.com>
9492
9493 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9494
256aa665
SP
94952014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9496
d4eb8195
SP
9497 * intl/loadmsgcat.c: Remove declaration of
9498 get_sysdep_segment_value.
9499 (get_sysdep_segment_value): Use ISO C style.
9500 (_nl_load_domain): Use ISO C style. Get rid of redundant
9501 semicolon. Fix typo and formatting in comment.
9502 (_nl_unload_domain): Use ISO C style.
9503
256aa665
SP
9504 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9505
b100f9aa
WN
95062014-07-02 Will Newton <will.newton@linaro.org>
9507
9508 * malloc/obstack.c: Merge from gnulib master.
9509 [HAVE_CONFIG_H]: Remove conditional code.
9510 [!_LIBC]: Include config.h.
9511 [!ELIDE_CODE]: Don't include inttypes.h, include
9512 stdint.h unconditionally.
9513 (print_and_abort): Mark as _Noreturn.
9514 (_obstack_allocated_p): Mark as __attribute_pure__.
9515 (obstack_free): Rename to __obstack_free.
9516 [!__attribute__]: Remove conditional code.
9517 * malloc/obstack.h: Merge from gnulib master.
9518 [__cplusplus]: Move conditional down.
9519 [!__attribute_pure__]: Define __attribute_pure__ here
9520 if it is not already defined.
9521 (_obstack_memory_used): Mark as __attribute_pure__.
9522 [!__obstack_free]: Define as obstack_free.
9523 [__GNUC__]: Remove check for ancient NeXT gcc.
9524
c4c41244
PE
95252014-07-02 Will Newton <will.newton@linaro.org>
9526 Paul Eggert <eggert@cs.ucla.edu>
9527
9528 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9529
e1e041c4
SP
95302014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9531
9532 * resolv/gethnamaddr.c: Add comment warning that the file is
9533 not maintained.
9534
ccf431ff
CD
95352014-07-01 Carlos O'Donell <carlos@redhat.com>
9536
d34570a6
CD
9537 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9538 entries.
9539
ccf431ff
CD
9540 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9541 entry for aio_cancel and aio_cancel64.
9542 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9543 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9544 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9545 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9546 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9547 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9548 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9549 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9550 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9551 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9552 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9553 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9554 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9555
ca06321d
RM
95562014-07-01 Roland McGrath <roland@hack.frob.com>
9557
9558 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9559 * nptl/pthread_mutex_lock.c: Likewise.
9560 * nptl/pthread_mutex_timedlock.c: Likewise.
9561 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9562
a1ac3184
RH
95632014-07-01 Richard henderson <rth@redhat.com>
9564
631021e0
RH
9565 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9566 (__isnan, __isnanl): Remove.
9567 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9568
a1ac3184
RH
9569 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9570
0c1d731f
SL
95712014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9572
9573 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9574
76985d3e
SP
95752014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9576
9577 * resolv/nss_dns/dns-host.c (getanswer_r)
9578 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9579
b0cb3096
JM
95802014-07-01 Joseph Myers <joseph@codesourcery.com>
9581
9582 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9583 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9584 undefine.
9585 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9586 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9587
4d76cb39
RM
95882014-07-01 Roland McGrath <roland@hack.frob.com>
9589
9590 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9591 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9592
9593 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9594 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9595
9596 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9597 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9598 ... here.
9599 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9600 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9601
9602 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9603 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9604 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9605 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9606
9607 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9608 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9609 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9610 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9611 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9612 Moved ...
9613 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9614 ... here.
9615 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9616 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9617 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9618 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9619 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9620 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9621 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9622 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9623 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9624 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9625 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9626 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9627 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9628 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9629 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9630 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9631 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9632 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9633 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9634 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9635 ... here.
9636 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9637 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9638 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9639 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9640 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9641 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9642 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9643 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9644
0cdcad17
DH
96452014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9646
9647 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9648 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9649 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9650 Add sysdep.
9651
9b71d0e3
AZ
96522014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9653
9654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9655
665390c2
JM
96562014-06-30 Joseph Myers <joseph@codesourcery.com>
9657
ae05a9d7
JM
9658 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9659 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9660
a7672a2f
JM
9661 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9662
665390c2
JM
9663 * sysdeps/arm/libm-test-ulps: Regenerated.
9664
d7a05d07
MR
96652014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9666 Roland McGrath <roland@hack.frob.com>
9667
9668 * test-skeleton.c (signal_handler): Kill the whole process group
9669 before killing the child individually.
9670 (main): Report any failure on `setpgid'.
9671
46f1d8a6
RM
96722014-06-30 Roland McGrath <roland@hack.frob.com>
9673
9674 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9675 from _TLS_H to _ARM_NPTL_TLS_H.
9676 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9677 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9678
9c37ec0b
JM
96792014-06-30 Joseph Myers <joseph@codesourcery.com>
9680
ce9c5b3e
JM
9681 [BZ #16539]
9682 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9683 (__expm1l): Return argument unchanged when small but not
9684 subnormal.
9685
3a6e9887
JM
9686 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9687 include macro name.
9688 (_FP_UNPACK_RAW_1_P): Likewise.
9689 (_FP_PACK_RAW_1): Likewise.
9690 (_FP_PACK_RAW_1_P): Likewise.
9691 (_FP_MUL_MEAT_1_wide): Likewise.
9692 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9693 (_FP_MUL_MEAT_1_hard): Likewise.
9694 (_FP_DIV_MEAT_1_imm): Likewise.
9695 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9696 (_FP_DIV_MEAT_1_udiv): Likewise.
9697 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9698 (_FP_UNPACK_RAW_2): Likewise.
9699 (_FP_UNPACK_RAW_2_P): Likewise.
9700 (_FP_PACK_RAW_2): Likewise.
9701 (_FP_PACK_RAW_2_P): Likewise.
9702 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9703 (_FP_MUL_MEAT_2_wide): Likewise.
9704 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9705 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9706 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9707 (_FP_MUL_MEAT_2_gmp): Likewise.
9708 (_FP_DIV_MEAT_2_udiv): Likewise.
9709 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9710 (_FP_FRAC_SRL_4): Likewise.
9711 (_FP_FRAC_SRST_4): Likewise.
9712 (_FP_FRAC_SRS_4): Likewise.
9713 (_FP_UNPACK_RAW_4): Likewise.
9714 (_FP_UNPACK_RAW_4_P): Likewise.
9715 (_FP_PACK_RAW_4): Likewise.
9716 (_FP_PACK_RAW_4_P): Likewise.
9717 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9718 (_FP_MUL_MEAT_4_wide): Likewise.
9719 (_FP_MUL_MEAT_4_gmp): Likewise.
9720 (umul_ppppmnnn): Likewise.
9721 (_FP_DIV_MEAT_4_udiv): Likewise.
9722 (__FP_FRAC_ADD_4): Likewise.
9723 (__FP_FRAC_SUB_3): Likewise.
9724 (__FP_FRAC_SUB_4): Likewise.
9725 (__FP_FRAC_DEC_3): Likewise.
9726 (__FP_FRAC_DEC_4): Likewise.
9727 (__FP_FRAC_ADDI_4): Likewise.
9728 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9729 (_FP_FRAC_SRL_8): Likewise.
9730 (_FP_FRAC_SRS_8): Likewise.
9731
9c37ec0b
JM
9732 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9733 include macro name.
9734 (FP_UNPACK_RAW_EP): Likewise.
9735 (FP_PACK_RAW_E): Likewise.
9736 (FP_PACK_RAW_EP): Likewise.
9737 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9738 (_FP_ISSIGNAN): Likewise.
9739 (_FP_ADD_INTERNAL): Likewise.
9740 (_FP_FMA): Likewise.
9741 (_FP_CMP): Likewise.
9742 (_FP_SQRT): Likewise.
9743 (_FP_TO_INT): Likewise.
9744 (_FP_FROM_INT): Likewise.
9745 (FP_EXTEND): Likewise.
9746 (_FP_DIV_MEAT_N_loop): Likewise.
9747
2125f674
MR
97482014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9749
9750 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9751 throughout.
9752
edea4028
JM
97532014-06-29 Joseph Myers <joseph@codesourcery.com>
9754
9755 [BZ #17097]
9756 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9757 result with correct sign in case of exponents that produce
9758 overflow except for X very close to 1.
9759
dd0ba018
PE
97602014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9761
9762 mktime: merge #if/#ifdef usage from glibc
9763 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9764 as that works with both Glibc's and Gnulib's style.
9765 See thread starting at Siddhesh Poyarekar's bug report at:
9766 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9767
64df73c2
SP
97682014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9769
9770 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9771 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9772 * sysdeps/tile/tilegx/memmove.c: Remove file.
9773
f1eafb41
JM
97742014-06-27 Joseph Myers <joseph@codesourcery.com>
9775
9776 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9777 abi-name definition.
9778 * scripts/soversions.awk: Do not handle or generate ABI lines.
9779 * shlib-versions: Remove ABI entries.
9780 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9781 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9782
58eb0862
RM
97832014-06-27 Roland McGrath <roland@hack.frob.com>
9784
37caf178
RM
9785 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9786 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9787 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9788 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9789 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9790 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9791 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9792 Moved ...
9793 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9794 ... here.
9795 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9796 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9797 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9798 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9799 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9800 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9801 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9802 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9803 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9804 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9805 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9806 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9807 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9808 Moved ...
9809 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9810 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9811 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9813 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9815 Moved ...
9816 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9817 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9818 Moved ...
9819 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9820 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9821 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9822 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9823 Moved ...
9824 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9825 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9826 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9827 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9828 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9829 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9830 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9831 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9832 Moved ...
9833 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9834 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9835 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9836 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9837 Moved ...
9838 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9839 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9840 Moved ...
9841 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9842 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9843 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9844 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9845 Moved ...
9846 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9847 ... here.
9848 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9849 Identical file removed.
9850 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9851 Moved ...
9852 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9853 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9854 Identical file removed.
9855 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9856 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9857 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9858 Moved ...
9859 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9860 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9861 Identical file removed.
9862 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9863 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9864 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9865 Identical file removed.
9866 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9867 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9868 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9869 Identical file removed.
9870 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9871 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9872 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9873 Identical file removed.
9874 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9875 Moved ...
9876 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9878 Identical file removed.
9879 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9880 Moved ...
9881 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9882 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9883 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9884 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9885 Identical file removed.
9886 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9887 Moved ...
9888 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9889 ... here.
9890 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9891 Identical file removed.
9892 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9893 Moved ...
9894 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9895 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9896 Identical file removed.
9897 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9898 Moved ...
9899 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9900 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9901 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9902 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9903 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9904 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9905 Moved ...
9906 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9907 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9908 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9909
58eb0862
RM
9910 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9911 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9912 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9913 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9914 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9915
6f12d062
AS
99162014-06-27 Arjun Shankar <arjun.is@lostca.se>
9917
9918 [BZ #17092]
9919 * nscd/nscd.c (monitor_child): Return exit status of child
9920 instead of return value from wait syscall.
9921
be254932
JM
99222014-06-27 Joseph Myers <joseph@codesourcery.com>
9923
cb403c34
JM
9924 * configure.ac (libc_commonpagesize): Remove variable.
9925 (libc_relro_required): Likewise.
9926 (libc_cv_z_relro): Remove configure test.
9927 * configure: Regenerated.
9928 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9929 variable.
9930 (libc_relro_required): Likewise.
9931 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9932 (libc_relro_required): Likewise.
9933 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9934 (libc_relro_required): Likewise.
9935 * sysdeps/arm/preconfigure: Regenerated.
9936 * sysdeps/ia64/preconfigure: Remove file.
9937 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9938 variable.
9939 (libc_relro_required): Likewise.
9940
be254932
JM
9941 [BZ #16561]
9942 [BZ #16562]
9943 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9944 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9945 recompute overflowing results in original rounding mode.
9946 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9947 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9948 recompute overflowing results in original rounding mode.
9949 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9950 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9951 recompute overflowing results in original rounding mode.
9952 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9953 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9954 recompute overflowing results in original rounding mode.
9955 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9956 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9957 recompute overflowing results in original rounding mode.
9958 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9959 (libc_feholdsetround_ctx): New macro.
9960 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9961 * sysdeps/i386/fpu/libm-test-ulps: Update.
9962 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9963
b351d85a
JM
99642014-06-26 Joseph Myers <joseph@codesourcery.com>
9965
9966 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9967 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9968 corresponding .cpsetup call.
9969
3cb4de47
RM
99702014-06-26 Roland McGrath <roland@hack.frob.com>
9971
9972 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9973 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9974 * sysdeps/arm/Makefile [$(subdir) = csu]
9975 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9976 (static-only-routines): Add aeabi_read_tp here.
9977 (shared-only-routines): Add libc-aeabi_read_tp here.
9978 (CFLAGS-libc-start.c): Add -fexceptions here.
9979 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9980 (sysdep_routines, static-only-routines, shared-only-routines):
9981 Don't add to these here.
9982 (CFLAGS-libc-start.c): Likewise.
9983
9984 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9985 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9986 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9987 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9988 * sysdeps/arm/Makefile [$(subdir) = rt]
9989 (librt-sysdep_routines, librt-shared-only-routines):
9990 Append rt-aeabi_unwind_cpp_pr1 here.
9991 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9992 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9993 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9994 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9995 Append nptl-aeabi_unwind_cpp_pr1 here.
9996 (tests): Filter out tst-cleanupx4 here.
9997 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9998 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9999 Don't do those here.
10000
354426bb
JM
100012014-06-26 Joseph Myers <joseph@codesourcery.com>
10002
10003 * scripts/list-sources.sh: Do not handle ports specially.
10004
28b0a8c9
RM
100052014-06-26 Roland McGrath <roland@hack.frob.com>
10006
a3dd035d
RM
10007 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10008 * sysdeps/arm/feupdateenv.c: Likewise.
10009
28b0a8c9
RM
10010 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10011
e66a8203
JM
100122014-06-26 Joseph Myers <joseph@codesourcery.com>
10013
10014 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10015 trailing whitespace removed.
10016 * scripts/config.guess: Update to version 2014-03-23.
10017 * scripts/config.sub: Update to version 2014-05-01
10018 * scripts/install-sh: Update to version 2013-12-25.23.
10019 * scripts/move-if-change: Update from gnulib.
10020
74171115
SP
100212014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10022
b97c9ce5
SP
10023 * debug/memmove_chk.c: Remove pagecopy.h include.
10024
4000f892
SP
100252014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10026
74171115
SP
10027 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10028 identical to gnulib mktime.
10029
a8779c28
JM
100302014-06-26 Joseph Myers <joseph@codesourcery.com>
10031
e64708de
JM
10032 * configure.ac: Do not test for machine being rs6000. Do not test
10033 for powerpc*-*soft.
10034 * configure: Regenerated.
10035
6a9350c8 10036 [BZ #11505]
a8779c28
JM
10037 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10038 test.
10039 * configure: Regenerated.
10040 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10041 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10042 Remove configure test.
10043 * sysdeps/arm/configure: Regenerated.
10044 * sysdeps/nptl/configure.ac: Do not check
10045 libc_cv_asm_cfi_directives.
10046 * sysdeps/nptl/configure: Regenerated.
10047 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10048 * sysdeps/x86_64/nptl/configure: Remove generated file.
10049 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10050 unconditional.
10051 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10052
2aac0a86
SP
100532014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10054
059bf913
SP
10055 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10056 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10057 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10058 it is defined.
10059
4cf5b6d0
SP
10060 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10061 instead of whether it is defined.
10062 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10063 * sysdeps/hppa/dl-machine.h: Likewise.
10064 * sysdeps/ia64/dl-machine.h: Likewise.
10065 * sysdeps/m68k/dl-machine.h: Likewise.
10066 * sysdeps/microblaze/dl-machine.h: Likewise.
10067 * sysdeps/mips/dl-machine.: Likewise.
10068 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10069 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10070 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10071 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10072 * sysdeps/sh/dl-machine.h: Likewise.
10073 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10074 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10075 * sysdeps/tile/dl-machine.h: Likewise.
10076 * sysdeps/x86_64/dl-machine.h: Likewise.
10077
2aac0a86
SP
10078 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10079 code.
10080 (verify_persistent_db): Likewise.
10081
6ad2df0b
RM
100822014-06-26 Roland McGrath <roland@hack.frob.com>
10083
d8a483f3
RM
10084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10085 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10087 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10089 Moved ...
10090 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10091 ... here.
10092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10093 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10095 Identical file removed.
10096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10097 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10099 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10101 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10103 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10105 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10107 Moved ...
10108 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10110 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10112 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10114 Moved ...
10115 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10117 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10119 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10121 Identical file removed.
10122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10123 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10125 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10127 Moved ...
10128 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10129 ... here.
10130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10131 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10133 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10135 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10137 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10139 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10141 Moved ...
10142 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10144 Moved ...
10145 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10147 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10149 Moved ...
10150 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10152 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10153
52ae23b4
RM
10154 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10155 folded into ...
10156 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10157 * sysdeps/unix/sysv/linux/s390/Versions
10158 (libpthread: GLIBC_2.19): New version set.
10159 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10160 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10161 (librt: GLIBC_2.3.3): New version set.
10162 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10163 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10164 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10165 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10166 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10167 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10168 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10169 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10170 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10171 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10172 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10173 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10174 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10175 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10176 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10177 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10178 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10179 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10180 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10181 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10182 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10183 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10184 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10185 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10186 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10187 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10188 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10189 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10190 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10191 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10192 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10193 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10194 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10195 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10196 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10197 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10198 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10199 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10200 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10201 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10202 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10203 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10204 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10205 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10206 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10207
39507e4a
RM
10208 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10209 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10210 (__libc_vfork): Define the function under this name.
10211 [!NOT_IN_libc] (__vfork): Make this an alias.
10212 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10213 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10214 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10215 (__libc_vfork): Define the function under this name.
10216 [!NOT_IN_libc] (__vfork): Make this an alias.
10217 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10218 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10219 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10220 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10221 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10222 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10223
e549ee56
RM
10224 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10225 code that was previously under [RESET_PID].
10226 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10227 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10228 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10229
6ad2df0b
RM
10230 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10231 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10232 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10233 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10234 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10235 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10236 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10237 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10238 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10239 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10240 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10241 Moved ...
10242 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10243 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10244 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10245 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10246 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10247 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10248 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10249 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10250 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10251 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10252 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10253 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10254 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10255 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10256 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10257 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10258 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10259 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10260 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10261 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10262 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10263 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10264 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10265 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10266 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10267 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10268 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10269 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10270 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10271
7c1c1d8e
RM
102722014-06-25 Roland McGrath <roland@hack.frob.com>
10273
10274 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10275 that was previously under [RESET_PID].
10276 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10277
3e239be6
JM
102782014-06-25 Joseph Myers <joseph@codesourcery.com>
10279
74385da5
JM
10280 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10281 not undefine and redefine.
10282 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10283 [O_CLOEXEC]: Make code unconditional.
10284 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10285 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10286 <kernel-features.h>.
10287 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10288 conditional variable definition.
10289 (shm_open) [O_CLOEXEC]: Make code unconditional.
10290 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10291 code.
10292
c2570a0b
JM
10293 * configure.ac (USE_REGPARMS): Don't define here.
10294 * configure: Regenerated.
10295 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10296 * sysdeps/i386/configure: Regenerated.
10297
11b076bb
JM
10298 * nptl/createthread.c: Don't include kernel-features.h.
10299 * nptl/pthread_cancel.c: Likewise.
10300 * nptl/pthread_condattr_setclock.c: Likewise.
10301 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10302 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10303 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10304 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10305 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10306 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10307 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10308 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10309 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10310 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10311 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10312 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10313 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10314 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10315 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10316 * nscd/gai.c: Likewise.
10317 * nss/nss_db/db-open.c: Likewise.
10318 * sysdeps/generic/ldsodefs.h: Likewise.
10319 * sysdeps/sh/nptl/tls.h: Likewise.
10320 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10321 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10322 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10323 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10324 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10325 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10326 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10327 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10328 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10329 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10330 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10331 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10332 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10333 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10334 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10335 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10336 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10337 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10338 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10339 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10340 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10341 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10342 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10343 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10344 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10345 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10346 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10347 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10348 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10349 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10350 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10351 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10352 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10353 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10354 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10355 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10356 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10357 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10358 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10359 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10360 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10361 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10362 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10363 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10364 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10365 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10366 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10367 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10368 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10369 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10370 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10371 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10372 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10373 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10374 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10375 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10376 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10377 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10400 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10401 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10402 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10403 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10404 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10405 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10406 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10407 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10408 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10409 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10410 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10411 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10412 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10413 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10414 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10415 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10416 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10417 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10418 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10419 * sysdeps/unix/sysv/linux/system.c: Likewise.
10420 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10421 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10422 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10423 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10424 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10425 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10426 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10427
92072d57
JM
10428 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10429 * configure: Regenerated.
10430 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10431
3e239be6
JM
10432 * configure.ac (base_machine): Do not set specially for particular
10433 machines here.
10434 * configure: Regenerated.
10435 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10436 settings from configure.ac.
10437 * sysdeps/i386/preconfigure: New file.
10438 * sysdeps/s390/preconfigure: Likewise.
10439 * sysdeps/sh/preconfigure: Likewise.
10440 * sysdeps/sparc/preconfigure: Likewise.
10441
06d50baa
RM
104422014-06-25 Roland McGrath <roland@hack.frob.com>
10443
74836003
RM
10444 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10445 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10446 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10447 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10448 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10449 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10450 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10451 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10452 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10453 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10454 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10455 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10456 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10457 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10458 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10459 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10460 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10461 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10462 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10463
10464 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10465 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10466 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10467 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10468 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10469 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10470 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10471 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10472 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10473 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10474 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10475 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10476 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10477 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10478 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10479 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10480 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10481 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10482 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10483 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10484 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10485 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10486 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10487 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10488 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10489 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10490 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10491 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10492 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10493 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10494 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10495 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10496 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10497 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10498 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10499 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10500 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10501 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10502
06d50baa
RM
10503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10504 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10506 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10508 Moved ...
10509 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10510 ... here.
10511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10512 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10514 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10516 Moved ...
10517 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10519 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10521 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10523 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10525 Moved ...
10526 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10528 Moved ...
10529 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10531 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10533 Moved ...
10534 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10536 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10538 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10540 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10542 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10544 Moved ...
10545 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10546 ... here.
10547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10548 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10550 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10552 Moved ...
10553 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10555 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10557 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10559 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10561 Moved ...
10562 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10564 Moved ...
10565 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10567 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10569 Moved ...
10570 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10572 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10574 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10575
a4ccbc9b
JM
105762014-06-25 Joseph Myers <joseph@codesourcery.com>
10577
0828edbf
JM
10578 * timezone/checktab.awk: Update from tzcode 2014e.
10579 * timezone/private.h: Likewise.
10580 * timezone/tzfile.h: Likewise.
10581 * timezone/zdump.c: Likewise.
10582 * timezone/zic.c: Likewise.
10583
a4ccbc9b
JM
10584 * sysdeps/unix/sysv/linux/kernel-features.h
10585 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10586 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10587 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10588 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10589 Remove conditional code.
10590
9aea0cb8
WN
105912014-06-25 Will Newton <will.newton@linaro.org>
10592
10593 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10594 (_dl_arm_cap_flags): Add HWCAP2 values.
10595 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10596 (_DL_HWCAP_COUNT): Increase to 37.
10597 (_DL_HWCAP_LAST): New define.
10598 (_DL_HWCAP2_LAST): New define.
10599 (_dl_procinfo): Add support for printing
10600 AT_HWCAP2 entries.
10601 (_dl_string_hwcap): Use _dl_hwcap_string.
10602
6eaa65ce
AZ
106032014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10604
10605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10606
0f5b7185
JM
106072014-06-25 Joseph Myers <joseph@codesourcery.com>
10608
cfd2ea50
JM
10609 * README: Do not mention ports directory.
10610
cecf2ed4
JM
10611 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10612 Remove macro.
10613 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10614 <kernel-features.h>.
10615 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10616 conditional variable definition.
10617 (__futimes): Update comment.
10618 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10619 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10620
a638de82
JM
10621 [BZ #16560]
10622 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10623 arguments close to 0.
10624 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10625 Likewise.
10626 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10627 Likewise.
10628 * math/auto-libm-test-in: Add more tests of exp10.
10629 * math/auto-libm-test-out: Regenerated.
10630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10631
0f5b7185
JM
10632 * sysdeps/unix/sysv/linux/kernel-features.h
10633 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10634 * sysdeps/unix/sysv/linux/readv.c: Do not include
10635 <kernel-features.h>.
10636 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10637 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10638 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10639 unconditional.
10640 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10641 conditional code.
10642 * sysdeps/unix/sysv/linux/writev.c: Do not include
10643 <kernel-features.h>.
10644 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10645 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10646 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10647 unconditional.
10648 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10649 conditional code.
10650
c7aec4be
WN
106512014-06-25 Will Newton <will.newton@linaro.org>
10652
10653 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10654 comment changes throughout the file. Remove checks
10655 for HAVE_*_H definitions that are not required.
10656 (__gen_tempname): Call abort if an unknown kind value is
10657 passed.
10658
c5241f95
AS
106592014-06-25 Andreas Schwab <schwab@suse.de>
10660
10661 [BZ #17086]
10662 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10663 scalbln, scalblnf, scalblnl in libc.
10664
911422da
SP
106652014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10666
10667 [BZ #17086]
10668 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10669 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10670 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10671
0d749bbe
RM
106722014-06-24 Roland McGrath <roland@hack.frob.com>
10673
10674 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10675 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10676 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10677 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10678 Update #include.
10679 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10680 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10681 Update #include.
10682 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10683 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10684 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10685 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10686 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10687 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10688 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10689 * sysdeps/x86/bits/semaphore.h: ... here.
10690 * sysdeps/x86/nptl/elide.h: Moved ...
10691 * sysdeps/x86/elide.h: ... here.
10692 * sysdeps/x86_64/nptl/Implies: File removed.
10693 * sysdeps/i386/nptl/Implies: File removed.
10694
0ea5d373
JM
106952014-06-24 Joseph Myers <joseph@codesourcery.com>
10696
4060283d
JM
10697 [BZ #16539]
10698 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10699 return the argument for normal arguments with exponent below -64.
10700 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10701 Likewise.
10702 * math/auto-libm-test-in: Add another test of expm1.
10703 * math/auto-libm-test-out: Regenerated.
10704
e7dd3c8c
JM
10705 [BZ #16287]
10706 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10707 calling __erfcl for arguments at least 16.
10708 * math/auto-libm-test-in: Add more tests of erf.
10709 * math/auto-libm-test-out: Regenerated.
10710
0ea5d373
JM
10711 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10712 individual architectures.
10713 * sysdeps/unix/sysv/linux/configure: Regenerated.
10714 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10715 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10716 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10717 (ldd_rewrite_script): Define variable.
10718 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10720 file.
10721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10722 generated file.
10723 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10724 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10725 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10726 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10727 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10728 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10729 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10730 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10731
2307e126
SP
107322014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10733
10734 [BZ #17084]
10735 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10736 Rename member __data.d to __data.__elision_data.
10737
c0a4ed77
W
107382014-06-24 Wilco <wdijkstr@arm.com>
10739
10740 * NEWS: Add 16918 to fixed bug list.
10741
b8c00573
W
107422014-06-24 Wilco <wdijkstr@arm.com>
10743
10744 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10745
b5570d92
W
107462014-06-24 Wilco <wdijkstr@arm.com>
10747
10748 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10749 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10750 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10751 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10752 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10753 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10754 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10755 Use _FPU_MASK_RM.
10756
947bdca2
W
107572014-06-24 Wilco <wdijkstr@arm.com>
10758
10759 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10760
00f669ed
W
107612014-06-24 Wilco <wdijkstr@arm.com>
10762
10763 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10764 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10765 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10766 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10767
db59bad3
W
107682014-06-24 Wilco <wdijkstr@arm.com>
10769
10770 [BZ #16918]
10771 * sysdeps/arm/feupdateenv.c (feupdateenv):
10772 Rewrite to reduce FPSCR accesses and fix return value.
10773
001f7b77
W
107742014-06-24 Wilco <wdijkstr@arm.com>
10775
10776 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10777 Optimize to avoid unnecessary FPSCR writes.
10778 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10779 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10780 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10781 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10782
4841e6a6
W
107832014-06-24 Wilco <wdijkstr@arm.com>
10784
10785 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10786 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10787 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10788 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10789 Call libc_fetestexcept_vfp.
10790 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10791 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10792 __SOFTFP__ ifdef so that they can be built for softfp.
10793
0813022c
SP
107942014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10795
08e5862f
SP
10796 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10797 argument type signed char.
10798
0813022c
SP
10799 * Makerules (check-abi): Dump diff of symlist if the test
10800 fails.
10801
3fc7236a
RM
108022014-06-23 Roland McGrath <roland@hack.frob.com>
10803
aba8ef95
RM
10804 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10805 using abort.
10806
3fc7236a
RM
10807 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10808 Remove unused variable ST.
10809
4da6db51
JM
108102014-06-23 Joseph Myers <joseph@codesourcery.com>
10811
4648909d
JM
10812 [BZ #16354]
10813 [BZ #17061]
10814 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10815 small arguments before calling __expm1.
10816 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10817 small arguments before calling __expm1f.
10818 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10819 small arguments before calling __expm1l.
10820 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10821 Likewise.
10822 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10823 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10824 spurious underflow for some cosh tests.
10825 * math/auto-libm-test-out: Regenerated.
10826 * sysdeps/i386/fpu/libm-test-ulps: Update.
10827
46a3d3c7
JM
10828 [BZ #17050]
10829 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10830 (__ieee754_y1): Set errno if return value overflows.
10831 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10832 (__ieee754_y1f): Set errno if return value overflows.
10833 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10834 (__ieee754_y1l): Set errno if return value overflows.
10835 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10836 (__ieee754_y1l): Set errno if return value overflows.
10837 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10838 * math/auto-libm-test-out: Regenerated.
10839
863893ec
JM
10840 * math/gen-auto-libm-tests.c: Document use of
10841 ignore-zero-inf-sign.
10842 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10843 (input_flags): Add ignore-zero-inf-sign.
10844 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10845 * math/gen-libm-test.pl (generate_testfile): Handle
10846 ignore-zero-inf-sign.
10847 * math/auto-libm-test-in: Mark some cpow tests with
10848 ignore-zero-inf-sign and some with xfail-rounding.
10849 * math/auto-libm-test-out: Regenerated.
10850 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10851 * sysdeps/i386/fpu/libm-test-ulps: Update.
10852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10853
4da6db51
JM
10854 [BZ #16315]
10855 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10856 overflowing or underflowing operations take place with sign of
10857 result.
10858 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10859 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10860 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10861 (__ieee754_pow): Recompute overflowing and underflowing results in
10862 original rounding mode.
10863 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10864 (__powl_helper): Allow negative argument X and scale negated value
10865 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10866 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10867 overflowing or underflowing operations take place with sign of
10868 result.
10869 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10870 Include <math.h>.
10871 * math/auto-libm-test-in: Add more tests of pow.
10872 * math/auto-libm-test-out: Regenerated.
10873 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10874 (pow_tonearest_test_data): Remove.
10875 (pow_test_tonearest): Likewise.
10876 (pow_towardzero_test_data): Likewise.
10877 (pow_test_towardzero): Likewise.
10878 (pow_downward_test_data): Likewise.
10879 (pow_test_downward): Likewise.
10880 (pow_upward_test_data): Likewise.
10881 (pow_test_upward): Likewise.
10882 (main): Don't call removed functions.
10883 * sysdeps/i386/fpu/libm-test-ulps: Update.
10884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10885
5686b236
RM
108862014-06-23 Roland McGrath <roland@hack.frob.com>
10887
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10889 Moved ...
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10892 Moved ...
10893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10895 Moved ...
10896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10898 Moved ...
10899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10901 File removed.
10902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10903 File removed.
10904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10905 File removed.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10907 File removed.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10909 File removed.
10910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10911 File removed.
10912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10913 File removed.
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10915 File removed.
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10917 File removed.
10918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10919 File removed.
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10921 File removed.
10922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10923 File removed.
10924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10925 Moved ...
10926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10928 Moved ...
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10930 ... here.
10931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10932 Moved ...
10933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10935 Moved ...
10936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10938 Moved ...
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10941 Moved ...
10942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10944 Moved ...
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10947 Moved ...
10948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10950 Moved ...
10951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10954 ... here.
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10956 Moved ...
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10959 Moved ...
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10961 ... here.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10963 Moved ...
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10965 ... here.
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10967 Moved ...
10968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10969 ... here.
10970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10971 Moved ...
10972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10974 Moved ...
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10979 Moved ...
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10981 ... here.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10983 Moved ...
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10985 ... here.
10986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10987 Moved ...
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10990 Moved ...
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10993 Moved ...
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10996 Moved ...
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10999 Moved ...
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11001 ... here.
11002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11003 Moved ...
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11006 Moved ...
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11009 Moved ...
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11012 Moved ...
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11017 Moved ...
11018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11020 Moved ...
11021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11023 Moved ...
11024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11025 ... here.
11026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11027 Moved ...
11028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11029 ... here.
11030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11031 Moved ...
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11033 ... here.
11034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11035 Moved ...
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11038 Moved ...
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11041 Moved ...
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11044 Moved ...
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11046 ... here.
11047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11048 Moved ...
11049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11050 ... here.
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11052 Moved ...
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11054 ... here.
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11056 Moved ...
11057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11059 Moved ...
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11061
e6d90d67
WD
110622014-06-23 Will Newton <will.newton@linaro.org>
11063 Wilco <wdijkstr@arm.com>
11064
11065 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11066 implementation. Include get-rounding-mode.h.
11067 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11068 [!libc_feholdsetround_noex_ctx]: Define
11069 libc_feholdsetround_noex_ctx.
11070 [!libc_feholdsetround_noexf_ctx]: Define
11071 libc_feholdsetround_noexf_ctx.
11072 [!libc_feholdsetround_noexl_ctx]: Define
11073 libc_feholdsetround_noexl_ctx.
11074 (libc_feholdsetround_ctx): New function.
11075 (libc_feresetround_ctx): New function.
11076 (libc_feholdsetround_noex_ctx): New function.
11077 (libc_feresetround_noex_ctx): New function.
11078
d42df555
RM
110792014-06-23 Roland McGrath <roland@hack.frob.com>
11080
88a46474
RM
11081 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11082 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11083 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11084 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11085 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11086 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11087
15bed472
RM
11088 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11089 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11090 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11091 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11092 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11093 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11094 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11095 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11096 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11097 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11098 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11099 Moved ...
11100 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11101 ... here.
11102 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11103 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11104 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11105 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11106 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11107 Moved ...
11108 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11109 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11110 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11111 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11112 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11113 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11114 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11115 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11116 Moved ...
11117 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11118 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11119 Moved ...
11120 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11121 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11122 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11123 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11124 Moved ...
11125 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11126 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11127 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11128 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11129 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11130 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11131 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11132 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11133 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11134 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11135 Moved ...
11136 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11137 ... here.
11138 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11139 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11140 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11141 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11142 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11143 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11144 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11145 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11146 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11147 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11148 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11149 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11150 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11151 Moved ...
11152 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11153 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11154 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11155 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11156 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11157 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11158 Moved ...
11159 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11160 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11161 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11162 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11163 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11164
d42df555
RM
11165 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11166 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11167 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11168 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11169 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11170 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11171 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11172 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11173 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11174 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11175 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11176 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11177 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11178 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11179 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11180 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11181 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11182 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11183 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11184 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11185 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11186 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11187 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11188 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11189 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11190 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11191 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11192 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11193
76e5216e
JM
111942014-06-23 Joseph Myers <joseph@codesourcery.com>
11195
11196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11197 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11198 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11199 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11200 (IPV6_PMTUDISC_INTERFACE): Likewise.
11201 (IPV6_PMTUDISC_OMIT): Likewise.
11202
7a81cbcc
AS
112032014-06-23 Andreas Schwab <schwab@suse.de>
11204
11205 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11206 Remove unused errout label.
11207
db224009
AZ
112082014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11209
11210 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11211 macro: hardware supports Vector Crypto instructions.
11212
f393b4aa
WN
112132014-06-23 Will Newton <will.newton@linaro.org>
11214
cc7d0447
WN
11215 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11216 rather than __builtin_expect.
11217
d6d06225
WN
11218 * elf/dl-lookup.c (undefined_msg): Remove variable.
11219 (_dl_lookup_symbol_x): Replace undefined_msg with string
11220 literal.
11221
f393b4aa
WN
11222 * elf/dl-lookup.c (do_lookup_unique): New function.
11223 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11224 to a separate function.
11225
ac60763e
AS
112262014-06-23 Andreas Schwab <schwab@suse.de>
11227
11228 [BZ #17079]
11229 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11230 before reading the next line.
11231
c5c13355
WN
112322014-06-23 Will Newton <will.newton@linaro.org>
11233
11234 * test-skeleton.c (signal_handler): Use printf and %m
11235 rather than perror. Use printf rather than fprintf to
11236 stderr. Use puts rather than fputs to stderr.
11237 (main): Likewise.
11238
bd3675f9
LC
112392014-06-22 Ludovic Courtès <ludo@gnu.org>
11240
11241 * nscd/nscd.c (thread_info_t): Remove typedef.
11242 (thread_info): Remove variable.
11243
d03efb2f
AM
112442014-06-21 Allan McRae <allan@archlinux.org>
11245
11246 * NEWS: Mention CVE-2014-4043.
11247
bc4a86fa
RM
112482014-06-20 Roland McGrath <roland@hack.frob.com>
11249
dc9a54f8
RM
11250 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11251 * nptl/smp.h: ... here.
11252
bd7022c4
RM
11253 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11254
26ffd5e6
RM
11255 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11256 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11257 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11258 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11259
93a6d082
RM
11260 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11261 * nptl/stack-aliasing.h: New file.
11262 * sysdeps/i386/i686/stack-aliasing.h: New file.
11263 * sysdeps/i386/i686/nptl/Makefile: File removed.
11264 * sysdeps/x86_64/stack-aliasing.h: New file.
11265 * sysdeps/x86_64/nptl/Makefile
11266 (CFLAGS-pthread_create.c): Variable removed.
11267
bc4a86fa
RM
11268 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11269 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11270 old file.
11271 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11272 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11273 old file.
11274
2272ffc1
JM
112752014-06-21 Joseph Myers <joseph@codesourcery.com>
11276
11277 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11278 (__ASSUME_SIGFRAME_V2): Remove macro.
11279 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11280 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11281 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11282 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11283 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11284 Declare as function. Remove conditional macro definitions.
11285 (__default_rt_sa_restorer): Likewise.
11286 (__default_sa_restorer_v1): Remove declaration.
11287 (__default_sa_restorer_v2): Likewise.
11288 (__default_rt_sa_restorer_v1): Likewise.
11289 (__default_rt_sa_restorer_v2): Likewise.
11290 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11291 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11292 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11293
4b88139b
RM
112942014-06-20 Roland McGrath <roland@hack.frob.com>
11295
11296 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11297 (libpthread-routines): Add sysdep.
11298 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11299 * sysdeps/unix/sysv/linux/sparc/Versions
11300 (libpthread: GLIBC_2.3.3): New version set.
11301 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11302 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11303 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11304 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11305 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11306 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11307 Moved ...
11308 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11309 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11310 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11311 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11312 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11313 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11314 * sysdeps/sparc/nptl/sem_init.c: ... here.
11315 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11316 * sysdeps/sparc/nptl/sem_post.c: ... here.
11317 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11318 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11319 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11320 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11321 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11322 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11323 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11324 (libpthread-routines): Add cpu_relax.
11325 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11326 File removed.
11327 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11328 (librt: GLIBC_2.3.3): New version set.
11329 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11330 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11331 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11332 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11333 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11334 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11335 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11337 Moved ...
11338 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11339 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11340 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11341 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11342 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11343 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11344 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11345 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11346 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11348 Moved ...
11349 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11350 Update #include.
11351 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11352 Moved ...
11353 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11354 Update #include.
11355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11356 Moved ...
11357 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11358 Update #include.
11359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11360 Moved ...
11361 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11362 Update #include.
11363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11364 Moved ...
11365 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11366 Update #include.
11367 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11368 Moved ...
11369 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11370 Update #include.
11371 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11372 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11374 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11378 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11380 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11382 Moved ...
11383 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11384 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11385 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11386 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11387 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11388
d7109027
JM
113892014-06-20 Joseph Myers <joseph@codesourcery.com>
11390
9bc6103d
JM
11391 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11392 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11393 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11394 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11395 * nscd/nscd.c: Likewise.
11396 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11397 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11398 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11399 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11400
d7109027
JM
11401 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11402 <kernel-features.h>.
11403 (init_mq_netlink): Remove conditional have_sock_cloexec
11404 definitions. Remove code conditional on have_sock_cloexec < 0.
11405 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11406 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11407 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11408 <kernel-features.h>.
11409 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11410 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11411
d92d8f8a
L
114122014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11413
11414 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11415 Add tests for memset_chk and memset.
11416
11417 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11418 with AVX2_Usable.
11419
4e6d2347
MR
114202014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11421
257ce712
MR
11422 [BZ #16046]
11423 * elf/tst-dl-iter-static.c: New file.
11424 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11425
4e6d2347
MR
11426 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11427 error.
11428
a2a76afe
JM
114292014-06-20 Joseph Myers <joseph@codesourcery.com>
11430
7fd00f99
JM
11431 * sysdeps/unix/sysv/linux/kernel-features.h
11432 (__ASSUME_F_GETOWN_EX): Remove macro.
11433 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11434 <kernel-features.h>.
11435 (miss_F_GETOWN_EX): Remove variable or macro.
11436 (do_fcntl): Do not check miss_F_GETOWN_EX.
11437 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11438
4a103975
JM
11439 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11440 Remove macro.
11441 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11442 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11443 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11444
a2a76afe
JM
11445 * sysdeps/unix/sysv/linux/kernel-features.h
11446 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11447 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11448 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11449 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11450
90e5dd48
MR
114512014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11452
11453 [BZ #17075]
11454 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11455 Fix calculation of the symbol's value.
11456 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11457 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11458 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11459 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11460 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11461 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11462 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11463 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11464 (modules-names): Add `tst-armtlsdescmod',
11465 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11466 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11467 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11468 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11469 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11470 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11471 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11472 ($(objpfx)tst-armtlsdescloc): New dependency.
11473 ($(objpfx)tst-armtlsdescextnow): Likewise.
11474 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11475 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11476 TLS scheme support.
11477 * sysdeps/arm/configure: Regenerate.
11478
809fdf0d
JM
114792014-06-20 Joseph Myers <joseph@codesourcery.com>
11480
11481 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11482 (__atfct_seterrno_2): Likewise.
11483 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11484 <kernel-features.h>.
11485 (__ASSUME_ATFCTS): Do not undefine and redefine.
11486 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11487 (__have_atfcts): Remove conditional definition.
11488 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11489 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11490 unreachable if [__ASSUME_ATFCTS].
11491 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11492 not undefine and redefine.
11493 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11494 <kernel-features.h>.
11495 (faccessat) [__NR_faccessat]: Make code unconditional.
11496 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11497 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11498 <kernel-features.h>.
11499 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11500 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11501 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11502 <kernel-features.h>.
11503 (fchownat) [__NR_fchownat]: Make code unconditional.
11504 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11505 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11506 <kernel-features.h>.
11507 (futimesat) [__NR_futimesat]: Make code unconditional.
11508 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11509 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11510 <kernel-features.h>.
11511 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11512 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11513 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11514 <kernel-features.h>.
11515 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11516 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11517 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11518 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11519 <kernel-features.h>.
11520 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11521 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11522 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11523 <kernel-features.h>.
11524 (linkat) [__NR_linkat]: Make code unconditional.
11525 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11526 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11527 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11528 <kernel-features.h>.
11529 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11530 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11531 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11532 <kernel-features.h>.
11533 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11534 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11535 * sysdeps/unix/sysv/linux/openat.c: Do not include
11536 <kernel-features.h>.
11537 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11538 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11539 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11540 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11541 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11542 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11543 <kernel-features.h>.
11544 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11545 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11546 result of INLINE_SYSCALL directly, not via int variable.
11547 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11548 <kernel-features.h>.
11549 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11550 (renameat) [__NR_renameat]: Make code unconditional.
11551 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11552 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11553 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11554 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11555 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11556 (__ASSUME_ATFCTS): Do not undefine and redefine.
11557 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11558 <kernel-features.h>.
11559 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11560 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11561 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11562 <kernel-features.h>.
11563 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11564 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11565 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11566 (__ASSUME_ATFCTS): Do not undefine and redefine.
11567 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11568 <kernel-features.h>.
11569 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11570 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11571 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11572 <kernel-features.h>.
11573 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11574 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11575
224c6c51
L
115762014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11577
11578 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11579
aa6ec754
AS
115802014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11581
11582 [BZ #17069]
11583 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11584 constructed tree before returning error.
11585 * posix/bug-regexp36.c: Expand test case.
11586
d8c2869d
SL
115872014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11588
3ef6b850
SL
11589 [BZ #6803]
11590 * math/libm-test.inc (scalbln_test_date):
11591 Add errno expectations.
11592 * math/w_scalblnf.c: New File.
11593 Add wrapper which checks for setting errno to ERANGE.
11594 Add weak_alias for corresponding scalbln function.
11595 * math/w_scalbln.c: Likewise.
11596 * math/w_scalblnl.c: Likewise.
11597 * math/Makefile (libm-calls): Add w_scalbln.
11598 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11599 Remove weak_alias for corresponding scalbln function.
11600 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11601 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11602 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11604 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11605 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11606 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11607 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11608 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11609 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11610 Remove long_double_symbol for scalblnl function in libm, libc.
11611 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11612 Add wrapper which checks for setting errno to ERANGE.
11613 Add long_double_symbol for scalblnl function in libm, libc.
11614 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11615 Remove long_double_symbol for scalblnl in libm.
11616 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11617 Add wrapper which checks for setting errno to ERANGE.
11618 Add long_double_symbol for scalblnl function in libm.
11619 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11620 Do not use wrapper because of own implementation.
11621
c8daec5c
L
116222014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11623
11624 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11625 3 bytes for __pad1 for x32.
11626 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11627
5c74e47c
LM
116282014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11629 H.J. Lu <hongjiu.lu@intel.com>
11630
11631 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11632 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11633 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11634 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11635 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11636
4d43ef1e
AS
116372014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11638
11639 [BZ #17069]
11640 * posix/regcomp.c (parse_expression): Deallocate partially
11641 constructed tree before returning error.
11642 * posix/Makefile.c (tests): Add bug-regex36.
11643 (generated): Add bug-regex36.mtrace.
11644 (tests-special): Add $(objpfx)bug-regex36-mem.out
11645 (bug-regex36-ENV): New variable.
11646 ($(objpfx)bug-regex36-mem.out): New rule.
11647 * posix/bug-regex36.c: New file.
11648
51a7380b
WN
116492014-06-19 Will Newton <will.newton@linaro.org>
11650
11651 * malloc/malloc.c (systrim): If extra is zero then return
11652 early.
11653
91b84fe5
SP
116542014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11655
11656 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11657
f940b965
RE
116582014-06-19 Richard Earnshaw <rearnsha@arm.com>
11659
11660 * sysdeps/aarch64/strchr.S: New file.
11661
4ba7a00f
JM
116622014-06-18 Joseph Myers <joseph@codesourcery.com>
11663
11664 [BZ #17022]
11665 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11666 from arguments -2 or below.
11667 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11668 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11669
b3a9f56b
AS
116702014-06-18 Andreas Schwab <schwab@suse.de>
11671
11672 [BZ #17062]
11673 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11674 of a bracket expr not to run off the end of the string.
11675 * posix/Makefile (tests): Add tst-fnmatch3.
11676 * posix/tst-fnmatch3.c: New file.
11677
85d89278
JM
116782014-06-18 Joseph Myers <joseph@codesourcery.com>
11679
11680 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11681 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11682 [$(cross-compiling) = no]: Likewise.
11683 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11684 [$(cross-compiling) = no]: Likewise.
11685
754c5a08
RS
116862014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11687
11688 [BZ #17031]
11689 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11690 double, adjusted for any remainder from the high double.
11691 * math/libm-test.inc (nearbyint): Add tests.
11692 (rint): Likewise.
11693
556f529d
AZ
116942014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11695
11696 * nptl/sysdeps/powerpc/Makefile: Moved ...
11697 * sysdeps/powerpc/nptl/Makefile: ... here.
11698 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11699 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11700 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11701 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11702 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11703 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11704 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11705 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11706 * nptl/sysdeps/powerpc/tls.h: Moved ...
11707 * sysdeps/powerpc/nptl/tls.h: ... here.
11708
91c03c53
JM
117092014-06-16 Joseph Myers <joseph@codesourcery.com>
11710
11711 [BZ #16681]
11712 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11713 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11714 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11715 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11716 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11717 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11718 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11719 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11720 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11721
a76e63c5
AS
117222014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11723
11724 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11725
f2f6d82f
AS
117262014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11727
ea8a15f6
AS
11728 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11729 defined operator.
11730
f2f6d82f
AS
11731 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11732 $TIMEOUTFACTOR.
11733
a7291117
FW
117342014-06-16 Florian Weimer <fweimer@redhat.com>
11735
11736 [BZ #17058]
11737 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11738 non-executed part of the test.
11739
3d7c00e3
AS
117402014-06-16 Andreas Schwab <schwab@suse.de>
11741
11742 * string/bits/string2.h (strdup, strndup): Update feature guard.
11743
6957fb31
DM
117442014-06-14 David S. Miller <davem@davemloft.net>
11745
11746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11747
11b9e55b
AS
117482014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11749
1d2a0492
AS
11750 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11751 that was previously under [RESET_PID].
11752 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11753
11b9e55b
AS
11754 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11755 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11756 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11757 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11758 (__libc_vfork): New strong alias.
11759 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11760
0f6901d0
AK
117612014-06-14 Andi Kleen <ak@linux.intel.com>
11762
11763 * sysdeps/generic/elide.h: New file.
11764
38bbbb9f
SL
117652014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11766
11767 * Makefile (installed-headers): Adjust path of pthread.h header.
11768
45193bb8
RM
117692014-06-13 Roland McGrath <roland@hack.frob.com>
11770
9a25fd1e
RM
11771 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11772 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11773 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11774 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11775
4004f7e4
RM
11776 * nptl/sysdeps/s390/Makefile: Moved ...
11777 * sysdeps/s390/nptl/Makefile: ... here.
11778 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11779 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11780 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11781 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11782 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11783 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11784 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11785 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11786 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11787 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11788 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11789 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11790 * nptl/sysdeps/s390/tls.h: Moved ...
11791 * sysdeps/s390/nptl/tls.h: ... here.
11792
45193bb8
RM
11793 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11794 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11795
f6fdf533
DM
117962014-06-13 David S. Miller <davem@davemloft.net>
11797
11798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11799 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11801 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11802 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11803 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11805 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11806 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11807 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11808 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11809 Remove RESET_PID cpp guards.
11810 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11811 Remove RESET_PID cpp guards.
11812 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11813
f5d71e14
AS
118142014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11815
11816 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11817 __sp to uintptr_t.
11818
b7aa8caa
AK
118192014-06-13 Andi Kleen <ak@linux.intel.com>
11820
4b266200
AZ
11821 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11822 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11823 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11824 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11825 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11826 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11827 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11828 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11829 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11830 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11831 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11832 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11833 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11834 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11835 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11836 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11837 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11838 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11839 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11840 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11841
11842 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11843 (pthread_rwlock_rdlock): Add elision.
11844 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11845 (pthread_rwlock_wrlock): Add elision.
11846 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11847 (pthread_rwlock_trywrlock): Add elision.
11848 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11849 (pthread_rwlock_tryrdlock): Add elision.
11850 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11851 (pthread_rwlock_tryrdlock): Add elision unlock.
11852 * nptl/sysdeps/pthread/pthread.h:
11853 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11854 (PTHREAD_RWLOCK_INITIALIZER,
11855 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11856 Handle new elision field.
11857 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11858 * sysdeps/arm/nptl/bits/pthreadtypes.h
11859 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11860 * sysdeps/sh/nptl/bits/pthreadtypes.h
11861 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11862 * sysdeps/tile/nptl/bits/pthreadtypes.h
11863 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11864 * sysdeps/a/nptl/bits/pthreadtypes.h
11865 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11866 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11867 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11868 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11869 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11870 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11871 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11872 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11873 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11874 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11875 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11876 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11877 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11878 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11879 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11880 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11881 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11882 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11883 (elision_init): Set try_xbegin to zero when no RTM.
11884 * sysdeps/x86/nptl/bits/pthreadtypes.h
11885 (pthread_rwlock_t): Change __pad1 to __rwelision.
11886 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11887
a832bdd3
AK
118882014-06-13 Andi Kleen <ak@linux.intel.com>
11889
11890 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11891 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11892 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11893 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11894
995a46bb
MI
118952014-06-13 Meador Inge <meadori@codesourcery.com>
11896
11897 [BZ #16996]
03ed7738 11898 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11899 that the cached result has been set before returning it.
11900
45262aee
RM
119012014-06-12 Roland McGrath <roland@hack.frob.com>
11902
febf6cc5
RM
11903 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11904 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11905 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11906 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11907 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11908 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11909
e2682246
RM
11910 * nptl/sysdeps/sparc/Makefile: Moved ...
11911 * sysdeps/sparc/nptl/Makefile: ... here.
11912 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11913 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11914 * nptl/sysdeps/sparc/tls.h: Moved ...
11915 * sysdeps/sparc/nptl/tls.h: ... here.
11916 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11917 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11918 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11919 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11920 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11921 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11922 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11923 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11924 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11925 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11926 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11927 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11928 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11929 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11930 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11931 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11932 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11933 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11934 Update #include.
11935 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11936 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11937 Update #include.
11938 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11939 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11940 Update #include.
11941 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11942 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11943 Update #include.
11944
b0725f43
RM
11945 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11946
b14368b8
RM
11947 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11948 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11949
c5620eb3
RM
11950 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11951 (struct list_links): Type removed.
11952 (struct thread_node, struct timer_node): Replace struct list_links
11953 with struct list_head.
11954 (list_unlink_ip): Likewise.
11955 * sysdeps/pthread/timer_routines.c
11956 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11957 (list_append, list_insbefore): Likewise.
11958 (list_init): Function removed.
11959 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
11960 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11961 * sysdeps/pthread/Makefile: ... here, new file.
11962
11963 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11964 * sysdeps/nptl/Implies: ... here.
11965 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11966 * nptl/sysdeps/pthread/list.h: Moved ...
11967 * include/list.h: ... here.
11968 * nptl/sysdeps/pthread/createthread.c: Moved ...
11969 * nptl/createthread.c: ... here.
11970 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11971 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11972 * nptl/pt-longjmp.c: ... here.
11973 * nptl/sysdeps/pthread/Makefile: Moved ...
11974 * sysdeps/nptl/Makefile: ... here.
11975 * nptl/sysdeps/pthread/Subdirs: Moved ...
11976 * sysdeps/nptl/Subdirs: ... here.
11977 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11978 * sysdeps/nptl/aio_misc.h: ... here.
11979 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11980 * sysdeps/nptl/bits/libc-lock.h: ... here.
11981 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11982 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11983 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11984 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11985 * nptl/sysdeps/pthread/configure: Moved ...
11986 * sysdeps/nptl/configure: ... here.
11987 * nptl/sysdeps/pthread/configure.ac: Moved ...
11988 * sysdeps/nptl/configure.ac: ... here.
11989 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11990 * sysdeps/nptl/gai_misc.h: ... here.
11991 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11992 * sysdeps/nptl/librt-cancellation.c: ... here.
11993 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11994 * sysdeps/nptl/malloc-machine.h: ... here.
11995 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11996 * sysdeps/nptl/pthread-functions.h: ... here.
11997 * nptl/sysdeps/pthread/pthread.h: Moved ...
11998 * sysdeps/nptl/pthread.h: ... here.
11999 * nptl/sysdeps/pthread/setxid.h: Moved ...
12000 * sysdeps/nptl/setxid.h: ... here.
12001 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12002 * sysdeps/nptl/sigfillset.c: ... here.
12003 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12004 * sysdeps/nptl/tcb-offsets.h: ... here.
12005 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12006 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12007 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12008 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12009 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12010 * sysdeps/pthread/allocalim.h: ... here.
12011 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12012 * sysdeps/pthread/bits/sigthread.h: ... here.
12013 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12014 * sysdeps/pthread/flockfile.c: ... here.
12015 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12016 * sysdeps/pthread/ftrylockfile.c: ... here.
12017 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12018 * sysdeps/pthread/funlockfile.c: ... here.
12019 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12020 * sysdeps/pthread/posix-timer.h: ... here.
12021 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12022 * sysdeps/pthread/timer_create.c: ... here.
12023 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12024 * sysdeps/pthread/timer_delete.c: ... here.
12025 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12026 * sysdeps/pthread/timer_getoverr.c: ... here.
12027 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12028 * sysdeps/pthread/timer_gettime.c: ... here.
12029 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12030 * sysdeps/pthread/timer_routines.c: ... here.
12031 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12032 * sysdeps/pthread/timer_settime.c: ... here.
12033 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12034 * sysdeps/pthread/tst-timer.c: ... here.
12035 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12036 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12037
e876b090
RM
12038 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12039 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12040
f6b07b3d
RM
12041 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12042 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12043 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12044 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12045 Update #include target.
12046 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12047 * sysdeps/i386/i686/nptl/Makefile: ... here.
12048 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12049 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12050 Update #include target.
12051 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12052 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12053 * nptl/sysdeps/i386/Makefile: Moved ...
12054 * sysdeps/i386/nptl/Makefile: ... here.
12055 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12056 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12057 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12058 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12059 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12060 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12061 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12062 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12063 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12064 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12065 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12066 * nptl/sysdeps/i386/tls.h: Moved ...
12067 * sysdeps/i386/nptl/tls.h: ... here.
12068
45262aee
RM
12069 * sysdeps/sh/Makefile [$(subdir) = csu]
12070 (gen-as-const-headers): Add tcb-offsets.sym.
12071 * nptl/sysdeps/sh/Makefile: File removed.
12072 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12073 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12074 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12075 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12076 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12077 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12078 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12079 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12080 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12081 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12082 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12083 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12084 * nptl/sysdeps/sh/tls.h: Moved ...
12085 * sysdeps/sh/nptl/tls.h: ... here.
12086 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12087 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12088 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12089 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12090 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12091 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12092 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12093 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12094 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12095 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12096 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12097 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12098 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12099 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12100 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12101 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12102 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12103 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12104 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12105 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12106 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12107 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12108 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12109 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12110 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12111 Moved ...
12112 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12113 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12114 Moved ...
12115 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12116 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12117 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12118 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12119 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12120 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12121 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12122 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12123 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12124 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12125 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12126 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12127 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12128 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12129 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12130 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12131 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12132 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12133 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12134
35a5e3e3
SL
121352014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12136
12137 * posix/spawn_faction_addopen.c: Include string.h.
12138
14642b85
RM
121392014-06-11 Roland McGrath <roland@hack.frob.com>
12140
12141 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12142 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12143 * nptl/sysdeps/x86_64/Makefile: Moved ...
12144 * sysdeps/x86_64/nptl/Makefile: ... here.
12145 * nptl/sysdeps/x86_64/configure: Moved ...
12146 * sysdeps/x86_64/nptl/configure: ... here.
12147 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12148 * sysdeps/x86_64/nptl/configure.ac: ... here.
12149 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12150 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12151 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12152 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12153 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12154 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12155 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12156 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12157 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12158 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12159 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12160 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12161 * nptl/sysdeps/x86_64/tls.h: Moved ...
12162 * sysdeps/x86_64/nptl/tls.h: ... here.
12163 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12164 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12165 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12166 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12167
12168 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12169
31c44fea
AZ
121702014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12171
12172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12173
e81a4f9a
JM
121742014-06-11 Joseph Myers <joseph@codesourcery.com>
12175
12176 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12177 type.
12178 [POSIX] (off_t): Likewise.
12179 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12180 [POSIX] (S_ISBLK): Require macro.
12181 [POSIX] (S_ISCHR): Likewise.
12182 [POSIX] (S_ISDIR): Likewise.
12183 [POSIX] (S_ISFIFO): Likewise.
12184 [POSIX] (S_ISREG): Likewise.
12185 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12186 optional-macro.
12187 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12188 type.
12189 [POSIX] (time_t): Likewise.
12190 [POSIX] (timer_t): Likewise.
12191
89e435f3
FW
121922014-06-11 Florian Weimer <fweimer@redhat.com>
12193
12194 [BZ #17048]
12195 * posix/spawn_int.h (struct __spawn_action): Make the path string
12196 non-const to support deallocation.
12197 * posix/spawn_faction_addopen.c
12198 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12199 * posix/spawn_faction_destroy.c
12200 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12201 path in all spawn_do_open actions.
12202 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12203 posix_spawn_file_actions_addopen.
12204
c3a2ebe1
CM
122052014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12206
12207 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12208 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12209 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12210 conditional code always true.
12211 (__libc_vfork): New alias.
12212
9503784a
RM
122132014-06-11 Roland McGrath <roland@hack.frob.com>
12214
c9cab3d2
RM
12215 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12216 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12217
d3996c79
RM
12218 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12219
ba5ec611
RM
12220 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12221 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12222
f12b4814
RM
12223 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12224 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12225
9503784a
RM
12226 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12227 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12228
e23d3d26
VR
122292014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12230
12231 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12232 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12233 multiarch strcmp for PPC64.
12234 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12235 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12237 multiarch optimizations.
12238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12239 (__libc_ifunc_impl_list): Likewise.
12240
42b1161e
SP
122412014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12242
12243 * benchtests/scripts/validate_benchout.py: New script.
12244 * benchtests/Makefile (bench-func): Call it.
12245 * benchtests/scripts/benchout.schema.json: New file.
12246
2d0fc4dc
CM
122472014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12248
4a594c34
AZ
12249 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12250 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12251 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12252 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12253 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12254 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12255 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12256 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12257 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12258 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12259 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12260 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12261 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12262 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12263 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12264 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12266 Moved ...
4a594c34 12267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12268 ... here.
4a594c34 12269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12270 Moved ...
4a594c34
AZ
12271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12273 Moved ...
4a594c34 12274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12275 ... here.
4a594c34 12276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12277 Moved ...
4a594c34 12278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12279 ... here.
4a594c34 12280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12281 Moved ...
4a594c34
AZ
12282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12284 Moved ...
4a594c34 12285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12286 ... here.
4a594c34 12287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12288 Moved ...
4a594c34 12289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12290 ... here.
4a594c34 12291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12292 Moved ...
4a594c34
AZ
12293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12295 Moved ...
4a594c34 12296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12297 ... here.
4a594c34 12298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12299 Moved ...
4a594c34 12300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12301 ... here.
4a594c34 12302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12303 Moved ...
4a594c34 12304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12305 ... here.
4a594c34 12306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12307 Moved ...
4a594c34
AZ
12308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12310 Moved ...
4a594c34 12311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12312 ... here.
4a594c34 12313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12314 Moved ...
4a594c34 12315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12316 ... here.
4a594c34 12317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12318 Moved ...
4a594c34 12319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12320 ... here.
4a594c34 12321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12322 Moved ...
4a594c34
AZ
12323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12325 Moved ...
4a594c34 12326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12327 ... here.
4a594c34 12328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12329 Moved ...
4a594c34 12330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12331 ... here.
4a594c34 12332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12333 Moved ...
4a594c34
AZ
12334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12336 Moved ...
4a594c34 12337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12338 ... here.
4a594c34 12339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12340 Moved ...
4a594c34
AZ
12341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12343 Moved ...
4a594c34
AZ
12344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12346 Moved ...
4a594c34 12347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12348 ... here.
4a594c34 12349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12350 Moved ...
4a594c34 12351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12352 ... here.
4a594c34 12353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12354 Moved ...
4a594c34 12355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12356 ... here.
4a594c34 12357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12358 Moved ...
4a594c34
AZ
12359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12361 Moved ...
4a594c34 12362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12363 ... here.
4a594c34 12364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12365 Moved ...
4a594c34 12366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12367 ... here.
4a594c34
AZ
12368 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12369 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12370 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12371 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12372 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12373 Moved ...
4a594c34 12374 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12375 ... here.
4a594c34
AZ
12376 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12377 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12378 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12379 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12380 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12381 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12382 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12383 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12384 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12385 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12386 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12387 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12388 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12389 Moved ...
4a594c34
AZ
12390 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12391 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12392 Moved ...
4a594c34
AZ
12393 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12394 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12395 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12396 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12397 Moved ...
4a594c34
AZ
12398 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12399 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12400 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12401 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12402 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12403 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12404 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12405
0570cfed
W
124062014-06-10 Wilco <wdijkstr@arm.com>
12407
12408 * math/test-fenv-return.c: New file.
12409 * math/Makefile: Add new test test-fenv-return.
12410
f8ba1b56
JM
124112014-06-10 Joseph Myers <joseph@codesourcery.com>
12412
12413 [BZ #17042]
12414 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12415 when x - 1 is zero.
12416 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12417 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12418 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12419 0.0L for an argument of 1.0L.
12420 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12421 Likewise.
12422 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12423 value when x - 1 is zero.
12424 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12425 * sysdeps/i386/fpu/libm-test-ulps: Update.
12426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12427
2c3520d9
BO
124282014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12429
12430 [BZ #15119]
12431 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12432
acaa4d24
RM
124332014-06-09 Roland McGrath <roland@hack.frob.com>
12434
12435 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12436 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12437
962b744d
RM
124382014-06-09 Roland McGrath <roland@hack.frob.com>
12439
d752f0cc
RM
12440 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12441 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12442
34eda6d1
RM
12443 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12444 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12445
50f0a637
RM
12446 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12447 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12448
08f41f04
RM
12449 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12450 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12451
962b744d
RM
12452 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12453 if not already defined.
12454 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12455 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12456 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12457 (TLS_INIT_TP): Use it.
12458 (TLS_DEFINE_INIT_TP): New macro.
12459 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12460
09f19b05
JM
124612014-06-09 Joseph Myers <joseph@codesourcery.com>
12462
12463 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12464 constant.
12465 [POSIX] (IXANY): Likewise.
12466 [POSIX] (OLCUC): Likewise.
12467 [POSIX || POSIX2008] (CBAUD): Do not allow.
12468 [POSIX || POSIX2008] (DEFECHO): Likewise.
12469 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12470 [POSIX || POSIX2008] (ECHOKE): Likewise.
12471 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12472 [POSIX || POSIX2008] (EXTA): Likewise.
12473 [POSIX || POSIX2008] (EXTB): Likewise.
12474 [POSIX || POSIX2008] (FLUSHO): Likewise.
12475 [POSIX || POSIX2008] (LOBLK): Likewise.
12476 [POSIX || POSIX2008] (PENDIN): Likewise.
12477 [POSIX || POSIX2008] (SWTCH): Likewise.
12478 [POSIX || POSIX2008] (VDISCARD): Likewise.
12479 [POSIX || POSIX2008] (VDSUSP): Likewise.
12480 [POSIX || POSIX2008] (VLNEXT): Likewise.
12481 [POSIX || POSIX2008] (VREPRINT): Likewise.
12482 [POSIX || POSIX2008] (VSTATUS): Likewise.
12483 [POSIX || POSIX2008] (VWERASE): Likewise.
12484 (B*): Change to B[0123456789]*.
12485 * conform/data/time.h-data [POSIX || UNIX98]
12486 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12487 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12488 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12489 [POSIX] (tm_*): Do not allow.
12490
686554bf
JM
124912014-06-07 Joseph Myers <joseph@codesourcery.com>
12492
12493 * Makefile (install): Don't set LANGUAGE.
12494 * Makefile.in (install): Likewise.
12495 * assert/Makefile (test-assert-ENV): Remove variable.
12496 (test-assert-perr-ENV): Likewise.
12497 * elf/Makefile (neededtest4-ENV): Likewise.
12498 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12499 [$(cross-compiling) = no]: Don't set LANGUAGE.
12500 * io/ftwtest-sh (LANG): Remove variable.
12501 * libio/Makefile (tst-widetext-ENV): Likewise.
12502 * manual/install.texi (Running make install): Don't refer to
12503 environment settings for make install.
12504 * INSTALL: Regenerated.
12505 * nptl/tst-tls6.sh: Don't set LANG.
12506 * posix/globtest.sh (LANG): Remove variable.
12507 * string/Makefile (tester-ENV): Likewise.
12508 (inl-tester-ENV): Likewise.
12509 (noinl-tester-ENV): Likewise.
12510 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12511 [$(cross-compiling) = no]: Don't set LANGUAGE.
12512 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12513 without explicit environment settings.
12514
68e6b6b1
RM
125152014-06-06 Roland McGrath <roland@hack.frob.com>
12516
12517 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12518 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12519 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12520 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12521
4d3ae034
CM
125222014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12523
12524 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12525 other files in the crypt directory.
12526 * crypt/crypt.c: Remove duplicate includes.
12527 * crypt/crypt-entry.c: Likewise.
12528 * crypt/crypt_util.c: Likewise.
12529
8540f6d2
JM
125302014-06-06 Joseph Myers <joseph@codesourcery.com>
12531
12532 * Makeconfig (run-program-env): New variable.
12533 (run-program-prefix-before-env): Likewise.
12534 (run-program-prefix-after-env): Likewise.
12535 (run-program-prefix): Define in terms of new variables.
12536 (built-program-cmd-before-env): New variable.
12537 (built-program-cmd-after-env): Likewise.
12538 (built-program-cmd): Define in terms of new variables.
12539 (test-program-prefix-before-env): New variable.
12540 (test-program-prefix-after-env): Likewise.
12541 (test-program-prefix): Define in terms of new variables.
12542 (test-program-cmd-before-env): New variable.
12543 (test-program-cmd-after-env): Likewise.
12544 (test-program-cmd): Define in terms of new variables.
12545 * Rules (make-test-out): Use $(run-program-env).
12546 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12547 (help): Do not mention environment variables. Mention
12548 --timeoutfactor option.
12549 (timeoutfactor): New variable.
12550 (blacklist_exports): Remove function.
12551 (exports): Remove variable.
12552 (command): Do not include ${exports}.
12553 * manual/install.texi (Configuring and compiling): Do not mention
12554 test wrappers preserving environment variables. Mention that last
12555 assignment to a variable must take precedence.
12556 * INSTALL: Regenerated.
12557 * benchtests/Makefile (run-bench): Use $(run-program-env).
12558 * catgets/Makefile ($(objpfx)test1.cat): Use
12559 $(built-program-cmd-before-env), $(run-program-env) and
12560 $(built-program-cmd-after-env).
12561 ($(objpfx)test2.cat): Do not specify environment variables
12562 explicitly.
12563 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12564 $(run-program-env) and $(built-program-cmd-after-env).
12565 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12566 $(run-program-env) and $(test-program-cmd-after-env).
12567 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12568 explicitly.
12569 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12570 run_program_env and test_program_cmd_after_env arguments.
12571 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12572 * elf/tst-pathopt.sh: Use run_program_env argument.
12573 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12574 $(test-wrapper-env) and $(run-program-env).
12575 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12576 run_program_env arguments.
12577 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12578 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12579 $(test-program-prefix-before-env), $(run-program-env) and
12580 $(test-program-prefix-after-env).
12581 ($(objpfx)tst-gettext2.out): Likewise.
12582 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12583 run_program_env and test_program_prefix_after_env arguments.
12584 * intl/tst-gettext2.sh: Likewise.
12585 * intl/tst-gettext4.sh: Do not set environment variables
12586 explicitly.
12587 * intl/tst-gettext6.sh: Likewise.
12588 * intl/tst-translit.sh: Likewise.
12589 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12590 $(test-program-prefix-before-env), $(run-program-env) and
12591 $(test-program-prefix-after-env).
12592 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12593 run_program_env and test_program_prefix_after_env arguments.
12594 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12595 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12596 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12597 explicitly with each use of ${test_wrapper_env}.
12598 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12599 $(test-program-prefix-before-env), $(run-program-env) and
12600 $(test-program-prefix-after-env).
12601 * posix/tst-getconf.sh: Do not set environment variables
12602 explicitly.
12603 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12604 run_program_env and test_program_prefix_after_env arguments.
12605 * stdio-common/tst-printf.sh: Do not set environment variables
12606 explicitly.
12607 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12608 $(test-program-prefix-before-env), $(run-program-env) and
12609 $(test-program-prefix-after-env).
12610 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12611 run_program_env and test_program_prefix_after_env arguments.
12612 Split $test calls into $test_pre and $test.
12613 * timezone/Makefile (build-testdata): Use
12614 $(built-program-cmd-before-env), $(run-program-env) and
12615 $(built-program-cmd-after-env).
12616
ed36bfa1
AZ
126172014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12618
12619 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12620 strlen for non SHARED builds.
12621
fc75bf46
SP
126222014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12623
12624 * nptl/allocatestack.c (check_list): Inlined function...
12625 (__reclaim_stacks): ... here.
12626
d89b3d80
OB
126272014-06-05 Ondřej Bílka <neleai@seznam.cz>
12628
12629 [BZ #15698]
12630 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12631 memory overrun.
12632
2bf18041
JM
126332014-06-05 Joseph Myers <joseph@codesourcery.com>
12634
12635 * Rules (make-test-out): Include
12636 LOCPATH=$(common-objpfx)localedata in default environment.
12637 * debug/Makefile (tst-chk1-ENV): Remove variable.
12638 (tst-chk2-ENV): Likewise.
12639 (tst-chk3-ENV): Likewise.
12640 (tst-chk4-ENV): Likewise.
12641 (tst-chk5-ENV): Likewise.
12642 (tst-chk6-ENV): Likewise.
12643 (tst-lfschk1-ENV): Likewise.
12644 (tst-lfschk2-ENV): Likewise.
12645 (tst-lfschk3-ENV): Likewise.
12646 (tst-lfschk4-ENV): Likewise.
12647 (tst-lfschk5-ENV): Likewise.
12648 (tst-lfschk6-ENV): Likewise.
12649 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12650 (tst-iconv7-ENV): Likewise.
12651 * intl/Makefile (LOCPATH-ENV): Likewise.
12652 (tst-codeset-ENV): Likewise.
12653 (tst-gettext3-ENV): Likewise.
12654 (tst-gettext5-ENV): Likewise.
12655 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12656 (tst-fopenloc-ENV): Likewise.
12657 (tst-fgetws-ENV): Remove variable.
12658 (tst-ungetwc1-ENV): Likewise.
12659 (tst-ungetwc2-ENV): Likewise.
12660 (bug-ungetwc2-ENV): Likewise.
12661 (tst-swscanf-ENV): Likewise.
12662 (bug-ftell-ENV): Likewise.
12663 (tst-fgetwc-ENV): Likewise.
12664 (tst-fseek-ENV): Likewise.
12665 (tst-ftell-partial-wide-ENV): Likewise.
12666 (tst-ftell-active-handler-ENV): Likewise.
12667 (tst-ftell-append-ENV): Likewise.
12668 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12669 (tst-regexloc-ENV): Likewise.
12670 (bug-regex1-ENV): Likewise.
12671 (tst-regex-ENV): Likewise.
12672 (tst-regex2-ENV): Likewise.
12673 (bug-regex5-ENV): Likewise.
12674 (bug-regex6-ENV): Likewise.
12675 (bug-regex17-ENV): Likewise.
12676 (bug-regex18-ENV): Likewise.
12677 (bug-regex19-ENV): Likewise.
12678 (bug-regex20-ENV): Likewise.
12679 (bug-regex22-ENV): Likewise.
12680 (bug-regex23-ENV): Likewise.
12681 (bug-regex25-ENV): Likewise.
12682 (bug-regex26-ENV): Likewise.
12683 (bug-regex30-ENV): Likewise.
12684 (bug-regex32-ENV): Likewise.
12685 (bug-regex33-ENV): Likewise.
12686 (bug-regex34-ENV): Likewise.
12687 (bug-regex35-ENV): Likewise.
12688 (tst-rxspencer-ENV): Likewise.
12689 (tst-rxspencer-no-utf8-ENV): Likewise.
12690 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12691 (tst-sscanf-ENV): Likewise.
12692 (tst-swprintf-ENV): Likewise.
12693 (tst-swscanf-ENV): Likewise.
12694 (test-vfprintf-ENV): Likewise.
12695 (scanf13-ENV): Likewise.
12696 (bug14-ENV): Likewise.
12697 (tst-grouping-ENV): Likewise.
12698 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12699 (tst-strtod3-ENV): Likewise.
12700 (tst-strtod4-ENV): Likewise.
12701 (tst-strtod5-ENV): Likewise.
12702 (testmb2-ENV): Likewise./
12703 * string/Makefile (tst-strxfrm-ENV): Likewise.
12704 (tst-strxfrm2-ENV): Likewise.
12705 (bug-strcoll1-ENV): Likewise.
12706 (test-strcasecmp-ENV): Likewise.
12707 (test-strncasecmp-ENV): Likewise.
12708 * time/Makefile (tst-strptime-ENV): Likewise.
12709 (tst-ftime_l-ENV): Likewise.
12710 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12711 (tst-mbrtowc-ENV): Likewise.
12712 (tst-wcrtomb-ENV): Likewise.
12713 (tst-mbrtowc2-ENV): Likewise.
12714 (tst-c16c32-1-ENV): Likewise.
12715 (tst-mbsnrtowcs-ENV): Likewise.
12716
cd1fb604
OB
127172014-06-05 Ondřej Bílka <neleai@seznam.cz>
12718
12719 * manual/resource.texi (How to get information about the memory
12720 subsystem?): Fix typo.
12721 Reported by Peon de la Parra Ivan <peon@keba.com>
12722
b42eca7d
GY
127232014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12724
12725 [BZ #16882]
12726 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12727 (pthread_spin_lock): Branch out of spin loop to proper location.
12728 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12729 (pthread_spin_lock): Likewise.
12730
902b71f9
DM
12731 * nptl/tst-spin4.c: New test.
12732 * nptl/Makefile (tests): Add tst-spin4.
12733
f9d2d032
AS
127342014-06-03 Andreas Schwab <schwab@suse.de>
12735
12736 [BZ #15946]
12737 * resolv/res_send.c (send_dg): Reload file descriptor after
12738 calling reopen.
12739
cf7bfd28
SL
127402014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12741
12742 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12743
111cc714
RH
127442014-06-03 Richard Henderson <rth@redhat.com>
12745
89b4bd6b
RH
12746 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12747 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12748 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12749 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12750 in the SAVE_PID block.
12751 (__libc_vfork): New alias.
71840409 12752 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12753
111cc714
RH
12754 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12755 child in registers, not on the stack. Remove RESET_PID conditionals.
12756 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12757
ccc39911
MS
127582014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12759
12760 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12761
693096cc
W
127622014-06-03 Wilco <wdijkstr@arm.com>
12763
12764 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12765 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12766 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12767 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12768 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12769 Likewise.
12770
0b4366bc
W
127712014-06-03 Wilco <wdijkstr@arm.com>
12772
12773 * sysdeps/aarch64/fpu/math_private.h
12774 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12775 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12776 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12777 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12778 Fix declarations.
12779
8747cd03
KS
127802014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12781
12782 * crypt/crypt-private.h: Include ufc-crypt.h.
12783 (__b64_from_24bit): Declare extern.
12784 * crypt/crypt_util.c(__b64_from_24bit): New function.
12785 (b64t): New static const variable.
12786 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12787 (b64t): Remove variable.
12788 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12789 * crypt/sha256-crypt.c: Include crypt-private.h.
12790 (b64t): Remove variable.
12791 (__sha256_crypt_r): Remove b64_from_24bit and replace
12792 with __b64_from_24bit.
12793 * crypt/sha512-crypt.c: Likewise.
12794
d936d379
RM
127952014-06-02 Roland McGrath <roland@hack.frob.com>
12796
12797 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12798 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12799 Label the code __libc_vfork rather than __vfork.
12800 [!NOT_IN_libc] (vfork): Define as weak alias.
12801 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12802 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12803 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12804
9fa76613
SP
128052014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12806
12807 * malloc/malloc.c (malloc_info): Fix format specifier for
12808 n_mmaps.
12809
a88dadbe
W
128102014-06-02 Wilco <wdijkstr@arm.com>
12811
12812 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12813 FPCR write.
12814
c95b3011
W
128152014-06-02 Wilco <wdijkstr@arm.com>
12816
12817 [BZ #17009]
12818 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12819 Rewrite to reduce FPCR/FPSR accesses.
12820
6b4d7a90
DM
128212014-06-01 David S. Miller <davem@davemloft.net>
12822
12823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12824
30f3d07c
DM
128252014-05-31 David S. Miller <davem@davemloft.net>
12826
12827 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12828 to occur in round to nearest mode when |x| >= 2.0
12829
74f31c18
RH
128302014-05-30 Richard Henderson <rth@twiddle.net>
12831
f0712b54
RH
12832 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12833 (PSEUDO_RET_NOERRNO): Remove.
12834 (ret): Don't redefine.
12835 (ret_NOERRNO): Define in terms of ret.
12836 (ret_ERRVAL): Likewise.
12837
74f31c18
RH
12838 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12839 use of PSEUDO_RET; perform the error check directly.
12840
30477995
MM
128412014-05-30 Marko Myllynen <myllynen@redhat.com>
12842
12843 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12844 with __int128_t.
12845
62a58816
SP
128462014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12847
12848 * malloc/malloc (malloc_info): Fix formatting.
12849
4d653a59
SP
128502014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12851 Roland McGrath <roland@hack.frob.com>
12852
12853 * malloc/malloc (malloc_info): Also print mmapped statistics.
12854
5190c17f
RM
128552014-05-30 Roland McGrath <roland@hack.frob.com>
12856
12857 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12858 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12859
987c0269
OB
128602014-05-30 Ondřej Bílka <neleai@seznam.cz>
12861
12862 * malloc/malloc.c (malloc_info): Inline mi_arena.
12863
af4e8ef9
RH
128642014-05-29 Richard Henderson <rth@twiddle.net>
12865
1670e207
RH
12866 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12867 Remove comma before expanding ASM_ARGS_##nr.
12868 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12869 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12870 of ASM_ARGS_##nr.
12871 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12872 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12873 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12874 (ASM_ARGS_1): Add leading comma.
12875
11a28aee
RH
12876 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12877 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12878 to __errno_location.
12879 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12880 Remove the expected plt for __errno_location.
12881
a17e5ffb 12882 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12883 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12884 call to __read_tp.
12885
b5be4597
RH
12886 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12887 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12888 it and break it down.
12889 (DOCARGS_0, DOCARGS_1): Do nothing.
12890 (DOCARGS_2): Update to store into the new stack frame.
12891 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12892 (UNDOCARGS_1): Update to restore from the new stack frame.
12893 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12894 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12895
645d44ab
RH
12896 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12897 (SINGLE_THREAD_P): New parameter for result regno.
12898 (PSEUDO): Update to match; use cbz instead of beq.
12899
a8b4f04a
RH
12900 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12901 Use ENTRY to define the _nocancel entry point. Share the syscall
12902 and syscall error check paths with the cancel path.
12903 (PSEUDO_END): New.
12904
af4e8ef9
RH
12905 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12906 whitespace; tabs before and after asm mnemonics.
12907
26b0d2e1
EW
129082014-05-29 Eric Wong <normalperson@yhbt.net>
12909
12910 [BZ #15132]
12911 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12912 Call fstat64 or stat64 internally, depending on arguments passed.
12913 Replace stat buffer argument with file descriptor argument.
12914 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12915 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12916 Pass fd to __internal_statvfs instead of calling fstat64.
12917 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12918 Pass fd to __internal_statvfs64 instead of calling fstat64.
12919 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12920 Pass -1 to __internal_statvfs instead of calling stat64.
12921 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12922 Pass -1 to __internal_statvfs64 instead of calling stat64.
12923
1efe2bd9
RM
129242014-05-28 Roland McGrath <roland@hack.frob.com>
12925
0d3b7a19
RM
12926 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12927 that was previously under [RESET_PID].
12928 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12929
1efe2bd9
RM
12930 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12931 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12932
a6bea3ca
RM
129332014-05-27 Roland McGrath <roland@hack.frob.com>
12934
30b6629e
RM
12935 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12936
a6bea3ca
RM
12937 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12938 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12939
3dfb9a5c
OB
129402014-05-27 Ondřej Bílka <neleai@seznam.cz>
12941
12942 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12943
774f9285
AS
129442014-05-27 Andreas Schwab <schwab@suse.de>
12945
12946 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12947 TLS_INIT_TP macro.
12948 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12949 * elf/rtld.c (init_tls, dl_main): Likewise.
12950 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12951 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12952 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12953 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12954 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12955 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12956 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12957 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12958 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12959 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12960 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12961 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12962 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12963 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12964 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12965 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12966 * sysdeps/generic/tls.h: Update description.
12967
36ffe739
WN
129682014-05-27 Will Newton <will.newton@linaro.org>
12969
12970 [BZ #16990]
12971 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12972 and restore r2 rather than just restoring.
12973
2482ae43
SP
129742014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12975
12976 [BZ #16724]
12977 * libio/tst-ftell-append.c: New test case.
12978 * libio/Makefile (tests): Add test case.
12979 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12980 append mode.
12981 * libio/wfileops.c (do_ftell_wide): Likewise.
12982
3d1024e8
AZ
129832014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12984
bab90016
AZ
12985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12986
c7a8d667
AZ
12987 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12988 ...
12989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12991 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12992 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12993 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12994 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12995 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12996 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12997 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12998 Moved ...
12999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13000 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13001 Moved ...
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13003 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13004 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13005 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13006 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13007 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13008 ...
13009 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13010 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13011 Moved ...
13012 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13013 here.
13014 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13015 ...
13016 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13017 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13018 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13019
daee7851
AZ
13020 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13021 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13022 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13023 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13024
50a40819
AZ
13025 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13026 merge into ...
13027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13028 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13029 ...
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13031 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13032 ...
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13034 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13035 Moved ...
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13037 here.
13038 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13039 Moved ...
13040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13041 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13042 Moved ...
13043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13044
8464c2a1
AZ
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13046 conditional [RESET_PID].
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13048 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13049 removed.
13050 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13051 removed.
13052
3d1024e8
AZ
13053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13054 <tcb-offsets.h>.
13055 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13056 (__libc_vfork): New strong alias.
13057 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13058 removed.
13059 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13060 Removed.
13061
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13063 <tcb-offsets.h>.
13064 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13065 (__libc_vfork): New strong alias.
13066 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13067 removed.
13068 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13069 removed.
13070
fdfd175d
CD
130712014-05-26 Carlos O'Donell <carlos@redhat.com>
13072
13073 * malloc/malloc.c (mi_arena): New function.
13074 (malloc_info): Remove nested function mi_arena. Call non-nosted
13075 function mi_arena.
13076
d298c416
AZ
130772014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13078
13079 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13080 by insrwi.
13081 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13082 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13083 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13084 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13085 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13086 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13087 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13088
b60ea6ff
AS
130892014-05-26 Andreas Schwab <schwab@suse.de>
13090
13091 [BZ #16984]
13092 * locale/programs/repertoire.c (repertoire_read): Add slash
13093 between I18NPATH element and file name.
13094 * locale/programs/locfile.c (locfile_read): Likewise.
13095
67365926
SL
130962014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13097
13098 * nptl/pthread_mutexattr_settype.c
13099 (__pthread_mutexattr_settype):
13100 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13101
f8bdf1f0
SL
131022014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13103
13104 * nptl/tst-mutex5 (do_test):
13105 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13106
15eaf6ff
SP
131072014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13108
13109 * benchtests/README: Document 'init' directive.
13110 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13111 BENCH_INIT.
13112 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13113 (parse_file): Recognize 'init' directive.
13114
75f11331
KM
131152014-05-26 Kyle McMartin <kyle@redhat.com>
13116
13117 [BZ #16796]
13118 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13119 alignment of struct pthread.
13120
c3ec475c
SP
131212014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13122
13123 [BZ #16878]
13124 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13125 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13126 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13127 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13128
82aab97c
RH
131292014-05-25 Richard Henderson <rth@twiddle.net>
13130
aa2f176d
RH
13131 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13132 (SINGLE_THREAD_P_PIC): Remove.
13133 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13134 (SINGLE_THREAD_P_PIC): Remove.
13135
ca3cfa40
RH
13136 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13137 branch to syscall error ...
13138 (PSEUDO): ... here.
13139 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13140 from __local_syscall_error to .Lsyscall_error.
13141 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13142 (SYSCALL_ERROR): Update label name.
13143
6e6c2d01
RH
13144 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13145 Do not use DOARGS/UNDOARGS.
13146 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13147 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13148 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13149 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13150 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13151
c69abcee
RH
13152 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13153 block comment.
13154
82aab97c
RH
13155 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13156 define if !NOT_IN_libc.
13157 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13158 define with non-default symbol versions.
13159
8820e3ac
RH
131602014-05-23 Richard Henderson <rth@twiddle.net>
13161
900e445f
RH
13162 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13163 (vfork, __vfork): Define via compat_symbol.
13164
8820e3ac
RH
13165 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13166 [!HAVE_IFUNC] (vfork_compat): Remove.
13167 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13168
e59252a5
JM
131692014-05-23 Joseph Myers <joseph@codesourcery.com>
13170
13171 [BZ #16978]
13172 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13173 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13174 variable.
13175
132c7f5f
RH
131762014-05-23 Richard Henderson <rth@twiddle.net>
13177
bc89e962
RH
13178 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13179 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13180 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13181 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13182
13183 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13184 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13185 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13186 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13187 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13188 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13189 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13190 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13191 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13192 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13193 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13194 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13195 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13196 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13197 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13198 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13199 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13200 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13201 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13202 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13203 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13204 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13205 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13206 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13207 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13208 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13209 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13210 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13211 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13212 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13213 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13214 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13215 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13216 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13217 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13218 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13219 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13220 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13221 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13222 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13223 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13224 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13225 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13226 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13227 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13228 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13229 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13230 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13231 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13232 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13233 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13234 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13235 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13236 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13237 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13238 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13239
e2fa4bc2
RH
13240 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13241 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13242 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13243 before exiting on error.
13244 (__libc_vfork): New strong alias.
13245 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13246 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13247
279b24e2
RH
13248 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13249 that was previously under [RESET_PID].
13250 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13251
132c7f5f
RH
13252 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13253
b72592e7
JM
132542014-05-23 Joseph Myers <joseph@codesourcery.com>
13255
13256 [BZ #16977]
13257 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13258 value when x - 1 is zero.
13259 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13260 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13261 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13262 0.0L for an argument of 1.0L.
13263 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13264 Likewise.
13265 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13266 value when x - 1 is zero.
13267 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13268 * sysdeps/i386/fpu/libm-test-ulps: Update.
13269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13270
2302d679
RV
132712014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13272
13273 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13274 alphasort and versionsort.
13275
32999d63
AZ
132762014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13277
13278 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13279 macro.
13280 [copysignf]: Likewise.
13281
019324d0
SP
132822014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13283
13284 * crypt/md5-crypt.c: Fix formatting.
13285
34fff5c2
KS
132862014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13287
13288 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13289 (b64_from_24bit): New function.
13290
3d2badac
AZ
132912014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13292
13293 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13294 libc_hidden_builtin_def to ifunc.
13295 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13296 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13297
f7bb179f 132982014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13299
13300 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13301 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13302
4134b50d
JM
133032014-05-21 Joseph Myers <joseph@codesourcery.com>
13304
bb7d0337
JM
13305 * nscd/Depend (linuxthreads): Remove.
13306 (nptl): Add.
13307 * resolv/Depend (linuxthreads): Remove.
13308 * rt/Depend (linuxthreads): Remove.
13309
4134b50d
JM
13310 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13311 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13312 $(common-objpfx)elf/.
13313 (link-libc-before-gnulib): Likewise.
13314 (elfobjdir): Remove variable.
13315 * Makefile (install): Use $(elf-objpfx) instead of
13316 $(common-objpfx)elf/.
13317 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13318 $(elfobjdir)/.
13319 (link-libc-deps): Likewise.
13320 ($(common-objpfx)libc.so): Likewise.
13321 ($(common-objpfx)linkobj/libc.so): Likewise.
13322 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13323 instead of $(common-objpfx)elf/.
13324 (symbolic-link-list): Likewise.
13325 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13326 [$(cross-compiling) = no]: Likewise.
13327 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13328 $(elfobjdir)/.
13329 (static-gnulib-arch): Likewise.
13330 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13331 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13332 $(common-objpfx)elf/.
13333
3612eb8f
RH
133342014-05-21 Richard Henderson <rth@redhat.com>
13335
a6b3657b
RH
13336 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13337 (SINGLE_THREAD_P): Use the correct width load. Fold
13338 into the ldr offset.
13339
3612eb8f
RH
13340 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13341 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13342
175cef41
JM
133432014-05-20 Joseph Myers <joseph@codesourcery.com>
13344
13345 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13346 (libgcc_s_resume): Use __attribute_used__.
13347 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13348 Likewise.
13349
e13bccd3
AZ
133502014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13351
13352 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13353 optimization when used with float constants.
13354
7c112a38
AZ
13355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13356
ae75a883
AJ
133572014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13358
13359 [BZ #16915]
13360 * locale/nl_langinfo_l.c: Make direct reference to every
13361 _nl_current_CATEGORY symbol.
13362 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13363 (tests-static): Add tst-langinfo-static.
13364 (tests-special): Add tst-langinfo-static.out.
13365 ($(objpfx)tst-langinfo.out): Redirect output.
13366 ($(objpfx)tst-langinfo-static.out): New.
13367 * localedata/tst-langinfo.sh: Send output to stdout.
13368 * localedata/tst-langinfo-static.c: New file.
13369
4406c41c
AJ
13370 [BZ #16965]
13371 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13372 when the shift amount is modulo the limb size.
13373
4c0a1e63
RH
133742014-05-20 Richard Henderson <rth@redhat.com>
13375
de9d8f20
RH
13376 [BZ #16967]
13377 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13378 Change type of sa_flags from unsigned int to int.
13379
4c0a1e63
RH
13380 [BZ #16966]
13381 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13382
13383 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13384
a60339aa
WN
133852014-05-20 Will Newton <will.newton@linaro.org>
13386
13387 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13388 Test the return value of the system call in the nocancel case.
13389
7d05a816
YR
133902014-05-20 Will Newton <will.newton@linaro.org>
13391 Yvan Roux <yvan.roux@linaro.org>
13392
13393 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13394 #include of asm/ptrace.h.
13395 (PTRACE_GET_THREAD_AREA): Remove #undef.
13396 (PTRACE_GETHBPREGS): Likewise.
13397 (PTRACE_SETHBPREGS): Likewise.
13398 (struct user_regs_struct): New structure.
13399 (struct user_fpsimd_struct): New structure.
13400 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13401 #include of asm/ptrace.h and second #include of sys/user.h.
13402 (PTRACE_GET_THREAD_AREA): Remove #undef.
13403 (PTRACE_GETHBPREGS): Likewise.
13404 (PTRACE_SETHBPREGS): Likewise.
13405 (ELF_NGREG): Use new struct user_regs_struct.
13406 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13407
af121e37
AZ
134082014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13409
13410 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13411 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13412
834caf06
JM
134132014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13414
13415 [BZ #16958]
13416 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13417 membar to avoid block loads/stores to overlap previous stores.
13418
e184a918
RH
134192014-05-17 Richard Henderson <rth@redhat.com>
13420
13421 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13422 Create the __##syscall_name##_nocancel entry point.
13423 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13424 Remove; let the sysdep-cancel.h code create it.
13425
f56c7a6a
DM
134262014-05-17 David S. Miller <davem@davemloft.net>
13427
13428 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13429 Protect with __USE_GNU.
13430 (TIOCSET_TEMPT): Likewise.
13431 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13432 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13433 these are already provided in bits/ioctl-types.h
13434
f75616b2
RM
134352014-05-16 Roland McGrath <roland@hack.frob.com>
13436
3edeca86
RM
13437 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13438 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13439
f75616b2
RM
13440 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13441 Use wait4 regardless of [__NR_waitpid].
13442
deb0f7f6
MR
134432014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13444
13445 PR libgcc/60166
13446 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13447 (_FP_NANSIGN_Q): Set the quiet bit.
13448
79520f4b
JM
134492014-05-16 Joseph Myers <joseph@codesourcery.com>
13450
13451 * benchtests/Makefile
13452 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13453 not $(common-objpfx)math/libm.so.
13454 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13455 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13456 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13457 $(common-objpfx)dlfcn/libdl.so.
13458 ($(objpfx)tst-audit8): Depend on $(libm), not
13459 $(common-objpfx)math/libm.so.
13460 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13461 not $(common-objpfx)dlfcn/libdl.so.
13462 * math/Makefile
13463 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13464 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13465 [$(build-shared) = yes].
13466 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13467 $(common-objpfx)nptl/libpthread.so.
13468 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13469 $(common-objpfx)math/libm.so$(libm.so-version) or
13470 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13471 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13472 $(common-objpfx)dlfcn/libdl.so.
13473 * setjmp/Makefile (link-libm): Remove variable.
13474 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13475 * stdio-common/Makefile (link-libm): Remove variable.
13476 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13477 * stdlib/Makefile (link-libm): Remove variable.
13478 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13479 ($(objpfx)tst-strtod-round): Likewise.
13480 ($(objpfx)tst-tininess): Likewise.
13481 ($(objpfx)tst-strtod-underflow): Likewise.
13482 ($(objpfx)tst-strtod6): Likewise.
13483 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13484 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13485 $(common-objpfx)dlfcn/libdl.so.
13486
026b0fe4
AZ
134872014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13488
13489 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13490 BSD terminal modes definitions.
13491
def4bcb2
RM
134922014-05-16 Roland McGrath <roland@hack.frob.com>
13493
fe39b021
RM
13494 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13495 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13496
1d1fc46e 13497 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
13498 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13499 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13500 Don't do #include_next.
13501 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13502 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13503 Don't do #include_next.
13504 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13505 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13506 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13507 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13508
c72399fb
AM
135092014-05-16 Allan McRae <allan@archlinux.org>
13510
d51d659d
AM
13511 * po/sv.po: Update Swedish translation from translation project.
13512
c72399fb
AM
13513 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13514 in sed expression.
13515
d0583c40
AJ
135162014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13517
13518 [BZ #16917]
13519 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13520 errno if the TIOCGPTN ioctl fails with an error different than
13521 EINVAL.
13522 * login/tst-ptsname.c: New file.
13523 * login/Makefile (tests): Add tst-ptsname.
13524
d16e6ec7
AJ
13525 [BZ #16943]
13526 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13527 and prlimit64.
13528
cf26a0cb
SP
135292014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13530
13531 [BZ #16849]
13532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13533 herrno to return EAI_AGAIN.
13534
5675da1e
RM
135352014-05-14 Roland McGrath <roland@hack.frob.com>
13536
a5d87b3d
RM
13537 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13538 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13539 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13540 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13541 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13542 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13543 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13544 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13545 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13546 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13547 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13548 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13549 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13550 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13551 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13552 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13553 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13554 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13555 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13556 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13557 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13558 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13559 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13560 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13561 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13562 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13563 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13564 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13565 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13566 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13568 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13570 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13572 Moved ...
13573 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13575 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13577 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13579 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13581 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13583 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13585 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13587 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13589 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13591 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13593 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13595 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13597 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13599 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13601 Moved ...
13602 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13604 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13606 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13608 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13610 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13612 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13614 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13616 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13618 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13620 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13622 Moved ...
13623 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13625 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13626
039890a6
RM
13627 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13628 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13629 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13630 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13631 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13632 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13633 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13634 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13635 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13636 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13637 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13638 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13639 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13640 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13641 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13642 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13643 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13644 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13645 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13646 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13647 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13648 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13649 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13650 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13651 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13652 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13653 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13654 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13655 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13656 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13657 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13658
65c89320
RM
13659 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13660 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13661
348f8e8c
RM
13662 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13663 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13664 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13665 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13666 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13667 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13668 Moved ...
13669 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13670 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13671 Moved ...
13672 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13673 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13674 Moved ...
13675 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13676 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13677 Moved ...
13678 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13679 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13680 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13681 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13682 Moved ...
13683 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13684 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13685 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13686 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13687 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13688 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13689 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13690 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13691 Moved ...
13692 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13693 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13694 Moved ...
13695 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13696 ... here.
13697 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13698 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13699 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13700 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13701 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13702 Moved ...
13703 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13704 ... here.
13705 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13706 Moved ...
13707 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13708 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13709 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13710 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13711 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13712 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13713 Moved ...
13714 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13715 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13716 Moved ...
13717 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13718 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13719 Moved ...
13720 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13721 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13722 Moved ...
13723 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13724 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13725 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13726 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13727 Moved ...
13728 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13729 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13730 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13731 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13732 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13733 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13734 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13735 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13736 Moved ...
13737 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13738 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13739 Moved ...
13740 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13741 ... here.
13742 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13743 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13744 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13745 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13746 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13747 Moved ...
13748 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13749 ... here.
13750 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13751 Moved ...
13752 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13753 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13754 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13755 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13756 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13757 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13758 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13759 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13760 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13761 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13762 Moved ...
13763 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13764 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13765 Moved ...
13766 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13767 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13768 Moved ...
13769 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13770 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13771 Moved ...
13772 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13773 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13774 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13775 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13776 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13777 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13778 Moved ...
13779 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13780 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13781 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13782 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13783 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13784 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13785 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13786 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13787 Moved ...
13788 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13789 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13790 Moved ...
13791 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13792 ... here.
13793 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13794 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13795 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13796 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13797 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13798 Moved ...
13799 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13800 ... here.
13801 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13802 Moved ...
13803 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13804 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13805 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13806 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13807 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13808 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13809 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13810 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13811 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13812 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13813 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13814
5085af05
RM
13815 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13816 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13817
708f0813
RM
13818 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13819 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13820
c96067bc
RM
13821 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13822 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13823 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13824 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13825 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13826 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13827 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13828 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13829 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13830 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13831 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13832 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13833 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13834 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13835 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13836 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13837 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13838 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13839 Moved ...
13840 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13841 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13842 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13843 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13844 Moved ...
13845 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13846 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13847 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13848 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13849 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13850 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13851 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13852 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13853 Moved ...
13854 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13855 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13856 Moved ...
13857 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13858 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13859 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13860 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13861 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13862 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13863 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13864 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13865 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13866 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13867 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13868 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13869 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13870 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13871 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13872 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13873 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13874
ec136444
RM
13875 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13876 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13877 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13878 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13879 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13880
2fbdf533
RM
13881 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13882 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13883 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13884 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13885 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13886 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13887 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13888 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13889 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13890 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13891
4c68138b
RM
13892 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13893 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13894
4eaae765
RM
13895 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13896 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13897 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13898 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13899 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13900 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13901 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13902 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13903 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13904 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13905 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13906 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13907 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13908 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13909 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13910 Update #include.
13911 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13912 Likewise.
13913 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13914 Likewise.
13915 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13916 Likewise.
13917 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13918 Likewise.
13919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13920 Likewise.
13921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13922 Likewise.
13923 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13924 Likewise.
13925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13926 Likewise.
13927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13928 Likewise.
4ef6befa
RM
13929 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13930 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13931 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13932 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13933 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13934 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13935 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13936 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13937 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13938 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13939 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13940 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13941 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13942 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13943 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13944
941d7dfd
RM
13945 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13946 that was previously under [RESET_PID].
13947 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13948 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13949 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13950
1b731c35
RM
13951 * sysdeps/i386/nptl/Implies: New file.
13952 * sysdeps/x86_64/nptl/Implies: New file.
13953 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13954 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13955 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13956 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13957
e2787137
RM
13958 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13959 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13960 (__libc_vfork): New strong alias.
13961 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13962 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13963
13964 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13965 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13966 (__libc_vfork): New strong alias.
13967 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13968 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13969
5675da1e
RM
13970 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13971 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13972 (__libc_vfork): New strong alias.
13973 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13974 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13975 * nptl/pt-vfork.c: New file.
13976 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13977 (libpthread: GLIBC_2.20): New version set (empty).
13978
4f02e2b8
WN
139792014-05-14 Will Newton <will.newton@linaro.org>
13980
13981 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13982 rather than #if.
13983
0bf061d3
JM
139842014-05-14 Joseph Myers <joseph@codesourcery.com>
13985
1a84c3d6
JM
13986 [BZ #16564]
13987 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13988 arguments with exponent 65 or above.
13989 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13990 arguments 0x1p113L or above.
13991 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13992 to arguments 0x1p107L or above.
13993 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13994 positive arguments with exponent 65 or above.
13995 * math/auto-libm-test-in: Add more tests of log1p.
13996 * math/auto-libm-test-out: Regenerated.
13997
01dbacd2
JM
13998 [BZ #16928]
13999 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14000 non-finite arguments is +0.
14001 * math/s_cacosf.c (__cacosf): Likewise.
14002 * math/s_cacosl.c (__cacosl): Likewise.
14003 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14004 * sysdeps/i386/fpu/libm-test-ulps: Update.
14005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14006
913d03c8
JM
14007 [BZ #16927]
14008 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14009 value.
14010 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14011 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14012 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14013 for explicit high bit of mantissa when testing for argument equal
14014 to 1.
14015 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14016 * sysdeps/i386/fpu/libm-test-ulps: Update.
14017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14018
0bf061d3
JM
14019 [BZ #16516]
14020 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14021 (__erf): Scale by 16 instead of 8 in potentially underflowing
14022 case. Ensure exception if result actually underflows.
14023 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14024 (__erff): Scale by 16 instead of 8 in potentially underflowing
14025 case. Ensure exception if result actually underflows.
14026 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14027 (efx8): Remove variable.
14028 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14029 case. Ensure exception if result actually underflows.
14030 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14031 (efx8): Remove variable.
14032 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14033 case. Ensure exception if result actually underflows.
14034 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14035 (efx8): Remove variable.
14036 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14037 case. Ensure exception if result actually underflows.
14038 * math/auto-libm-test-in: Add more tests of erf.
14039 * math/auto-libm-test-out: Regenerated.
14040
73ba67cb
AS
140412014-05-14 Andreas Schwab <schwab@suse.de>
14042
3d8c8bff
AS
14043 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14044 Remove code conditionalized on USE___THREAD.
14045
73ba67cb
AS
14046 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14047 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14048 not definedness.
14049
5c521ecd
JM
140502014-05-14 Joseph Myers <joseph@codesourcery.com>
14051
5e7698c6
JM
14052 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14053 Define unconditionally.
14054 (__ASSUME_O_CLOEXEC): Likewise.
14055 (__ASSUME_SOCK_CLOEXEC): Likewise.
14056 (__ASSUME_IN_NONBLOCK): Likewise.
14057 (__ASSUME_PIPE2): Likewise.
14058 (__ASSUME_EVENTFD2): Likewise.
14059 (__ASSUME_SIGNALFD4): Likewise.
14060 (__ASSUME_DUP3): Likewise.
14061 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14062 (__ASSUME_DUP3): Do not define.
14063 (__ASSUME_EVENTFD2): Likewise.
14064 (__ASSUME_IN_NONBLOCK): Likewise.
14065 (__ASSUME_O_CLOEXEC): Likewise.
14066 (__ASSUME_PIPE2): Likewise.
14067 (__ASSUME_SIGNALFD4): Likewise.
14068 (__ASSUME_SOCK_CLOEXEC): Likewise.
14069 (__ASSUME_UTIMES): Undefine.
14070 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14071 (__ASSUME_UTIMES): Do not define.
14072 (__ASSUME_O_CLOEXEC): Likewise.
14073 (__ASSUME_SOCK_CLOEXEC): Likewise.
14074 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14075 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14076 0x020621].
14077 (__ASSUME_PIPE2): Likewise.
14078 (__ASSUME_EVENTFD2): Likewise.
14079 (__ASSUME_SIGNALFD4): Likewise.
14080 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14081 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14082 Do not define.
14083 (__ASSUME_EVENTFD2): Likewise.
14084 (__ASSUME_SIGNALFD4): Likewise.
14085 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14086 (__ASSUME_32BITUIDS): Likewise.
14087 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14088 (__ASSUME_IPC64): Likewise.
14089 (__ASSUME_ST_INO_64_BIT): Likewise.
14090 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14091 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14092 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14093 (__ASSUME_UTIMES): Do not define.
14094 (__ASSUME_PSELECT): Likewise.
14095 (__ASSUME_PPOLL): Likewise.
14096 (__ASSUME_O_CLOEXEC): Likewise.
14097 (__ASSUME_SOCK_CLOEXEC): Likewise.
14098 (__ASSUME_IN_NONBLOCK): Likewise.
14099 (__ASSUME_PIPE2): Likewise.
14100 (__ASSUME_EVENTFD2): Likewise.
14101 (__ASSUME_SIGNALFD4): Likewise.
14102 (__ASSUME_DUP3): Likewise.
14103 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14104 (__ASSUME_UTIMES): Likewise.
14105 (__ASSUME_O_CLOEXEC): Likewise.
14106 (__ASSUME_SOCK_CLOEXEC): Likewise.
14107 (__ASSUME_IN_NONBLOCK): Likewise.
14108 (__ASSUME_PIPE2): Likewise.
14109 (__ASSUME_EVENTFD2): Likewise.
14110 (__ASSUME_SIGNALFD4): Likewise.
14111 (__ASSUME_DUP3): Likewise.
14112 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14113 (__ASSUME_UTIMES): Likewise.
14114 (__ASSUME_O_CLOEXEC): Likewise.
14115 (__ASSUME_SOCK_CLOEXEC): Likewise.
14116 (__ASSUME_IN_NONBLOCK): Likewise.
14117 (__ASSUME_PIPE2): Likewise.
14118 (__ASSUME_EVENTFD2): Likewise.
14119 (__ASSUME_SIGNALFD4): Likewise.
14120 (__ASSUME_DUP3): Likewise.
14121 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14122 Likewise.
14123 (__ASSUME_UTIMES): Likewise.
14124 (__ASSUME_EVENTFD2): Likewise.
14125 (__ASSUME_SIGNALFD4): Likewise.
14126 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14127 (__ASSUME_O_CLOEXEC): Likewise.
14128 (__ASSUME_SOCK_CLOEXEC): Likewise.
14129 (__ASSUME_IN_NONBLOCK): Likewise.
14130 (__ASSUME_PIPE2): Likewise.
14131 (__ASSUME_EVENTFD2): Likewise.
14132 (__ASSUME_SIGNALFD4): Likewise.
14133 (__ASSUME_DUP3): Likewise.
14134 (__ASSUME_UTIMES): Undefine.
14135
5c521ecd
JM
14136 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14137 feclearexcept. Remove symbol versioning code.
14138 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14139 symbol versioning code.
14140 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14141 symbol versioning code.
14142 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14143 feupdateenv. Remove symbol versioning code.
14144 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14145 fegetexceptflag. Remove symbol versioning code.
14146 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14147 fesetexceptflag. Remove symbol versioning code.
14148 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14149 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14150 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14151 (__posix_fadvise64_l32): Remove prototype.
14152 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14153 code.
14154
5da9dfad
RM
141552014-05-13 Roland McGrath <roland@hack.frob.com>
14156
14157 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14158 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14159 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14160 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14161
893b4f37
SK
141622014-05-13 Sami Kerola <kerolasa@iki.fi>
14163
14164 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14165 current working directory
14166
e0db6517
RM
141672014-05-13 Roland McGrath <roland@hack.frob.com>
14168
58aa195d
RM
14169 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14170 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14171 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14172 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14173 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14174 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14175 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14176 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14177 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14178 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14179 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14180 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14181 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14182 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14183 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14184 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14185 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14186 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14187 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14188 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14189 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14190 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14191 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14192 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14193 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14194 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14195 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14196 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14197 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14198 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14199 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14200 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14201 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14202 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14203 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14204 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14205 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14206 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14207 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14208 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14209 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14210 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14211
8c6d01f0
RM
14212 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14213 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14214
14215 * sysdeps/unix/sysv/linux/arm/Makefile
14216 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14217 Add rt-aeabi_unwind_cpp_pr1.
14218 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14219 Add nptl-aeabi_unwind_cpp_pr1.
14220 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14221 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14222 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14223 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14224 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14225 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14226
14227 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14228 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14229 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14230 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14231
bba6da4e
RM
14232 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14233 Deconditionalize the code that was previously under [RESET_PID].
14234 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14235
e0db6517
RM
14236 * sysdeps/generic/exit-thread.h: New file.
14237 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14238 * include/unistd.h (__exit_thread): Remove declaration.
14239 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14240 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14241 * csu/libc-start.c: Include <exit-thread.h>.
14242 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14243 * nptl/pthread_create.c: Include <exit-thread.h>.
14244 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14245 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14246 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14247 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14248 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14249 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14250 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14251 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14252 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14253 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14254 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14255 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14256 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14257 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14258 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14259 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14260 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14261
01eb16fd
AS
142622014-05-13 Andreas Schwab <schwab@suse.de>
14263
14264 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14265
637461d9
JM
142662014-05-12 Joseph Myers <joseph@codesourcery.com>
14267
14268 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14269 (__ASSUME_UTIMES): Do not condition on kernel version.
14270 (__ASSUME_PSELECT): Define unconditionally.
14271 (__ASSUME_PPOLL): Likewise.
14272 (__ASSUME_ATFCTS): Likewise.
14273 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14274 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14275 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14276 (__ASSUME_UTIMENSAT): Define unconditionally.
14277 (__ASSUME_PRIVATE_FUTEX): Likewise.
14278 (__ASSUME_FALLOCATE): Likewise.
14279 (__ASSUME_O_CLOEXEC): Likewise.
14280 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14281 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14282 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14283 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14284 (__ASSUME_IN_NONBLOCK): Likewise.
14285 (__ASSUME_PIPE2): Likewise.
14286 (__ASSUME_EVENTFD2): Likewise.
14287 (__ASSUME_SIGNALFD4): Likewise.
14288 (__ASSUME_DUP3): Likewise.
14289 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14290 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14291 (__ASSUME_AT_RANDOM): Likewise.
14292 (__ASSUME_PREADV): Likewise.
14293 (__ASSUME_PWRITEV): Likewise.
14294 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14295 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14296 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14297 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14298 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14299 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14300 (__ASSUME_O_CLOEXEC): Define unconditionally.
14301 (__ASSUME_PSELECT): Do not undefine conditionally.
14302 (__ASSUME_PPOLL): Likewise.
14303 (__ASSUME_ATFCTS): Likewise.
14304 (__ASSUME_SET_ROBUST_LIST): Likewise.
14305 (__ASSUME_UTIMENSAT): Likewise.
14306 (__ASSUME_FDATASYNC): Define unconditionally.
14307 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14308 (__ASSUME_SIGFRAME_V2): Likewise.
14309 )__ASSUME_EVENTFD2): Likewise.
14310 (__ASSUME_SIGNALFD4): Likewise.
14311 (__ASSUME_PSELECT): Do not undefine conditionally.
14312 (__ASSUME_PPOLL): Likewise.
14313 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14314 (__ASSUME_PSELECT): Define unconditionally.
14315 (__ASSUME_PPOLL): Likewise.
14316 (__ASSUME_O_CLOEXEC): Likewise.
14317 (__ASSUME_SOCK_CLOEXEC): Likewise.
14318 (__ASSUME_IN_NONBLOCK): Likewise.
14319 (__ASSUME_PIPE2): Likewise.
14320 (__ASSUME_EVENTFD2): Likewise.
14321 (__ASSUME_SIGNALFD4): Likewise.
14322 (__ASSUME_DUP3): Likewise.
14323 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14324 (__ASSUME_O_CLOEXEC): Likewise.
14325 (__ASSUME_SOCK_CLOEXEC): Likewise.
14326 (__ASSUME_IN_NONBLOCK): Likewise.
14327 (__ASSUME_PIPE2): Likewise.
14328 (__ASSUME_EVENTFD2): Likewise.
14329 (__ASSUME_SIGNALFD4): Likewise.
14330 (__ASSUME_DUP3): Likewise.
14331 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14332 (__ASSUME_EVENTFD2): Likewise.
14333 (__ASSUME_SIGNALFD4): Likewise.
14334 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14335
315eb1d8
AS
143362014-05-12 Andreas Schwab <schwab@suse.de>
14337
14338 [BZ #16932]
14339 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14340 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14341 than maximum RPC packet size.
14342 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14343 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14344 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14345 (_nss_nis_getservbyport_r): Likewise.
14346
91df99f7
WN
143472014-05-12 Will Newton <will.newton@linaro.org>
14348
14349 * malloc/Makefile (tests): Add tst-mallopt.
14350 * malloc/tst-mallopt.c: New file.
14351
0a982a29
RM
143522014-05-09 Roland McGrath <roland@hack.frob.com>
14353
14354 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14355 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14356
0ded08a5
AZ
143572014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14358
14359 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14360 (tst-tlsmod6.so): Likewise.
14361
55d4d550
RM
143622014-05-09 Roland McGrath <roland@hack.frob.com>
14363
14364 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14365
77d08aca
JM
143662014-05-09 Joseph Myers <joseph@codesourcery.com>
14367
14368 [BZ #16064]
14369 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14370 and <dl-procinfo.h>.
14371 (__fegetenv): Save SSE state in envp->__eip if supported.
14372 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14373 envp->__eip if supported.
14374 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14375 and <dl-procinfo.h>.
14376 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14377 __data_offset and __data_selector in environment to 0. Set SSE
14378 state if supported.
14379 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14380 test-fenv-sse.
14381 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14382 -mfpmath=sse.
14383 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14384
28162f4d
WN
143852014-05-09 Will Newton <will.newton@linaro.org>
14386
14387 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14388 and libc_relro_required for ARM.
14389 * sysdeps/arm/preconfigure: Regenerate.
14390
5a414ff7
DV
143912014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14392 Stefan Liebler <stli@linux.vnet.ibm.com>
14393
14394 * config.make.in (enable-lock-elision): New Makefile variable.
14395 * configure.ac: Likewise.
14396 * configure: Regenerate.
14397 * sysdeps/s390/configure.ac:
14398 Add check for gcc transactions support.
14399 * sysdeps/s390/configure: Regenerate.
14400 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14401 Build elision files if enabled.
14402 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14403 Add lock elision support for s390.
14404 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14405 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14406 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14407 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14408 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14409 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14410 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14411 Likewise.
14412 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14413 Likewise.
14414 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14415 Likewise.
14416 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14417 Likewise.
14418 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14419 (__lll_timedlock_elision, __lll_lock_elision)
14420 (__lll_unlock_elision, __lll_trylock_elision)
14421 (lll_timedlock_elision, lll_lock_elision)
14422 (lll_unlock_elision, lll_trylock_elision): Add.
14423 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14424 (pthread_mutex_t): Add lock elision support for s390.
14425
1a2f40e5
W
144262014-05-14 Wilco <wdijkstr@arm.com>
14427
14428 * sysdeps/arm/fclrexcpt.c: Cleanup.
14429 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14430 * sysdeps/arm/feenablxcpt.c: Cleanup.
14431 * sysdeps/arm/fegetenv.c: Cleanup.
14432 * sysdeps/arm/fegetexcept.c: Cleanup.
14433 * sysdeps/arm/fegetround.c: Cleanup.
14434 * sysdeps/arm/feholdexcpt.c: Cleanup.
14435 * sysdeps/arm/fesetenv.c: Cleanup.
14436 * sysdeps/arm/fesetround.c: Cleanup.
14437 * sysdeps/arm/feupdateenv.c: Cleanup.
14438 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14439 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14440 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14441 * sysdeps/arm/ftestexcept.c: Cleanup.
14442 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14443 * sysdeps/arm/setfpucw.c: Cleanup.
14444
f63c86fe
WN
144452014-05-09 Will Newton <will.newton@linaro.org>
14446
14447 * sysdeps/arm/armv7/strcmp.S: New file.
14448 * NEWS: Mention addition of ARMv7 optimized strcmp.
14449
7a1a51b5
RM
144502014-05-08 Roland McGrath <roland@hack.frob.com>
14451
95afbbe5
RM
14452 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14453 look for %.ac rather than %.in.
14454
14455 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14456 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14457 * sysdeps/mach/hurd/configure: Regenerated.
14458 * sysdeps/unix/sysv/linux/configure: Regenerated.
14459
7a1a51b5
RM
14460 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14461
5057ad3b
SE
144622014-05-07 Steve Ellcey <sellcey@mips.com>
14463
14464 [BZ# 16922]
14465 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14466 (LONG_SUB): Ditto.
14467 (PTR_SUB): Ditto.
14468
8dc97517
AS
144692014-05-07 Andreas Schwab <schwab@suse.de>
14470
14471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14472 when skipping over non-matching result from nscd.
14473
ce0c5b8f
OB
144742014-05-07 Ondřej Bílka <neleai@seznam.cz>
14475
14476 [BZ #16876]
14477 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14478
a1189263
OB
14479 [BZ #16877]
14480 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14481 nscd security class.
ce0c5b8f 14482
0f58d252
RM
144832014-05-06 Roland McGrath <roland@hack.frob.com>
14484
14485 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14486 * sysdeps/arm/unwind.h: ... here.
14487
83df9ad0
AJ
144882014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14489
ce0c5b8f
OB
14490 [BZ# 16916]
14491 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14492 Define.
83df9ad0 14493
f360f94a
VR
144942014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14495
14496 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14497 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14498 multiarch strncpy for PPC64.
14499 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14500 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14502 multiarch optimizations.
14503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14504 (__libc_ifunc_impl_list): Likewise.
14505 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14506 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14507 multiarch stpncpy for PPC64.
14508 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14509 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14510
978a41c3
AS
145112014-05-06 Andreas Schwab <schwab@suse.de>
14512
14513 [BZ #16912]
14514 * gmon/mcount.c (_MCOUNT_DECL): Use
14515 atomic_compare_and_exchange_bool_acq instead of
14516 catomic_compare_and_exchange_bool_acq.
14517
eb1ed03d
RM
145182014-05-05 Roland McGrath <roland@hack.frob.com>
14519
fe658845
RM
14520 * elf/Makefile (others, install-bin): Remove pldd.
14521 (pldd-modules): Variable removed.
14522 ($(objpfx)pldd): Target removed.
14523 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14524 (others, install-bin): Append pldd here.
14525 ($(objpfx)pldd): New target.
14526
eb1ed03d
RM
14527 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14528 to 0, so the first #if test emitted later doesn't see it undefined.
14529 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14530 * sysdeps/gnu/errlist.c: Regenerated.
14531
19c4bec0
AZ
145322014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14533
14534 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14535 [libc_hidden_builtin_def]: Define to empty value.
14536 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14537 [libc_hidden_builtin_def]: Likewise.
14538 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14539 [libc_hidden_builtin_def]: Likewise.
14540 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14541 [libc_hidden_builtin_def]: Likewise.
14542 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14543 __redirect_memcpy and define ifunc as default hidden symbol.
14544 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14545 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14546
7776e669
AC
145472014-05-04 Adam Conrad <adconrad@0c3.net>
14548
14549 * locale/iso-4217.def: Reintroduce XDR currency.
14550
d69aeb12
AM
145512014-05-04 Allan McRae <allan@archlinux.org>
14552
14553 * po/eo.po: Update Esperanto translation from translation project.
14554
8f1df5cf
CD
145552014-05-02 Carlos O'Donell <carlos@redhat.com>
14556
14557 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14558 and FEATURE_INDEX_MAX to 1.
14559 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14560
13e402e7
SE
145612014-05-01 Steve Ellcey <sellcey@mips.com>
14562
14563 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14564 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14565 * iconvdata/big5.c (ONE_DIRECTION): Define.
14566 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14567 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14568 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14569 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14570 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14571 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14572 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14573 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14574 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14575 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14576 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14577 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14578 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14579 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14580 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14581 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14582 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14583 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14584 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14585 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14586 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14587 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14588 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14589 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14590 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14591 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14592 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14593 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14594 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14595 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14596 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14597 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14598 * iconvdata/johab.c (ONE_DIRECTION): Define.
14599 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14600 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14601 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14602 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14603 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14604 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14605 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14606 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14607 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14608 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14609
c727f032
RM
146102014-05-01 Roland McGrath <roland@hack.frob.com>
14611
8f2f08d0
RM
14612 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14613 (_IO_JUMPS_OFFSET): Define to 0.
14614
c727f032
RM
14615 * nptl/sysdeps/pthread/bits/libc-lock.h
14616 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14617 (__libc_lock_define_initialized_recursive): Always define using
14618 initializer. Modern compilers treat uninitialized (implicit zero) and
14619 explicit zero initializers the same (i.e. put the datum in bss).
14620
a849e800
AS
146212014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14622
14623 * nscd/nscd-client.h: Include <string.h>.
14624
5331255b
DM
146252014-05-01 David S. Miller <davem@davemloft.net>
14626
14627 [BZ #16885]
14628 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14629 multiple zero bytes exist at the end of a string.
14630 Reported by Aurelien Jarno <aurelien@aurel32.net>
14631
14632 * string/test-strcmp.c (check): Add explicit test for situations where
14633 there are multiple zero bytes after the first.
14634
4fdfe821
AS
146352014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14636
14637 [BZ #16890]
14638 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14639 when compiling wprintf.
14640 * stdio-common/tstdiomisc.c (t3): New function.
14641 (main): Call it.
14642
0cdddc25
SE
146432014-05-01 Steve Ellcey <sellcey@mips.com>
14644
14645 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14646 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14647 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14648 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14649
6426d77e
SE
146502014-05-01 Steve Ellcey <sellcey@mips.com>
14651
14652 * stdlib/longlong.h: Updated from GCC.
14653
6d96f5e4
WN
146542014-05-01 Will Newton <will.newton@linaro.org>
14655 Bernard Ogden <bernie.ogden@linaro.org>
14656
7470db0c
WN
14657 * NEWS: Update fixed bug list.
14658
6d96f5e4
WN
14659 [BZ #15119]
14660 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14661
211d653c
DM
146622014-04-30 David S. Miller <davem@davemloft.net>
14663
4fa262fa
DM
14664 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14665 (libc_feholdexcept_setround_sparc_ctx): New function.
14666 (libc_fesetenv_sparc_ctx): Likewise.
14667 (libc_feupdateenv_sparc_ctx): Likewise.
14668 (libc_feholdsetround_sparc_ctx): Likewise.
14669 (libc_feholdexcept_setround_ctx): Define.
14670 (libc_feholdexcept_setroundf_ctx): Likewise.
14671 (libc_feholdexcept_setroundl_ctx): Likewise.
14672 (libc_fesetenv_ctx): Likewise.
14673 (libc_fesetenvf_ctx): Likewise.
14674 (libc_fesetenvl_ctx): Likewise.
14675 (libc_feupdateenv_ctx): Likewise.
14676 (libc_feupdateenvf_ctx): Likewise.
14677 (libc_feupdateenvl_ctx): Likewise.
14678 (libc_feresetround_ctx): Likewise.
14679 (libc_feresetroundf_ctx): Likewise.
14680 (libc_feresetroundl_ctx): Likewise.
14681 (libc_feholdsetround_ctx): Likewise.
14682 (libc_feholdsetroundf_ctx): Likewise.
14683 (libc_feholdsetroundl_ctx): Likewise.
14684
1d3d93ef
DM
14685 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14686 with __USE_GNU instead of XOPEN cpp guards.
14687
8aa583c3
DM
14688 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14689 0.
14690
211d653c
DM
14691 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14692 with XOPEN cpp guards.
14693
60c8f1f6
JB
146942014-04-30 Julian Brown <julian@codesourcery.com>
14695
14696 [BZ #16888]
14697 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14698 handling.
14699
9a461d46
JM
147002014-04-30 Joseph Myers <joseph@codesourcery.com>
14701
d0f5b3f8
JM
14702 [BZ #9894]
14703 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14704 Change to 2.6.32.
14705 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14706 * sysdeps/unix/sysv/linux/configure: Regenerated.
14707 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14708 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14709 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14710 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14711 * README: Update reference to required Linux kernel version.
14712 * manual/install.texi (Linux): Update reference to required Linux
14713 kernel headers version.
14714 * INSTALL: Regenerated.
14715
9a461d46
JM
14716 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14717 header inclusion.
14718 [POSIX] (limits.h): Likewise.
14719 [POSIX] (math.h): Likewise.
14720 [POSIX] (sys/wait.h): Likewise.
14721 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14722 function.
14723 [POSIX] (stddef.h): Do not allow header inclusion.
14724
1775babf
AZ
147252014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14726
57f41c40 14727 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14728
8f630cca
YY
147292014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14730
14731 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14732 Return immediately after lll_futex_wake.
14733
1cdeb237
SP
147342014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14735
bc8f194c
SP
14736 [BZ #16791]
14737 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14738 structure.
14739 (datahead_init_pos): Call datahead_init_common early.
14740 (datahead_init_neg): Likewise.
14741
1cdeb237
SP
14742 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14743 datahead_init_neg): New functions.
14744 * nscd/aicache.c (addhstaiX): Use them.
14745 * nscd/grpcache.c (cache_addgr): Likewise.
14746 * nscd/hstcache.c (cache_addhst): Likewise.
14747 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14748 * nscd/netgroupcache.c (do_notfound): Likewise.
14749 (addgetnetgrentX): Likewise.
14750 (addinnetgrX): Likewise.
14751 * nscd/pwdcache.c (cache_addpw): Likewise.
14752 * nscd/servicescache.c (cache_addserv): Likewise.
14753
16b293a7
SP
147542014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14755 Atsushi Onoe <atsushi@onoe.org>
14756
14757 [BZ #14308]
14758 [BZ #12994]
14759 [BZ #13651]
14760 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14761 one response is valid.
14762 * resolv/res_send.c (send_dg): Check for validity of other
14763 response if the current response is a referral.
14764
a28a9b94
SE
147652014-04-29 Steve Ellcey <sellcey@mips.com>
14766
14767 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14768
2ca180e9
SL
147692014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14770
14771 [BZ #16823]
14772 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14773 Always divide by positive zero when computing -Inf result.
14774 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14775 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14776
18f2945a
AZ
147772014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14778
14779 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14780 FPSCR if value do not change.
14781 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14782 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14783 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14784 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14785 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14786 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14787 function.
14788
5abebba4
CD
147892014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14790
14791 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14792 * sysdeps/unix/sysv/linux/hppa: Move directory from
14793 ports/systeps/unix/sysv/linux/hppa.
14794 * README: Update listing for hppa-*-linux-gnu.
14795
f7ed60c2
OB
147962014-04-28 Ondřej Bílka <neleai@seznam.cz>
14797
fff763a5
OB
14798 [BZ #16754]
14799 * manual/stdio.texi (Hook functions): Fix types of stream hook
14800 functions.
f7ed60c2
OB
14801 [BZ #16854]
14802 * socket/sys/socket.h: Fix typo in comment.
14803
df639d73
WD
148042014-04-28 Wilco <wdijkstr@arm.com>
14805
f7ed60c2 14806 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14807 * sysdeps/arm/math_private.h: New file.
14808 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14809
48332d82
L
148102014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14811
14812 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14813 with __int128_t.
14814 (La_x86_64_retval): Likewise.
14815
e5e0d9a4
IB
148162014-04-24 Ian Bolton <ian.bolton@arm.com>
14817
14818 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14819 fpsr if value didn't change.
14820 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14821 to fpcr if value didn't change.
14822 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14823 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14824 fpsr or fpcr if value didn't change.
14825 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14826 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14827 fpcr if value didn't change.
14828 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14829 to fpsr if value didn't change.
14830
bacc75f7
SP
148312014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14832
14833 * nptl/tst-sem3.c: Use test-skeleton.c
14834 (main): Rename to do_test. Use return instead of
14835 exit.
14836 * nptl/tst-sem4.c: Use test-skeleton.c
14837 (main): Rename to do_test.
14838
a059d359
DM
148392014-04-22 David S. Miller <davem@davemloft.net>
14840
14841 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14842 (struct sigaction): New struct member __glibc_reserved0, change
14843 type of sa_flags to int.
14844
ea6c92f3
YZ
148452014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14846
14847 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14848 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14849
766c4a36
SP
148502014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14851
14852 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14853 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14854
140cc7ab
VK
148552014-04-22 Will Newton <will.newton@linaro.org>
14856 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14857
14858 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14859 (__longjmp): Add longjmp and longjmp_target SystemTap
14860 probes.
14861 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14862 (__sigsetjmp): Add setjmp SystemTap probe.
14863
c54e5cf7
CD
148642014-04-17 Carlos O'Donell <carlos@redhat.com>
14865
14866 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14867 match manual order.
14868
75ffb047
AZ
148692014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14870
14871 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14872
2cd925f7
AZ
14873 * sysdeps/powerpc/fpu/fenv_private.h
14874 (libc_feholdexcept_setroundl_ctx): Define to
14875 libc_feholdexcept_setround_ppc_ctx.
14876 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14877 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14878 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14879 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14880
39e6cd8d
IB
148812014-04-17 Ian Bolton <ian.bolton@arm.com>
14882
14883 * sysdeps/aarch64/math-tests.h: New file.
14884
f9281df9
SY
148852014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14886
14887 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14888 New.
14889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14890 Check and set bit_AVX2_Usable.
14891 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14892 macro.
14893 (bit_AVX2): Likewise.
14894 (index_AVX2_Usable): Likewise.
14895 (CPUID_AVX2): Likewise.
14896 (HAS_AVX2): Likewise.
14897
37d35007
WN
148982014-04-17 Will Newton <will.newton@linaro.org>
14899
7c677662
WN
14900 * manual/setjmp.texi (System V contexts): Add note that
14901 calling setcontext on a context created by a call to a
14902 signal handler is undefined. Update text to note that
14903 setcontext from a signal handler is possible but not
14904 recommended.
14905
37d35007 14906 [BZ #16629]
e04a4e9d
WN
14907 * stdlib/tst-setcontext.c: Include signal.h.
14908 (main): Check that the signal stack before and
14909 after swapcontext is the same.
14910
37d35007
WN
14911 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14912 Re-implement to restore registers in user code and avoid
14913 rt_sigreturn system call.
14914
423a7160
W
149152014-04-17 Wilco <wdijkstr@arm.com>
14916
14917 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14918 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14919 * math/test-fenv.c: Skip exception trap tests on targets which only
14920 support non-stop mode.
14921
bc93ab29
IB
149222014-04-17 Ian Bolton <ian.bolton@arm.com>
14923 Wilco Dijkstra <wilco.dijkstra@arm.com>
14924
14925 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14926 (libc_feholdsetround_aarch64_ctx)
14927 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14928 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14929 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14930 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14931 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14932 (libc_feresetround_noexl_ctx): Define.
14933
95fc5fa3
RH
149342014-04-16 Richard Henderson <rth@redhat.com>
14935
ddb04724
RH
14936 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14937
d77c0899
RH
14938 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14939 unwind tables.
14940
a3df56fc
RH
14941 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14942 const from the non-libc, non-ldso copy.
14943
95fc5fa3
RH
14944 * sysdeps/alpha/libm-test-ulps: Regenerate.
14945
7e0b6763
IB
149462014-04-16 Ian Bolton <ian.bolton@arm.com>
14947 Wilco Dijkstra <wilco.dijkstra@arm.com>
14948
14949 * sysdeps/aarch64/fpu/math_private.h: New file.
14950
a9ea2e0c
MS
149512014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14952
14953 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14954
ea8ba7cd
IZ
149552014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14956
7e54fd04 14957 [BZ #16275]
ea8ba7cd
IZ
14958 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14959 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14960 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14961 Intel MPX bound registers before _dl_profile_fixup.
14962 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14963 registers after _dl_profile_fixup. Save and restore bound
14964 registers bnd0/bnd1 when calling _dl_call_pltexit.
14965 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14966 (LR_BND_OFFSET): Likewise.
14967 (LRV_BND0_OFFSET): Likewise.
14968 (LRV_BND1_OFFSET): Likewise.
14969
9f2a4fbc
ST
149702014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14971
14972 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14973 to...
14974 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
14975 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14976 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14977 fields.
9f2a4fbc 14978
fd15a59b
ST
149792014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14980
14981 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14982
f19dfa0a
SL
149832014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14984
14985 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14986
4fa8bc3b
SL
149872014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14988
14989 [BZ #14770]
14990 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14991 * sysdeps/s390/configure: Regenerate.
14992
8ea587db
SL
14993 [BZ #16824]
14994 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14995 Set round-to-nearest internally to reduce error accumulation.
14996
aa5f0ff1
AM
149972014-04-16 Alan Modra <amodra@gmail.com>
14998
14999 [BZ #16740]
15000 [BZ #16619]
15001 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15002 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 15003 * NEWS: Update fixed bug list.
aa5f0ff1 15004
bb9c256f
SP
150052014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15006
15007 * benchtests/Makefile: Depend on libraries in build directory.
15008 (bench-math): Separate out math tests.
15009 (bench-pthread): Separate out pthread tests.
15010 (bench): Include math and pthread tests.
15011
f737dfd0
CD
150122014-04-14 Carlos O'Donell <carlos@redhat.com>
15013
15014 [BZ #16831]
15015 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15016 _dl_debug_initialize.
15017
0699f766
CD
15018 * configure.ac: Remove SELinux header check.
15019 * configure: Regenerate.
15020 * nscd/selinux.c (perms): Array of const char* to permission names.
15021 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15022 default policy. Call string_to_security_class and string_to_av_perm to
15023 translate strings. Enforce default policy and call avs_has_perm with
15024 results of translated strings.
15025
809bd45f
DM
150262014-04-13 David S. Miller <davem@davemloft.net>
15027
15028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15029
89e691f2
AM
150302014-04-12 Allan McRae <allan@archlinux.org>
15031
15032 [BZ #16838]
15033 * manual/string.texi (Collation Functions): Fix qsort argument
15034 order in example.
15035 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15036
9c9daaeb
CM
150372014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15038
15039 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15040 Make the test a no-op if there are no exceptions defined.
15041
95561fb9
PP
150422014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15043
fe8d072c 15044 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
15045 enable-hardcoded-path-in-tests
15046
970c602a
WN
150472014-04-11 Will Newton <will.newton@linaro.org>
15048
15049 * benchtests/Makefile (extra-objs): Add json-lib.o.
15050 (bench-func): Tidy up JSON output.
15051 * benchtests/bench-skeleton.c: Include json-lib.h.
15052 (main): Use JSON library functions to do output of
15053 benchmark results.
15054 * benchtests/bench-timing-type.c (main): Output the
15055 timing type simply, leaving formatting to the user.
15056 * benchtests/json-lib.c: New file.
15057 * benchtests/json-lib.h: Likewise.
15058
36875b06
TR
150592014-04-11 Torvald Riegel <triegel@redhat.com>
15060
15061 [BZ #15215]
15062 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15063 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15064 memory barriers. Add comments.
15065 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15066 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15067 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15068 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15069 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15070 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15071
579db35a
SL
150722014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15073
15074 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15075 * sysdeps/s390/s390-64/configure.ac: ... this ...
15076 * sysdeps/s390/configure.ac: ... to here.
15077 * sysdeps/s390/s390-32/configure: Delete file.
15078 * sysdeps/s390/s390-64/configure: Delete file.
15079 * sysdeps/s390/configure: Regenerate.
15080
c12e9f37
JAPH
150812014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15082
15083 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15084
439bda32
WN
150852014-04-11 Will Newton <will.newton@linaro.org>
15086
15087 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15088 to zero if it is not defined elsewhere. (mtrim): Test
15089 the value of MALLOC_DEBUG with #if rather than #ifdef.
15090
6a5d6ea1
TR
150912014-04-10 Torvald Riegel <triegel@redhat.com>
15092
15093 * benchtests/pthread_once-inputs: New file.
15094 * benchtests/pthread_once-source.c: New file.
15095 * benchtests/README: Update documentation.
15096
a4c75cfd
IZ
150972014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15098 H.J. Lu <hongjiu.lu@intel.com>
15099
7e54fd04 15100 [BZ #16275]
a4c75cfd
IZ
15101 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15102 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15103 * sysdeps/x86_64/configure: Regenerated.
15104 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15105 macro.
15106 (REGISTER_SAVE_RAX): Likewise.
15107 (REGISTER_SAVE_RCX): Likewise.
15108 (REGISTER_SAVE_RDX): Likewise.
15109 (REGISTER_SAVE_RSI): Likewise.
15110 (REGISTER_SAVE_RDI): Likewise.
15111 (REGISTER_SAVE_R8): Likewise.
15112 (REGISTER_SAVE_R9): Likewise.
15113 (REGISTER_SAVE_BND0): Likewise.
15114 (REGISTER_SAVE_BND1): Likewise.
15115 (REGISTER_SAVE_BND2): Likewise.
15116 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15117 bound registers when calling _dl_fixup.
15118
27822ce6
AZ
151192014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15120
15121 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
15122 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15123 of its definition.
27822ce6
AZ
15124 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15125 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15126 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15127 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15128 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15129 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15130 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15131
a88ddc90
PTB
151322014-04-09 Peter Brett <peter@peter-b.co.uk>
15133
15134 [BZ #15514]
15135 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15136 pathconf(_PC_NAME_MAX).
15137
01f8eac2
AZ
151382014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15139
15140 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15141 Remove macro usage.
15142 (__PTHREAD_SPINS): Move definition to ...
15143 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15144 (__PTHREAD_SPINS): ... here.
15145 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15146 (__PTHREAD_SPIN): Likewise.
15147 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15148 (__PTHREAD_SPIN): Likewise.
15149 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15150 (__PTHREAD_SPIN): Likewise.
15151 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15152 (__PTHREAD_SPIN): Likewise.
15153 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15154 (__PTHREAD_SPIN): Likewise.
15155 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15156 (__PTHREAD_SPIN): Likewise.
15157 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15158 (__PTHREAD_SPIN): Likewise.
15159 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15160 (__PTHREAD_SPIN): Likewise.
15161 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15162 (__PTHREAD_SPIN): Likewise.
15163 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15164 (__PTHREAD_SPIN): Likewise.
15165 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15166 (__PTHREAD_SPIN): Likewise.
15167 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15168 (__PTHREAD_SPIN): Likewise.
15169
de21c33c
AZ
15170 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15171 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15172 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15173 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15174 imply folder.
15175 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15176 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15177 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15178 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15179 correct imply path.
15180 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15181 strlen symbol for non multi-arch builds.
15182 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15183 missing hidden_def and weak_alias.
15184
862c472e
CD
151852014-04-08 Carlos O'Donell <carlos@redhat.com>
15186
15187 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15188
8667f90e
WN
151892014-04-07 Will Newton <will.newton@linaro.org>
15190
15191 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15192 and contents. [!_LIBC] Remove #ifndef and contents.
15193 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15194 * string/memccpy.c (__memccpy): Use ANSI prototype.
15195 * string/memfrob.c (memfrob): Likewise.
15196 * string/strcoll.c (STRCOLL): Likewise.
15197 * string/strlen.c (strlen): Likewise.
15198 * string/strtok.c (STRTOK): Likewise.
15199 * string/strcat.c: Remove unused #include of memcopy.h.
15200 (strcat): Use ANSI prototype.
15201 * string/strchr.c: Remove unused #include of memcopy.h.
15202 (strchr): Use ANSI prototype.
15203 * string/strcmp.c: Remove unused #include of memcopy.h.
15204 (strcmp): Use ANSI prototype.
15205 * string/strcpy.c: Remove unused #include of memcopy.h.
15206 (strcpy): Use ANSI prototype.
15207
7ffa9423
AZ
152082014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15209
15210 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15211 * config.make.in (config-extra-cppflags): Set it from
15212 libc_extra_cppflags.
15213 * configure.ac (libc_extra_cflags): Make it accumulate over
15214 configure fragments.
15215 (libc_extra_cppflags): New flag.
15216 * configure. Regenerate.
15217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15218 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15219 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15221
8bd70862
AZ
15222 [BZ #16815]
15223 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15224 result for FE_DOWNWARD rounding mode.
15225 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15226 Likewise.
15227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15228
d42f3448
CM
152292014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15230
15231 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15232 in function argument name.
15233
1c21d115
DS
152342014-04-03 David Svoboda <svoboda@cert.org>
15235
15236 [BZ #5666]
15237 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15238 explicitly.
15239
fcccd512
RM
152402014-04-03 Roland McGrath <roland@hack.frob.com>
15241
15242 * elf/dl-unmap-segments.h: New file.
15243 * sysdeps/generic/ldsodefs.h
15244 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15245 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15246 * elf/dl-fptr.c: Likewise.
15247 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15248 * sysdeps/aarch64/tlsdesc.c: Likewise.
15249 * sysdeps/arm/tlsdesc.c: Likewise.
15250 * sysdeps/i386/tlsdesc.c: Likewise.
15251 * sysdeps/tile/dl-runtime.c: Likewise.
15252 * sysdeps/x86_64/tlsdesc.c: Likewise.
15253 * elf/dl-load.h: New file.
15254 * elf/dl-load.c: Include it.
15255 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15256 Macros moved to dl-load.h.
15257 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15258 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15259 Use _dl_unmap_segments in place of __munmap.
15260 Break out segment-mapping loop into ...
15261 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15262
f6488e2b
WN
152632014-04-03 Will Newton <will.newton@linaro.org>
15264
15265 * elf/dl-lookup.c (do_lookup_x): Remove comment
15266 referring to nested function and move variable
15267 declarations down to before first use.
15268
6f05bafe
JM
152692014-04-02 Joseph Myers <joseph@codesourcery.com>
15270
a84e78c8
JM
15271 [BZ #16799]
15272 [BZ #16800]
15273 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15274 with 0 numerator.
15275 * math/s_catanf.c (__catanf): Likewise.
15276 * math/s_catanh.c (__catanh): Likewise.
15277 * math/s_catanhf.c (__catanhf): Likewise.
15278 * math/s_catanhl.c (__catanhl): Likewise.
15279 * math/s_catanl.c (__catanl): Likewise.
15280 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15281 by positive zero when computing -Inf result.
15282 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15283 (catanh_test): Likewise.
15284 * sysdeps/i386/fpu/libm-test-ulps: Update.
15285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15286
6f05bafe
JM
15287 [BZ #16789]
15288 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15289 instead of using underflowing value in computing result.
15290 * math/s_clog10.c (__clog10): Likewise.
15291 * math/s_clog10f.c (__clog10f): Likewise.
15292 * math/s_clog10l.c (__clog10l): Likewise.
15293 * math/s_clogf.c (__clogf): Likewise.
15294 * math/s_clogl.c (__clogl): Likewise.
15295 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15296 (clog10_test): Likewise.
15297 * sysdeps/i386/fpu/libm-test-ulps: Update.
15298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15299
b0abbc21
AM
153002014-04-02 Alan Modra <amodra@gmail.com>
15301
15302 [BZ #16739]
15303 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15304 output when value is near a power of two. Use int64_t for lx and
15305 remove casts. Use decimal rather than hex exponent constants.
15306 Don't use long double multiplication when double will suffice.
15307 * math/libm-test.inc (nextafter_test_data): Add tests.
15308 * NEWS: Add 16739 and 16786 to bug list.
15309
af6b1797
AM
15310 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15311
483818d7
AM
15312 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15313
f6c55796
WN
153142014-04-01 Will Newton <will.newton@linaro.org>
15315
15316 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15317 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15318
13f7fe35
FW
153192014-04-01 Florian Weimer <fweimer@redhat.com>
15320
15321 [BZ #13347]
15322 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15323 * nptl/tst-setuid2.c: New file.
15324 * nptl/Makefile (xtests): Add tst-setuid2.
15325
c859b32e
AM
153262014-04-01 Alan Modra <amodra@gmail.com>
15327
15328 [BZ #16786]
15329 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15330
54fa2475
JM
153312014-03-31 Joseph Myers <joseph@codesourcery.com>
15332
8795b4a4
JM
15333 [BZ #6803]
15334 [BZ #6804]
15335 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15336 set errno as appropriate.
15337 * math/w_scalbf.c (__scalbf): Likewise.
15338 * math/w_scalbl.c (__scalbl): Likewise.
15339 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15340 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15341 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15342 Add more NaN tests.
15343
54fa2475
JM
15344 [BZ #16349]
15345 * math/w_atan2.c: Include <errno.h>.
15346 (__atan2): Set errno for result underflowing to zero.
15347 * math/w_atan2f.c: Include <errno.h>.
15348 (__atan2f): Set errno for result underflowing to zero.
15349 * math/w_atan2l.c: Include <errno.h>.
15350 (__atan2l): Set errno for result underflowing to zero.
15351 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15352 tests.
15353 * math/auto-libm-test-out: Regenerated.
15354
757d9dd5
AZ
153552014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15356
15357 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15358 Encode instruction correctly in little endian.
15359 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15360 Likewise.
15361 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15362 Likewise.
15363 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15364 Likewise.
15365 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15366 Likewise.
15367
d7a68734
JM
153682014-03-31 Joseph Myers <joseph@codesourcery.com>
15369
47c5adeb
JM
15370 [BZ #9894]
15371 * sysdeps/unix/sysv/linux/kernel-features.h
15372 [__sparc__ && !__arch64__ && !__sparc_v9__]
15373 (__ASSUME_SET_ROBUST_LIST): Do not define.
15374 [__sparc__ && !__arch64__ && !__sparc_v9__]
15375 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15376 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15377 Likewise.
15378 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15379 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15380 (__ASSUME_REQUEUE_PI): Likewise.
15381 (__ASSUME_SET_ROBUST_LIST): Likewise.
15382 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15383 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15384 Undefine.
15385 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15386 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15387 Likewise.
15388 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15389 Likewise.
15390 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15391 Likewise.
15392 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15393 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15394 Undefine.
15395 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15396 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15397 Likewise.
15398
d7a68734
JM
15399 [BZ #16648]
15400 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15401 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15402 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15403
c760f5c2
WN
154042014-03-31 Will Newton <will.newton@linaro.org>
15405
15406 * benchtests/Makefile (bench): Add ffs and ffsll to list
15407 of tests.
15408 * benchtests/ffs-inputs: New file.
15409 * benchtests/ffsll-inputs: Likewise.
15410
ea6029b1
JM
154112014-03-29 Joseph Myers <joseph@codesourcery.com>
15412
15413 [BZ #16770]
15414 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15415 too large before casting to int.
15416 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15417 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15418 * math/libm-test.inc (scalb_test_data): Add more tests.
15419
cf806aff
SP
154202014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15421
56737508
SP
15422 * benchtests/Makefile (DETAILED_OPT): New make option.
15423 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15424 set.
15425 * benchtests/bench-skeleton.c: Include stdbool.h.
15426 (main): Store and print timings per input.
15427 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15428 member to each argument value.
15429 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15430 (_print_arg_data): Initialize per-input timing to 0.
15431
cb5e4aad
SP
15432 * benchtests/Makefile (timing-type): New binary.
15433 (bench-clean): Also remove bench-timing-type.
15434 (bench): New target for timing-type.
15435 (bench-func): Print output in JSON format.
15436 * benchtests/bench-skeleton.c (main): Print output in JSON
15437 format.
15438 * benchtests/bench-timing-type.c: New file.
15439 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15440 (TIMING_PRINT_STATS): Remove.
15441 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15442 name separately.
15443
cf806aff
SP
15444 * benchtests/bench-modf.c: Remove.
15445 * benchtests/modf-inputs: New inputs file.
15446
289e0779
JM
154472014-03-28 Joseph Myers <joseph@codesourcery.com>
15448
15449 [BZ #16362]
15450 * math/s_clog10.c (M_PI_LOG10E): New macro.
15451 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15452 imaginary parts are 0.
15453 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15454 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15455 imaginary parts are 0.
15456 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15457 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15458 imaginary parts are 0.
15459 * math/libm-test.inc (clog10_test_data): Update expected results
15460 for when real and imaginary parts are 0.
15461
277ae3f1
PP
154622014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15463
15464 * elf/dl-load.c: Finish conversion of __builtin_expect into
15465 __glibc_{un}likely.
15466
03a7091f
JM
154672014-03-27 Joseph Myers <joseph@codesourcery.com>
15468
15469 [BZ #16348]
15470 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15471 1+x for argument with exponent below -67.
15472 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15473 Likewise.
15474 * math/auto-libm-test-in: Add more tests of exp.
15475 * math/auto-libm-test-out: Regenerated.
15476
ea7d8b95
SP
154772014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15478
dd3022d7
SP
15479 [BZ #16759]
15480 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15481 (nscd_getnetgrent): Use it.
15482
ea7d8b95
SP
15483 [BZ #16760]
15484 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15485 of stpcpy.
15486
df5b85da
AK
154872014-03-27 Andi Kleen <ak@linux.intel.com>
15488
57f41c40
AS
15489 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15490 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15491 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15492 (lll_robust_unlock): Remove out of line section. Use cfi
15493 intrinsics.
df5b85da 15494 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
15495 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15496 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15497 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15498 (lll_robust_unlock): Remove out of line section. Use cfi
15499 intrinsics.
df5b85da
AK
15500 (LLL_STUB_UNWIND_INFO*): Remove.
15501
fbd6b5a4
SP
155022014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15503
15504 [BZ #16758]
15505 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15506 blank values.
15507
1b26b855
PP
155082014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15509
15510 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15511
9be36fb8
JM
155122014-03-26 Joseph Myers <joseph@codesourcery.com>
15513
15514 [BZ #16198]
15515 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15516 fnstenv.
15517 * math/test-fenv-preserve.c: New file.
15518 * math/Makefile (tests): Add test-fenv-preserve.
15519
60a2f3c1
WN
155202014-03-26 Will Newton <will.newton@linaro.org>
15521
15522 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15523
a5e5f1e2
RM
155242014-03-25 Roland McGrath <roland@hack.frob.com>
15525
15526 * scripts/versionlist.awk: Partition the version sets and emit all
15527 GLIBC_* (sorted) before all others (sorted).
15528
00f4012a
JM
155292014-03-25 Joseph Myers <joseph@codesourcery.com>
15530
15531 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15532 GLIBC_2.2.5 version.
15533
7bc5a741
AZ
155342014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15535
15536 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15537 calls.
15538
7578473b
AZ
15539 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15540 previous change.
15541
f3f1dab3
AZ
15542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15543
6da36183
AS
155442014-03-25 Andreas Schwab <schwab@suse.de>
15545
15546 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15547 label to be used after in6ailist is initialized.
15548
f3f1dab3 155492014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15550
7578473b 15551 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15552 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15553
046651c1
JM
155542014-03-25 Joseph Myers <joseph@codesourcery.com>
15555
15556 [BZ #16357]
15557 [BZ #16599]
15558 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15559 min_plus_half.
15560 (fp_formats): Update initializers.
15561 (init_fp_formats): Initialize new field.
15562 (output_for_one_input_case): Allow underflow for results up to
15563 min_plus_half.
15564 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15565 * math/auto-libm-test-in: Don't mark some underflows from asin and
15566 atanh as spurious.
15567 * math/auto-libm-test-out: Regenerated.
15568 * sysdeps/i386/fpu/libm-test-ulps: Update.
15569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15570
003e49ed
AS
155712014-03-25 Andreas Schwab <schwab@suse.de>
15572
15573 * libio/Makefile (tst-ftell-partial-wide-ENV)
15574 (tst-ftell-active-handler-ENV): Define.
15575
de031874
SL
155762014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15577
15578 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15579
55a81e3b
PP
155802014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15581
15582 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15583
f3426898
JM
155842014-03-24 Joseph Myers <joseph@codesourcery.com>
15585
15586 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15587 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15588 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15589
a42faf59
PP
155902014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15591
15592 [BZ #16634]
a42faf59 15593 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15594 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15595 (open_path): Change from boolean 'secure' to complete flag 'mode'
15596 (_dl_map_object): Adjust.
a42faf59
PP
15597 * elf/Makefile (tests): Add tst-dlopen-aout.
15598 * elf/tst-dlopen-aout.c: New test.
15599
50936127
SL
156002014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15601
15602 [BZ #16714]
15603 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15604 (struct stat): Rename member pad0 to __glibc_reserved0.
15605
26011b5c
SL
15606 [BZ #16712]
15607 * sysdeps/s390/s390-32/bits/wordsize.h
15608 (__WORDSIZE32_SIZE_ULONG): New define.
15609 * sysdeps/s390/s390-64/bits/wordsize.h
15610 (__WORDSIZE32_SIZE_ULONG): Likewise.
15611 * sysdeps/generic/stdint.h (SIZE_MAX):
15612 Define as UL if __WORDSIZE32_SIZE_ULONG.
15613
a2d86bf1
SL
15614 [BZ #16713]
15615 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15616 (__glibc_reserved0): New variable.
15617 (sa_flags): Change type to int.
15618
78b6eebc
SL
15619 * posix/Makefile (before-compile): Use += before-compile instead
15620 of a :=.
15621
f1399b5a
SL
15622 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15623 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15624
a071766e
AS
156252014-03-20 Andreas Schwab <schwab@suse.de>
15626
15627 [BZ #16743]
15628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15629 non-matching result from nscd.
15630
27c673b8
SP
156312014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15632
15633 * scripts/bench.py: Moved to ...
15634 * benchtests/scripts/bench.py: ... here.
15635 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15636
44152e4b
AS
156372014-03-24 Andreas Schwab <schwab@suse.de>
15638
15639 [BZ #16002]
15640 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15641 alloca_account and account alloca use for struct in6ailist.
15642
b376a11a
JM
156432014-03-24 Joseph Myers <joseph@codesourcery.com>
15644
15645 [BZ #16284]
15646 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15647 rounding mode to recompute results that overflow to infinity or
15648 underflow to zero.
15649 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15650 bug 16284.
15651 * math/auto-libm-test-out: Regenerated.
15652 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15653 (ccosh_test): Likewise.
15654 (csin_test_data): Use plus_oflow.
15655 (csin_test): Use ALL_RM_TEST.
15656 (csinh_test_data): Use plus_oflow.
15657 (csinh_test): Use ALL_RM_TEST.
15658 * sysdeps/i386/fpu/libm-test-ulps: Update.
15659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15660
f7be7376
JM
156612014-03-21 Joseph Myers <joseph@codesourcery.com>
15662
1ca2d03e
JM
15663 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15664 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15665 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15666
f7be7376
JM
15667 [BZ #16731]
15668 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15669 when x - 1 is zero.
15670 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15671 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15672 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15673 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15674 argument is 1.
15675 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15676 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15677 zero.
15678 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15679 * sysdeps/i386/fpu/libm-test-ulps: Update.
15680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15681
fdf4534d
SP
156822014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15683
df26ea53
SP
15684 * scripts/bench.pl: Remove file.
15685 * scripts/bench.py: New benchmark script.
15686 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15687 * benchtests/README: Mention python dependency.
15688 * scripts/pylintrc: New file.
15689 * scripts/pylint: New file.
15690
fdf4534d
SP
15691 * bits/mathdef.h: Use #ifdef instead of #if.
15692 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15693 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15694 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15695 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15696 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15697 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15698
6f23d093
AZ
156992014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15700 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15701
15702 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15704 and strpbrk-ppc64 objects.
15705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15706 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15707 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15708 multiarch strpbrk for POWER7.
15709 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15710 multiarch strpbrk for PPC64.
15711 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15712 ifunc selector.
15713 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15714 strpbrk for POWER7.
15715
8c92dfff
JM
157162014-03-20 Joseph Myers <joseph@codesourcery.com>
15717
15718 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15719 (atan_test): Likewise.
15720 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15721 (atanh_test): Use ALL_RM_TEST.
15722 (atan2_test_data): Likewise.
15723 (cabs_test): Likewise.
15724 (cacosh_test): Likewise.
15725 (carg_test): Likewise.
15726 (casin_test): Likewise.
15727 (casinh_test): Likewise.
15728 (cbrt_test): Likewise.
15729 (csqrt_test): Likewise.
15730 (erf_test): Likewise.
15731 (erfc_test): Likewise.
15732 (pow10_test): Likewise.
15733 (exp2_test): Likewise.
15734 (hypot_test): Likewise.
15735 (j0_test): Likewise.
15736 (j1_test): Likewise.
15737 (lgamma_test): Likewise.
15738 (gamma_test): Likewise.
15739 (sincos_test): Likewise.
15740 (tanh_test): Likewise.
15741 (y0_test): Likewise.
15742 (y1_test): Likewise.
15743 * sysdeps/i386/fpu/libm-test-ulps: Update.
15744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15745
6eaf95cb
AZ
157462014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15747
a387428c
SP
15748 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15750 and strcspn-ppc64 objects.
15751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15752 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15753 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15754 multiarch strcspn for POWER7.
15755 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15756 multiarch strcspn for PPC64.
15757 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15758 ifunc selector.
15759 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15760 strcspn for POWER7.
15761
ae3a5dff
JM
157622014-03-20 Joseph Myers <joseph@codesourcery.com>
15763
15764 * math/gen-libm-test.pl (generate_testfile): Expect only function
15765 name as argument to AUTO_TESTS_* and pass results for all rounding
15766 modes to parse_args.
15767 (parse_auto_input): Separate inputs of automatic tests from
15768 outputs before storing in %auto_tests.
15769 * math/libm-test.inc (acos_test_data): Update call to
15770 AUTO_TESTS_f_f.
15771 (acos_test): Use ALL_RM_TEST.
15772 (acos_tonearest_test_data): Remove.
15773 (acos_test_tonearest): Likewise.
15774 (acos_towardzero_test_data): Likewise.
15775 (acos_test_towardzero): Likewise.
15776 (acos_downward_test_data): Likewise.
15777 (acos_test_downward): Likewise.
15778 (acos_upward_test_data): Likewise.
15779 (acos_test_upward): Likewise.
15780 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15781 (asin_test_data): Likewise.
15782 (asin_test): Use ALL_RM_TEST.
15783 (asin_tonearest_test_data): Remove.
15784 (asin_test_tonearest): Likewise.
15785 (asin_towardzero_test_data): Likewise.
15786 (asin_test_towardzero): Likewise.
15787 (asin_downward_test_data): Likewise.
15788 (asin_test_downward): Likewise.
15789 (asin_upward_test_data): Likewise.
15790 (asin_test_upward): Likewise.
15791 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15792 (atan_test_data): Likewise.
15793 (atanh_test_data): Likewise.
15794 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15795 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15796 (carg_test_data): Likewise.
15797 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15798 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15799 (ccosh_test_data): Likewise.
15800 (cexp_test_data): Likewise.
15801 (clog_test_data): Likewise.
15802 (clog10_test_data): Likewise.
15803 (cos_test_data): Update call to AUTO_TESTS_f_f.
15804 (cos_test): Use ALL_RM_TEST.
15805 (cos_tonearest_test_data): Remove.
15806 (cos_test_tonearest): Likewise.
15807 (cos_towardzero_test_data): Likewise.
15808 (cos_test_towardzero): Likewise.
15809 (cos_downward_test_data): Likewise.
15810 (cos_test_downward): Likewise.
15811 (cos_upward_test_data): Likewise.
15812 (cos_test_upward): Likewise.
15813 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15814 (cosh_test): Use ALL_RM_TEST.
15815 (cosh_tonearest_test_data): Remove.
15816 (cosh_test_tonearest): Likewise.
15817 (cosh_towardzero_test_data): Likewise.
15818 (cosh_test_towardzero): Likewise.
15819 (cosh_downward_test_data): Likewise.
15820 (cosh_test_downward): Likewise.
15821 (cosh_upward_test_data): Likewise.
15822 (cosh_test_upward): Likewise.
15823 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15824 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15825 (ctan_test_data): Likewise.
15826 (ctan_test): Use ALL_RM_TEST.
15827 (ctan_tonearest_test_data): Remove.
15828 (ctan_test_tonearest): Likewise.
15829 (ctan_towardzero_test_data): Likewise.
15830 (ctan_test_towardzero): Likewise.
15831 (ctan_downward_test_data): Likewise.
15832 (ctan_test_downward): Likewise.
15833 (ctan_upward_test_data): Likewise.
15834 (ctan_test_upward): Likewise.
15835 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15836 (ctanh_test): Use ALL_RM_TEST.
15837 (ctanh_tonearest_test_data): Remove.
15838 (ctanh_test_tonearest): Likewise.
15839 (ctanh_towardzero_test_data): Likewise.
15840 (ctanh_test_towardzero): Likewise.
15841 (ctanh_downward_test_data): Likewise.
15842 (ctanh_test_downward): Likewise.
15843 (ctanh_upward_test_data): Likewise.
15844 (ctanh_test_upward): Likewise.
15845 (erf_test_data): Update call to AUTO_TESTS_f_f.
15846 (erfc_test_data): Likewise.
15847 (exp_test_data): Likewise.
15848 (exp_test): Use ALL_RM_TEST.
15849 (exp_tonearest_test_data): Remove.
15850 (exp_test_tonearest): Likewise.
15851 (exp_towardzero_test_data): Likewise.
15852 (exp_test_towardzero): Likewise.
15853 (exp_downward_test_data): Likewise.
15854 (exp_test_downward): Likewise.
15855 (exp_upward_test_data): Likewise.
15856 (exp_test_upward): Likewise.
15857 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15858 (exp10_test): Use ALL_RM_TEST.
15859 (exp10_tonearest_test_data): Remove.
15860 (exp10_test_tonearest): Likewise.
15861 (exp10_towardzero_test_data): Likewise.
15862 (exp10_test_towardzero): Likewise.
15863 (exp10_downward_test_data): Likewise.
15864 (exp10_test_downward): Likewise.
15865 (exp10_upward_test_data): Likewise.
15866 (exp10_test_upward): Likewise.
15867 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15868 (expm1_test_data): Likewise.
15869 (expm1_test): Use ALL_RM_TEST.
15870 (expm1_tonearest_test_data): Remove.
15871 (expm1_test_tonearest): Likewise.
15872 (expm1_towardzero_test_data): Likewise.
15873 (expm1_test_towardzero): Likewise.
15874 (expm1_downward_test_data): Likewise.
15875 (expm1_test_downward): Likewise.
15876 (expm1_upward_test_data): Likewise.
15877 (expm1_test_upward): Likewise.
15878 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15879 (fma_test): Use ALL_RM_TEST.
15880 (fma_towardzero_test_data): Remove.
15881 (fma_test_towardzero): Likewise.
15882 (fma_downward_test_data): Likewise.
15883 (fma_test_downward): Likewise.
15884 (fma_upward_test_data): Likewise.
15885 (fma_test_upward): Likewise.
15886 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15887 (j0_test_data): Update call to AUTO_TESTS_f_f.
15888 (j1_test_data): Likewise.
15889 (jn_test_data): Update call to AUTO_TESTS_if_f.
15890 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15891 (log_test_data): Update call to AUTO_TESTS_f_f.
15892 (log10_test_data): Likewise.
15893 (log1p_test_data): Likewise.
15894 (log2_test_data): Likewise.
15895 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15896 (pow_tonearest_test_data): Likewise.
15897 (sin_test_data): Update call to AUTO_TESTS_f_f.
15898 (sin_test): Use ALL_RM_TEST.
15899 (sin_tonearest_test_data): Remove.
15900 (sin_test_tonearest): Likewise.
15901 (sin_towardzero_test_data): Likewise.
15902 (sin_test_towardzero): Likewise.
15903 (sin_downward_test_data): Likewise.
15904 (sin_test_downward): Likewise.
15905 (sin_upward_test_data): Likewise.
15906 (sin_test_upward): Likewise.
15907 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15908 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15909 (sinh_test): Use ALL_RM_TEST.
15910 (sinh_tonearest_test_data): Remove.
15911 (sinh_test_tonearest): Likewise.
15912 (sinh_towardzero_test_data): Likewise.
15913 (sinh_test_towardzero): Likewise.
15914 (sinh_downward_test_data): Likewise.
15915 (sinh_test_downward): Likewise.
15916 (sinh_upward_test_data): Likewise.
15917 (sinh_test_upward): Likewise.
15918 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15919 (sqrt_test): Use ALL_RM_TEST.
15920 (sqrt_tonearest_test_data): Remove.
15921 (sqrt_test_tonearest): Likewise.
15922 (sqrt_towardzero_test_data): Likewise.
15923 (sqrt_test_towardzero): Likewise.
15924 (sqrt_downward_test_data): Likewise.
15925 (sqrt_test_downward): Likewise.
15926 (sqrt_upward_test_data): Likewise.
15927 (sqrt_test_upward): Likewise.
15928 (tan_test_data): Update call to AUTO_TESTS_f_f.
15929 (tan_test): Use ALL_RM_TEST.
15930 (tan_tonearest_test_data): Remove.
15931 (tan_test_tonearest): Likewise.
15932 (tan_towardzero_test_data): Likewise.
15933 (tan_test_towardzero): Likewise.
15934 (tan_downward_test_data): Likewise.
15935 (tan_test_downward): Likewise.
15936 (tan_upward_test_data): Likewise.
15937 (tan_test_upward): Likewise.
15938 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15939 (tgamma_test_data): Likewise.
15940 (y0_test_data): Likewise.
15941 (y1_test_data): Likewise.
15942 (yn_test_data): Update call to AUTO_TESTS_if_f.
15943 (main): Do not call removed functions.
15944
d71aeee8
JM
159452014-03-19 Joseph Myers <joseph@codesourcery.com>
15946
15947 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15948 (ldexp_test_data): Remove.
15949 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15950 scalbn_test_data.
15951 (scalb_test): Use ALL_RM_TEST.
15952
baaf1ded
AS
159532014-03-19 Andreas Schwab <schwab@suse.de>
15954
15955 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15956
b1115e91
JM
159572014-03-19 Joseph Myers <joseph@codesourcery.com>
15958
15959 [BZ #16649]
15960 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15961 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15962 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15963 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15964 (__ASSUME_PREADV): Undefine.
15965 (__ASSUME_PWRITEV): Likewise.
15966
0283ecca
RM
159672014-03-18 Roland McGrath <roland@hack.frob.com>
15968
7d375303
RM
15969 * bits/mman-linux.h: Add comment about non-Linux use.
15970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15971 bits/mman-linux.h resting place.
15972
0283ecca
RM
15973 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15974 * bits/mman-linux.h: ... here.
15975
aebe1003
AZ
159762014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15977
15978 * conform/conformtest.pl: Add standard definition when calling C
15979 preprocessor on data files.
15980 (checknamespace): Remove unused variable.
15981
b29b6bb8
JM
159822014-03-18 Joseph Myers <joseph@codesourcery.com>
15983
15984 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15985 minus_oflow, plus_uflow and minus_uflow in expected results.
15986 * math/libm-test.inc (scalbn_test_data): Add more tests of
15987 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15988 minus_uflow.
15989 (scalbn_test): Use ALL_RM_TEST.
15990 (scalbln_test_data): Add more tests of negative arguments. Use
15991 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15992 (scalbln_test): Use ALL_RM_TEST.
15993
c8f8fa15
RM
159942014-03-18 Roland McGrath <roland@hack.frob.com>
15995
15996 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15997
fede7a5f
WN
159982014-03-18 Will Newton <will.newton@linaro.org>
15999
16000 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16001 inaccurate comment.
16002
80cf0a58
JM
160032014-03-18 Joseph Myers <joseph@codesourcery.com>
16004
16005 * Makerules [!subdir] (check-abi): Exit with error status if a
16006 test failed.
16007
b3620862
JM
160082014-03-17 Joseph Myers <joseph@codesourcery.com>
16009
16010 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16011 for rint. Include results for all rounding modes.
16012 (nearbyint_test): Use ALL_RM_TEST.
16013 (rint_test_data): Include all tests used for nearbyint.
16014
788bba36
WN
160152014-03-17 Will Newton <will.newton@linaro.org>
16016
04ec140a
WN
16017 * nptl/sysdeps/pthread/pthread.h: Revert previous
16018 change.
16019
7579d8d5
WN
16020 * sysdeps/generic/ldsodefs.h: Revert previous
16021 change.
16022
c15cf13a
WN
16023 * libio/genops.c: Revert previous change.
16024 * libio/libioP.h: Likewise.
16025 * stdio-common/vfprintf.c: Likewise.
16026
d0ac1324
WN
16027 * sysdeps/generic/math_private.h: Revert previous
16028 change.
16029
9290130a
WN
16030 * sysdeps/generic/math_private.h: Check whether
16031 HAVE_RM_CTX is defined with #ifdef rather
16032 than #if.
16033
afb466fc
WN
16034 * argp/argp-fmtstream.h: Check whether
16035 __STRICT_ANSI__ is defined with #ifdef rather
16036 than #if.
16037 * argp/argp.h: Likewise.
16038
f7efd7c3
WN
16039 * libio/genops.c: Check whether
16040 _IO_JUMPS_OFFSET is defined with #ifdef rather
16041 than #if.
16042 * libio/libioP.h: Likewise.
16043 * stdio-common/vfprintf.c: Likewise.
16044
53f1bed3
WN
16045 * sysdeps/generic/ldsodefs.h: Check whether
16046 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16047 than #if.
16048
788bba36
WN
16049 * nptl/sysdeps/pthread/pthread.h: Check
16050 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16051 its value.
16052
fcd89ebe
SP
160532014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16054
ae42bbc5
SP
16055 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16056 setting O_APPEND.
16057 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16058 test case.
16059
ea33158c
SP
16060 [BZ #16680]
16061 * libio/fileops.c (_IO_file_open): Seek to end of file but
16062 don't cache the offset.
16063 (get_file_offset): Remove function.
16064 (do_ftell): Use cached offset when available.
16065 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16066 don't cache the offset.
16067 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16068 case.
16069 (do_one_test): Call it.
16070 (do_ftell_test): Fix up expected old offset for a+ mode.
16071 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16072 available.
16073
b1dbb426
SP
16074 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16075 up test status with function return status.
16076 (do_write_test): Likewise.
16077 (do_append_test): Likewise.
16078
fcd89ebe
SP
16079 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16080 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16081 Remove.
16082
9962a2d3
JM
160832014-03-17 Joseph Myers <joseph@codesourcery.com>
16084
16085 * math/gen-libm-test.pl (parse_args): Handle results specified for
16086 each rounding mode separately.
16087 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16088 tests and results from lrint_tonearest_test_data,
16089 lrint_towardzero_test_data, lrint_downward_test_data and
16090 lrint_upward_test_data.
16091 (lrint_test): Use ALL_RM_TEST.
16092 (lrint_tonearest_test_data): Remove.
16093 (lrint_test_tonearest): Likewise.
16094 (lrint_towardzero_test_data): Likewise.
16095 (lrint_test_towardzero): Likewise.
16096 (lrint_downward_test_data): Likewise.
16097 (lrint_test_downward): Likewise.
16098 (lrint_upward_test_data): Likewise.
16099 (lrint_test_upward): Likewise.
16100 (llrint_test_data): Merge in per-rounding-mode tests and results
16101 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16102 llrint_downward_test_data and llrint_upward_test_data.
16103 (llrint_test): Use ALL_RM_TEST.
16104 (llrint_tonearest_test_data): Remove.
16105 (llrint_test_tonearest): Likewise.
16106 (llrint_towardzero_test_data): Likewise.
16107 (llrint_test_towardzero): Likewise.
16108 (llrint_downward_test_data): Likewise.
16109 (llrint_test_downward): Likewise.
16110 (llrint_upward_test_data): Likewise.
16111 (llrint_test_upward): Likewise.
16112 (rint_test_data): Merge in per-rounding-mode tests and results
16113 from rint_tonearest_test_data, rint_towardzero_test_data,
16114 rint_downward_test_data and rint_upward_test_data. Add
16115 per-rounding-mode results for tests not in those arrays.
16116 (rint_test): Use ALL_RM_TEST.
16117 (rint_tonearest_test_data): Remove.
16118 (rint_test_tonearest): Likewise.
16119 (rint_towardzero_test_data): Likewise.
16120 (rint_test_towardzero): Likewise.
16121 (rint_downward_test_data): Likewise.
16122 (rint_test_downward): Likewise.
16123 (rint_upward_test_data): Likewise.
16124 (rint_test_upward): Likewise.
16125 (main): Don't call removed functions.
16126
5006148e
RM
161272014-03-14 Roland McGrath <roland@hack.frob.com>
16128
16129 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16130 "Compiled on ..." crapola. It is anti-useful.
16131
d6fe5e58
JM
161322014-03-14 Joseph Myers <joseph@codesourcery.com>
16133
16134 * scripts/evaluate-test.sh: Handle fourth argument to determine
16135 whether test run should stop on failure.
16136 * Makeconfig (stop-on-test-failure): New variable.
16137 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16138 $(stop-on-test-failure).
16139 * Makefile (tests): Give a summary of results from testing and
16140 exit with failure status if they include an ERROR or FAIL.
16141 (xtests): Likewise.
16142 * manual/install.texi (Configuring and compiling): Mention
16143 stop-on-test-failure=y.
16144 * INSTALL: Regenerated.
16145
498a2233
RM
161462014-03-14 Roland McGrath <roland@hack.frob.com>
16147
22dbc19d
RM
16148 * scripts/versionlist.awk: New file.
16149 * Makerules [$(build-shared) = yes]
16150 (postclean-generated): Add Versions.def, not Versions.def.v and
16151 Versions.def.v.i.
16152 ($(common-objpfx)Versions.def.v.i): Target removed.
16153 ($(common-objpfx)Versions.def): New target.
16154 ($(common-objpfx)Versions.all): Depend on that rather that
16155 $(common-objpfx)Versions.def.v.
16156 * Versions.def: File removed.
16157
498a2233
RM
16158 * Makeconfig (+gccwarn): Add -Wundef.
16159 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16160 a dl-sysdep.h breaking its contract.
16161 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16162 * include/stackinfo.h: New file.
16163 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16164 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16165 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16166 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16167 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16168 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16169 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16170 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16171 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16172 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16173 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16174 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16175 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16176 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16177 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16178
c7de5025
AZ
161792014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16180
16181 [BZ #16707]
16182 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16183 implementation.
16184 * math/libm-test.inc (round_test_data): Add more tests.
16185
98fb27a3
AZ
16186 [BZ #16706]
16187 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16188 implementation.
16189 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16190
374f7f61
AZ
16191 [BZ #16701]
16192 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16193 implementation.
16194 * math/libm-test.inc (ceil_test_data): Add more tests.
16195
4655c291
AZ
16196 * math/libm-test.inc (trunc_test_data): Add more tests related to
16197 BZ#16414.
16198
d7329d4b
RM
161992014-03-14 Roland McGrath <roland@hack.frob.com>
16200
16201 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16202 with #if rather than #ifdef.
16203 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16204
aa4de9ce
L
162052014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16206
16207 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16208 first. Disable AVX-512 GCC support if assembler doesn't support
16209 it.
16210 * sysdeps/x86_64/configure: Regenerated.
16211
2e03fae7
CD
162122014-03-13 Carlos O'Donell <carlos@redhat.com>
16213
16214 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16215 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16216 (__old_pthread_attr_setstack): Likewise.
16217 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16218 [!_STACK_GROWS_DOWN]: Likewise.
16219
43ca83ec
MF
162202014-03-13 Mike Frysinger <vapier@gentoo.org>
16221
16222 * config.make.in (have-bash2): Delete.
16223 * configure.ac (libc_cv_have_bash2): Delete.
16224 * configure: Regenerate.
16225 * elf/Makefile (common-ldd-rewrite): Rename to ...
16226 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16227 (sh-ldd-rewrite): Delete.
16228 (bash-ldd-rewrite): Delete.
16229 (have-bash2): Delete checks.
57f41c40
AS
16230 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16231 ldd-rewrite.
c66e48b4
MF
16232
16233 * config.make.in (have-ksh): Delete.
16234 (KSH): Delete.
16235 * configure.ac (libc_cv_have_ksh): Delete.
16236 * configure: Regenerate.
16237
b93834ef
MF
16238 * elf/Makefile: Delete $(have-ksh) check.
16239 ($(objpfx)sotruss): Change KSH to BASH.
16240 * elf/sotruss.ksh: Rename to ...
16241 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16242 function style to match POSIX. Drop ksh vim mode setting.
16243
f3a4632a
MF
16244 * manual/time.texi (Specifying the Time Zone with TZ): Change
16245 Tuesday to Thursday.
16246
5896c8bd
MF
16247 * debug/tst-longjmp_chk2.c: Update header comment.
16248 (stackoverflow_handler): Add comment. Call assert on pass value.
16249
2d63a517
IZ
162502014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16251
7e54fd04 16252 [BZ #16194]
2d63a517
IZ
16253 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16254 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16255 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16256 (La_x86_64_vector): Add zmm.
16257 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16258 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16259 ($(objpfx)tst-audit10): New target.
16260 ($(objpfx)tst-audit10.out): Likewise.
16261 (tst-audit10-ENV): New.
16262 (AVX512-CFLAGS): Likewise.
16263 (CFLAGS-tst-audit10.c): Likewise.
16264 (CFLAGS-tst-auditmod10a.c): Likewise.
16265 (CFLAGS-tst-auditmod10b.c): Likewise.
16266 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16267 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16268 * sysdeps/x86_64/configure: Regenerated.
16269 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16270 AVX-512 zmm register support.
16271 (_dl_x86_64_save_sse): Likewise.
16272 (_dl_x86_64_restore_sse): Likewise.
16273 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16274 size vector registers.
16275 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16276 (ZMM_SIZE): Likewise.
16277 * sysdeps/x86_64/tst-audit10.c: New file.
16278 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16279 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16280
44c4e5d5
RM
162812014-03-13 Roland McGrath <roland@hack.frob.com>
16282
16283 * configure.ac (HAVE_EHDR_START): New check.
16284 * configure: Regenerated.
16285 * config.h.in (HAVE_EHDR_START): New #undef.
16286 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16287 assuming the lowest-addressed segment maps the start of the file.
16288
acd6e389
JM
162892014-03-13 Joseph Myers <joseph@codesourcery.com>
16290
16291 * INSTALL: Regenerated.
16292
6f918f36
WN
162932014-03-13 Will Newton <will.newton@linaro.org>
16294
16295 * manual/setjmp.texi (System V contexts): Improve
16296 clarity and grammar of documentation.
16297
798212a0
PP
162982014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16299
16300 [BZ #16381]
798212a0 16301 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16302 (tests-pie): Add tst-pie2.
798212a0
PP
16303 * elf/tst-pie2.c: New file.
16304 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16305 for ET_EXEC.
16306 * elf/rtld.c (map_doit): Load executable as lt_executable.
16307 (dl_main): Likewise.
16308
abe6d90c
JM
163092014-03-12 Joseph Myers <joseph@codesourcery.com>
16310
16311 [BZ #16642]
16312 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16313 (__ASSUME_PSELECT): Undefine.
16314
dd3946c6
AZ
163152014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16316
16317 [BZ #16689]
16318 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16319 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16320 static build.
16321 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16322 selector for static builds.
16323
c44496df
SP
163242014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16325
16326 [BZ #16695]
16327 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16328 key in the buffer.
16329
27c7220a
AZ
163302014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16331
57f41c40
AS
16332 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16333 IFUNC selector for static builds.
27c7220a 16334
600fa361
JM
163352014-03-11 Joseph Myers <joseph@codesourcery.com>
16336
76c96cf7
JM
16337 * sysdeps/mips/math_private.h [__mips_hard_float]
16338 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16339 libc_feresetround_mips_ctx.
16340 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16341 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16342 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16343
600fa361
JM
16344 [BZ #16677]
16345 * math/s_nextafter.c (__nextafter): Do not return value from
16346 overflowing computation.
16347 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16348 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16349 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16350 Likewise.
16351 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16352 Likewise.
16353 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16354 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16355
d7706c32
RM
163562014-03-11 Roland McGrath <roland@hack.frob.com>
16357
16358 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16359 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16360 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16361 the new mov targetting sp.
16362
4facea47
AZ
163632014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16364
16365 [BZ #16683]
16366 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16367 Define it for static builds as well.
16368 (NO_BZERO_IMPL): Likewise.
16369
e65caf1f
VR
163702014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16371
16372 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16373 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16374 multiarch strspn for PPC64.
16375 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16376 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16378 (__libc_ifunc_impl_list): Likewise.
16379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16380 multiarch optimizations
16381 * string/strspn.c (strspn): Using macro to redefine symbol name.
16382
ba9cc071
AZ
163832014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16384 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16385
16386 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16387 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16388 multiarch strncat for PPC64.
16389 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16390 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16392 (__libc_ifunc_impl_list): Likewise.
16393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16394 multiarch optimizations
16395
8b4ff974
SP
163962014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16397
16398 [BZ #16639]
16399 * nscd/nscd.service: Make service type forking.
16400
54b46a4b
AZ
164012014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16402
16403 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16404 sign in non default rounding modes.
16405 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16406
e9996ef7
JM
164072014-03-08 Joseph Myers <joseph@codesourcery.com>
16408
16409 * math/libm-test.inc (ALL_RM_TEST): New macro.
16410 (ceil_test): Use ALL_RM_TEST.
16411 (cimag_test): Likewise.
16412 (conj_test): Likewise.
16413 (copysign_test): Likewise.
16414 (cproj_test): Likewise.
16415 (creal_test): Likewise.
16416 (fabs_test): Likewise.
16417 (floor_test): Likewise.
16418 (fmax_test): Likewise.
16419 (fmin_test): Likewise.
16420 (fmod_test): Likewise.
16421 (fpclassify_test): Likewise.
16422 (frexp_test): Likewise.
16423 (ilogb_test): Likewise.
16424 (isfinite_test): Likewise.
16425 (finite_test): Likewise.
16426 (isgreater_test): Likewise.
16427 (isgreaterequal_test): Likewise.
16428 (isinf_test): Likewise.
16429 (isless_test): Likewise.
16430 (islessequal_test): Likewise.
16431 (islessgreater_test): Likewise.
16432 (isnan_test): Likewise.
16433 (isnormal_test): Likewise.
16434 (issignaling_test): Likewise.
16435 (isunordered_test): Likewise.
16436 (logb_test): Likewise.
16437 (logb_downward_test_data): Remove.
16438 (logb_test_downward): Likewise.
16439 (lround_test): Use ALL_RM_TEST.
16440 (llround_test): Likewise.
16441 (modf_test): Likewise.
16442 (nexttoward_test): Likewise.
16443 (remainder_test): Likewise.
16444 (drem_test): Likewise.
16445 (remainder_tonearest_test_data): Likewise.
16446 (remainder_test_tonearest): Likewise.
16447 (drem_test_tonearest): Likewise.
16448 (remainder_towardzero_test_data): Likewise.
16449 (remainder_test_towardzero): Likewise.
16450 (drem_test_towardzero): Likewise.
16451 (remainder_downward_test_data): Likewise.
16452 (remainder_test_downward): Likewise.
16453 (drem_test_downward): Likewise.
16454 (remainder_upward_test_data): Likewise.
16455 (remainder_test_upward): Likewise.
16456 (drem_test_upward): Likewise.
16457 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16458 (round_test): Use ALL_RM_TEST.
16459 (signbit_test): Likewise.
16460 (trunc_test): Likewise.
16461 (significand_test): Likewise.
16462 (main): Don't call removed functions.
16463
bc61d27c
JM
164642014-03-07 Joseph Myers <joseph@codesourcery.com>
16465
5c780849
JM
16466 [BZ #16674]
16467 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16468 || __USE_XOPEN2K8].
16469 (ILL_ILLOPN): Likewise.
16470 (ILL_ILLADR): Likewise.
16471 (ILL_ILLTRP): Likewise.
16472 (ILL_PRVOPC): Likewise.
16473 (ILL_PRVREG): Likewise.
16474 (ILL_COPROC): Likewise.
16475 (ILL_BADSTK): Likewise.
16476 (FPE_INTDIV): Likewise.
16477 (FPE_INTOVF): Likewise.
16478 (FPE_FLTDIV): Likewise.
16479 (FPE_FLTOVF): Likewise.
16480 (FPE_FLTUND): Likewise.
16481 (FPE_FLTRES): Likewise.
16482 (FPE_FLTINV): Likewise.
16483 (FPE_FLTSUB): Likewise.
16484 (SEGV_MAPERR): Likewise.
16485 (SEGV_ACCERR): Likewise.
16486 (BUS_ADRALN): Likewise.
16487 (BUS_ADRERR): Likewise.
16488 (BUS_OBJERR): Likewise.
16489 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16490 (TRAP_TRACE): Likewise.
16491 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16492 __USE_XOPEN2K8].
16493 (CLD_KILLED): Likewise.
16494 (CLD_DUMPED): Likewise.
16495 (CLD_TRAPPED): Likewise.
16496 (CLD_STOPPED): Likewise.
16497 (CLD_CONTINUED): Likewise.
16498 (POLL_IN): Likewise.
16499 (POLL_OUT): Likewise.
16500 (POLL_MSG): Likewise.
16501 (POLL_ERR): Likewise.
16502 (POLL_PRI): Likewise.
16503 (POLL_HUP): Likewise.
16504 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16505 Likewise.
16506 (ILL_ILLOPN): Likewise.
16507 (ILL_ILLADR): Likewise.
16508 (ILL_ILLTRP): Likewise.
16509 (ILL_PRVOPC): Likewise.
16510 (ILL_PRVREG): Likewise.
16511 (ILL_COPROC): Likewise.
16512 (ILL_BADSTK): Likewise.
16513 (FPE_INTDIV): Likewise.
16514 (FPE_INTOVF): Likewise.
16515 (FPE_FLTDIV): Likewise.
16516 (FPE_FLTOVF): Likewise.
16517 (FPE_FLTUND): Likewise.
16518 (FPE_FLTRES): Likewise.
16519 (FPE_FLTINV): Likewise.
16520 (FPE_FLTSUB): Likewise.
16521 (SEGV_MAPERR): Likewise.
16522 (SEGV_ACCERR): Likewise.
16523 (BUS_ADRALN): Likewise.
16524 (BUS_ADRERR): Likewise.
16525 (BUS_OBJERR): Likewise.
16526 (BUS_MCEERR_AR): Likewise.
16527 (BUS_MCEERR_AO): Likewise.
16528 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16529 (TRAP_TRACE): Likewise.
16530 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16531 __USE_XOPEN2K8].
16532 (CLD_KILLED): Likewise.
16533 (CLD_DUMPED): Likewise.
16534 (CLD_TRAPPED): Likewise.
16535 (CLD_STOPPED): Likewise.
16536 (CLD_CONTINUED): Likewise.
16537 (POLL_IN): Likewise.
16538 (POLL_OUT): Likewise.
16539 (POLL_MSG): Likewise.
16540 (POLL_ERR): Likewise.
16541 (POLL_PRI): Likewise.
16542 (POLL_HUP): Likewise.
16543 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16544 (ILL_ILLOPN): Likewise.
16545 (ILL_ILLADR): Likewise.
16546 (ILL_ILLTRP): Likewise.
16547 (ILL_PRVOPC): Likewise.
16548 (ILL_PRVREG): Likewise.
16549 (ILL_COPROC): Likewise.
16550 (ILL_BADSTK): Likewise.
16551 (FPE_INTDIV): Likewise.
16552 (FPE_INTOVF): Likewise.
16553 (FPE_FLTDIV): Likewise.
16554 (FPE_FLTOVF): Likewise.
16555 (FPE_FLTUND): Likewise.
16556 (FPE_FLTRES): Likewise.
16557 (FPE_FLTINV): Likewise.
16558 (FPE_FLTSUB): Likewise.
16559 (SEGV_MAPERR): Likewise.
16560 (SEGV_ACCERR): Likewise.
16561 (BUS_ADRALN): Likewise.
16562 (BUS_ADRERR): Likewise.
16563 (BUS_OBJERR): Likewise.
16564 (BUS_MCEERR_AR): Likewise.
16565 (BUS_MCEERR_AO): Likewise.
16566 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16567 (TRAP_TRACE): Likewise.
16568 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16569 __USE_XOPEN2K8].
16570 (CLD_KILLED): Likewise.
16571 (CLD_DUMPED): Likewise.
16572 (CLD_TRAPPED): Likewise.
16573 (CLD_STOPPED): Likewise.
16574 (CLD_CONTINUED): Likewise.
16575 (POLL_IN): Likewise.
16576 (POLL_OUT): Likewise.
16577 (POLL_MSG): Likewise.
16578 (POLL_ERR): Likewise.
16579 (POLL_PRI): Likewise.
16580 (POLL_HUP): Likewise.
16581 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16582 Likewise.
16583 (ILL_ILLOPN): Likewise.
16584 (ILL_ILLADR): Likewise.
16585 (ILL_ILLTRP): Likewise.
16586 (ILL_PRVOPC): Likewise.
16587 (ILL_PRVREG): Likewise.
16588 (ILL_COPROC): Likewise.
16589 (ILL_BADSTK): Likewise.
16590 (ILL_BADIADDR): Likewise.
16591 (ILL_BREAK): Likewise.
16592 (FPE_INTDIV): Likewise.
16593 (FPE_INTOVF): Likewise.
16594 (FPE_FLTDIV): Likewise.
16595 (FPE_FLTOVF): Likewise.
16596 (FPE_FLTUND): Likewise.
16597 (FPE_FLTRES): Likewise.
16598 (FPE_FLTINV): Likewise.
16599 (FPE_FLTSUB): Likewise.
16600 (FPE_DECOVF): Likewise.
16601 (FPE_DECDIV): Likewise.
16602 (FPE_DECERR): Likewise.
16603 (FPE_INVASC): Likewise.
16604 (FPE_INVDEC): Likewise.
16605 (SEGV_MAPERR): Likewise.
16606 (SEGV_ACCERR): Likewise.
16607 (SEGV_PSTKOVF): Likewise.
16608 (BUS_ADRALN): Likewise.
16609 (BUS_ADRERR): Likewise.
16610 (BUS_OBJERR): Likewise.
16611 (BUS_MCEERR_AR): Likewise.
16612 (BUS_MCEERR_AO): Likewise.
16613 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16614 (TRAP_TRACE): Likewise.
16615 (TRAP_BRANCH): Likewise.
16616 (TRAP_HWBKPT): Likewise.
16617 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16618 __USE_XOPEN2K8].
16619 (CLD_KILLED): Likewise.
16620 (CLD_DUMPED): Likewise.
16621 (CLD_TRAPPED): Likewise.
16622 (CLD_STOPPED): Likewise.
16623 (CLD_CONTINUED): Likewise.
16624 (POLL_IN): Likewise.
16625 (POLL_OUT): Likewise.
16626 (POLL_MSG): Likewise.
16627 (POLL_ERR): Likewise.
16628 (POLL_PRI): Likewise.
16629 (POLL_HUP): Likewise.
16630 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): 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 (FPE_INTDIV): Likewise.
16639 (FPE_INTOVF): Likewise.
16640 (FPE_FLTDIV): Likewise.
16641 (FPE_FLTOVF): Likewise.
16642 (FPE_FLTUND): Likewise.
16643 (FPE_FLTRES): Likewise.
16644 (FPE_FLTINV): Likewise.
16645 (FPE_FLTSUB): Likewise.
16646 (SEGV_MAPERR): Likewise.
16647 (SEGV_ACCERR): Likewise.
16648 (BUS_ADRALN): Likewise.
16649 (BUS_ADRERR): Likewise.
16650 (BUS_OBJERR): Likewise.
16651 (BUS_MCEERR_AR): Likewise.
16652 (BUS_MCEERR_AO): Likewise.
16653 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16654 (TRAP_TRACE): Likewise.
16655 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16656 __USE_XOPEN2K8].
16657 (CLD_KILLED): Likewise.
16658 (CLD_DUMPED): Likewise.
16659 (CLD_TRAPPED): Likewise.
16660 (CLD_STOPPED): Likewise.
16661 (CLD_CONTINUED): Likewise.
16662 (POLL_IN): Likewise.
16663 (POLL_OUT): Likewise.
16664 (POLL_MSG): Likewise.
16665 (POLL_ERR): Likewise.
16666 (POLL_PRI): Likewise.
16667 (POLL_HUP): Likewise.
16668 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16669 (ILL_ILLOPN): Likewise.
16670 (ILL_ILLADR): Likewise.
16671 (ILL_ILLTRP): Likewise.
16672 (ILL_PRVOPC): Likewise.
16673 (ILL_PRVREG): Likewise.
16674 (ILL_COPROC): Likewise.
16675 (ILL_BADSTK): Likewise.
16676 (FPE_INTDIV): Likewise.
16677 (FPE_INTOVF): Likewise.
16678 (FPE_FLTDIV): Likewise.
16679 (FPE_FLTOVF): Likewise.
16680 (FPE_FLTUND): Likewise.
16681 (FPE_FLTRES): Likewise.
16682 (FPE_FLTINV): Likewise.
16683 (FPE_FLTSUB): Likewise.
16684 (SEGV_MAPERR): Likewise.
16685 (SEGV_ACCERR): Likewise.
16686 (BUS_ADRALN): Likewise.
16687 (BUS_ADRERR): Likewise.
16688 (BUS_OBJERR): Likewise.
16689 (BUS_MCEERR_AR): Likewise.
16690 (BUS_MCEERR_AO): Likewise.
16691 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16692 (TRAP_TRACE): Likewise.
16693 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16694 __USE_XOPEN2K8].
16695 (CLD_KILLED): Likewise.
16696 (CLD_DUMPED): Likewise.
16697 (CLD_TRAPPED): Likewise.
16698 (CLD_STOPPED): Likewise.
16699 (CLD_CONTINUED): Likewise.
16700 (POLL_IN): Likewise.
16701 (POLL_OUT): Likewise.
16702 (POLL_MSG): Likewise.
16703 (POLL_ERR): Likewise.
16704 (POLL_PRI): Likewise.
16705 (POLL_HUP): Likewise.
16706 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16707 (ILL_ILLOPN): Likewise.
16708 (ILL_ILLADR): Likewise.
16709 (ILL_ILLTRP): Likewise.
16710 (ILL_PRVOPC): Likewise.
16711 (ILL_PRVREG): Likewise.
16712 (ILL_COPROC): Likewise.
16713 (ILL_BADSTK): Likewise.
16714 (FPE_INTDIV): Likewise.
16715 (FPE_INTOVF): Likewise.
16716 (FPE_FLTDIV): Likewise.
16717 (FPE_FLTOVF): Likewise.
16718 (FPE_FLTUND): Likewise.
16719 (FPE_FLTRES): Likewise.
16720 (FPE_FLTINV): Likewise.
16721 (FPE_FLTSUB): Likewise.
16722 (SEGV_MAPERR): Likewise.
16723 (SEGV_ACCERR): Likewise.
16724 (BUS_ADRALN): Likewise.
16725 (BUS_ADRERR): Likewise.
16726 (BUS_OBJERR): Likewise.
16727 (BUS_MCEERR_AR): Likewise.
16728 (BUS_MCEERR_AO): Likewise.
16729 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16730 (TRAP_TRACE): Likewise.
16731 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16732 __USE_XOPEN2K8].
16733 (CLD_KILLED): Likewise.
16734 (CLD_DUMPED): Likewise.
16735 (CLD_TRAPPED): Likewise.
16736 (CLD_STOPPED): Likewise.
16737 (CLD_CONTINUED): Likewise.
16738 (POLL_IN): Likewise.
16739 (POLL_OUT): Likewise.
16740 (POLL_MSG): Likewise.
16741 (POLL_ERR): Likewise.
16742 (POLL_PRI): Likewise.
16743 (POLL_HUP): Likewise.
16744 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16745 (ILL_ILLOPN): Likewise.
16746 (ILL_ILLADR): Likewise.
16747 (ILL_ILLTRP): Likewise.
16748 (ILL_PRVOPC): Likewise.
16749 (ILL_PRVREG): Likewise.
16750 (ILL_COPROC): Likewise.
16751 (ILL_BADSTK): Likewise.
16752 (ILL_DBLFLT): Likewise.
16753 (ILL_HARDWALL): Likewise.
16754 (FPE_INTDIV): Likewise.
16755 (FPE_INTOVF): Likewise.
16756 (FPE_FLTDIV): Likewise.
16757 (FPE_FLTOVF): Likewise.
16758 (FPE_FLTUND): Likewise.
16759 (FPE_FLTRES): Likewise.
16760 (FPE_FLTINV): Likewise.
16761 (FPE_FLTSUB): Likewise.
16762 (SEGV_MAPERR): Likewise.
16763 (SEGV_ACCERR): Likewise.
16764 (BUS_ADRALN): Likewise.
16765 (BUS_ADRERR): Likewise.
16766 (BUS_OBJERR): Likewise.
16767 (BUS_MCEERR_AR): Likewise.
16768 (BUS_MCEERR_AO): Likewise.
16769 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16770 (TRAP_TRACE): Likewise.
16771 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16772 __USE_XOPEN2K8].
16773 (CLD_KILLED): Likewise.
16774 (CLD_DUMPED): Likewise.
16775 (CLD_TRAPPED): Likewise.
16776 (CLD_STOPPED): Likewise.
16777 (CLD_CONTINUED): Likewise.
16778 (POLL_IN): Likewise.
16779 (POLL_OUT): Likewise.
16780 (POLL_MSG): Likewise.
16781 (POLL_ERR): Likewise.
16782 (POLL_PRI): Likewise.
16783 (POLL_HUP): Likewise.
16784 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16785 (ILL_ILLOPN): Likewise.
16786 (ILL_ILLADR): Likewise.
16787 (ILL_ILLTRP): Likewise.
16788 (ILL_PRVOPC): Likewise.
16789 (ILL_PRVREG): Likewise.
16790 (ILL_COPROC): Likewise.
16791 (ILL_BADSTK): Likewise.
16792 (FPE_INTDIV): Likewise.
16793 (FPE_INTOVF): Likewise.
16794 (FPE_FLTDIV): Likewise.
16795 (FPE_FLTOVF): Likewise.
16796 (FPE_FLTUND): Likewise.
16797 (FPE_FLTRES): Likewise.
16798 (FPE_FLTINV): Likewise.
16799 (FPE_FLTSUB): Likewise.
16800 (SEGV_MAPERR): Likewise.
16801 (SEGV_ACCERR): Likewise.
16802 (BUS_ADRALN): Likewise.
16803 (BUS_ADRERR): Likewise.
16804 (BUS_OBJERR): Likewise.
16805 (BUS_MCEERR_AR): Likewise.
16806 (BUS_MCEERR_AO): Likewise.
16807 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16808 (TRAP_TRACE): Likewise.
16809 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16810 __USE_XOPEN2K8].
16811 (CLD_KILLED): Likewise.
16812 (CLD_DUMPED): Likewise.
16813 (CLD_TRAPPED): Likewise.
16814 (CLD_STOPPED): Likewise.
16815 (CLD_CONTINUED): Likewise.
16816 (POLL_IN): Likewise.
16817 (POLL_OUT): Likewise.
16818 (POLL_MSG): Likewise.
16819 (POLL_ERR): Likewise.
16820 (POLL_PRI): Likewise.
16821 (POLL_HUP): Likewise.
16822 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16823 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16824
bc61d27c
JM
16825 [BZ #16670]
16826 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16827 before #include of <time.h>.
16828 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16829 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16830 (test-xfail-UNIX98/sched.h/conform): Likewise.
16831
302949e2
MS
168322014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16833
16834 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16835 error absence of trapping exception support.
16836 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16837
a00f522a
JM
168382014-03-07 Joseph Myers <joseph@codesourcery.com>
16839
6f99f280
JM
16840 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16841 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16842 * timezone/Makefile (testdata): Move definition above include of
16843 Rules.
16844 (test-zones): New variable.
16845 (tests-special): Add zone files.
16846 (build-testdata): Use $(evaluate-test).
16847
0b20a9e8
JM
16848 * elf/Makefile (tests-special): Rename tests to end with .out.
16849 ($(objpfx)noload-mem): Likewise.
16850 ($(objpfx)tst-leaks1-mem): Likewise.
16851 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16852 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16853 $(objpfx)test-iconvconfig.out.
16854 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16855 set -e inside subshell and redirect output to file.
16856 * iconvdata/Makefile (generated): Rename tests to end with .out.
16857 Correct type.
16858 (tests-special): Rename tests to end with .out.
16859 ($(objpfx)mtrace-tst-loading): Likewise.
16860 * intl/Makefile (generated): Likewise.
16861 (tests-special): Likewise.
16862 ($(objpfx)mtrace-tst-gettext): Likewise.
16863 * misc/Makefile (generated): Likewise.
16864 (tests-special): Likewise.
16865 ($(objpfx)tst-error1-mem): Likewise.
16866 * nptl/Makefile (tests-special): Likewise.
16867 ($(objpfx)tst-stack3-mem): Likewise.
16868 (generated): Likewise.
16869 * posix/Makefile (generated): Likewise.
16870 (tests-special): Likewise.
16871 (xtests-special): Likewise.
16872 ($(objpfx)tst-fnmatch-mem): Likewise.
16873 ($(objpfx)bug-regex2-mem): Likewise.
16874 ($(objpfx)bug-regex14-mem): Likewise.
16875 ($(objpfx)bug-regex21-mem): Likewise.
16876 ($(objpfx)bug-regex31-mem): Likewise.
16877 ($(objpfx)tst-vfork3-mem): Likewise.
16878 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16879 ($(objpfx)tst-pcre-mem): Likewise.
16880 ($(objpfx)tst-boost-mem): Likewise.
16881 ($(objpfx)bug-ga2-mem): Likewise.
16882 ($(objpfx)bug-glob2-mem): Likewise.
16883 * resolv/Makefile (generate): Likewise.
16884 (tests-special): Likewise.
16885 (xtests-special): Likewise.
16886 (generated): Likewise.
16887 ($(objpfx)mtrace-tst-leaks): Likewise.
16888 ($(objpfx)mtrace-tst-leaks2): Likewise.
16889
265d52ab
JM
16890 * scripts/merge-test-results.sh: New file.
16891 * Makefile (tests-special-notdir): New variable.
16892 (tests): Run merge-test-results.sh.
16893 (xtests): Likewise.
16894 * Rules (tests-special-notdir): New variable.
16895 (xtests-special-notdir): Likewise.
16896 (tests): Run merge-test-results.sh
16897 (xtests): Likewise.
16898
54ee292d
JM
16899 * Makeconfig (test-xfail-name): New variable.
16900 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16901 compute variable name for expected failures.
16902 * conform/Makefile (conformtest-headers-data): New variable.
16903 (conformtest-standards): Likewise.
16904 (conformtest-headers-ISO): Likewise.
16905 (conformtest-headers-ISO99): Likewise.
16906 (conformtest-headers-ISO11): Likewise.
16907 (conformtest-headers-POSIX): Likewise.
16908 (conformtest-headers-XPG3): Likewise.
16909 (conformtest-headers-XPG4): Likewise.
16910 (conformtest-headers-UNIX98): Likewise.
16911 (conformtest-headers-XOPEN2K): Likewise.
16912 (conformtest-headers-POSIX2008): Likewise.
16913 (conformtest-headers-XOPEN2K8): Likewise.
16914 (conformtest-header-list-base): Likewise.
16915 (conformtest-header-list-tests): Likewise.
16916 (conformtest-header-base): Likewise.
16917 (conformtest-header-tests): Likewise.
16918 (tests-special): Add $(conformtest-header-list-tests). If
16919 [$(fast-check) && !$(cross-compiling)], add
16920 $(conformtest-header-tests) instead of
16921 $(objpfx)run-conformtest.out.
16922 (generated): Add $(conformtest-header-list-base). If
16923 [$(fast-check) && !$(cross-compiling)], add
16924 $(conformtest-header-base). Remove previous setting.
16925 ($(conformtest-header-list-tests)): New target.
16926 (test-xfail-run-conformtest): Remove variable.
16927 ($(objpfx)run-conformtest.out): Remove target.
16928 (test-xfail-ISO11/complex.h/conform): New variable.
16929 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16930 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16931 (test-xfail-XPG3/varargs.h/conform): Likewise.
16932 (test-xfail-XPG4/varargs.h/conform): Likewise.
16933 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16934 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16935 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16936 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16937 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16938 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16939 (test-xfail-XPG3/ftw.h/conform): Likewise.
16940 (test-xfail-XPG3/grp.h/conform): Likewise.
16941 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16942 (test-xfail-XPG3/limits.h/conform): Likewise.
16943 (test-xfail-XPG3/pwd.h/conform): Likewise.
16944 (test-xfail-XPG3/search.h/conform): Likewise.
16945 (test-xfail-XPG3/signal.h/conform): Likewise.
16946 (test-xfail-XPG3/stdio.h/conform): Likewise.
16947 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16948 (test-xfail-XPG3/string.h/conform): Likewise.
16949 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16950 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16951 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16952 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16953 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16954 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16955 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16956 (test-xfail-XPG3/termios.h/conform): Likewise.
16957 (test-xfail-XPG3/time.h/conform): Likewise.
16958 (test-xfail-XPG3/unistd.h/conform): Likewise.
16959 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16960 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16961 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16962 (test-xfail-XPG4/netdb.h/conform): Likewise.
16963 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16964 (test-xfail-XPG4/signal.h/conform): Likewise.
16965 (test-xfail-XPG4/stdio.h/conform): Likewise.
16966 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16967 (test-xfail-XPG4/stropts.h/conform): Likewise.
16968 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16969 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16970 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16971 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16972 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16973 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16974 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16975 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16976 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16977 (test-xfail-XPG4/termios.h/conform): Likewise.
16978 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16979 (test-xfail-XPG4/unistd.h/conform): Likewise.
16980 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16981 (test-xfail-POSIX/sched.h/conform): Likewise.
16982 (test-xfail-POSIX/signal.h/conform): Likewise.
16983 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16984 (test-xfail-POSIX/tar.h/conform): Likewise.
16985 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16986 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16987 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16988 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16989 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16990 (test-xfail-UNIX98/sched.h/conform): Likewise.
16991 (test-xfail-UNIX98/signal.h/conform): Likewise.
16992 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16993 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16994 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16995 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16996 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16997 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16998 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16999 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17000 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17001 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17002 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17003 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17004 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17005 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17006 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17007 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17008 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17009 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17010 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17011 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17012 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17013 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17014 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17015 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17016 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17017 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17018 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17019 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17020 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17021 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17022 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17023 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17024 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17025 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17026 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17027 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17028 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17029 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17030 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17031 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17032 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17033 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17034 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17035 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17036 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17037 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17038 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17039 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17040 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17041 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17042 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17043 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17044 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17045 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17046 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17047 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17048 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17049 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17050 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17051 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17052 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17053 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17054 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17055 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17056 (conformtest-cc-flags): Likewise.
17057 ($(conformtest-header-tests): New target.
17058 * conform/check-header-lists.sh: New file.
17059 * conform/run-conformtest.sh: Remove.
17060
a00f522a
JM
17061 * conform/conformtest.pl: Allow ' and \ in values given for
17062 constants.
17063 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17064 inclusion.
17065 [POSIX] (sys/types.h): Likewise.
17066 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17067 inclusion.
17068 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17069 inclusion.
17070 * conform/data/signal.h-data (SIGIO): Remove expectation.
17071 [XPG3] (SIGBUS): Do not expect.
17072 [POSIX || XPG3] (SIGPOLL): Likewise.
17073 [POSIX || XPG3] (SIGPROF): Likewise.
17074 [POSIX || XPG3] (SIGSYS): Likewise.
17075 [XPG3] (SIGTRAP): Likewise.
17076 [POSIX || XPG3] (SIGURG): Likewise.
17077 [POSIX || XPG3] (SIGVTALRM): Likewise.
17078 [POSIX || XPG3] (SIGXCPU): Likewise.
17079 [POSIX || XPG3] (SIGXFSZ): Likewise.
17080 [POSIX] (SA_SIGINFO): Expect.
17081 [XPG3] (siginfo_t): Do not expect type or contents.
17082 [POSIX] (si_pid): Do not expect element.
17083 [POSIX] (si_uid): Likewise.
17084 [POSIX] (si_addr): Likewise.
17085 [POSIX] (si_status): Likewise.
17086 [POSIX] (si_band): Likewise.
17087 [XPG4] (si_value): Likewise.
17088 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17089 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17090 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17091 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17092 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17093 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17094 [POSIX || XPG3] (ILL_COPROC): Likewise.
17095 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17096 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17097 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17098 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17099 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17100 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17101 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17102 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17103 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17104 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17105 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17106 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17107 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17108 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17109 [POSIX || XPG3] (CLD_EXITED): Likewise.
17110 [POSIX || XPG3] (CLD_KILLED): Likewise.
17111 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17112 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17113 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17114 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17115 [POSIX || XPG3] (POLL_IN): Likewise.
17116 [POSIX || XPG3] (POLL_OUT): Likewise.
17117 [POSIX || XPG3] (POLL_MSG): Likewise.
17118 [POSIX || XPG3] (POLL_ERR): Likewise.
17119 [POSIX || XPG3] (POLL_PRI): Likewise.
17120 [POSIX || XPG3] (POLL_HUP): Likewise.
17121 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17122 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17123 (SIG*): Do not allow.
17124 [XPG3] (si_*): Likewise.
17125 [XPG3] (SI_*): Likewise.
17126 [XPG3 || XPG4] (sigev_*): Likewise.
17127 [XPG3 || XPG4] (SIGEV_*): Likewise.
17128 [XPG3 || XPG4] (sival_*): Likewise.
17129 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17130 [POSIX || XPG3] (BUS_*): Likewise.
17131 [POSIX || XPG3] (CLD_*): Likewise.
17132 [POSIX || XPG3] (FPE_*): Likewise.
17133 [POSIX || XPG3] (ILL_*): Likewise.
17134 [POSIX || XPG3] (POLL_*): Likewise.
17135 [POSIX || XPG3] (SEGV_*): Likewise.
17136 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17137 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17138 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17139 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17140 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17141 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17142 Specify type and value.
17143 (TVERSLEN): Likewise.
17144 (REGTYPE): Likewise.
17145 (AREGTYPE): Likewise.
17146 (LNKTYPE): Likewise.
17147 (SYMTYPE): Likewise.
17148 (CHRTYPE): Likewise.
17149 (BLKTYPE): Likewise.
17150 (DIRTYPE): Likewise.
17151 (FIFOTYPE): Likewise.
17152 (CONTTYPE): Likewise.
17153 (TSUID): Likewise.
17154 (TSGID): Likewise.
17155 (TSVTX): Likewise.
17156 (TUREAD): Likewise.
17157 (TUWRITE): Likewise.
17158 (TUEXEC): Likewise.
17159 (TGREAD): Likewise.
17160 (TGWRITE): Likewise.
17161 (TGEXEC): Likewise.
17162 (TOREAD): Likewise.
17163 (TOWRITE): Likewise.
17164 (TOEXEC): Likewise.
17165 [POSIX] (TSVTX): Expect constant.
17166
aa97dee1
JM
171672014-03-06 Joseph Myers <joseph@codesourcery.com>
17168
f214606a
JM
17169 * Makefile (tests): Change dependencies to ....
17170 (tests-special): ... additions to this variable.
17171 (tests): Depend on $(tests-special).
17172 * Makerules (check-abi-list): New variable.
17173 (check-abi): Depend on $(check-abi-list).
17174 [$(subdir) = elf] (tests-special): Add
17175 $(objpfx)check-abi-libc.out.
17176 [$(build-shared) = yes && subdir] (tests-special): Add
17177 $(check-abi-list).
17178 [$(build-shared) = yes && subdir] (tests): Do not depend on
17179 check-abi.
17180 * Rules (tests): Depend on $(tests-special).
17181 (xtests): Depend on $(xtests-special).
17182 * catgets/Makefile (tests): Change dependencies to ....
17183 (tests-special): ... additions to this variable.
17184 * conform/Makefile (tests): Change dependencies to ....
17185 (tests-special): ... additions to this variable.
17186 * elf/Makefile (tests): Change dependencies to ....
17187 (tests-special): ... additions to this variable.
17188 * grp/Makefile (tests): Change dependencies to ....
17189 (tests-special): ... additions to this variable.
17190 * iconv/Makefile (xtests): Change dependencies to ....
17191 (xtests-special): ... additions to this variable.
17192 * iconvdata/Makefile (tests): Change dependencies to ....
17193 (tests-special): ... additions to this variable.
17194 * intl/Makefile (tests): Change dependencies to ....
17195 (tests-special): ... additions to this variable. Also add
17196 $(objpfx)tst-gettext.out.
17197 * io/Makefile (tests): Change dependencies to ....
17198 (tests-special): ... additions to this variable.
17199 * libio/Makefile (tests): Change dependencies to ....
17200 (tests-special): ... additions to this variable.
17201 * malloc/Makefile (tests): Change dependencies to ....
17202 (tests-special): ... additions to this variable.
17203 * misc/Makefile (tests): Change dependencies to ....
17204 (tests-special): ... additions to this variable.
17205 * nptl/Makefile (tests): Change dependencies to ....
17206 (tests-special): ... additions to this variable.
17207 * nptl_db/Makefile (tests): Change dependencies to ....
17208 (tests-special): ... additions to this variable.
17209 * posix/Makefile (tests): Change dependencies to ....
17210 (tests-special): ... additions to this variable.
17211 (xtests): Change dependencies to ....
17212 (xtests-special): ... additions to this variable.
17213 * resolv/Makefile (tests): Change dependencies to ....
17214 (tests-special): ... additions to this variable.
17215 (xtests): Change dependencies to ....
17216 (xtests-special): ... additions to this variable.
17217 * stdio-common/Makefile (tests): Change dependencies to ....
17218 (tests-special): ... additions to this variable.
17219 (do-tst-unbputc): Remove target.
17220 (do-tst-printf): Likewise.
17221 * stdlib/Makefile (tests): Change dependencies to ....
17222 (tests-special): ... additions to this variable.
17223 * string/Makefile (tests): Change dependencies to ....
17224 (tests-special): ... additions to this variable.
17225 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17226 (tests-special): ... additions to this variable.
17227
81700b53
JM
17228 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17229 whole file.
17230 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17231 whole file.
17232 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17233 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17234
2ea18461
JM
17235 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17236 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17237 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17238 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17239 * conform/data/libgen.h-data [XPG3]: Likewise.
17240 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17241 * conform/data/ndbm.h-data [XPG3]: Likewise.
17242 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17243 * conform/data/netdb.h-data [XPG3]: Likewise.
17244 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17245 * conform/data/poll.h-data [XPG3]: Likewise.
17246 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17247 * conform/data/strings.h-data [XPG3]: Likewise.
17248 * conform/data/stropts.h-data [XPG3]: Likewise.
17249 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17250 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17251 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17252 Likewise.
17253 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17254 * conform/data/sys/time.h-data [XPG3]: Likewise.
17255 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17256 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17257 * conform/data/sys/un.h-data [XPG3]: Likewise.
17258 * conform/data/syslog.h-data [XPG3]: Likewise.
17259 * conform/data/ucontext.h-data [XPG3]: Likewise.
17260 * conform/data/utmpx.h-data [XPG3]: Likewise.
17261 * conform/data/varargs.h-data [UNIX98]: Enable file.
17262
355bc986
JM
17263 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17264
215db402
JM
17265 * math/libm-test.inc (struct test_f_f_data): Move expected results
17266 into structure for each rounding mode.
17267 (struct test_ff_f_data): Likewise.
17268 (struct test_ff_f_data_nexttoward): Likewise.
17269 (struct test_fi_f_data): Likewise.
17270 (struct test_fl_f_data): Likewise.
17271 (struct test_if_f_data): Likewise.
17272 (struct test_fff_f_data): Likewise.
17273 (struct test_c_f_data): Likewise.
17274 (struct test_f_f1_data): Likewise.
17275 (struct test_fF_f1_data): Likewise.
17276 (struct test_ffI_f1_data): Likewise.
17277 (struct test_c_c_data): Likewise.
17278 (struct test_cc_c_data): Likewise.
17279 (struct test_f_i_data): Likewise.
17280 (struct test_ff_i_data): Likewise.
17281 (struct test_f_l_data): Likewise.
17282 (struct test_f_L_data): Likewise.
17283 (struct test_fFF_11_data): Likewise.
17284 (RM_): New macro.
17285 (RM_FE_DOWNWARD): Likewise.
17286 (RM_FE_TONEAREST): Likewise.
17287 (RM_FE_TOWARDZERO): Likewise.
17288 (RM_FE_UPWARD): Likewise.
17289 (RUN_TEST_LOOP_f_f): Update references to expected results.
17290 (RUN_TEST_LOOP_2_f): Likewise.
17291 (RUN_TEST_LOOP_fff_f): Likewise.
17292 (RUN_TEST_LOOP_c_f): Likewise.
17293 (RUN_TEST_LOOP_f_f1): Likewise.
17294 (RUN_TEST_LOOP_fF_f1): Likewise.
17295 (RUN_TEST_LOOP_fI_f1): Likewise.
17296 (RUN_TEST_LOOP_ffI_f1): Likewise.
17297 (RUN_TEST_LOOP_c_c): Likewise.
17298 (RUN_TEST_LOOP_cc_c): Likewise.
17299 (RUN_TEST_LOOP_f_i): Likewise.
17300 (RUN_TEST_LOOP_f_i_tg): Likewise.
17301 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17302 (RUN_TEST_LOOP_f_b): Likewise.
17303 (RUN_TEST_LOOP_f_b_tg): Likewise.
17304 (RUN_TEST_LOOP_f_l): Likewise.
17305 (RUN_TEST_LOOP_f_L): Likewise.
17306 (RUN_TEST_LOOP_fFF_11): Likewise.
17307 * math/gen-libm-test.pl (parse_args): Output four copies of
17308 expected results for each test.
17309
67737b8f
JM
17310 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17311 (__ASSUME_UTIMES): Remove.
17312 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17313 (__ASSUME_UTIMES): Likewise.
17314
aa97dee1
JM
17315 * math/gen-auto-libm-tests.c: Update comment on output format.
17316 (output_for_one_input_case): Generate before-rounding and
17317 after-rounding information as conditions on output flags not
17318 floating-point format.
17319 * math/auto-libm-test-out: Regenerated.
17320 * math/gen-libm-test.pl (cond_value): New function.
17321 (or_cond_value): Use cond_value.
17322 (generate_testfile): Handle conditional exceptions.
17323
e6b6a857
JM
173242014-03-05 Joseph Myers <joseph@codesourcery.com>
17325
2f0a0f44
JM
17326 * math/libm-test.inc (max_valid_error): New variable.
17327 (init_max_error): Take new argument specifying whether function
17328 results are exactly determined. Set max_valid_error and bound
17329 other variables for errors based on this argument.
17330 (set_max_error): Do not record results above max_valid_error.
17331 (check_float_internal): Only accept errors of up to 0.5ulps if
17332 also at most max_valid_error.
17333 (START): Take new argument EXACT and pass it to init_max_error.
17334 (acos_test): Update call to START.
17335 (acos_test_tonearest): Likewise.
17336 (acos_test_towardzero): Likewise.
17337 (acos_test_downward): Likewise.
17338 (acos_test_upward): Likewise.
17339 (acosh_test): Likewise.
17340 (asin_test): Likewise.
17341 (asin_test_tonearest): Likewise.
17342 (asin_test_towardzero): Likewise.
17343 (asin_test_downward): Likewise.
17344 (asin_test_upward): Likewise.
17345 (asinh_test): Likewise.
17346 (atan_test): Likewise.
17347 (atanh_test): Likewise.
17348 (atan2_test): Likewise.
17349 (cabs_test): Likewise.
17350 (cacos_test): Likewise.
17351 (cacosh_test): Likewise.
17352 (carg_test): Likewise.
17353 (casin_test): Likewise.
17354 (casinh_test): Likewise.
17355 (catan_test): Likewise.
17356 (catanh_test): Likewise.
17357 (cbrt_test): Likewise.
17358 (ccos_test): Likewise.
17359 (ccosh_test): Likewise.
17360 (ceil_test): Likewise.
17361 (cexp_test): Likewise.
17362 (cimag_test): Likewise.
17363 (clog_test): Likewise.
17364 (clog10_test): Likewise.
17365 (conj_test): Likewise.
17366 (copysign_test): Likewise.
17367 (cos_test): Likewise.
17368 (cos_test_tonearest): Likewise.
17369 (cos_test_towardzero): Likewise.
17370 (cos_test_downward): Likewise.
17371 (cos_test_upward): Likewise.
17372 (cosh_test): Likewise.
17373 (cosh_test_tonearest): Likewise.
17374 (cosh_test_towardzero): Likewise.
17375 (cosh_test_downward): Likewise.
17376 (cosh_test_upward): Likewise.
17377 (cpow_test): Likewise.
17378 (cproj_test): Likewise.
17379 (creal_test): Likewise.
17380 (csin_test): Likewise.
17381 (csinh_test): Likewise.
17382 (csqrt_test): Likewise.
17383 (ctan_test): Likewise.
17384 (ctan_test_tonearest): Likewise.
17385 (ctan_test_towardzero): Likewise.
17386 (ctan_test_downward): Likewise.
17387 (ctan_test_upward): Likewise.
17388 (ctanh_test): Likewise.
17389 (ctanh_test_tonearest): Likewise.
17390 (ctanh_test_towardzero): Likewise.
17391 (ctanh_test_downward): Likewise.
17392 (ctanh_test_upward): Likewise.
17393 (erf_test): Likewise.
17394 (erfc_test): Likewise.
17395 (exp_test): Likewise.
17396 (exp_test_tonearest): Likewise.
17397 (exp_test_towardzero): Likewise.
17398 (exp_test_downward): Likewise.
17399 (exp_test_upward): Likewise.
17400 (exp10_test): Likewise.
17401 (exp10_test_tonearest): Likewise.
17402 (exp10_test_towardzero): Likewise.
17403 (exp10_test_downward): Likewise.
17404 (exp10_test_upward): Likewise.
17405 (pow10_test): Likewise.
17406 (exp2_test): Likewise.
17407 (expm1_test): Likewise.
17408 (expm1_test_tonearest): Likewise.
17409 (expm1_test_towardzero): Likewise.
17410 (expm1_test_downward): Likewise.
17411 (expm1_test_upward): Likewise.
17412 (fabs_test): Likewise.
17413 (fdim_test): Likewise.
17414 (floor_test): Likewise.
17415 (fma_test): Likewise.
17416 (fma_test_towardzero): Likewise.
17417 (fma_test_downward): Likewise.
17418 (fma_test_upward): Likewise.
17419 (fmax_test): Likewise.
17420 (fmin_test): Likewise.
17421 (fmod_test): Likewise.
17422 (fpclassify_test): Likewise.
17423 (frexp_test): Likewise.
17424 (hypot_test): Likewise.
17425 (ilogb_test): Likewise.
17426 (isfinite_test): Likewise.
17427 (finite_test): Likewise.
17428 (isgreater_test): Likewise.
17429 (isgreaterequal_test): Likewise.
17430 (isinf_test): Likewise.
17431 (isless_test): Likewise.
17432 (islessequal_test): Likewise.
17433 (islessgreater_test): Likewise.
17434 (isnan_test): Likewise.
17435 (isnormal_test): Likewise.
17436 (issignaling_test): Likewise.
17437 (isunordered_test): Likewise.
17438 (j0_test): Likewise.
17439 (j1_test): Likewise.
17440 (jn_test): Likewise.
17441 (ldexp_test): Likewise.
17442 (lgamma_test): Likewise.
17443 (gamma_test): Likewise.
17444 (lrint_test): Likewise.
17445 (lrint_test_tonearest): Likewise.
17446 (lrint_test_towardzero): Likewise.
17447 (lrint_test_downward): Likewise.
17448 (lrint_test_upward): Likewise.
17449 (llrint_test): Likewise.
17450 (llrint_test_tonearest): Likewise.
17451 (llrint_test_towardzero): Likewise.
17452 (llrint_test_downward): Likewise.
17453 (llrint_test_upward): Likewise.
17454 (log_test): Likewise.
17455 (log10_test): Likewise.
17456 (log1p_test): Likewise.
17457 (log2_test): Likewise.
17458 (logb_test): Likewise.
17459 (logb_test_downward): Likewise.
17460 (lround_test): Likewise.
17461 (llround_test): Likewise.
17462 (modf_test): Likewise.
17463 (nearbyint_test): Likewise.
17464 (nextafter_test): Likewise.
17465 (nexttoward_test): Likewise.
17466 (pow_test): Likewise.
17467 (pow_test_tonearest): Likewise.
17468 (pow_test_towardzero): Likewise.
17469 (pow_test_downward): Likewise.
17470 (pow_test_upward): Likewise.
17471 (remainder_test): Likewise.
17472 (drem_test): Likewise.
17473 (remainder_test_tonearest): Likewise.
17474 (drem_test_tonearest): Likewise.
17475 (remainder_test_towardzero): Likewise.
17476 (drem_test_towardzero): Likewise.
17477 (remainder_test_downward): Likewise.
17478 (drem_test_downward): Likewise.
17479 (remainder_test_upward): Likewise.
17480 (drem_test_upward): Likewise.
17481 (remquo_test): Likewise.
17482 (rint_test): Likewise.
17483 (rint_test_tonearest): Likewise.
17484 (rint_test_towardzero): Likewise.
17485 (rint_test_downward): Likewise.
17486 (rint_test_upward): Likewise.
17487 (round_test): Likewise.
17488 (scalb_test): Likewise.
17489 (scalbn_test): Likewise.
17490 (scalbln_test): Likewise.
17491 (signbit_test): Likewise.
17492 (sin_test): Likewise.
17493 (sin_test_tonearest): Likewise.
17494 (sin_test_towardzero): Likewise.
17495 (sin_test_downward): Likewise.
17496 (sin_test_upward): Likewise.
17497 (sincos_test): Likewise.
17498 (sinh_test): Likewise.
17499 (sinh_test_tonearest): Likewise.
17500 (sinh_test_towardzero): Likewise.
17501 (sinh_test_downward): Likewise.
17502 (sinh_test_upward): Likewise.
17503 (sqrt_test): Likewise.
17504 (sqrt_test_tonearest): Likewise.
17505 (sqrt_test_towardzero): Likewise.
17506 (sqrt_test_downward): Likewise.
17507 (sqrt_test_upward): Likewise.
17508 (tan_test): Likewise.
17509 (tan_test_tonearest): Likewise.
17510 (tan_test_towardzero): Likewise.
17511 (tan_test_downward): Likewise.
17512 (tan_test_upward): Likewise.
17513 (tanh_test): Likewise.
17514 (tgamma_test): Likewise.
17515 (trunc_test): Likewise.
17516 (y0_test): Likewise.
17517 (y1_test): Likewise.
17518 (yn_test): Likewise.
17519 (significand_test): Likewise.
17520
e6b6a857
JM
17521 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17522 individual tests in comment.
17523 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17524 (prev_max_error): New variable.
17525 (prev_real_max_error): Likewise.
17526 (prev_imag_max_error): Likewise.
17527 (compare_ulp_data): Don't refer to test names in comment.
17528 (find_test_ulps): Remove function.
17529 (find_function_ulps): Likewise.
17530 (find_complex_function_ulps): Likewise.
17531 (init_max_error): Take function name as argument. Look up ulps
17532 for that function.
17533 (print_ulps): Remove function.
17534 (print_max_error): Use prev_max_error instead of calling
17535 find_function_ulps.
17536 (print_complex_max_error): Use prev_real_max_error and
17537 prev_imag_max_error instead of calling find_complex_function_ulps.
17538 (check_float_internal): Take max_ulp parameter instead of calling
17539 find_test_ulps. Don't call print_ulps.
17540 (check_float): Update call to check_float_internal.
17541 (check_complex): Update calls to check_float_internal.
17542 (START): Pass argument to init_max_error.
17543 * math/gen-libm-test.pl (%results): Don't include "kind"
17544 information.
17545 (parse_ulps): Don't handle ulps of individual tests.
17546 (print_ulps_file): Likewise.
17547 (output_ulps): Likewise.
17548 * math/README.libm-test: Update.
17549 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17550 individual tests.
17551 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17552 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17553 * sysdeps/arm/libm-test-ulps: Likewise.
17554 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17555 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17556 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17557 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17558 * sysdeps/microblaze/libm-test-ulps: Likewise.
17559 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17560 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17561 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17562 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17563 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17564 * sysdeps/sh/libm-test-ulps: Likewise.
17565 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17566 * sysdeps/tile/libm-test-ulps: Likewise.
17567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17568
45adef3c
JM
175692014-03-04 Joseph Myers <joseph@codesourcery.com>
17570
17571 * math/libm-test.inc (print_complex_max_error): Check separately
17572 whether real and imaginary errors are within allowed range and
17573 pass 0 to print_complex_function_ulps instead of value within
17574 allowed range.
17575
000232b9
SP
175762014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17577
d4b17258
SP
17578 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17579 formatting.
17580 (get_handles_fopen): Likewise.
17581 (do_write_test): Likewise.
17582
091eff71
SP
17583 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17584
fa3cd248
SP
17585 * libio/fileops.c (do_ftell): Use cached offset when
17586 available.
17587 * libio/iofwide.c (do_ftell_wide): Likewise.
17588 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17589 _IO_file_attach.
17590 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17591
000232b9
SP
17592 [BZ #16532]
17593 * libio/libioP.h (get_file_offset): New function.
17594 * libio/fileops.c (get_file_offset): Likewise.
17595 (do_ftell): Likewise.
17596 (_IO_new_file_seekoff): Split out ftell logic.
17597 * libio/wfileops.c (do_ftell_wide): Likewise.
17598 (_IO_wfile_seekoff): Split out ftell logic.
17599 * libio/tst-ftell-active-handler.c: New test case.
17600 * libio/Makefile (tests): Add it.
17601
116f4d1a
RM
176022014-03-03 Roland McGrath <roland@hack.frob.com>
17603
17604 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17605 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17606
532a6035
SP
176072014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17608
17609 [BZ #16639]
17610 * nscd/connections.c (nscd_init): Call do_exit.
17611 (start_threads): Call do_exit and notify_parent.
17612 (begin_drop_privileges): Call do_exit.
17613 (finish_drop_privileges): Likewise.
17614 * nscd/selinux.c (preserve_capabilities): Likewise.
17615 (install_real_capabilities): Likewise.
17616 (nscd_selinux_enabled): Likewise.
17617 (avc_create_thread): Likewise.
17618 (avc_alloc_lock): Likewise.
17619 (nscd_avc_init): Likewise.
17620 * nscd/nscd.c (parent_fd): New static variable.
17621 (main): Create a pipe between parent and child processes.
17622 Skip closing parent_fd.
17623 (monitor_child): New function.
17624 (do_exit): Likewise.
17625 (notify_parent): Likewise.
17626 * nscd/nscd.h (notify_parent): Likewise.
17627 (do_exit): Likewise.
17628
d6285c9f
CD
176292014-03-03 Carlos O'Donell <carlos@redhat.com>
17630
17631 * malloc/malloc.c (__libc_calloc): Revert last change.
17632
2b85d2a0
AZ
176332014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17634
17635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17636
c7debbdf
RS
176372014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17638
17639 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17641 implementation.
17642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17643 (__libc_ifunc_impl_list): Likewise.
17644 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17645 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17646 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17647 * string/strrchr.c: Define STRRCHR.
17648
235eed86
OB
176492014-02-28 Ondřej Bílka <neleai@seznam.cz>
17650
17651 * benchtest/bench-strtok.c (simple_strtok): Delete.
17652 (strtok_string): Use as benchmark.
17653 * string/strtok (STRTOK): New macro.
17654
8e25d1e7
CD
176552014-02-28 Carlos O'Donell <carlos@redhat.com>
17656
ef563f92
CD
17657 * manual/threads.texi: Add header and standard comments to all
17658 functions.
17659
8e25d1e7
CD
17660 * elf/dl-lookup.c (check_match): New function.
17661 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17662 (do_lookup_x): Remove nested function check_match. Use non-nested
17663 function check_match.
17664
ff71cc37
RM
176652014-02-28 Roland McGrath <roland@hack.frob.com>
17666
f08e9a26
RM
17667 * csu/Makefile (generated, before-compile): Use += rather than =.
17668 * catgets/Makefile (generated, generated-dirs): Likewise.
17669 * debug/Makefile (generated): Likewise.
17670 * dlfcn/Makefile (generated): Likewise.
17671 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17672 * iconvdata/Makefile (before-compile, generated): Likewise.
17673 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17674 * libio/Makefile (generated): Likewise.
17675 * malloc/Makefile (generated): Likewise.
17676 * manual/Makefile (generated, generated-dirs): Likewise.
17677 * misc/Makefile (generated): Likewise.
17678 * posix/Makefile (generated): Likewise.
17679 * resolv/Makefile (generated): Likewise.
17680 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17681 * timezone/Makefile (generated, generated-dirs): Likewise.
17682
ff71cc37
RM
17683 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17684
fe13a20c
AZ
176852014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17686
57f41c40
AS
17687 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17688 power8 implementation.
17689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17690 file: POWER8 llround ifunc implementation.
17691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17692 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17693 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17694 POWER8 llround implementation.
17695
57f41c40
AS
17696 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17697 power8 implementation.
17698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17699 file: POWER8 llrint ifunc implementation.
17700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17701 Add POWER8 implementation.
1ad8950a
AZ
17702 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17703 POWER8 llrint implementation.
17704
57f41c40
AS
17705 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17706 power8 implementation.
17707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17708 file: POWER8 finite ifunc implementation.
17709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17710 Add POWER8 implementation.
cac626d6
AZ
17711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17712 Likewise.
17713 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17714 POWER8 finite implementation.
17715 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17716
57f41c40
AS
17717 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17718 power8 implementation.
17719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17720 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
17721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17722 POWER8 implementation.
17723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17724 Likewise.
57f41c40
AS
17725 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17726 isinf implementation.
4393fc11
AZ
17727 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17728
57f41c40
AS
17729 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17730 (INIT_ARCH): Add hwcap2 initialization.
17731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17732 power8 implementation.
17733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17734 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17736 POWER8 implementation.
17737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17738 Likewise.
57f41c40
AS
17739 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17740 isnan implementation.
487972ae
AZ
17741 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17742
7d92b787
JY
177432014-02-27 Joey Ye <joey.ye@arm.com>
17744
17745 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17746 (_FP_NANFRAC_Q): Set to zero.
17747
1cadc858
SP
177482014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17749
17750 [BZ #16623]
17751 * math/auto-libm-test-in: New test inputs.
17752 * math/auto-libm-test-out: Regenerate.
17753 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17754 and DA.
17755 (__cos): Likewise.
17756 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17757
f8c17e79
JM
177582014-02-27 Joseph Myers <joseph@codesourcery.com>
17759
17760 * scripts/evaluate-test.sh: Take new argument indicating whether
17761 failure is expected.
17762 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17763 indicating whether failure is expected.
17764 * conform/Makefile (test-xfail-run-conformtest): New variable.
17765 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17766 level.
17767 * posix/Makefile (test-xfail-annexc): New variable.
17768 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17769
a5f891ac
JM
177702014-02-26 Joseph Myers <joseph@codesourcery.com>
17771
17772 * argp/Makefile: Include Makeconfig immediately after defining
17773 subdir.
17774 * assert/Makefile: Likewise.
17775 * benchtests/Makefile: Likewise.
17776 * catgets/Makefile: Likewise.
17777 * conform/Makefile: Likewise.
17778 * crypt/Makefile: Likewise.
17779 * csu/Makefile: Likewise.
17780 (all): Remove target.
17781 * ctype/Makefile: Include Makeconfig immediately after defining
17782 subdir.
17783 * debug/Makefile: Likewise.
17784 * dirent/Makefile: Likewise.
17785 * dlfcn/Makefile: Likewise.
17786 * gmon/Makefile: Likewise.
17787 * gnulib/Makefile: Likewise.
17788 * grp/Makefile: Likewise.
17789 * gshadow/Makefile: Likewise.
17790 * hesiod/Makefile: Likewise.
17791 * hurd/Makefile: Likewise.
17792 (all): Remove target.
17793 * iconvdata/Makefile: Include Makeconfig immediately after
17794 defining subdir.
17795 * inet/Makefile: Likewise.
17796 * intl/Makefile: Likewise.
17797 * io/Makefile: Likewise.
17798 * libio/Makefile: Likewise.
17799 (all): Remove target.
17800 * locale/Makefile: Include Makeconfig immediately after defining
17801 subdir.
17802 * login/Makefile: Likewise.
17803 * mach/Makefile: Likewise.
17804 (all): Remove target.
17805 * malloc/Makefile: Include Makeconfig immediately after defining
17806 subdir.
17807 (all): Remove target.
17808 * manual/Makefile: Include Makeconfig immediately after defining
17809 subdir.
17810 * math/Makefile: Likewise.
17811 * misc/Makefile: Likewise.
17812 * nis/Makefile: Likewise.
17813 * nss/Makefile: Likewise.
17814 * po/Makefile: Likewise.
17815 (all): Remove target.
17816 * posix/Makefile: Include Makeconfig immediately after defining
17817 subdir.
17818 * pwd/Makefile: Likewise.
17819 * resolv/Makefile: Likewise.
17820 * resource/Makefile: Likewise.
17821 * rt/Makefile: Likewise.
17822 * setjmp/Makefile: Likewise.
17823 * shadow/Makefile: Likewise.
17824 * signal/Makefile: Likewise.
17825 * socket/Makefile: Likewise.
17826 * soft-fp/Makefile: Likewise.
17827 * stdio-common/Makefile: Likewise.
17828 * stdlib/Makefile: Likewise.
17829 * streams/Makefile: Likewise.
17830 * string/Makefile: Likewise.
17831 * sunrpc/Makefile: Likewise.
17832 (all): Remove target.
17833 * sysvipc/Makefile: Include Makeconfig immediately after defining
17834 subdir.
17835 * termios/Makefile: Likewise.
17836 * time/Makefile: Likewise.
17837 * timezone/Makefile: Likewise.
17838 (all): Remove target.
17839 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17840 subdir.
17841 * wctype/Makefile: Likewise.
17842
5b456e9d
SE
178432014-02-26 Steve Ellcey <sellcey@mips.com>
17844
17845 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17846 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17847 (libc_feholdexcept_setround_mips): Ditto.
17848 (libc_feholdsetround): New.
17849 (libc_feholdsetroundf): New.
17850 (libc_feholdsetroundl): New.
17851 (libc_feupdateenv_test_mips): New.
17852 (libc_feupdateenv_test): New.
17853 (libc_feupdateenv_testf): New.
17854 (libc_feupdateenv_testl): New.
17855 (libc_feresetround): New.
17856 (libc_feresetroundf): New.
17857 (libc_feresetroundl): New.
17858 (libc_fetestexcept_mips): New.
17859 (libc_fetestexcept): New.
17860 (libc_fetestexceptf): New.
17861 (libc_fetestexceptl): New.
17862 (HAVE_RM_CTX): New.
17863 (libc_feholdexcept_setround_mips_ctx): New.
17864 (libc_feholdexcept_setround_ctx): New.
17865 (libc_feholdexcept_setroundf_ctx): New.
17866 (libc_feholdexcept_setroundl_ctx): New.
17867 (libc_fesetenv_mips_ctx): New.
17868 (libc_fesetenv_ctx): New.
17869 (libc_fesetenv_ctxf): New.
17870 (libc_fesetenv_ctxl): New.
17871 (libc_feupdateenv_mips_ctx): New.
17872 (libc_feupdateenv_ctx): New.
17873 (libc_feupdateenvf_ctx): New.
17874 (libc_feupdateenvl_ctx): New.
17875 (libc_feholdsetround_mips_ctx): New.
17876 (libc_feholdsetround_ctx): New.
17877 (libc_feholdsetroundf_ctx): New.
17878 (libc_feholdsetroundl_ctx): New.
17879 (libc_feresetround_mips_ctx): New.
17880 (libc_feresetround_ctx): New.
17881 (libc_feresetroundf_ctx): New.
17882 (libc_feresetroundl_ctx): New.
17883
085d0e35
CD
178842014-02-26 Carlos O'Donell <carlos@redhat.com>
17885
f067bf1f
CD
17886 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17887
085d0e35
CD
17888 * manual/ipc.texi: New file.
17889 * manual/Makefile (chapters): Add ipc.
17890 * manual/job.texi: Add "Inter-Process Communication" to next.
17891 * manual/process.texi: Add "Inter-Process Communication" to prev.
17892
86e58c08
AZ
178932014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17894
17895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17896
4248f0da
OB
178972014-02-26 Ondřej Bílka <neleai@seznam.cz>
17898
17899 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17900
cf822e3c
OB
17901 * manual/arith.texi: Fix spaces after sentences.
17902 * manual/charset.texi: Likewise.
17903 * manual/errno.texi: Likewise.
17904 * manual/install.texi: Likewise.
17905 * manual/llio.texi: Likewise.
17906 * manual/locale.texi: Likewise.
17907 * manual/maint.texi: Likewise.
17908 * manual/math.texi: Likewise.
17909 * manual/memory.texi: Likewise.
17910 * manual/message.texi: Likewise.
17911 * manual/probes.texi: Likewise.
17912 * manual/resource.texi: Likewise.
17913 * manual/signal.texi: Likewise.
17914 * manual/socket.texi: Likewise.
17915 * manual/stdio.texi: Likewise.
17916 * manual/string.texi: Likewise.
17917 * manual/time.texi: Likewise.
17918 * manual/users.texi: Likewise.
17919
ade40b10
CD
179202014-02-25 Carlos O'Donell <carlos@redhat.com>
17921
17922 [BZ #16632]
17923 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17924 _DEFAULT_SOURCE is defined.
17925
d0503676
CD
179262014-02-25 Ulrich Drepper <drepper@gmail.com>
17927 Carlos O'Donell <carlos@redhat.com>
17928
17929 [BZ #16613]
17930 * elf/dl-tls.c (_dl_count_modids): New function.
17931 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17932 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17933 audit library and increment generation counter.
17934 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17935 * elf/tst-audit9.c: New file.
17936 * elf/tst-auditmod9a.c: New file.
17937 * elf/tst-auditmod9b.c: New file.
17938 * elf/Makefile: Add rules to build and run tst-audit9.
17939
4cbf380c
FW
179402014-02-25 Florian Weimer <fweimer@redhat.com>
17941
17942 [BZ #15347]
17943 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17944
80a56cc3
WN
179452014-02-25 Will Newton <will.newton@linaro.org>
17946
17947 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17948 (__longjmp): Restore sp and lr before restoring callee
17949 saved registers. Add longjmp and longjmp_target
17950 SystemTap probe point.
17951 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17952 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17953 Define to zero to match jmpbuf layout.
17954 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17955 (__sigsetjmp): Save sp and lr before saving callee
17956 saved registers. Add setjmp SystemTap probe point.
17957
3ea0f74e
SL
179582014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17959
17960 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17961
b04acb26
AS
179622014-02-24 Andreas Schwab <schwab@suse.de>
17963
17964 [BZ #15804]
17965 * elf/pldd.c (wait_for_ptrace_stop): New function.
17966 (main): Call it after attaching.
17967
098ad55c
RM
179682014-02-22 Roland McGrath <roland@hack.frob.com>
17969
d4ec6ae1
RM
17970 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17971 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17972 Versions files is now verboten.
17973 * hurd/Versions (libc: GLIBC_2.0):
17974 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17975 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17976 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17977 * mach/Versions: Likewise.
17978
098ad55c
RM
17979 * csu/Versions: Remove unused %include.
17980 * resolv/Versions: Likewise.
17981
acd7f096
JM
179822014-02-21 Joseph Myers <joseph@codesourcery.com>
17983
f0881698
JM
17984 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17985 ($(objpfx)check-local-headers.out): Likewise.
17986 ($(objpfx)begin-end-check.out): Likewise.
17987 * Makerules (check-abi-%.out): Likewise.
17988 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17989 ($(objpfx)test2.cat): Likewise.
17990 ($(objpfx)de/libc.cat): Likewise.
17991 ($(objpfx)test-gencat.out): Likewise.
17992 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17993 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17994 ($(objpfx)noload-mem): Likewise.
17995 ($(objpfx)tst-pathopt.out): Likewise.
17996 ($(objpfx)tst-rtld-load-self.out): Likewise.
17997 ($(objpfx)tst-array1-cmp.out): Likewise.
17998 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17999 ($(objpfx)tst-array2-cmp.out): Likewise.
18000 ($(objpfx)tst-array3-cmp.out): Likewise.
18001 ($(objpfx)tst-array4-cmp.out): Likewise.
18002 ($(objpfx)tst-array5-cmp.out): Likewise.
18003 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18004 ($(objpfx)check-textrel.out): Likewise.
18005 ($(objpfx)check-execstack.out): Likewise.
18006 ($(objpfx)check-localplt.out): Likewise.
18007 ($(objpfx)order2-cmp.out): Likewise.
18008 ($(objpfx)tst-leaks1-mem): Likewise.
18009 ($(objpfx)tst-leaks1-static-mem): Likewise.
18010 ($(objpfx)tst-initorder-cmp.out): Likewise.
18011 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18012 ($(objpfx)tst-unused-dep.out): Likewise.
18013 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18014 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18015 * iconv/Makefile (test-iconvconfig): Likewise.
18016 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18017 ($(objpfx)iconv-test.out): Likewise.
18018 ($(objpfx)tst-tables.out): Likewise.
18019 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18020 ($(objpfx)tst-gettext.out): Likewise.
18021 ($(objpfx)tst-translit.out): Likewise.
18022 ($(objpfx)tst-gettext2.out): Likewise.
18023 ($(objpfx)tst-gettext4.out): Likewise.
18024 ($(objpfx)tst-gettext6.out): Likewise.
18025 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18026 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18027 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18028 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18029 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18030 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18031 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18032 ($(objpfx)wordexp-tst.out): Likewise.
18033 ($(objpfx)annexc.out): Likewise.
18034 ($(objpfx)tst-fnmatch-mem): Likewise.
18035 ($(objpfx)bug-regex2-mem): Likewise.
18036 ($(objpfx)bug-regex14-mem): Likewise.
18037 ($(objpfx)bug-regex21-mem): Likewise.
18038 ($(objpfx)bug-regex31-mem): Likewise.
18039 ($(objpfx)tst-vfork3-mem): Likewise.
18040 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18041 ($(objpfx)tst-pcre-mem): Likewise.
18042 ($(objpfx)tst-boost-mem): Likewise.
18043 ($(objpfx)tst-getconf.out): Likewise.
18044 ($(objpfx)bug-ga2-mem): Likewise.
18045 ($(objpfx)bug-glob2-mem): Likewise.
18046 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18047 ($(objpfx)mtrace-tst-leaks2): Likewise.
18048 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18049 ($(objpfx)tst-printf.out): Likewise.
18050 ($(objpfx)tst-setvbuf1.out): Likewise.
18051 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18052 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18053 ($(objpfx)tst-fmtmsg.out): Likewise.
18054 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18055 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18056
acd7f096
JM
18057 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18058 * bits/sigaction.h [__USE_MISC]: Likewise.
18059 * bits/waitstatus.h: Update #endif comments.
18060 * ctype/ctype.h: Likewise.
18061 * dirent/dirent.h: Likewise.
18062 [__USE_MISC]: Remove redundant conditionals.
18063 * grp/grp.h: Update #endif comments.
18064 [__USE_GNU]: Remove redundant conditionals.
18065 [__USE_MISC]: Likewise.
18066 * inet/netinet/in.h [__USE_GNU]: Likewise.
18067 * io/sys/stat.h [__USE_MISC]: Likewise.
18068 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18069 * libio/bits/stdio.h: Update #endif comments.
18070 [__USE_MISC]: Remove redundant conditionals.
18071 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18072 * libio/stdio.h: Update #endif comments.
18073 [__USE_MISC]: Remove redundant conditionals.
18074 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18075 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18076 * math/math.h: Update #else and #endif comments.
18077 [__USE_MISC]: Remove redundant conditionals.
18078 * misc/sys/uio.h: Update #endif comments.
18079 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18080 * posix/glob.h [__USE_MISC]: Likewise.
18081 * posix/sys/types.h: Update #endif comments.
18082 [__USE_MISC]: Remove redundant conditionals.
18083 * posix/sys/wait.h: Update #endif comments.
18084 [__USE_MISC]: Remove redundant conditionals.
18085 * posix/unistd.h: Update #endif comments.
18086 [__USE_MISC]: Remove redundant conditionals.
18087 * pwd/pwd.h [__USE_GNU]: Likewise.
18088 [__USE_MISC]: Likewise.
18089 * resolv/netdb.h [__USE_GNU]: Likewise.
18090 * signal/signal.h: Update #endif comments.
18091 [__USE_MISC]: Remove redundant conditionals.
18092 * stdlib/stdlib.h: Update #else and #endif comments.
18093 [__USE_MISC]: Remove redundant conditionals.
18094 [__USE_GNU]: Likewise.
18095 * string/bits/string2.h [__USE_MISC]: Likewise.
18096 * string/string.h: Update #endif comments.
18097 [__USE_MISC]: Remove redundant conditionals.
18098 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18099 Likewise.
18100 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18101 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18102 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18103 Likewise.
18104 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18105 Likewise.
18106 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18107 comments.
18108 [__USE_MISC]: Remove redundant conditionals.
18109 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18110 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18111 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18112 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18113 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18114 Likewise.
18115 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18116 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18117 Likewise.
18118 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18119 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18120 Likewise.
18121 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18122 Likewise.
18123 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18124 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18125 Likewise.
18126 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18127 Likewise.
18128 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18129 * sysdeps/x86/bits/string.h: Update #endif comments.
18130 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18131 conditionals.
18132 * time/sys/time.h: Update #endif comments.
18133 * time/time.h: Likewise.
18134 [__USE_MISC]: Remove redundant conditionals.
18135
a5d82e4e
YG
181362014-02-21 Yury Gribov <y.gribov@samsung.com>
18137
18138 [BZ #16600]
18139 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18140
9a80491d
AS
181412014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18142
18143 * Versions.def (librt): Add GLIBC_2.17.
18144
105fa381
AC
181452014-02-21 Adam Conrad <adconrad@0c3.net>
18146
18147 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18148 synonym for _SYS_AUXV_H to allow direct inclusion.
18149 * sysdeps/sparc/bits/hwcap.h: Likewise.
18150 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18151 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18152 * sysdeps/sparc/sysdep.h: Likewise.
18153
b8cd1c4e
SP
181542014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18155
18156 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18157
bd939d23
RS
181582014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18159
18160 * benchtests/bench-strrchr.c: Print length instead of position.
18161
5d7b57ca
JM
181622014-02-20 Joseph Myers <joseph@codesourcery.com>
18163
bc688c10
JM
18164 [BZ #16611]
18165 * sysdeps/unix/sysv/linux/kernel-features.h
18166 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18167 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18168 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18169 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18170 Likewise.
18171 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18172 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18173 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18174 (__ASSUME_SENDMMSG): Define instead of using previous
18175 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18176 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18177 (__ASSUME_SENDMMSG_SYSCALL): Define.
18178 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18179 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18180 Likewise.
18181 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18182 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18183 Likewise.
18184 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18185 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18186 Likewise.
18187 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18188 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18189 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18190 [__ASSUME_SENDMMSG]: Change conditionals to
18191 [__ASSUME_SENDMMSG_SOCKETCALL].
18192 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18193 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18194 Define.
18195 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18196 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18197 Likewise.
18198 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18199 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18200 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18201 [!__ASSUME_SENDMMSG]: Change conditional to
18202 [!__ASSUME_SENDMMSG_SOCKETCALL].
18203 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18204 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18205 Define.
18206
0e31b18c
JM
18207 [BZ #16610]
18208 * sysdeps/unix/sysv/linux/kernel-features.h
18209 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18210 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18211 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18212 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18213 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18214 [__i386__ || __sparc__]
18215 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18216 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18217 (__ASSUME_RECVMMSG): Define instead of using previous
18218 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18219 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18220 (__ASSUME_RECVMMSG_SYSCALL): Define.
18221 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18222 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18223 Likewise.
18224 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18225 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18226 Likewise.
18227 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18228 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18229 Likewise.
18230 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18231 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18232 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18233 [__ASSUME_RECVMMSG]: Change condition to
18234 [__ASSUME_RECVMMSG_SOCKETCALL].
18235 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18236 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18237 Define.
18238 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18239 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18240 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18241 Likewise.
18242 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18243 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18244 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18245 [!__ASSUME_RECVMMSG]: Change condition to
18246 [!__ASSUME_RECVMMSG_SOCKETCALL].
18247 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18248 (__ASSUME_RECVMMSG_SYSCALL): Define.
18249
dd481ccf
JM
18250 [BZ #16609]
18251 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18252 __powerpc__ || __s390__ || __sh__ || __sparc__]
18253 (__ASSUME_SOCKETCALL): Define.
18254 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18255 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18256 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18257 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18258 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18259 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18260 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18261 (__ASSUME_ACCEPT4): Define instead of using previous
18262 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18263 __powerpc__ || __sparc__ || __s390__)] condition.
18264 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18265 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18266 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18267 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18268 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18269 [!__ASSUME_ACCEPT4]: Change condition to
18270 [!__ASSUME_ACCEPT4_SOCKETCALL].
18271 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18272 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18273 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18274 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18275 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18276 __ASSUME_ACCEPT4_SYSCALL.
18277 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18278 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18279 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18280 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18281 __ASSUME_ACCEPT4_SYSCALL.
18282 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18283 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18284 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18285 [__ASSUME_ACCEPT4]: Change condition to
18286 [__ASSUME_ACCEPT4_SOCKETCALL].
18287 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18288 (__ASSUME_SOCKETCALL): Define.
18289 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18290 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18291 (__ASSUME_SOCKETCALL): Define.
18292 (__ASSUME_ACCEPT4): Remove.
18293 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18294 Define.
18295 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18296 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18297 Likewise.
18298 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18299 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18300
5d7b57ca
JM
18301 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18302 macro.
18303 (HWCAP_ARM_LPAE): Likewise.
18304 (HWCAP_ARM_EVTSTRM): Likewise.
18305 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18306 Add vpfd32, lpae and evtstrm.
18307 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18308 Increase to 22.
18309
63689d61
JM
183102014-02-19 Joseph Myers <joseph@codesourcery.com>
18311
18312 * math/auto-libm-test-in: Add tests of clog10.
18313 * math/auto-libm-test-out: Regenerated.
18314 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18315 * sysdeps/i386/fpu/libm-test-ulps: Update.
18316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18317
ab09bf61
AS
183182014-02-18 Andreas Schwab <schwab@suse.de>
18319
18320 [BZ #16574]
18321 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18322 Store non-zero if the second buffer was newly allocated.
18323 (send_dg): Likewise.
18324 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18325 to send_vc and send_dg.
18326 (res_nsend): Pass NULL for ansp2_malloced.
18327 * resolv/res_query.c (__libc_res_nquery): Add parameter
18328 answerp2_malloced and pass it down to __libc_res_nsend.
18329 (res_nquery): Pass additional NULL to __libc_res_nquery.
18330 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18331 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18332 second answer buffer if answerp2_malloced was set.
18333 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18334 (__libc_res_nquerydomain): Add parameter
18335 answerp2_malloced and pass it down to __libc_res_nquery.
18336 (res_nquerydomain): Pass additional NULL to
18337 __libc_res_nquerydomain.
18338 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18339 additional NULL to __libc_res_nsend and __libc_res_nquery.
18340 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18341 additional NULL to __libc_res_nsearch.
18342 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18343 parameter of __libc_res_nsearch to check for separately allocated
18344 second buffer.
18345 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18346 __libc_res_nquery.
18347 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18348 additional NULL to __libc_res_nquery.
18349 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18350 __libc_res_nsearch.
18351 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18352 * include/resolv.h: Update prototypes of __libc_res_nquery,
18353 __libc_res_nsearch, __libc_res_nsend.
18354
a4fb7861
JM
183552014-02-18 Joseph Myers <joseph@codesourcery.com>
18356
c6af2d89
JM
18357 * math/auto-libm-test-in: Add tests of fma.
18358 * math/auto-libm-test-out: Regenerated.
18359 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18360 (fma_towardzero_test_data): Likewise.
18361 (fma_downward_test_data): Likewise.
18362 (fma_upward_test_data): Likewise.
18363 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18364 mpc_mode.
18365 (rounding_modes): Add values for new field.
18366 (func_calc_method): Add value mpfr_fff_f.
18367 (func_calc_desc): Add mpfr_fff_f union field.
18368 (test_function): Add field exact_args.
18369 (FUNC): Add macro argument EXACT_ARGS.
18370 (FUNC_mpfr_f_f): Update call to FUNC.
18371 (FUNC_mpfr_f_f): Likewise.
18372 (FUNC_mpfr_ff_f): Likewise.
18373 (FUNC_mpfr_if_f): Likewise.
18374 (FUNC_mpc_c_f): Likewise.
18375 (FUNC_mpc_c_c): Likewise.
18376 (test_functions): Add fma. Update calls to FUNC.
18377 (handle_input_arg): Add argument exact_args.
18378 (add_test): Update call to handle_input_arg.
18379 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18380 (output_for_one_input_case): Update call to calc_generic_results.
18381 Recalculate exact zero results in each rounding mode.
18382
a4fb7861
JM
18383 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18384 non-negative before setting low bit.
18385 * math/auto-libm-test-in: Mark one asin test possibly having
18386 spurious underflow.
18387 * math/auto-libm-test-out: Regenerated.
18388 * sysdeps/i386/fpu/libm-test-ulps: Update.
18389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18390
ef114eaf
DH
183912014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18392
2b7f4f2c
SP
18393 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18394 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18395 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18396 * README: Add missing listing for microblaze*-*-linux-gnu.
18397
8125aedc
AM
183982014-02-16 Ondřej Bílka <neleai@seznam.cz>
18399
18400 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18401 duplicate code
18402
c70a4b1d
MF
184032014-02-16 Mike Frysinger <vapier@gentoo.org>
18404
18405 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18406 * sysdeps/unix/sysv/linux/ia64: Move directory from
18407 ports/sysdeps/unix/sysv/linux/ia64.
18408 * README: Update listing for ia64-*-linux-gnu.
18409
591aeaf7
TD
184102014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18411 Joseph Myers <joseph@codesourcery.com>
18412
18413 * Makeconfig (test-name): New variable.
18414 (evaluate-test): Likewise.
18415 * Makerules (do-test-clean): Remove .test-result files.
18416 (common-mostlyclean): Likewise.
18417 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18418 * scripts/evaluate-test.sh: New file.
18419
6e89caf1
JM
184202014-02-14 Joseph Myers <joseph@codesourcery.com>
18421
7f98f180
JM
18422 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18423 separate $(objpfx)tst-fopenloc-cmp.out and
18424 $(objpfx)tst-fopenloc-mem.out targets.
18425 (tests): Update dependencies.
18426 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18427 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18428 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18429 (tst-rxspencer-no-utf8-ARGS): New variable.
18430 (tst-rxspencer-no-utf8-ENV): Likewise.
18431 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18432 instead of $(objpfx)tst-rxspencer-mem.
18433 ($(objpfx)tst-rxspencer-mem): Change target to
18434 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18435 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18436 * posix/tst-rxspencer-no-utf8.c: New file.
18437
6e89caf1
JM
18438 * elf/Makefile ($(objpfx)order.out): Remove rule.
18439 [$(run-built-tests) = yes] (tests): Depend on
18440 $(objpfx)order-cmp.out.
18441 ($(objpfx)order-cmp.out): New rule.
18442 [$(run-built-tests) = yes] (tests): Depend on
18443 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18444 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18445 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18446 $(objpfx)tst-array5-static-cmp.out.
18447 ($(objpfx)tst-array1.out): Remove rule.
18448 ($(objpfx)tst-array1-cmp.out): New rule.
18449 ($(objpfx)tst-array1-static.out): Remove rule.
18450 ($(objpfx)tst-array1-static-cmp.out): New rule.
18451 ($(objpfx)tst-array2.out): Remove rule.
18452 ($(objpfx)tst-array2-cmp.out): New rule.
18453 ($(objpfx)tst-array3.out): Remove rule.
18454 ($(objpfx)tst-array3-cmp.out): New rule.
18455 ($(objpfx)tst-array4.out): Remove rule.
18456 ($(objpfx)tst-array4-cmp.out): New rule.
18457 ($(objpfx)tst-array5.out): Remove rule.
18458 ($(objpfx)tst-array5-cmp.out): New rule.
18459 ($(objpfx)tst-array5-static.out): Remove rule.
18460 ($(objpfx)tst-array5-static-cmp.out): New rule.
18461 [$(run-built-tests) = yes] (tests): Depend on
18462 $(objpfx)order2-cmp.out.
18463 ($(objpfx)order2.out): Remove rule.
18464 ($(objpfx)order2-cmp.out): New rule.
18465 ($(objpfx)tst-initorder.out): Remove rule.
18466 [$(run-built-tests) = yes] (tests): Depend on
18467 $(objpfx)tst-initorder-cmp.out.
18468 ($(objpfx)tst-initorder-cmp.out): New rule.
18469 ($(objpfx)tst-initorder2.out): Remove rule.
18470 [$(run-built-tests) = yes] (tests): Depend on
18471 $(objpfx)tst-initorder2-cmp.out.
18472 ($(objpfx)tst-initorder2-cmp.out): New rule.
18473 [$(run-built-tests) = yes] (tests): Depend on
18474 $(objpfx)tst-unused-dep-cmp.out.
18475 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18476 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18477 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18478 on $(objpfx)tst-setvbuf1-cmp.out.
18479 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18480 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18481 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18482 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18483 ($(objpfx)tst-svc.out): Remove rule.
18484 ($(objpfx)tst-svc-cmp.out): New rule.
18485
ed9a38e2
JM
184862014-02-13 Joseph Myers <joseph@codesourcery.com>
18487
18488 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18489 * ctype/ctype.h [__USE_MISC]: Likewise.
18490 * dirent/dirent.h [__USE_MISC]: Likewise.
18491 * grp/grp.h [__USE_MISC]: Likewise.
18492 * io/fcntl.h [__USE_MISC]: Likewise.
18493 * io/sys/stat.h [__USE_MISC]: Likewise.
18494 * libio/stdio.h [__USE_MISC]: Likewise.
18495 * posix/unistd.h [__USE_MISC]: Likewise.
18496 * pwd/pwd.h [__USE_MISC]: Likewise.
18497 * stdlib.h [__USE_MISC]: Likewise.
18498 * string/bits/string2.h [__USE_MISC]: Likewise.
18499 * string/string.h [__USE_MISC]: Likewise.
18500 * time/time.h [__USE_MISC]: Likewise.
18501
d6680619
AS
185022014-02-13 Andreas Schwab <schwab@suse.de>
18503
18504 [BZ #16574]
18505 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18506 second answer buffer if it was separately allocated.
18507
ace614b8
JM
185082014-02-12 Joseph Myers <joseph@codesourcery.com>
18509
743151ae
JM
18510 * sysdeps/mips/math-tests.h: Include <features.h>.
18511 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18512 (ROUNDING_TESTS_long_double): Do not define.
18513 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18514 (EXCEPTION_TESTS_long_double): Likewise.
18515 * sysdeps/mips/mips64/libm-test-ulps: Update.
18516
498afc54
JM
18517 * include/features.h (__USE_BSD): Remove macro definitions.
18518 (__USE_SVID): Likewise.
18519 (_BSD_SOURCE): Likewise.
18520 (_SVID_SOURCE): Likewise.
18521 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18522 from definition of _DEFAULT_SOURCE.
18523 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18524 [_DEFAULT_SOURCE].
18525 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18526 * bits/mman.h [__USE_BSD]: Likewise.
18527 * bits/termios.h [__USE_BSD]: Likewise.
18528 * bits/waitstatus.h [__USE_BSD]: Likewise.
18529 * ctype/ctype.h [__USE_SVID]: Likewise.
18530 * dirent/dirent.h [__USE_BSD]: Likewise.
18531 * grp/grp.h [__USE_SVID]: Likewise.
18532 [__USE_BSD]: Likewise.
18533 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18534 * io/fcntl.h [__USE_BSD]: Likewise.
18535 * io/ftw.h [__USE_BSD]: Likewise.
18536 * io/sys/stat.h [__USE_BSD]: Likewise.
18537 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18538 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18539 * libio/stdio.h [__USE_SVID]: Likewise.
18540 [__USE_BSD]: Likewise.
18541 * math/math.h [__USE_SVID]: Likewise.
18542 [__USE_BSD]: Likewise.
18543 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18544 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18545 * misc/search.h [__USE_SVID]: Likewise.
18546 * misc/sys/mman.h [__USE_BSD]: Likewise.
18547 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18548 * misc/sys/uio.h [__USE_BSD]: Likewise.
18549 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18550 * posix/glob.h [__USE_BSD]: Likewise.
18551 * posix/regex.h [__USE_BSD]: Likewise.
18552 * posix/sys/types.h [__USE_BSD]: Likewise.
18553 [__USE_SVID]: Likewise.
18554 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18555 * posix/sys/wait.h [__USE_BSD]: Likewise.
18556 [__USE_SVID]: Likewise.
18557 * posix/unistd.h [__USE_BSD]: Likewise.
18558 [__USE_SVID]: Likewise.
18559 * pwd/pwd.h [__USE_SVID]: Likewise.
18560 * resolv/netdb.h [__USE_BSD]: Likewise.
18561 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18562 * signal/signal.h [__USE_BSD]: Likewise.
18563 [__USE_SVID]: Likewise.
18564 * socket/sys/socket.h [__USE_BSD]: Likewise.
18565 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18566 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18567 [__USE_SVID]: Likewise.
18568 * string/bits/string2.h [__USE_BSD]: Likewise.
18569 [__USE_SVID]: Likewise.
18570 * string/bits/string3.h [__USE_BSD]: Likewise.
18571 * string/endian.h [__USE_BSD]: Likewise.
18572 * string/string.h [__USE_SVID]: Likewise.
18573 [__USE_BSD]: Likewise.
18574 * string/strings.h [__USE_BSD]: Likewise.
18575 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18576 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18577 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18578 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18579 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18580 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18581 Likewise.
18582 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18583 Likewise.
18584 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18585 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18586 Likewise.
18587 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18588 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18589 Likewise.
18590 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18591 Likewise.
18592 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18593 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18594 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18595 Likewise.
18596 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18597 Likewise.
18598 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18599 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18600 * termios/termios.h [__USE_BSD]: Likewise.
18601 * time/sys/time.h [__USE_BSD]: Likewise.
18602 * time/time.h [__USE_BSD]: Likewise.
18603 [__USE_SVID]: Likewise.
18604
dd7b064c
JM
18605 * Makefile (subdir_targets): Remove subdir_lint.out.
18606
a2c4c199
JM
18607 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18608 (do-tst-printf): Likewise.
18609 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18610 $(objpfx)tst-printf.out.
18611
8756f740
JM
18612 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18613
1b6dd3f1
JM
18614 * Makerules (check-abi-%): Change target to
18615 $(objpfx)check-abi-%.out.
18616 (check-abi target): Update dependencies.
18617 (check-abi-pattern variable): Redirect output of diff to $@.
18618 (check-abi variable): Likewise.
18619 * elf/Makefile (check-abi): Update dependencies.
18620
ace614b8
JM
18621 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18622 unused.
18623 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18624 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18625 subnormal range.
18626 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18627 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18628 value has largest subnormal exponent.
18629 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18630 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18631 * sysdeps/aarch64/soft-fp/sfp-machine.h
18632 (_FP_TININESS_AFTER_ROUNDING): New macro.
18633 * sysdeps/alpha/soft-fp/sfp-machine.h
18634 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18635 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18636 Likewise.
18637 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18638 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18639 * sysdeps/mips/soft-fp/sfp-machine.h
18640 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18641 * sysdeps/powerpc/soft-fp/sfp-machine.h
18642 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18643 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18644 Likewise.
18645 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18646 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18647 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18648 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18649 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18650 Likewise.
18651
fbfdf9cb
DAS
186522014-02-12 Dylan Alex Simon <dylan@dylex.net>
18653
18654 [BZ #16545]
18655 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18656 model 1.
18657
68b7efaa
RH
186582014-02-12 Richard Henderson <rth@redhat.com>
18659
c70a4b1d 18660 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18661 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18662 * sysdeps/unix/sysv/linux/alpha: Move directory from
18663 ports/sysdeps/unix/sysv/linux/alpha.
18664 * README: Update listing for alpha-*-linux-gnu.
18665
cb4a2928
JM
186662014-02-11 Joseph Myers <joseph@codesourcery.com>
18667
c941736c
JM
18668 * include/features.h: Update comment documenting feature test
18669 macros.
18670 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18671 _DEFAULT_SOURCE.
18672 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18673 (_SVID_SOURCE): Likewise.
18674 (_DEFAULT_SOURCE): Update description of default features.
18675 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18676 with _GNU_SOURCE.
18677 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18678 (S_ISVTX): Likewise.
18679 * manual/math.texi (Mathematical Constants): Likewise.
18680 * manual/signal.texi (Interrupted Primitives): Likewise.
18681 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18682 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18683 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18684 Don't refer to _SVID_SOURCE in warning text.
18685
e8d8d7ec
JM
18686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18687
cb4a2928
JM
18688 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18689 already defined.
18690 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18691 * sysdeps/mips/dl-lookup.c: Remove.
18692 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18693
7e6424e3
AK
186942014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18695
18696 [BZ #16447]
18697 * math/auto-libm-test-in: Add testcase for expl.
18698 * math/auto-libm-test-out: Regenerate.
18699 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18700 calculation of unsafe.
18701 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18702
75eff3fe
MS
187032014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18704
18705 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18706 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18707 ports/sysdeps/unix/sysv/linux/aarch64.
18708 * README: Update listing for aarch64*-*-linux-gnu.
18709
d35f1e80
WN
187102014-02-11 Will Newton <will.newton@linaro.org>
18711
18712 * manual/probes.texi (Mathematical Function Probes): Use
18713 "triggered" instead of "hit".
18714
7b3436d4
WN
18715 * manual/probes.texi (Internal Probes): Add documentation
18716 of setjmp, longjmp and longjmp_target probes.
18717
b4f12ca3
WN
18718 * include/stap-probe.h: Add comment about probe argument
18719 format.
18720
c13a72b7
WN
18721 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18722 definition. (tr_where, tr_freehook, tr_mallochook,
18723 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18724
195b8165
DM
187252014-02-11 David S. Miller <davem@davemloft.net>
18726
18727 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18728 processing int_tests.
18729
2ad7600b
JM
187302014-02-10 Joseph Myers <joseph@codesourcery.com>
18731
18732 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18733 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18734 * sysdeps/unix/sysv/linux/mips: Move directory from
18735 ports/sysdeps/unix/sysv/linux/mips.
18736 * README: Update listing for mips-*-linux-gnu and
18737 mips64-*-linux-gnu.
18738
73588a72
AS
187392014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18740
18741 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18742 * sysdeps/unix/sysv/linux/m68k: Move directory from
18743 ports/sysdeps/unix/sysv/linux/m68k.
18744 * README: Update listing for m68k-*-linux-gnu.
18745
4372980f
CM
187462014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18747
18748 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18749 * sysdeps/unix/sysv/linux/generic: Move directory from
18750 ports/sysdeps/unix/sysv/linux/generic.
18751 * sysdeps/unix/sysv/linux/tile: Move directory from
18752 ports/sysdeps/unix/sysv/linux/tile.
18753 * README: Update listing for tile*-*-linux-gnu.
18754
a1ffb40e
OB
187552014-02-10 Ondřej Bílka <neleai@seznam.cz>
18756
57f41c40
AS
18757 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18758 __builtin_expect.
a1ffb40e
OB
18759 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18760 * catgets/open_catalog.c (__open_catalog): Likewise.
18761 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18762 * debug/confstr_chk.c: Likewise.
18763 * debug/fread_chk.c (__fread_chk): Likewise.
18764 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18765 * debug/getgroups_chk.c: Likewise.
18766 * debug/mbsnrtowcs_chk.c: Likewise.
18767 * debug/mbsrtowcs_chk.c: Likewise.
18768 * debug/mbstowcs_chk.c: Likewise.
18769 * debug/memcpy_chk.c: Likewise.
18770 * debug/memmove_chk.c: Likewise.
18771 * debug/mempcpy_chk.c: Likewise.
18772 * debug/memset_chk.c: Likewise.
18773 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18774 * debug/strcat_chk.c (__strcat_chk): Likewise.
18775 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18776 * debug/strncat_chk.c (__strncat_chk): Likewise.
18777 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18778 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18779 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18780 * debug/wcpncpy_chk.c: Likewise.
18781 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18782 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18783 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18784 * debug/wcsncpy_chk.c: Likewise.
18785 * debug/wcsnrtombs_chk.c: Likewise.
18786 * debug/wcsrtombs_chk.c: Likewise.
18787 * debug/wcstombs_chk.c: Likewise.
18788 * debug/wmemcpy_chk.c: Likewise.
18789 * debug/wmemmove_chk.c: Likewise.
18790 * debug/wmempcpy_chk.c: Likewise.
18791 * debug/wmemset_chk.c: Likewise.
18792 * dirent/scandirat.c (SCANDIRAT): Likewise.
18793 * dlfcn/dladdr1.c (dladdr1): Likewise.
18794 * dlfcn/dladdr.c (dladdr): Likewise.
18795 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18796 * dlfcn/dlerror.c (__dlerror): Likewise.
18797 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18798 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18799 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18800 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18801 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18802 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18803 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18804 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18805 Likewise.
18806 * elf/dl-conflict.c: Likewise.
18807 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18808 * elf/dl-dst.h: Likewise.
18809 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18810 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18811 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18812 * elf/dl-init.c (call_init, _dl_init): Likewise.
18813 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18814 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18815 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18816 Likewise.
a1ffb40e
OB
18817 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18818 Likewise.
18819 * elf/dl-minimal.c (__libc_memalign): Likewise.
18820 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18821 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18822 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18823 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18824 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18825 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18826 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18827 * elf/dl-writev.h (_dl_writev): Likewise.
18828 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18829 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18830 (dl_main): Likewise.
a1ffb40e
OB
18831 * elf/setup-vdso.h (setup_vdso): Likewise.
18832 * grp/compat-initgroups.c (compat_call): Likewise.
18833 * grp/fgetgrent.c (fgetgrent): Likewise.
18834 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18835 * grp/putgrent.c (putgrent): Likewise.
18836 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18837 Likewise.
18838 * hurd/hurdinit.c: Likewise.
18839 * iconvdata/8bit-gap.c (struct): Likewise.
18840 * iconvdata/ansi_x3.110.c : Likewise.
18841 * iconvdata/big5.c : Likewise.
18842 * iconvdata/big5hkscs.c : Likewise.
18843 * iconvdata/cp1255.c: Likewise.
18844 * iconvdata/cp1258.c : Likewise.
18845 * iconvdata/cp932.c : Likewise.
18846 * iconvdata/euc-cn.c: Likewise.
18847 * iconvdata/euc-jisx0213.c : Likewise.
18848 * iconvdata/euc-jp.c: Likewise.
18849 * iconvdata/euc-jp-ms.c : Likewise.
18850 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18851 * iconvdata/gb18030.c : Likewise.
18852 * iconvdata/gbbig5.c (const): Likewise.
18853 * iconvdata/gbgbk.c: Likewise.
18854 * iconvdata/gbk.c : Likewise.
18855 * iconvdata/ibm1364.c : Likewise.
18856 * iconvdata/ibm930.c : Likewise.
18857 * iconvdata/ibm932.c: Likewise.
18858 * iconvdata/ibm933.c : Likewise.
18859 * iconvdata/ibm935.c : Likewise.
18860 * iconvdata/ibm937.c : Likewise.
18861 * iconvdata/ibm939.c : Likewise.
18862 * iconvdata/ibm943.c: Likewise.
18863 * iconvdata/iso_11548-1.c: Likewise.
18864 * iconvdata/iso-2022-cn.c : Likewise.
18865 * iconvdata/iso-2022-cn-ext.c : Likewise.
18866 * iconvdata/iso-2022-jp-3.c: Likewise.
18867 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18868 * iconvdata/iso-2022-kr.c : Likewise.
18869 * iconvdata/iso646.c (gconv_end): Likewise.
18870 * iconvdata/iso_6937-2.c : Likewise.
18871 * iconvdata/iso_6937.c : Likewise.
18872 * iconvdata/iso8859-1.c: Likewise.
18873 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18874 * iconvdata/shift_jisx0213.c : Likewise.
18875 * iconvdata/sjis.c : Likewise.
18876 * iconvdata/t.61.c : Likewise.
18877 * iconvdata/tcvn5712-1.c : Likewise.
18878 * iconvdata/tscii.c: Likewise.
18879 * iconvdata/uhc.c : Likewise.
18880 * iconvdata/unicode.c (gconv_end): Likewise.
18881 * iconvdata/utf-16.c (gconv_end): Likewise.
18882 * iconvdata/utf-32.c (gconv_end): Likewise.
18883 * iconvdata/utf-7.c (base64): Likewise.
18884 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18885 * iconv/gconv_close.c (__gconv_close): Likewise.
18886 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18887 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18888 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18889 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18890 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18891 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18892 * iconv/iconv.c (iconv): Likewise.
18893 * iconv/iconv_close.c: Likewise.
18894 * iconv/loop.c (SINGLE): Likewise.
18895 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18896 * include/atomic.h: Likewise.
18897 * inet/inet6_option.c (option_alloc): Likewise.
18898 * intl/bindtextdom.c (set_binding_values): Likewise.
18899 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18900 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18901 * intl/localealias.c (read_alias_file): Likewise.
18902 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18903 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18904 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18905 * libio/fmemopen.c (fmemopen): Likewise.
18906 * libio/iofgets.c (_IO_fgets): Likewise.
18907 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18908 * libio/iofgetws.c (fgetws): Likewise.
18909 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18910 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18911 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18912 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18913 * locale/findlocale.c (_nl_find_locale): Likewise.
18914 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18915 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18916 Likewise.
18917 * locale/setlocale.c (setlocale): Likewise.
18918 * login/programs/pt_chown.c (main): Likewise.
18919 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18920 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18921 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18922 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18923 * math/e_exp2l.c: Likewise.
18924 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18925 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18926 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18927 * math/s_catan.c (__catan): Likewise.
18928 * math/s_catanf.c (__catanf): Likewise.
18929 * math/s_catanh.c (__catanh): Likewise.
18930 * math/s_catanhf.c (__catanhf): Likewise.
18931 * math/s_catanhl.c (__catanhl): Likewise.
18932 * math/s_catanl.c (__catanl): Likewise.
18933 * math/s_ccosh.c (__ccosh): Likewise.
18934 * math/s_ccoshf.c (__ccoshf): Likewise.
18935 * math/s_ccoshl.c (__ccoshl): Likewise.
18936 * math/s_cexp.c (__cexp): Likewise.
18937 * math/s_cexpf.c (__cexpf): Likewise.
18938 * math/s_cexpl.c (__cexpl): Likewise.
18939 * math/s_clog10.c (__clog10): Likewise.
18940 * math/s_clog10f.c (__clog10f): Likewise.
18941 * math/s_clog10l.c (__clog10l): Likewise.
18942 * math/s_clog.c (__clog): Likewise.
18943 * math/s_clogf.c (__clogf): Likewise.
18944 * math/s_clogl.c (__clogl): Likewise.
18945 * math/s_csin.c (__csin): Likewise.
18946 * math/s_csinf.c (__csinf): Likewise.
18947 * math/s_csinh.c (__csinh): Likewise.
18948 * math/s_csinhf.c (__csinhf): Likewise.
18949 * math/s_csinhl.c (__csinhl): Likewise.
18950 * math/s_csinl.c (__csinl): Likewise.
18951 * math/s_csqrt.c (__csqrt): Likewise.
18952 * math/s_csqrtf.c (__csqrtf): Likewise.
18953 * math/s_csqrtl.c (__csqrtl): Likewise.
18954 * math/s_ctan.c (__ctan): Likewise.
18955 * math/s_ctanf.c (__ctanf): Likewise.
18956 * math/s_ctanh.c (__ctanh): Likewise.
18957 * math/s_ctanhf.c (__ctanhf): Likewise.
18958 * math/s_ctanhl.c (__ctanhl): Likewise.
18959 * math/s_ctanl.c (__ctanl): Likewise.
18960 * math/w_pow.c: Likewise.
18961 * math/w_powf.c: Likewise.
18962 * math/w_powl.c: Likewise.
18963 * math/w_scalb.c (sysv_scalb): Likewise.
18964 * math/w_scalbf.c (sysv_scalbf): Likewise.
18965 * math/w_scalbl.c (sysv_scalbl): Likewise.
18966 * misc/error.c (error_tail): Likewise.
18967 * misc/pselect.c (__pselect): Likewise.
18968 * nis/nis_callback.c (__nis_create_callback): Likewise.
18969 * nis/nis_call.c (__nisfind_server): Likewise.
18970 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18971 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18972 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18973 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18974 * nis/nis_lookup.c (nis_lookup): Likewise.
18975 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
18976 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18977 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 18978 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
18979 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18980 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18981 * nis/nss_compat/compat-initgroups.c (add_group)
18982 (internal_getgrent_r): Likewise.
18983 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18984 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18985 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18986 (internal_getspnam_r): Likewise.
18987 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18988 (_nss_nis_getaliasbyname_r): Likewise.
18989 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18990 (_nss_nis_getntohost_r): Likewise.
18991 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18992 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18993 (_nss_nis_getgrgid_r): Likewise.
18994 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18995 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18996 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18997 (_nss_nis_gethostbyname4_r): Likewise.
18998 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18999 (initgroups_netid): Likewise.
a1ffb40e 19000 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
19001 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19002 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19003 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19004 (_nss_nis_getprotobynumber_r): Likewise.
19005 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19006 (_nss_nis_getsecretkey): Likewise.
19007 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19008 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19009 (_nss_nis_getpwuid_r): Likewise.
19010 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19011 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19012 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19013 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19014 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19015 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
19016 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19017 Likewise.
57f41c40
AS
19018 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19019 (_nss_nisplus_getntohost_r): Likewise.
19020 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19021 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19022 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19023 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 19024 Likewise.
57f41c40
AS
19025 * nis/nss_nisplus/nisplus-initgroups.c
19026 (_nss_nisplus_initgroups_dyn): Likewise.
19027 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19028 (_nss_nisplus_getnetbyaddr_r): Likewise.
19029 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19030 (_nss_nisplus_getprotobynumber_r): Likewise.
19031 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19032 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
19033 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19034 Likewise.
57f41c40
AS
19035 * nis/nss_nisplus/nisplus-service.c
19036 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19037 (_nss_nisplus_getservbyport_r): Likewise.
19038 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19039 (_nss_nisplus_getspnam_r): Likewise.
19040 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19041 Likewise.
a1ffb40e
OB
19042 * nscd/aicache.c (addhstaiX): Likewise.
19043 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
19044 * nscd/connections.c (register_traced_file, send_ro_fd)
19045 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19046 (main_loop_epoll): Likewise.
a1ffb40e
OB
19047 * nscd/grpcache.c (addgrbyX): Likewise.
19048 * nscd/hstcache.c (addhstbyX): Likewise.
19049 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19050 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
19051 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19052 (addinnetgrX): Likewise.
19053 * nscd/nscd-client.h (__nscd_acquire_maplock)
19054 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
19055 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19056 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19057 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19058 Likewise.
19059 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19060 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
19061 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19062 (__nscd_get_map_ref): Likewise.
a1ffb40e 19063 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
19064 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19065 Likewise.
a1ffb40e
OB
19066 * nscd/pwdcache.c (addpwbyX): Likewise.
19067 * nscd/selinux.c (preserve_capabilities): Likewise.
19068 * nscd/servicescache.c (addservbyX): Likewise.
19069 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19070 * posix/fnmatch.c (fnmatch): Likewise.
19071 * posix/getopt.c (_getopt_internal_r): Likewise.
19072 * posix/glob.c (glob, glob_in_dir): Likewise.
19073 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
19074 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19075 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
19076 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19077 * resolv/res_init.c: Likewise.
19078 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19079 * resolv/res_query.c (__libc_res_nquery): Likewise.
19080 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19081 Likewise.
19082 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19083 * stdio-common/perror.c (perror): Likewise.
19084 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19085 * stdio-common/tmpnam.c (tmpnam): Likewise.
19086 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19087 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
19088 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19089 Likewise.
a1ffb40e
OB
19090 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19091 * stdlib/putenv.c (putenv): Likewise.
19092 * stdlib/setenv.c (__add_to_environ): Likewise.
19093 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19094 * stdlib/strtol_l.c (INTERNAL): Likewise.
19095 * string/memmem.c (memmem): Likewise.
19096 * string/strerror.c (strerror): Likewise.
19097 * string/strnlen.c (__strnlen): Likewise.
19098 * string/test-memmem.c (simple_memmem): Likewise.
19099 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19100 * sunrpc/pm_getport.c (__get_socket): Likewise.
19101 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19102 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
19103 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19104 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
19105 Likewise.
19106 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19107 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19108 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19109 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19110 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
19111 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19112 Likewise.
19113 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19114 Likewise.
a1ffb40e
OB
19115 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19116 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19117 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19118 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19119 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19121 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19122 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19123 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19124 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19125 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19126 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19127 Likewise.
19128 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19129 Likewise.
19130 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19131 Likewise.
19132 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19133 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19134 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19135 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19136 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19137 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19138 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19139 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19140 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19141 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19142 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19143 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19144 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19145 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19146 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
19147 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19148 Likewise.
a1ffb40e
OB
19149 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19150 Likewise.
19151 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19152 Likewise.
19153 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19154 Likewise.
19155 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19156 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19157 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19158 Likewise.
19159 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19160 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19161 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19162 * sysdeps/posix/sleep.c: Likewise.
19163 * sysdeps/posix/tempname.c: Likewise.
19164 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19165 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19166 Likewise.
57f41c40
AS
19167 * sysdeps/powerpc/powerpc32/dl-machine.h
19168 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19169 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19170 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19171 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19172 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19173 Likewise.
19174 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19175 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19176 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19177 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19178 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19179 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19180 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19181 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19182 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19183 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19184 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19185 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19186 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19187 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19188 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19189 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19190 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19191 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19192 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19193 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19194 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19195 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19196 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19197 Likewise.
19198 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19199 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19200 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19201 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19202 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19203 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19204 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19205 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19206 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19207 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19208 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19209 Likewise.
19210 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19211 (__posix_fallocate64_l64): Likewise.
19212 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19213 (posix_fallocate): Likewise.
57f41c40
AS
19214 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19215 Likewise.
a1ffb40e 19216 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19217 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19218 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19219 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19220 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19221 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19222 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19223 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19224 (__posix_fallocate64_l64): Likewise.
19225 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19226 Likewise.
19227 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19228 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19229 (__get_clockfreq): Likewise.
a1ffb40e
OB
19230 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19231 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19232 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19233 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19234 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19235 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19236 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19237 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19238 Likewise.
19239 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19240 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19241 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19242 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19243 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19244 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19245 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19246 Likewise.
19247 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19248 (posix_fallocate): Likewise.
19249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19250 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19251 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19252 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19253 (elf_machine_rela, elf_machine_rela_relative)
19254 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19255 * time/asctime.c (asctime_internal): Likewise.
19256 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19257 * time/tzset.c (__tzset_parse_tz): Likewise.
19258 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19259 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19260 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19261 * wcsmbs/wcsmbsload.h: Likewise.
19262
f3d338c9
OB
19263 [BZ #15894]
19264 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19265
57f41c40
AS
19266 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19267 (arena_get2): Remove THREAD_STATS conditionals.
19268 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19269 (__malloc_stats, int): Likewise.
bdfe308a 19270
d674667c
MF
192712014-02-08 Mike Frysinger <vapier@gentoo.org>
19272
19273 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19274 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19275
6349768c
MF
19276 * manual/setjmp.texi: Fix typos/grammar errors.
19277
0b7c7473
MF
19278 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19279 Only return early when n is <= 0. Delete unused return statement.
19280
ac8cc9e3
MF
19281 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19282 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19283 * debug/tst-longjmp_chk3.c: New file.
19284
c5bb8e23
MF
19285 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19286 (test_main): Replace code with set_fortify_handler call.
19287 * debug/test-strcpy_chk.c: Likewise.
19288 * debug/tst-chk1.c: Likewise.
19289 * debug/tst-longjmp_chk.c: Likewise.
19290 * test-skeleton.c: Include fcntl.h & paths.h
19291 (set_fortify_handler): Define.
19292
10444e42
MF
19293 * debug/tst-longjmp_chk.c: Add header comment and include
19294 ../test-skeleton.c.
19295 (do_test): Mark static.
19296 (TEST_FUNCTION): Define.
19297
1e805e8d
MF
19298 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19299 (IP_PMTUDISC_INTERFACE): Likewise.
19300 (IP_MULTICAST_IF): Likewise.
19301 (IP_MULTICAST_TTL): Likewise.
19302 (IP_MULTICAST_LOOP): Likewise.
19303 (IP_ADD_MEMBERSHIP): Likewise.
19304 (IP_DROP_MEMBERSHIP): Likewise.
19305 (IP_UNBLOCK_SOURCE): Likewise.
19306 (IP_BLOCK_SOURCE): Likewise.
19307 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19308 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19309 (IP_MSFILTER): Likewise.
19310 (MCAST_JOIN_GROUP): Likewise.
19311 (MCAST_BLOCK_SOURCE): Likewise.
19312 (MCAST_UNBLOCK_SOURCE): Likewise.
19313 (MCAST_LEAVE_GROUP): Likewise.
19314 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19315 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19316 (MCAST_MSFILTER): Likewise.
19317 (IP_MULTICAST_ALL): Likewise.
19318 (IP_UNICAST_IF): Likewise.
19319
73f79bb7
MF
19320 * timezone/Makefile: Delete $(have-ksh) check.
19321 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19322 * timezone/tzselect.ksh: Add +x mode bits.
19323
8da79b60
MF
19324 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19325 (ANON_INODE_FS_MAGIC): Likewise.
19326 (BDEVFS_MAGIC): Likewise.
19327 (BINFMTFS_MAGIC): Likewise.
19328 (BTRFS_TEST_MAGIC): Likewise.
19329 (CRAMFS_MAGIC_WEND): Likewise.
19330 (DEBUGFS_MAGIC): Likewise.
19331 (ECRYPTFS_SUPER_MAGIC): Likewise.
19332 (EXT3_SUPER_MAGIC): Likewise.
19333 (EXT4_SUPER_MAGIC): Likewise.
19334 (FUTEXFS_SUPER_MAGIC): Likewise.
19335 (HOSTFS_SUPER_MAGIC): Likewise.
19336 (HUGETLBFS_MAGIC): Likewise.
19337 (MINIX3_SUPER_MAGIC): Likewise.
19338 (MTD_INODE_FS_MAGIC): Likewise.
19339 (NILFS_SUPER_MAGIC): Likewise.
19340 (OPENPROM_SUPER_MAGIC): Likewise.
19341 (PIPEFS_MAGIC): Likewise.
19342 (PSTOREFS_MAGIC): Likewise.
19343 (QNX6_SUPER_MAGIC): Likewise.
19344 (RAMFS_MAGIC): Likewise.
19345 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19346 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19347 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19348 (SECURITYFS_MAGIC): Likewise.
19349 (SELINUX_MAGIC): Likewise.
19350 (SMACK_MAGIC): Likewise.
19351 (SOCKFS_MAGIC): Likewise.
19352 (SQUASHFS_MAGIC): Likewise.
19353 (STACK_END_MAGIC): Likewise.
19354 (TMPFS_MAGIC): Likewise.
19355 (USBDEVICE_SUPER_MAGIC): Likewise.
19356 (V9FS_MAGIC): Likewise.
19357 (XENFS_SUPER_MAGIC): Likewise.
19358 (CRAMFS_MAGIC): Fix typo in comment.
19359 (EXT2_SUPER_MAGIC): Update comment.
19360 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19361
464263cc
JM
193622014-02-08 Joseph Myers <joseph@codesourcery.com>
19363
c6bfe5c4
JM
19364 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19365 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19366 * sysdeps/unix/sysv/linux/arm: Move directory from
19367 ports/sysdeps/unix/sysv/linux/arm.
19368 * README: Update listing for arm-*-linux-gnueabi.
19369
464263cc
JM
19370 * README: Remove mention of am33.
19371
32749f6c
RM
193722014-02-07 Roland McGrath <roland@hack.frob.com>
19373
19374 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19375 than the comma operator, to avoid "rhs of comma has no effect"
19376 compiler warnings.
19377 (__sigfillset, __sigandset, __sigorset): Likewise.
19378 * include/signal.h (__sigemptyset): Likewise.
19379 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19380
d5b396c1
AM
193812014-02-07 Allan McRae <allan@archlinux.org>
19382
19383 * version.h (RELEASE): Set to "development".
19384 (VERSION): Set to "2.19.90"
19385 * NEWS: Add 2.20 section.
19386
3bfff2ed
CD
193872014-02-06 Carlos O'Donell <carlos@redhat.com>
19388
19389 [BZ #16529]
19390 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19391
ee7cc385
SP
193922014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19393
19394 * manual/contrib.texi: Update entry for Carlos O'Donell,
19395 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19396
f877c4f2
CD
193972014-02-05 Carlos O'Donell <carlos@rehdat.com>
19398
27e839f6
CD
19399 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19400
f877c4f2
CD
19401 * sysdeps/unix/sysv/linux/kernel-features.h
19402 [__LINUX_KERNEL_VERSION >= 0x020621]
19403 (__ASSUME_PROC_PID_TASK_COMM): Define.
19404
68159946
SP
194052014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19406
ba17cdbd
SP
19407 [BZ #16398]
19408 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19409 conversion when destination buffer does not have enough space.
19410 * libio/tst-ftell-partial-wide.c: New test case.
19411 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19412
68159946
SP
19413 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19414 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19415 Leonard and Allan McRae.
19416
2b528732
DM
194172014-02-04 David S. Miller <davem@davemloft.net>
19418
19419 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19420 32-bit.
19421
0ff82463
AZ
194222014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19423
57f41c40
AS
19424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19425 New file
c01603f7
AZ
19426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19427 New file
57f41c40
AS
19428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19429 New file.
19430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19431 New file.
c01603f7
AZ
19432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19433 New file.
57f41c40
AS
19434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19435 New file.
19436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19437 New file.
c01603f7
AZ
19438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19439 New file.
19440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19441 New file.
19442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19443 New file.
19444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19445 New file.
19446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19447 New file.
19448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19449 New file.
19450
194512014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19452
0ff82463
AZ
19453 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19454 * shlib-versions: Likewise.
19455
1695c773
AZ
194562014-02-04 Roland McGrath <roland@hack.frob.com>
19457 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19458
19459 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19460 (abilist-pattern): New variable, set to %-le.abilist.
19461
19462 * Makerules (abilist-pattern): New variable.
19463 (vpath): Use $(abilist-pattern) in place of %.abilist.
19464 (check-abi-% pattern rule): Likewise.
19465 (check-abi, update-abi): Likewise.
19466
6c0ce4b4
EW
194672014-02-04 Eric Wong <normalperson@yhbt.net>
19468
19469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19470
481e3524
CD
194712014-02-03 Carlos O'Donell <carlos@redhat.com>
19472
19473 * manual/startup.texi: Add next, previous, and top entries for
19474 the `Program Arguments' and `Environment Variables' nodes.
19475
375592d3
AO
194762014-02-03 Alexandre Oliva <aoliva@redhat.com>
19477
19478 * manual/macros.texi: Add comments before MTASC-safety macros.
19479
f54838ba
AO
19480 * manual/users.texi: Document MTASC-safety properties.
19481
57f41c40
AS
19482 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19483 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19484 @deftypefun, and add @safety note.
19485 * manual/signal.texi: Move comments that analyze the above
19486 functions to their home place.
19487
fd3daba4
AM
194882014-02-03 Allan McRae <allan@archlinux.org>
19489
19490 * po/sl.po: Update Slovenian translation from translation project.
19491
597636d7
AO
194922014-02-02 Alexandre Oliva <aoliva@redhat.com>
19493
19494 * manual/time.texi (timegm): Add missing blank after @c.
19495 Reported by Joseph Myers <joseph@codesourcery.com>.
19496
ee196e3c
AO
194972014-02-01 Alexandre Oliva <aoliva@redhat.com>
19498
19499 * manual/check-safety.sh: New.
19500 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19501
f8d529d5
AO
19502 * manual/terminal.texi: Document MTASC-safety properties.
19503
de55fdf4
AO
19504 * manual/filesys.texi: Document MTASC-safety properties.
19505
c3299c08
AO
19506 * manual/errno.texi: Document MTASC-safety properties.
19507
06e90b14
AO
19508 * manual/intro.texi: Document safety identifiers and
19509 conditionals.
19510
1acd4371
AO
19511 * manual/string.texi (wcstok): Fix prototype.
19512 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19513
23e5b8cb
AO
19514 * manual/time.texi: Document MTASC-safety properties.
19515
11087373
AO
19516 * manual/string.texi: Document MTASC-safety properties.
19517
5da2c93d
AO
19518 * manual/threads.texi: Document MTASC-safety properties.
19519
171e9210
AO
19520 * manual/stdio.texi: Document MTASC-safety properties.
19521
d9e02532
AO
19522 * manual/syslog.texi: Document MTASC-safety properties.
19523
6af8bab7
AO
19524 * manual/sysinfo.texi: Document MTASC-safety properties.
19525
663b02d7
AO
19526 * manual/startup.texi: Document MTASC-safety properties.
19527
973f180b
AO
19528 * manual/socket.texi: Document MTASC-safety properties.
19529
8f3c25c8
AO
19530 * manual/signal.texi: Document MTASC-safety properties.
19531
542210fb
AO
195322014-01-31 Alexandre Oliva <aoliva@redhat.com>
19533
19534 * manual/setjmp.texi: Document MTASC-safety properties.
19535
433c45a2
AO
19536 * manual/search.texi: Document MTASC-safety properties.
19537
c8ce789c
AO
19538 * manual/resource.texi: Document MTASC-safety properties.
19539
19f5d29c
AO
19540 * manual/process.texi: Document MTASC-safety properties.
19541
e2dfb7f4
AO
19542 * manual/platform.texi: Document MTASC-safety properties.
19543
8c1413f5
AO
19544 * manual/pipe.texi: Document MTASC-safety properties.
19545
03483ada
AO
19546 * manual/pattern.texi: Document MTASC-safety properties.
19547
29e7e2df
AO
19548 * manual/message.texi: Document MTASC-safety properties.
19549
9f529d7c
AO
19550 [BZ #12751]
19551 * manual/memory.texi: Document MTASC-safety properties.
19552
27aaa791
AO
19553 * manual/math.texi: Document MTASC-safety properties.
19554
f2d58726
AO
19555 * manual/locale.texi: Document MTASC-safety properties.
19556
2cc3615c
AO
19557 * manual/llio.texi: Document MTASC-safety properties.
19558
d9f0ec97
AO
19559 * manual/libdl.texi: New.
19560
e7c4409a
AO
19561 * manual/lang.texi: Document MTASC-safety properties.
19562
27bdc63c
AO
19563 * manual/job.texi: Document MTASC-safety properties.
19564
a7b90ea9
AO
19565 * manual/getopt.texi: Document MTASC-safety properties.
19566
c49130e3
AO
19567 * manual/ctype.texi: Document MTASC-safety properties.
19568
0d23a5c1
MR
195692014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19570
19571 [BZ #16046]
19572 * csu/libc-tls.c (static_map): Remove variable.
19573 (__libc_setup_tls): Use main executable's link map for TLS data.
19574 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19575 casing for LM_ID_BASE and GL(dl_nns).
19576 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19577 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19578 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19579 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19580 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19581 member.
19582 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19583 l_phnum members.
19584
0037bb60
AO
195852014-01-30 Alexandre Oliva <aoliva@redhat.com>
19586
19587 * manual/debug.texi: Document MTASC-safety properties.
19588
409e00bd
L
195892014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19590
19591 [BZ #16510]
19592 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19593 of __x86_64__ when disabling x87 inline functions.
19594
86e60666
AO
195952014-01-29 Alexandre Oliva <aoliva@redhat.com>
19596
19597 * manual/charset.texi: Document MTASC-safety properties.
19598
76167637
AO
19599 * manual/crypt.texi: Document MTASC-safety properties.
19600
e567f2a0
AO
19601 * manual/conf.texi: Document MTASC-safety properties.
19602
b719dafd
AO
19603 * manual/arith.texi: Document MTASC-safety properties.
19604
4a16c662
AO
19605 * manual/argp.texi: Document MTASC-safety properties.
19606
0a57b83e
AO
19607 * manual/macros.texi: Introduce macros to document multi
19608 thread, asynchronous signal and asynchronous cancellation
19609 safety properties.
19610 * manual/intro.texi: Introduce the properties themselves.
19611
feab2397
KK
196122014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19613
19614 * sysdeps/sh/sh4/Makefile: New file.
19615
1c0d11bc
AS
196162014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19617
19618 * math/gen-libm-test.pl ($srcdir): New variable.
19619 ($auto_input): Use it.
19620
af37a8a3
SP
196212014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19622
d7b00f98
SP
19623 [BZ #16506]
19624 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19625 access beyond array bounds when parsing netgroups file.
19626
af37a8a3
SP
19627 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19628 the old buffer before realloc.
19629
0c00f062
AM
196302014-01-27 Allan McRae <allan@archlinux.org>
19631
19632 * po/fr.po: Update French translation from translation project.
19633
7d69a1b0
KK
196342014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19635
19636 * sysdeps/sh/libm-test-ulps: Regenerate.
19637
6e697ff7
DM
196382014-01-24 David S. Miller <davem@davemloft.net>
19639
19640 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19641
9cadb35c
KK
196422014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19643
19644 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19645 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19646
5d41dadf
SP
196472013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19648
19649 [BZ #16474]
19650 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19651 string pointers after reallocation.
19652
0bad441c
KK
196532014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19654
19655 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19656 __SH4A__ instead of __SH_FPU_ANY__.
19657
7007c661
KK
196582014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19659
19660 * sysdeps/sh/fpu_control.h: New file.
19661 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19662 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19663 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19664 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19665 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19666 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19667 * sysdeps/sh/sys/ucontext.h: Remove.
19668 * sysdeps/sh/sys: Remove directory.
19669
0f0c35e4
AK
196702014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19671
19672 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19673 s390/sys/ucontext.h.
19674 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19675 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19676
4959e284
L
196772014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19678
19679 [BZ #15605]
19680 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19681
d98720e0
AZ
196822014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19683
19684 [BZ#16431]
19685 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19686 Adjust the vDSO correctly for internal calls.
19687 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19688
91cbd0bc
AM
196892014-01-20 Allan McRae <allan@archlinux.org>
19690
19691 * po/ca.po: Update Catalan translation from translation project.
19692
7a02cfad
MF
196932014-01-16 Mike Frysinger <vapier@gentoo.org>
19694
19695 * sysdeps/s390/sotruss-lib.c: New file.
19696
736c304a
AZ
196972014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19698
19699 [BZ#16430]
6e077ee5 19700 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19701 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19702 local calls issues by not having a PLT stub required for IFUNC calls.
19703 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19704
94d0cea0
JM
197052014-01-16 Joseph Myers <joseph@codesourcery.com>
19706
19707 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19708 * math/test-fpucw-static.c: Likewise.
19709
980cb518
SP
197102013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19711
19712 [BZ #16453]
19713 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19714
2393fc01
AZ
197152014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19716
19717 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19718 implementation for powerpc.
19719
d359bcc2
OB
197202014-01-15 Ondřej Bílka <neleai@seznam.cz>
19721
19722 [BZ #14782]
19723 * sysdeps/posix/system.c (__libc_system): Do not enable
19724 asynchronous cancellation.
19725
7beb48cb
AK
197262014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19727
19728 [BZ #16427]
19729 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19730 handling only for numbers special also in the IEEE case.
19731
c20d5bf5
AK
197322014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19733
19734 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19735
e83bd4ee
AM
197362014-01-11 Allan McRae <allan@archlinux.org>
19737
76d0ea69
AM
19738 * po/bg.po: Update Bulgarian translation from translation project.
19739
e83bd4ee
AM
19740 * po/de.po: Update German translation from translation project.
19741
bc2ba20a
RM
197422014-01-10 Roland McGrath <roland@hack.frob.com>
19743
19744 * sysdeps/generic/gcc-compat.h: New file.
19745
649ecea2
SP
197462014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19747
19748 * benchtests/asin-inputs: Correct slow inputs.
19749 * benchtests/acos-inputs: Likewise.
19750
1b19c006
AM
197512014-01-10 Allan McRae <allan@archlinux.org>
19752
a46dab08
AM
19753 * po:sv.po: Update Swedish translation from translation project.
19754
421df74a
AM
19755 * po/vi.po: Update Vietnamese translation from translation project.
19756
d61c51a7
AM
19757 * po/eo.po: Update Esperanto translation from translation project.
19758
0339a319
AM
19759 * po/cs.po: Update Czech translation from translation project.
19760
94ad3e99
AM
19761 * po/nl.po: Update Dutch translation from translation project.
19762
e349ca71
AM
19763 * po/pl.po: Update Polish translation from translation project.
19764
ddf930c1
AM
19765 * po/ru.po: Update Russian translation from translation project.
19766
1b19c006
AM
19767 * po/uk.po: Update Ukrainian translation from translation project.
19768
9f236c49
BM
197692014-01-08 Brooks Moses <bmoses@google.com>
19770
19771 * elf/dl-load.c: Fix comment typo.
19772
cd6701cf
CD
197732014-01-08 Carlos O'Donell <carlos@redhat.com>
19774
19775 * po/header.pot: Rename to...
19776 * po/pot.header: ... this.
19777 * po/Makefile: Use pot.header.
19778
66671c84
YK
197792014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19780 Maxim Kuvyrkov <maxim@kugelworks.com>
19781
19782 [BZ #16394]
cd6701cf
CD
19783 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19784 SRC and DEST against LEN.
66671c84 19785
38f34581
AZ
197862014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19787
19788 [BZ #16414]
19789 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19790 implementation.
19791 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19792
197932014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19794
19795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19796
4c327f2a
JM
197972014-01-08 Joseph Myers <joseph@codesourcery.com>
19798
19799 [BZ #16408]
19800 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19801 for large positive arguments.
19802
b821f414
JM
198032014-01-07 Joseph Myers <joseph@codesourcery.com>
19804
1f0f2067
JM
19805 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19806
a5a326f6
JM
19807 * math/auto-libm-test-in: Mark various tests with
19808 xfail-rounding:ldbl-128ibm.
19809 * math/auto-libm-test-out: Regenerated.
19810
b821f414
JM
19811 [BZ #16407]
19812 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19813 Increase overflow threshold.
19814
94c8a4bc
OB
198152014-01-07 Ondřej Bílka <neleai@seznam.cz>
19816
19817 [BZ #14286]
19818 * stdio-common/vfprintf.c: Check for integer overflow.
19819
87ded0c3
AK
198202014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19821
19822 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19823 the first argument and return value of __tls_get_addr_internal.
19824
c5eebdd0
AK
198252014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19826
19827 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19828 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19829
05d138ef
AK
198302014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19831
19832 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19833 * sysdeps/s390/rtld-global-offsets.sym: New file.
19834 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19835 GLIBC_2.19 symbol.
19836 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19837 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19838 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19839 ... this.
19840 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19841 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19842 ... this.
19843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19844 Regenerate.
19845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19846 Regenerate.
19847 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19848 halfs of GPRs for high_gprs contexts.
19849 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19850 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19851 field.
19852 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19853 uc_flags field.
19854 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19855 64 bit versions:
19856 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19857 for high GPRs (uc_high_gprs) and for future extensions
19858 (__reserved).
19859 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19860 for future extensions (__reserved).
19861 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19862 64 bit versions:
19863 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19864 SC_HIGHGPRS offset definition.
19865 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19866 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19867
93a45ff1
AK
19868 * Versions.def: Add GLIBC_2.19 for libpthread.
19869 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19870 siglongjmp for libpthread with GLIBC_2.19 symver.
19871 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19872 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19873 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19874 * sysdeps/s390/__longjmp.c: New file.
19875 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19876 * sysdeps/s390/longjmp.c: New file.
19877 * sysdeps/s390/setjmp.S: New file.
19878 * sysdeps/s390/sigjmp.S: New file.
19879 * sysdeps/s390/v1-longjmp.c: New file.
19880 * sysdeps/s390/v1-setjmp.h: New file.
19881 * sysdeps/s390/v1-sigjmp.c: New file.
19882 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19883 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19884 GLIBC_2.19 version.
19885 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19886 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19887 versioned symbols for ____longjmp_chk.
19888 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19889 Likewise.
19890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19891 Regenerate.
19892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19893 Regenerate.
19894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19895 Regenerate.
19896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19897 Regenerate.
19898 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19899 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19900 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19901 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19902 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19903 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19904 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19905 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19906 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19907 * sysdeps/s390/rtld-__longjmp.c: New file.
19908 * sysdeps/s390/rtld-setjmp.S: New file.
19909
eb3fc44b
JM
199102014-01-06 Joseph Myers <joseph@codesourcery.com>
19911
19912 [BZ #16400]
19913 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19914 Return -__logl (x) for small positive arguments without evaluating
19915 a polynomial.
19916
9341dde4
MF
199172014-01-06 Mike Frysinger <vapier@gentoo.org>
19918
19919 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19920 Rename to ...
19921 (__ptrace_peeksiginfo_args): ... this.
19922 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19923 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19924 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19925
4cff0293
AM
199262014-01-06 Allan McRae <allan@archlinux.org>
19927
19928 * inet/netinet/in.h: Fix typo in comment.
19929
75595dcf
AJ
199302014-01-05 Andreas Jaeger <aj@suse.de>
19931
19932 * sysdeps/i386/fpu/libm-test-ulps: Update.
19933
79c1e109
AM
199342014-01-05 Allan McRae <allan@archlinux.org>
19935
dd804818
AM
19936 * po/libc.pot: Regenerated.
19937
79c1e109
AM
19938 * malloc/memusagestat.c: Fix gettext call formatting.
19939
0c813d1f
SK
199402014-01-04 Sami Kerola <kerolasa@iki.fi>
19941
19942 * nscd/nscd.c: Improve usage() output.
19943
20f4a8d9
MF
199442014-01-04 Mike Frysinger <vapier@gentoo.org>
19945
19946 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19947 * sysdeps/unix/sysv/linux/configure: Regenerated.
19948 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19949 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19950
22562bb2
JM
199512014-01-03 Joseph Myers <joseph@codesourcery.com>
19952
19953 [BZ #16390]
19954 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19955 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19956
d7ad2d9b
AZ
199572014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19958
19959 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19960 extra tokens at end of #undef directive.
19961 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19962 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19963 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19964
7dd009d8
JM
199652014-01-03 Joseph Myers <joseph@codesourcery.com>
19966
24db925a
JM
19967 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19968
7dd009d8
JM
19969 * math/auto-libm-test-in: Mark various tests with
19970 xfail-rounding:ldbl-128ibm.
19971 * math/auto-libm-test-out: Regenerated.
19972
396e3ecf
JM
199732014-01-02 Joseph Myers <joseph@codesourcery.com>
19974
819e5d50
JM
19975 [BZ #16386]
19976 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19977 numbers with subnormal high part when calculating exponent.
19978
90b6a1e5
JM
19979 [BZ #16385]
19980 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19981 fabs.
19982
396e3ecf
JM
19983 [BZ #16384]
19984 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19985 M_LN2l.
19986 (__ieee754_acoshl): Use __log1pl not __log1p.
19987
6c8dbf00
OB
199882013-01-02 Ondřej Bílka <neleai@seznam.cz>
19989
57f41c40
AS
19990 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19991 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19992 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19993 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19994 (reused_arena, arena_get2): Convert to GNU style.
19995 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19996 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19997 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 19998 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
19999 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20000 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20001 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20002 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20003 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20004 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 20005 * malloc/malloc.h: Likewise.
57f41c40
AS
20006 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20007 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 20008 * malloc/mcheck.h: Likewise.
57f41c40
AS
20009 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20010 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
20011 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20012 * malloc/morecore.c (__default_morecore): Likewise.
20013 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
20014 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20015 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20016 (print_and_abort): Likewise.
6c8dbf00
OB
20017 * malloc/obstack.h: Likewise.
20018 * malloc/set-freeres.c (__libc_freeres): Likewise.
20019 * malloc/tst-mallocstate.c (main): Likewise.
20020 * malloc/tst-mtrace.c (main): Likewise.
20021 * malloc/tst-realloc.c (do_test): Likewise.
20022
d4124212
SP
200232013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20024
9a3c6a6f
SP
20025 [BZ #16366]
20026 * nscd/netgroupcache.c (do_notfound): New function.
20027 (addgetnetgrentX): Use it.
20028
d4124212
SP
20029 [BZ # 16365]
20030 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20031 NSS_STATUS_NOTFOUND.
20032
97b9a009
JM
200332014-01-01 Joseph Myers <joseph@codesourcery.com>
20034
20035 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20037
d4697bc9
AM
200382014-01-01 Allan McRae <allan@archlinux.org>
20039
ddb3687f
AM
20040 * scripts/update-copyrights: Update configure input file suffix.
20041
88726d48
AM
20042 * NEWS: Update copyright year.
20043 * catgets/gencat.c: Likewise.
20044 * csu/version.c: Likewise.
20045 * debug/catchsegv.sh: Likewise.
20046 * debug/pcprofiledump.c: Likewise.
20047 * debug/xtrace.sh: Likewise.
20048 * elf/ldconfig.c: Likewise.
20049 * elf/ldd.bash.in: Likewise.
20050 * elf/pldd.c: Likewise.
20051 * elf/sotruss.ksh: Likewise.
20052 * elf/sprof.c: Likewise.
20053 * iconv/iconv_prog.c: Likewise.
20054 * iconv/iconvconfig.c: Likewise.
20055 * locale/programs/locale.c: Likewise.
20056 * locale/programs/localedef.c: Likewise.
20057 * login/programs/pt_chown.c: Likewise.
20058 * malloc/memusage.sh: Likewise.
20059 * malloc/memusagestat.c: Likewise.
20060 * malloc/mtrace.pl: Likewise.
20061 * manual/libc.texinfo: Likewise.
20062 * nscd/nscd.c: Likewise.
20063 * nss/getent.c: Likewise.
20064 * nss/makedb.c: Likewise.
20065 * posix/getconf.c: Likewise.
20066 * scripts/test-installation.pl: Likewise.
20067
d4697bc9
AM
20068 * All files with FSF copyright notices: Update copyright dates
20069 using scripts/update-copyrights.
20070 * intl/plural.c: Regenerated.
20071 * locale/programs/charmap-kw.h: Likewise.
20072 * locale/programs/locfile-kw.h: Likewise.
20073
c8590f9d
MF
200742013-12-31 Mike Frysinger <vapier@gentoo.org>
20075
20076 * sysdeps/unix/sysv/linux/configure: Regenerated.
20077 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20078 the linux/fanotify.h header.
20079 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20080 HAVE_LINUX_FANOTIFY_H is defined.
20081
b19221b9
SP
200822013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20083
dd1d85e5
SP
20084 * benchtests/cos-inputs: New inputs.
20085 * benchtests/sin-inputs: Likewise.
20086
1acbb90f
SP
20087 * benchtests/atan-inputs: New inputs. Fix name of multiple
20088 precision fallback inputs.
20089
4c012ed3
SP
20090 * benchtests/atanh-inputs: New inputs.
20091 * benchtests/tanh-inputs: Likewise.
20092
eff98324
SP
20093 * benchtests/acosh-inputs: New inputs.
20094 * benchtests/asinh-inputs: Likewise.
20095
ce641152
SP
20096 * benchtests/cosh-inputs: New inputs.
20097 * benchtests/sinh-inputs: Likewise.
20098
b19221b9
SP
20099 * benchtests/acos-inputs: Add more inputs.
20100 * benchtests/asin-inputs: Likewise.
20101
030a4976 201022013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 20103
030a4976 20104 [BZ #16375]
9dcc8f11
VS
20105 * manual/arith.texi: Fix spelling.
20106 * manual/charset.texi: Likewise.
20107 * manual/errno.texi: Likewise.
20108 * manual/filesys.texi: Likewise.
20109 * manual/lang.texi: Likewise.
20110 * manual/llio.texi: Likewise.
20111 * manual/locale.texi: Likewise.
20112 * manual/message.texi: Likewise.
20113 * manual/resource.texi: Likewise.
20114 * manual/search.texi: Likewise.
20115 * manual/setjmp.texi: Likewise.
20116 * manual/stdio.texi: Likewise.
20117 * manual/string.texi: Likewise.
20118 * manual/sysinfo.texi: Likewise.
20119 * manual/time.texi: Likewise.
20120
11520a57
CD
201212013-12-27 Carlos O'Donell <carlos@redhat.com>
20122
20123 * po/sl.po: New file.
20124
471103ae
MF
201252013-12-27 Mike Frysinger <vapier@gentoo.org>
20126
20127 * .gitignore: Add core/.gdbinit/.gdb_history.
20128
6c9642ed
AM
201292013-12-27 Allan McRae <allan@archlinux.org>
20130
20131 [BZ #16369]
20132 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20133 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20134
3f637079
BM
201352013-12-24 Brooks Moses <bmoses@google.com>
20136
20137 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20138 all compilers that claim C++98 compliance, not just GCC.
20139 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20140 Likewise.
20141
abc26e99
MK
201422013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20143
20144 * NEWS: Restore accidentally deleted bug-fix entries.
20145
362b47fe
MK
201462013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20147 Ondřej Bílka <neleai@seznam.cz>
20148
20149 [BZ #15073]
20150 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 20151 have_lock.
362b47fe 20152
b9bcbbcb
OB
201532013-12-23 Ondřej Bílka <neleai@seznam.cz>
20154
20155 [BZ #12986]
20156 * manual/stdio.texi (String Input Conversions): Clarify that character
20157 classes are not supported.
20158
fb55fcd2
AZ
201592013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20160
20161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20162
ef7344f0
JM
201632013-12-22 Joseph Myers <joseph@codesourcery.com>
20164
4f40e4b3
JM
20165 [BZ #16337]
20166 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20167 Calculate results for small negative arguments directly rather
20168 than using reflection formula with special underflow handling.
20169
ef7344f0
JM
20170 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20171 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20172 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20173 (fchflags): Likewise.
20174 (revoke): Likewise.
20175 (setlogin): Likewise.
20176 (sigaltstack): Likewise.
20177 (wait4): Likewise.
20178 (sigblock): Remove.
20179 (sigsetmask): Likewise.
20180 (wait3): Likewise.
20181 (waitpid): Likewise.
20182 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20183 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20184 file.
20185 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20186 * sysdeps/unix/bsd/Makefile: ... here.
20187 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20188 * sysdeps/unix/bsd/Versions: ... here.
20189 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20190 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20191 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20192 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20193 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20194 * sysdeps/unix/bsd/sigblock.c: ... here.
20195 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20196 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20197 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20198 * sysdeps/unix/bsd/sigvec.c: ... here.
20199 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20200 * sysdeps/unix/bsd/tcdrain.c: ... here.
20201 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20202 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20203 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20204 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20205 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20206 * sysdeps/unix/bsd/wait.c: ... here.
20207 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20208 * sysdeps/unix/bsd/wait3.c: ... here.
20209 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20210 * sysdeps/unix/bsd/waitpid.c: ... here.
20211
5b0626b9
JM
202122013-12-21 Joseph Myers <joseph@codesourcery.com>
20213
20214 [BZ #16356]
20215 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20216 round-to-nearest for [!USE_AS_EXPM1L].
20217 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20218 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20219 more tests of exp and exp10. Expect some exp10 tests to miss
20220 exceptions or fail in directed rounding modes.
20221 * math/auto-libm-test-out: Regenerated.
20222 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20223 (exp10_test_tonearest): New function.
20224 (exp10_towardzero_test_data): New array.
20225 (exp10_test_towardzero): New function.
20226 (exp10_downward_test_data): New array.
20227 (exp10_test_downward): New function.
20228 (exp10_upward_test_data): New array.
20229 (exp10_test_upward): New function.
20230 (main): Call the new functions.
20231 * sysdeps/i386/fpu/libm-test-ulps: Update.
20232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20233
7fda5682
JM
202342013-12-20 Joseph Myers <joseph@codesourcery.com>
20235
31e3a405
JM
20236 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20237 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20238 * math/auto-libm-test-out: Regenerated.
20239 * math/libm-test.inc (acosh_test_data): Add more tests.
20240 (atanh_test_data): Likewise.
20241 (ceil_test_data): Likewise.
20242 (copysign_test_data): Likewise.
20243 * sysdeps/i386/fpu/libm-test-ulps: Update.
20244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20245
85bff96a
JM
20246 * timezone/checktab.awk: Update from tzcode 2013i.
20247 * timezone/private.h: Likewise.
20248 * timezone/scheck.c: Likewise.
20249 * timezone/tzfile.h: Likewise.
20250 * timezone/tzselect.ksh: Likewise.
20251 * timezone/zdump.c: Likewise.
20252 * timezone/zic.c: Likewise.
20253
b7867a3b
JM
20254 * math/auto-libm-test-in: Add tests of cpow.
20255 * math/auto-libm-test-out: Regenerated.
20256 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20257 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20258 mpc_cc_c.
20259 (func_calc_desc): Add mpc_cc_c union field.
20260 (test_functions): Add cpow.
20261 (special_fill_2pi): New function.
20262 (special_real_inputs): Add 2pi.
20263 (calc_generic_results): Handle mpc_cc_c.
20264 * sysdeps/i386/fpu/libm-test-ulps: Update.
20265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20266
7fda5682
JM
20267 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20268 csqrt, ctan and ctanh.
20269 * math/auto-libm-test-out: Regenerated.
20270 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20271 (TEST_COND_x86): Likewise.
20272 (ccos_test_data): Use AUTO_TESTS_c_c.
20273 (ccosh_test_data): Likewise.
20274 (cexp_test_data): Likewise.
20275 (clog_test_data): Likewise.
20276 (csqrt_test_data): Likewise.
20277 (ctan_test_data): Likewise.
20278 (ctan_tonearest_test_data): Likewise.
20279 (ctan_towardzero_test_data): Likewise.
20280 (ctan_downward_test_data): Likewise.
20281 (ctan_upward_test_data): Likewise.
20282 (ctanh_test_data): Likewise.
20283 (ctanh_tonearest_test_data): Likewise.
20284 (ctanh_towardzero_test_data): Likewise.
20285 (ctanh_downward_test_data): Likewise.
20286 (ctanh_upward_test_data): Likewise.
20287 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20288 mpc_c_c.
20289 (func_calc_desc): Add mpc_c_c union field.
20290 (FUNC_mpc_c_c): New macro.
20291 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20292 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20293 ctanh.
20294 (special_fill_min_subnorm_p120): New function.
20295 (special_real_inputs): Add min_subnorm_p120.
20296 (calc_generic_results): Handle mpc_c_c.
20297 * sysdeps/i386/fpu/libm-test-ulps: Update.
20298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20299
5ff8d60e
SP
203002013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20301
57f41c40
AS
20302 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20303 (do_sin_slow): New functions.
20304 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20305 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20306
84ba214c
SP
20307 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20308 Use M to change sign of result instead of X. Assume X is
20309 positive.
20310 (csloww1): Likewise.
20311 (__sin): Adjust.
20312 (__cos): Adjust.
20313
975195e4
SP
20314 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20315 arguments A and DA.
20316 (__sin): Adjust.
20317 (__cos): Likewise.
20318
5ff8d60e
SP
20319 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20320 (__cos): Likewise.
20321 (sloww1): Don't adjust sign of DX.
20322 (csloww1): Likewise.
20323 (sloww2): Use X directly and don't adjust sign of DX.
20324 (csloww2): Likewise.
20325
eb983568
JM
203262013-12-19 Joseph Myers <joseph@codesourcery.com>
20327
64a17f1a
JM
20328 * math/auto-libm-test-in: Add tests of cabs and carg.
20329 * math/auto-libm-test-out: Regenerated.
20330 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20331 (carg_test_data): Likewise.
20332 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20333 mpc_c_f.
20334 (func_calc_desc): Add mpc_c_f union field.
20335 (test_functions): Add cabs and carg.
20336 (calc_generic_results): Handle mpc_c_f.
20337
eb983568
JM
20338 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20339 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20340 as a macro and a compat symbol.
20341 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20342 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20343 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20344 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20345 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20346 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20347 not use .hidden.
20348 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20349 Likewise.
20350 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20351 Likewise.
20352 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20353 Likewise.
20354 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20355 Likewise.
20356 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20357 Likewise.
20358 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20359 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20360 from GLIBC_2.3.2.
20361
6eeb678a
AZ
203622013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20363
20364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20365
6f6fc482
JM
203662013-12-19 Joseph Myers <joseph@codesourcery.com>
20367
21fea2e2
JM
20368 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20369 trailing whitespace removed.
20370 * scripts/config.guess: Update to version 2013-11-29.
20371 * scripts/config.sub: Update to version 2013-10-01.
20372
6f6fc482
JM
20373 * math/auto-libm-test-in: Add tests of sincos.
20374 * math/auto-libm-test-out: Regenerated.
20375 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20376 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20377 mpfr_f_11.
20378 (func_calc_desc): Add mpfr_f_11 union field.
20379 (test_functions): Add sincos.
20380 (calc_generic_results): Handle mpfr_f_11.
20381 * sysdeps/i386/fpu/libm-test-ulps: Update.
20382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20383
83f5c32d
AS
203842013-12-19 Andreas Schwab <schwab@suse.de>
20385
20386 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20387 CALL_MCOUNT.
20388 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20389 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20390 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20391
c688b419
JM
203922013-12-19 Joseph Myers <joseph@codesourcery.com>
20393
335ee092
JM
20394 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20395 * sysdeps/i386/fpu/libm-test-ulps: Update.
20396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20397
f88acd39
JM
20398 [BZ #16293]
20399 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20400 round-to-nearest mode when using frndint.
20401 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20402 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20403 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20404 Likewise.
20405 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20406 sinh test to fail.
20407 * math/auto-libm-test-out: Regenerated.
20408 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20409 (TEST_COND_x86): Likewise.
20410 (expm1_tonearest_test_data): New array.
20411 (expm1_test_tonearest): New function.
20412 (expm1_towardzero_test_data): New array.
20413 (expm1_test_towardzero): New function.
20414 (expm1_downward_test_data): New array.
20415 (expm1_test_downward): New function.
20416 (expm1_upward_test_data): New array.
20417 (expm1_test_upward): New function.
20418 (main): Run the new test functions.
20419 * sysdeps/i386/fpu/libm-test-ulps: Update.
20420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20421
c688b419
JM
20422 * include/features.h: Update comment documenting feature test
20423 macros. Mention _DEFAULT_SOURCE in comment.
20424 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20425 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20426 _BSD_SOURCE and _SVID_SOURCE.
20427 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20428 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20429 !_SVID_SOURCE]: Likewise.
20430 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20431 (__USE_POSIX_IMPLICITLY): Define.
20432 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20433 (_POSIX_SOURCE): Undefine and redefine.
20434 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20435 (_POSIX_C_SOURCE): Likewise.
20436 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20437 (Feature Test Macros): Update documentation of default features.
20438
9f6e964c
RS
204392013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20440
20441 * benchtests/Makefile: Add bench-strtok.
20442 * benchtests/bench-strtok.c: New file: strtok benchtest.
20443
ee0a148a
AM
204442013-12-19 Allan McRae <allan@archlinux.org>
20445
20446 * manual/install.texi: Suppress menu for plain text output.
20447 * INSTALL: Regenerated.
20448
b9ab448f
BM
204492013-12-18 Brooks Moses <bmoses@google.com>
20450
20451 [BZ #15846]
20452 * misc/getauxval.c: Include errno.h.
20453 (__getauxval): Set errno to ENOENT if the requested type is not
20454 found.
20455 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20456 don't declare with __attribute_const__.
20457 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20458 * manual/startup.texi: Document that getauxval sets errno.
20459
23776487
JM
204602013-12-18 Joseph Myers <joseph@codesourcery.com>
20461
f889953b
JM
20462 * math/auto-libm-test-in: Add tests of jn and yn.
20463 * math/auto-libm-test-out: Regenerated.
20464 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20465 (yn_test_data): Likewise.
20466 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20467 mpfr_if_f.
20468 (func_calc_desc): Add mpfr_if_f union field.
20469 (FUNC_mpfr_if_f): New macro.
20470 (test_functions): Add jn and yn.
20471 (calc_generic_results): Assert type of second input for
20472 mpfr_ff_f. Handle mpfr_if_f.
20473 (output_for_one_input_case): Disable all checking for arguments
20474 fitting floating-point types in case of an integer argument.
20475 * sysdeps/i386/fpu/libm-test-ulps: Update.
20476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20477
23776487
JM
20478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20479 Don't expect fegetround reference in libm.so.
20480
cb756c6d
MS
204812013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20482
20483 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20484 $(config-cflags-nofma).
20485
2dec468f
JM
204862013-12-18 Joseph Myers <joseph@codesourcery.com>
20487
5953eb3a
JM
20488 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20489 * math/auto-libm-test-out: Regenerated.
20490
2dec468f
JM
20491 [BZ #16338]
20492 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20493 to determine exponent and adjust argument to have exponent of -1.
20494 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20495 log2.
20496 * math/auto-libm-test-out: Regenerated.
20497 * sysdeps/i386/fpu/libm-test-ulps: Update.
20498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20499
4d84e6ad
OB
205002013-12-18 Ondřej Bílka <neleai@seznam.cz>
20501
20502 * manual/probes.texi: Remove cases when per-thread arenas are
20503 disabled.
20504
1818483b
AS
205052013-12-18 Andreas Schwab <schwab@suse.de>
20506
20507 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20508 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20509 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20510 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20511 * sysdeps/i386/i686/multiarch/Makefile: Update.
20512 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20513
25de95bf
JM
205142013-12-17 Joseph Myers <joseph@codesourcery.com>
20515
20516 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20517 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20518
674762d9
PE
205192013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20520
ed27ed83 20521 [BZ #15968]
0748546f
PE
20522 Support TZ transition times < 00:00:00.
20523 This is needed for version-3 tz-format files; it supports time
20524 stamps past 2037 for America/Godthab (the only entry in the tz
20525 database for which this change is relevant).
20526 * manual/time.texi (TZ Variable): Document transition times
20527 from -167:59:59 through -00:00:01.
20528 * time/tzset.c (tz_rule): Time of day is now signed.
20529 (__tzset_parse_tz): Parse negative time of day.
20530
4480e934
PE
20531 Document TZ transition times >= 25:00:00.
20532 * manual/time.texi (TZ Variable): Document transition times from
20533 25:00:00 through 167:59:59. These are already supported, and this
20534 support will help with version-3 tz-format files.
20535
69947401
PE
20536 * manual/time.texi (TZ Variable): Modernize North America example
20537 to reflect current (i.e., 2007-and-later) daylight saving rules.
20538
674762d9
PE
20539 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20540
7011c262
JM
205412013-12-17 Joseph Myers <joseph@codesourcery.com>
20542
2fc6557e
JM
20543 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20544 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20545 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20546 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20547 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20548 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20549 * sysdeps/unix/bsd/clock.c: Likewise.
20550 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20551 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20552 * sysdeps/unix/bsd/init-posix.c: Likewise.
20553 * sysdeps/unix/bsd/poll.c: Likewise.
20554 * sysdeps/unix/bsd/ptsname.c: Likewise.
20555 * sysdeps/unix/bsd/seekdir.c: Likewise.
20556 * sysdeps/unix/bsd/setegid.c: Likewise.
20557 * sysdeps/unix/bsd/seteuid.c: Likewise.
20558 * sysdeps/unix/bsd/setgid.c: Likewise.
20559 * sysdeps/unix/bsd/setrgid.c: Likewise.
20560 * sysdeps/unix/bsd/setruid.c: Likewise.
20561 * sysdeps/unix/bsd/setsid.c: Likewise.
20562 * sysdeps/unix/bsd/setuid.c: Likewise.
20563 * sysdeps/unix/bsd/sigaction.c: Likewise.
20564 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20565 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20566 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20567 * sysdeps/unix/bsd/telldir.c: Likewise.
20568 * sysdeps/unix/bsd/times.c: Likewise.
20569 * sysdeps/unix/bsd/usleep.c: Likewise.
20570
029c7b25
JM
20571 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20572 ($(objpfx)libbsd-compat.a): Remove rule.
20573
7011c262
JM
20574 * include/features.h (__FAVOR_BSD): Do not define.
20575 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20576 features conflicting with POSIX.
20577 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20578 (_BSD_SOURCE): Remove description of not being a subset of other
20579 feature test macros.
20580 * manual/job.texi (getpgrp): Do not document BSD version.
20581 (getpgid): Do not document by reference to BSD getpgrp.
20582 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20583 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20584 * signal/signal.h [__FAVOR_BSD]: Likewise.
20585 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20586 instead of making contents conditional on [__FAVOR_BSD].
20587 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20588
affb6f78
AZ
205892013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20590
20591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20592
c88769dd
JM
205932013-12-17 Joseph Myers <joseph@codesourcery.com>
20594
6432a540
JM
20595 [BZ #16314]
20596 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20597 values below 2**-450, not 2**-500.
20598 * math/auto-libm-test-in: Don't allow spurious underflow from
20599 hypot.
20600 * math/auto-libm-test-out: Regenerated.
20601
c88769dd
JM
20602 [BZ #16316]
20603 [BZ #16330]
20604 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20605 values of ha and hb and sort them after adjusting subnormal
20606 arguments.
20607 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20608 Likewise.
20609 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20610 values of ea and eb and sort them after adjusting subnormal
20611 arguments.
20612 * math/auto-libm-test-in: Do not expect some hypot tests of
20613 subnormals to fail. Add more hypot tests.
20614 * math/auto-libm-test-out: Regenerated.
20615
29618f6b
KK
206162013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20617
20618 [BZ #13304]
20619 * sysdeps/sh/s_fma.c: New file.
20620 * sysdeps/sh/s_fmaf.c: New file.
20621 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20622 version.
20623 * sysdeps/sh/Implies: Add sh/soft-fp.
20624
eacfdfbf
RM
206252013-12-16 Roland McGrath <roland@hack.frob.com>
20626
20627 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20628 level of indirection to members `objname', `errstring', `malloced'.
20629 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20630 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20631 it as the __longjmp argument (just pass 1 instead).
20632 (_dl_catch_error): Initialize C with argument pointers and address of
20633 volatile local ERRCODE rather than copying values out of C at return.
20634
ff362e5b
JM
206352013-12-16 Joseph Myers <joseph@codesourcery.com>
20636
20637 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20638 * math/auto-libm-test-out: Regenerated.
20639 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20640 (hypot_test_data): Likewise.
20641 (pow_test_data): Likewise.
20642 (pow_tonearest_test_data): Likewise.
20643 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20644 mpfr_ff_f.
20645 (func_calc_desc): Add mpfr_ff_f union field.
20646 (FUNC_mpfr_ff_f): New macro.
20647 (test_functions): Add atan2, hypot and pow.
20648 (special_fill_min): New function.
20649 (special_fill_minus_min): Likewise.
20650 (special_fill_min_subnorm): Likewise.
20651 (special_fill_minus_min_subnorm): Likewise.
20652 (special_real_inputs): Add min, -min, min_subnorm and
20653 -min_subnorm.
20654 (calc_generic_results): Handle mpfr_ff_f.
20655 * sysdeps/i386/fpu/libm-test-ulps: Update.
20656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20657
5764c27f
WN
206582013-12-16 Will Newton <will.newton@linaro.org>
20659
20660 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20661 (Aligned Memory Blocks): Add documentation for aligned_alloc
20662 and suggest it as an alternative to posix_memalign.
20663 (Hooks for Malloc): Document __memalign_hook is also called
20664 for aligned_alloc. (Summary of Malloc): Add summary for
20665 aligned alloc. Document __memalign_hook is also called
20666 for aligned_alloc.
20667
0a096e44
WN
206682013-12-16 Will Newton <will.newton@linaro.org>
20669
20670 * manual/memory.texi (Malloc Examples): Clarify default
20671 alignment documentation. Suggest posix_memalign rather
20672 than memalign or valloc.
20673 (Aligned Memory Blocks): Remove suggestion to use memalign
20674 or valloc. Remove obsolete comment about BSD.
20675 Document memalign errno values and mark the function obsolete.
20676 Document posix_memalign returned error codes. Mark valloc
20677 as obsolete. (Hooks for Malloc): __memalign_hook is also
20678 called for posix_memalign and valloc.
20679 (Summary of Malloc): Add posix_memalign to function summary.
20680 __memalign_hook is also called for posix_memalign and valloc.
20681
8d561986
SP
206822013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20683
20684 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20685 TAYLOR_SIN.
20686 (__sin): Adjust.
20687 (__cos): Likewise.
20688 (sloww): Use mynumber union. Expand ternary operator into
20689 if-else statements.
20690 (cslow): use mynumber union.
20691
73616a74
AM
206922013-12-16 Allan McRae <allan@archlinux.org>
20693
9e8ac24b
AM
20694 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20695 * configure: Regenerated.
20696
6f8e37eb
AM
20697 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20698
8894bad3
AM
20699 [BZ #14120]
20700 * configure.ac: Added --enable-maintainer-mode. Check for
20701 autoconf when enabled.
20702 * configure: Regenerated.
20703
73616a74
AM
20704 * nscd/nscd.service: New file.
20705 * nscd/nscd.tmpfiles: New file.
20706
584b18eb
OB
207072013-12-14 Ondřej Bílka <neleai@seznam.cz>
20708
20709 [BZ #12100]
20710 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20711 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20712 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20713 (strstr): Add __strstr_sse2_unaligned ifunc.
20714 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20715 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20716 (strcasestr): Remove __strcasestr_sse42 ifunc.
20717 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20718 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20720
8a5c7897
KK
207212013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20722
20723 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20724 * sysdeps/sh/bits/fenv.h: ... here.
20725 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20726
fd712ef3
AZ
207272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20728
20729 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20730
42fcb46c
AZ
20731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20732 hypotf multiarch implementations.
20733 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20734 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20735 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20736 multiarch hypot for PPC64.
20737 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20738 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20739 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20740 multiarch hypotf for PPC64.
20741
83efded4
AZ
20742 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20743 modff multiarch implementations.
20744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20747 multiarch modf for PPC64.
20748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20751 multiarch modff for PPC64.
20752
43e246d2
AZ
20753 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20754 and logl multiarch implementations.
20755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20758 multiarch logb for PPC64.
20759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20762 multiarch logb for PPC64.
20763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20766 multiarch logb for PPC64.
20767
8fdad123
AZ
20768 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20769 isinff multiarch implementation.
20770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20771 file.
20772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20774 multiarch isinf for PPC64.
20775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20776 file.
20777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20778 multiarch isinff for PPC64.
20779
1481d706
AZ
20780 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20781 finitef multiarch implementation.
20782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20783 file.
20784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20786 multiarch finite for PPC64.
20787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20788 file.
20789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20790 multiarch finitef for PPC64.
20791
5ccd5fc8
AZ
20792 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20793 lrint multiarch implementation.
20794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20795 file.
20796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20798 multiarch llrint for PPC64.
20799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20800 multiarch lrint for PPC64.
20801
2568f3fa
AZ
20802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20803 copysignf multiarch implementation.
20804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20805 file.
20806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20807 file.
20808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20809 multiarch copysign for PPC64.
20810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20811 multiarch copysignf for PPC64.
20812
1cb341fd
AZ
20813 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20814 multiarch implementation.
20815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20816 file.
20817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20818 file.
20819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20820 file.
20821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20822 file.
20823 multiarch llround for PPC64.
20824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20825 multiarch trunc for PPC64.
20826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20827 multiarch truncf for PPC64.
20828
59a3e194
AZ
20829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20830 multiarch implementation.
20831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20832 file.
20833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20834 file.
20835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20836 file.
20837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20838 file.
20839 multiarch llround for PPC64.
20840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20841 multiarch round for PPC64.
20842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20843 multiarch roundf for PPC64.
20844
357fd3b4
AZ
20845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20846 multiarch implementation.
20847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20848 file.
20849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20850 file.
20851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20852 file.
20853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20854 file.
20855 multiarch llround for PPC64.
20856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20857 multiarch floor for PPC64.
20858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20859 multiarch floorf for PPC64.
20860
96770f12
AZ
20861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20862 multiarch implementation.
20863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20864 file.
20865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20866 file.
20867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20868 file.
20869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20870 file.
20871 multiarch llround for PPC64.
20872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20873 multiarch ceil for PPC64.
20874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20875 multiarch ceilf for PPC64.
20876
c3627f6e
AZ
20877 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20878 multiarch implementation.
20879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20880 file.
20881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20882 file.
20883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20884 file.
20885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20886 multiarch llround for PPC64.
20887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20888 multiarch lround for PPC64.
20889
b2284ad7
AZ
20890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20891 multiarch implementation.
20892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20895 file.
20896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20899 multiarch isnan for PPC64.
20900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20901 multiarch isnanf for PPC64.
20902
69bbc63d
AZ
20903 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20904 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20905 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20906 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20907 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20909
c24517c9
AZ
20910 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20911 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20912 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20913 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20914
a52374e8
AZ
20915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20916 multiarch implementations.
20917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20918 (__libc_ifunc_impl_list): Likewise.
20919 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20920 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20921 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20922 multiarch stpcpy for PPC64.
20923
7f5ec113
AZ
20924 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20925 multiarch implementations.
20926 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20927 (__libc_ifunc_impl_list): Likewise.
20928 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20929 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20930 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20931 multiarch strcpy for PPC64.
20932
e28bcd42
AZ
20933 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20934 redefine function name.
20935 (_wordcopy_fwd_dest_aligned): Likewise.
20936 (_wordcopy_bwd_aligned): Likewise.
20937 (_wordcopy_bwd_dest_aligned): Likewise.
20938 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20939 multiarch implementations.
20940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20941 (__libc_ifunc_impl_list): Likewise.
20942 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20943 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20944 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20945 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20946 multiarch wcscpy for PPC64.
20947
92cacfce
AZ
20948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20949 multiarch implementations.
20950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20951 (__libc_ifunc_impl_list): Likewise.
20952 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20953 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20954 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20955 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20956 multiarch wcscpy for PPC64.
20957
7b714620
AZ
20958 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20959 multiarch implementations.
20960 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20961 (__libc_ifunc_impl_list): Likewise.
20962 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20963 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20964 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20965 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20966 multiarch wcsrchr for PPC64.
20967
16fd2ae3
AZ
20968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20969 multiarch implementations.
20970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20971 (__libc_ifunc_impl_list): Likewise.
20972 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20973 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20974 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20975 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20976 multiarch wcschr for PPC64.
20977
9ee2969b
AZ
20978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20979 multiarch implementations.
20980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20981 (__libc_ifunc_impl_list): Likewise.
20982 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20983 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20984 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20985 multiarch strchrnul for PPC64.
20986
372dc060
AZ
20987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20988 implementations.
20989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20990 (__libc_ifunc_impl_list): Likewise.
20991 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20992 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20993 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20994 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20995 strchr for PPC64.
20996
24c2c3b9
AZ
20997 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20998 implementations.
20999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21000 (__libc_ifunc_impl_list): Likewise.
21001 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21002 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21003 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21004 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21005 strncmp for PPC64.
21006
1c92d9a0
AZ
21007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21008 multiarch implementations.
21009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21010 (__libc_ifunc_impl_list): Likewise.
21011 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21012 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21013 strncasecmp for PPC64.
21014 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21015 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21016 multiarch strncasecmp_l for PPC64.
21017
17de3ee3
AZ
21018 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21019 multiarch implementations.
21020 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21021 (__libc_ifunc_impl_list): Likewise.
21022 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21023 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21024 multiarch strcasecmp for PPC64.
21025 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21026 file.
21027 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21028 multiarch strcasecmp_l for PPC64.
21029
62982bf9
AZ
21030 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21031 implementations.
21032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21033 (__libc_ifunc_impl_list): Likewise.
21034 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21035 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21036 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21037 strnlen for PPC64.
21038
a65f4904
AZ
21039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21040 implementations.
21041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21042 (__libc_ifunc_impl_list): Likewise.
21043 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21044 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21045 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21046 strlen for PPC64.
21047
1fd005ad
AZ
21048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21049 implementations.
21050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21051 (__libc_ifunc_impl_list): Likewise.
21052 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21053 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21054 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21055 rawmemrchr for PPC64.
21056
cd05ba91
AZ
21057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21058 implementation.
21059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21060 (__libc_ifunc_impl_list): Likewise.
21061 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21062 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21063 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21064 memrchr for PPC64.
21065
870f8676
AZ
21066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21067 implementation.
21068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21069 (__libc_ifunc_impl_list): Likewise.
21070 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21071 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21072 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21073 memchr for PPC64.
21074
f00be62b
AZ
21075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21076 implementation.
21077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21078 (__libc_ifunc_impl_list): Likewise.
21079 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21080 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21081 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21082 mempcpy for PPC64.
21083
8a29a3d0
AZ
21084 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21085 avoid cretion of __bzero symbol.
21086 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21087 Likewise.
21088 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21089 Likewise.
21090 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21091 Likewise.
21092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21093 multiarch implementations.
21094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21095 (__libc_ifunc_impl_list): Likewise.
21096 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21097 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21098 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21099 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21100 bzero for PPC32.
21101 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21102 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21103 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21104 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21105 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21106 memset for PPC64.
21107 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21108
07253fcf
AZ
21109 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21110 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21111 implementations.
21112 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21113 (__libc_ifunc_impl_list): Likewise.
21114 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21115 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21116 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21117 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21118 memcmp for PPC64.
21119
b5beafbc
AZ
21120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21121 multiarch for POWER/PPC64.
21122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21123 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21124 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21125 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21126 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21127 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21128 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21129 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21130 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21131 memcpy for PPC64.
21132
5e6a4d4b
AZ
21133 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21134 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21135 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21136 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21137 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21138 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21139 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21140 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21141 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21142 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21143 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21144 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21145 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21146 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21147 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21155
ddfab6dc
KK
211562013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21157
21158 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21159
19b5525e
SP
211602013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21161
21162 * benchtests/Makefile (bench): Add exp2 and log2.
21163 (LDLIBS-bench-exp2): Add -lm.
21164 (LDLIBS-bench-log2): Likewise.
21165 * benchtests/exp2-inputs: New inputs file.
21166 * benchtests/log2-inputs: New inputs file.
21167 * benchtests/log-inputs: Add new inputs.
21168 * benchtests/tan-inputs: Likewise.
21169
196f7f5d
SP
211702013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21171
7a74607f
SP
21172 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21173 definition...
57f41c40
AS
21174 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21175 (csloww2): ... from here.
7a74607f 21176
196f7f5d
SP
21177 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21178 instead of structures.
21179 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21180 (POLYNOMIAL): Likewise.
21181 (TAYLOR_SLOW): Likewise.
21182 (__sin): Likewise.
21183 (__cos): Likewise.
21184 (slow1): Likewise.
21185 (slow2): Likewise.
21186 (sloww): Likewise.
21187 (sloww1); Likewise.
21188 (sloww2): Likewise.
21189 (bsloww1): Likewise.
21190 (bsloww2): Likewise.
21191 (cslow2): Likewise.
21192 (csloww): Likewise.
21193 (csloww1): Likewise.
21194 (csloww2): Likewise.
21195
0dfa665c
OB
211962013-12-10 Ondřej Bílka <neleai@seznam.cz>
21197
21198 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21199 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21200 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21201 * malloc/hooks.c (realloc_check): Likewise.
21202
5782a80f
OB
21203 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21204 * malloc/arena.c: Remove PER_THREAD conditional.
21205 [!PER_THREAD]: Remove code.
21206 (ptmalloc_unlock_all2): Likewise.
21207 (ptmalloc_init): Likewise.
21208 (_int_new_arena): Likewise.
21209 (arena_get2): Likewise.
21210 * malloc/hooks.c (__malloc_get_state): Likewise.
21211 (__malloc_set_state): Likewise.
21212 * malloc/malloc.c: Likewise.
21213 (struct malloc_state): Likewise.
21214 (struct malloc_par): Likewise.
21215 (__libc_realloc): Likewise.
21216 (__libc_mallopt): Likewise.
21217
aeb95445
AZ
212182013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21219
21220 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21221
e8349efd
OB
212222013-12-09 Ondřej Bílka <neleai@seznam.cz>
21223
21224 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21225 macro to a function. Check for zero perturb_byte.
21226 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21227
f3eeb3fc 21228 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21229 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21230 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21231 force_reg by atomic_forced_read.
21232 * malloc/arena.c (ptmalloc_init): Likewise.
21233 * malloc/hooks.c (top_check): Likewise.
21234
be2f9009
AZ
212352013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21236
21237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21238
e7b914bd
MT
212392013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21240
21241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21242
9f0be4f8
JM
212432013-12-08 Joseph Myers <joseph@codesourcery.com>
21244
21245 * math/auto-libm-test-in: Add tests of lgamma.
21246 * math/auto-libm-test-out: Regenerated.
21247 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21248 (M_LOG_2_SQRT_PIl): Likewise.
21249 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21250 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21251 mpfr_f_f1.
21252 (func_calc_desc): Add mpfr_f_f1 union field.
21253 (ARGS1): New macro.
21254 (ARGS2): Likewise.
21255 (ARGS3): Likewise.
21256 (ARGS4): Likewise.
21257 (RET1): Likewise.
21258 (RET2): Likewise.
21259 (CALC): Likewise.
21260 (FUNC): Likewise.
21261 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21262 (test_functions): Add lgamma.
21263 (calc_generic_results): Handle mpfr_f_f1.
21264 * sysdeps/i386/fpu/libm-test-ulps: Update.
21265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21266
24eeafdb
AZ
212672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21268
21269 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21270 __mpn_add_n for PowerPC64/POWER7.
21271 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21272 __mpn_sub_n for PowerPC64/POWER7.
21273
4a2c0fd4
AZ
21274 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21275 __mpn_addmul_1 for PowerPC64.
21276 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21277 __mpn_submul_1 for PowerPC64.
21278 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21279 for PowerPC64.
21280 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21281 for PowerPC64.
21282
4b5b548c
FS
212832013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21284
21285 [BZ #15089]
21286 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21287
0a3ac0aa
AZ
212882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21289
21290 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21291
ccdc8438
AZ
21292 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21293 add multiarch folders.
21294 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21295 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21296 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21297 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21298 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21299 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21300 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21301 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21302 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21303 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21304 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21311
2e973d99
AZ
21312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21313 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21315 New file.
21316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21317 New file.
21318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21319 multiarch __ieee754_hypot for PowerPC32.
21320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21321 New file.
21322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21323 New file.
21324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21325 multiarch __ieee754_hypotf for PowerPC32.
21326
2d9470b2
AZ
21327 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21328 long_double_symbol only if __logbl is defined.
21329 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21330 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21331 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21332 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21333 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21334 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21335 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21336 path for implementation.
21337 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21338 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21340 logb, and logbl multiarch implementations for PowerPC32.
21341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21342 file.
21343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21344 file.
21345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21346 multiarch logb for PowerPC32.
21347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21348 file.
21349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21350 file.
21351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21352 multiarch logbf for PowerPC32.
21353 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21355 file.
21356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21357 multiarch logbl implementation for PowerPC32.
21358
5212ffce
AZ
21359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21360 and modff multiarch implementations.
21361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21362 New file.
21363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21364 New file.
21365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21366 multiarch modf for PowerPC32.
21367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21368 New file.
21369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21370 New file.
21371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21372 multiarch modff for PowerPC32.
21373
79dccf31
AZ
21374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21375 and lrintf multiarch implementations.
21376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21377 New file.
21378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21379 New file.
21380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21381 multiarch lrint for PowerPC32.
21382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21383 file: multiarch lrintf for PowerPC32.
21384
deb66480
AZ
21385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21386 and lroundf multiarch implementations.
21387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21388 New file.
21389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21390 New file.
21391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21392 New file.
21393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21394 multiarch lround for PowerPC32.
21395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21396 file: multiarch lroundf for PowerPC32.
21397
264b036b
AZ
21398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21399 copysign and copysignf multiarch implementations.
21400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21401 New file.
21402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21403 New file.
21404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21405 file: multiarch copysign for PowerPC32.
21406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21407 file: multiarch copysignf for PowerPC32.
21408
d47db6c9
AZ
21409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21410 and truncf multiarch implementations.
21411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21412 New file.
21413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21414 file.
21415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21416 multiarch trunc for PowerPC32.
21417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21418 New file.
21419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21420 New file.
21421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21422 multiarch truncf for PowerPC32.
21423
ddb60b5a
AZ
21424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21425 and roundf multiarch implementations.
21426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21427 New file.
21428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21429 file.
21430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21431 multiarch round for PowerPC32.
21432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21433 New file.
21434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21435 New file.
21436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21437 multiarch roundf for PowerPC32.
21438
bedcf49b
AZ
21439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21440 and floorf multiarch implementations.
21441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21442 New file.
21443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21444 file.
21445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21446 multiarch floor for PowerPC32.
21447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21448 New file.
21449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21450 New file.
21451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21452 multiarch floorf for PowerPC32.
21453
35ae5b40
AZ
21454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21455 and ceilf multiarch implementations.
21456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21457 New file.
21458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21459 file.
21460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21461 multiarch ceil for PowerPC32.
21462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21463 New file.
21464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21465 file.
21466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21467 multiarch ceilf for PowerPC32.
21468
ae1a4cd9
AZ
21469 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21470 is defined.
21471 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21472 FINITEF is defined.
21473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21474 and finitef multiarch implementations.
21475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21476 New file.
21477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21478 file.
21479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21480 multiarch finite for PowerPC32.
21481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21482 New file.
21483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21484 file: multiarch finitef for PowerPC32.
21485
64fffd65
AZ
21486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21487 and isinff multiarch implementations.
21488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21489 file.
21490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21491 file.
21492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21493 multiarch isinf for PowerPC32.
21494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21495 New file.
21496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21497 multiarch isinff for PowerPC32.
21498
8e4e7ba2
AZ
21499 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21500 alias when __isnan is defined.
21501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21502 and isnanf multiarch implementations.
21503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21504 file.
21505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21506 file.
21507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21508 file.
21509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21510 file.
21511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21512 multiarch isnan for PowerPC32.
21513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21514 New file.
21515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21516 New file.
21517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21518 multiarch isnanf for PowerPC32.
21519
ddba588e
AZ
21520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21521 and sqrtf multiarch implementations.
21522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21523 file.
21524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21525 file.
21526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21527 multiarch sqrt for PowerPC32.
21528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21529 file.
21530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21531 file.
21532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21533 multiarch sqrtf for PowerPC32.
21534
0f96a2f0
AZ
21535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21536 and llroundf multiarch implementations.
21537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21538 New file.
21539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21540 New file.
21541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21542 New file.
21543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21544 file: multiarch llround for PowerPC32.
21545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21546 file: multiarch llroundf for PowerPC32.
21547
c9b5d79e
AZ
21548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21549 multiarch PowerPC32 fpu implementations.
21550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21551 New file.
21552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21553 New file.
21554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21555 multiarch llrint for PowerPC32.
21556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21557 New file.
21558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21559 New file.
21560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21561 file.
21562
9cbb3aab
AZ
21563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21564
ea5a72f8
AZ
21565 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21566 file.
21567 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21568 file.
21569 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21570 file.
21571 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21572 multiarch wordcopy for PPC32.
21573 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21574 wordcopy objects.
21575 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21576 (__libc_ifunc_impl_list): Likewise.
21577 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21578 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21579 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21580 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21581 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21582 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21583
93be09e7
AZ
21584 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21585 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21586 file.
21587 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21588 file.
21589 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21590 file.
21591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21592 multiarch wcscpy for PPC32.
21593 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21594 multiarch objects.
21595 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21596 (__libc_ifunc_impl_list): Likewise.
21597 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21598 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21599 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21600 sysdeps/powerpc/power6/wcscpy.c.
21601
bb04e529
AZ
21602 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21603 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21604 file.
21605 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21606 file.
21607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21608 file.
21609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21610 multiarch wcsrchr for PPC32.
21611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21612 multiarch objects.
21613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21614 (__libc_ifunc_impl_list): Likewise.
21615 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21616 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21617 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21618 sysdeps/powerpc/power6/wcsrchr.c.
21619
05b5cd1c
AZ
21620 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21621 file.
21622 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21623 file.
21624 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21625 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21626 multiarch wcschr for PPc32.
21627 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21628 multiarch objects.
21629 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21630 (__libc_ifunc_impl_list): Likewise.
21631 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21632 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21633 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21634 sysdeps/powerpc/power6/wcschr.c.
21635
ba964147
AZ
21636 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21637 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21638 file.
21639 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21640 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21641 file: multiarch strchr for PPC32.
21642 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21643 multiarch objects.
21644 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21645 (__libc_ifunc_impl_list): Likewise.
21646
31c81aaa
AZ
21647 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21648 name.
21649 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21650 file.
21651 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21652 file.
21653 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21654 multiarch strchrnul for PPC32.
21655 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21656 multiarch objects.
21657 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21658 (__libc_ifunc_impl_list): Likewise.
21659
0d0607d9
AZ
21660 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21661 file.
21662 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21663 multiarch strncasecmp for PPC32.
21664 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21665 file.
21666 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21667 multiarch strncasecmp_l for PPC32.
21668 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21669 strncasecmp multiarch objects.
21670 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21671 (__libc_ifunc_impl_list): Likewise.
21672
4dfd5c86
AZ
21673 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21674 file.
21675 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21676 multiarch strncasecmp for PPC32.
21677 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21678 New file.
21679 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21680 multiarch strcasecmp_l for PPC32.
21681 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21682 multiarch objects.
21683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21684 (__libc_ifunc_impl_list): Likewise.
21685
a19e01a3
AZ
21686 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21687 file.
21688 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21689 file.
21690 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21691 multiarch strncmp for PPC32.
21692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21693 multiarch objects.
21694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21695 (__libc_ifunc_impl_list): Likewise.
21696
ae9cf7a2
AZ
21697 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21698 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21699 file.
21700 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21701 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21702 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21703 multiarch objects.
21704 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21705 (__libc_ifunc_impl_list): Likewise.
21706
3148bb7d
AZ
21707 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21708 file.
21709 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21710 file.
21711 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21713 multiarch objects.
21714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21715 (__libc_ifunc_impl_list): Likewise.
21716
7af8b946
AZ
21717 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21718 file.
21719 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21720 file.
21721 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21722 multiarch rawmemchr for PPC32.
21723 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21724 multiarch objects.
21725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21726 (__libc_ifunc_impl_list): Likewise.
21727
03a6aa6a
AZ
21728 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21729 file.
21730 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21731 file.
21732 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21733 file: memrchr multiarch for PPC32.
21734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21735 multiarch objects.
21736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21737 (__libc_ifunc_impl_list): Likewise.
21738
1c62e6d9
AZ
21739 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21740 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21741 file.
21742 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21743 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21744 multiarch memchr for PPC32.
21745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21746 multiarch objects.
21747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21748 (__libc_ifunc_impl_list): Likewise.
21749
87da8bdb
AZ
21750 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21751 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21752 file.
21753 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21754 file.
21755 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21756 file: multiarch mempcpy for PPC32.
21757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21758 multiarch objects.
21759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21760 (__libc_ifunc_impl_list): Likewise.
21761
20ed4714
AZ
21762 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21763 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21764 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21765 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21766 multiarch bzero for PPC32.
21767 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21768 file.
21769 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21770 file.
21771 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21772 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21773 file: multiarch memset for PPC32.
21774 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21776 memset multiarch objects.
21777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21778 (__libc_ifunc_impl_list): Likewise.
21779
ab3e3a46
AZ
21780 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21781 file.
21782 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21783 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21784 memcmp for PPC32.
21785 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21787 multiarch objects.
21788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21789 (__libc_ifunc_impl_list): Likewise.
21790
930de6f0
AZ
21791 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21792 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21793 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21794 file.
21795 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21796 file.
21797 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21798 file.
21799 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21800 multiarch memcpy for PPC32.
21801 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21802 multiarch objects.
21803 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21804 (__libc_ifunc_impl_list): Likewise.
21805
4c628e00
AZ
21806 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21807 support multiarch for POWER/PPC32.
21808 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21809 Likewise.
21810 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21812 Implies file to make multiarch folder appers before the fpu and
21813 default folder for power4 configuration.
21814
f4479220
SP
218152013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21816
21817 * scripts/bench.pl: Append volatile keyword to type.
21818
8517800f
KK
218192013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21820
21821 * sysdeps/sh/sotruss-lib.c: New file.
21822 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21823
180138f1
AZ
218242013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21825
21826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21827
bbf37bdc
JM
218282013-12-05 Joseph Myers <joseph@codesourcery.com>
21829
e47cc4e0
JM
21830 [BZ #6810]
21831 * math/w_tgamma.c: Include <errno.h>.
21832 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21833 * math/w_tgammaf.c: Include <errno.h>.
21834 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21835 * math/w_tgammal.c: Include <errno.h>.
21836 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21837 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21838 underflow. Add more tgamma tests.
21839 * math/auto-libm-test-out: Regenerated.
21840 * sysdeps/i386/fpu/libm-test-ulps: Update.
21841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21842
bbf37bdc
JM
21843 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21844 sin, sinh, tan, tanh, tgamma, y0 and y1.
21845 * math/auto-libm-test-out: Regenerated.
21846 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21847 (TEST_COND_x86): Likewise.
21848 (M_E2l): Remove macro.
21849 (M_E3l): Likewise.
21850 (M_2_SQRT_PIl): Likewise.
21851 (M_SQRT_PIl): Likewise.
21852 (M_1_DIV_El): Likewise.
21853 (log_test_data): Use AUTO_TESTS_f_f.
21854 (log10_test_data): Likewise.
21855 (log1p_test_data): Likewise.
21856 (log2_test_data): Likewise.
21857 (sin_test_data): Likewise.
21858 (sin_tonearest_test_data): Likewise.
21859 (sin_towardzero_test_data): Likewise.
21860 (sin_downward_test_data): Likewise.
21861 (sin_upward_test_data): Likewise.
21862 (sinh_test_data): Likewise.
21863 (sinh_tonearest_test_data): Likewise.
21864 (sinh_towardzero_test_data): Likewise.
21865 (sinh_downward_test_data): Likewise.
21866 (sinh_upward_test_data): Likewise.
21867 (tan_test_data): Likewise.
21868 (tan_tonearest_test_data): Likewise.
21869 (tan_towardzero_test_data): Likewise.
21870 (tan_downward_test_data): Likewise.
21871 (tan_upward_test_data): Likewise.
21872 (tanh_test_data): Likewise.
21873 (tgamma_test_data): Likewise.
21874 (y0_test_data): Likewise.
21875 (y1_test_data): Likewise.
21876 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21877 (special_real_inputs): Add pi/4.
21878 * sysdeps/i386/fpu/libm-test-ulps: Update.
21879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21880
eb5ad6b9
AZ
218812013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21882
21883 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21884 "longjmp_target" static probes.
21885 (__longjmp): Rename to __longjmp_symbol.
21886 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21887 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21888 on which longjmp to generate.
21889 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21890 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21891 probe.
21892 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21893 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21894 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21895 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21896 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21897 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21899 __longjmp_symbol based on which __longjmp to generate.
21900 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21901 probe.
21902 (setjmp): Rename to setjmp_symbol.
21903 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21904 (_setjmp): Rename to _setjmp_symbol.
21905 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21906 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21907 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21908 which setjmp to generate.
21909 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21910 "longjmp_target" static probes.
21911
d136c6dc
SP
219122013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21913
9298ecba
SP
21914 * benchtests/README: Add note about output arguments.
21915 * benchtests/bench-sincos.c: Remove file.
21916 * benchtests/sincos-inputs: New file.
21917 * scripts/bench.pl: Identify output arguments and define
21918 static variables for them.
21919
232983e9
SP
21920 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21921
d136c6dc
SP
21922 [BZ #15941]
21923 * Makefile (INSTALL): Add install-plain.texi as the primary
21924 dependency.
21925 * manual/install-plain.texi: New file.
21926 * manual/install.texi: Include node directive only for
21927 non-plaintext output.
21928
699ff837
JM
219292013-12-04 Joseph Myers <joseph@codesourcery.com>
21930
ab07cea8
JM
21931 * stdlib/longlong.h: Update from GCC.
21932
699ff837
JM
21933 [BZ #6807]
21934 [BZ #15901]
21935 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21936 * math/w_j0f.c (y0f): Likewise.
21937 * math/w_j0l.c (__y0l): Likewise.
21938 * math/w_j1.c (y1): Likewise.
21939 * math/w_j1f.c (y1f): Likewise.
21940 * math/w_j1l.c (__y1l): Likewise
21941 * math/w_jn.c (yn): Likewise.
21942 * math/w_jnf.c (ynf): Likewise.
21943 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21944 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21945 value for Bessel function domain errors outside _SVID_ mode.
21946 Adjust sign of return value for yn (negative integer, 0).
21947 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21948 by zero in return for negative x and set sign appropriately for
21949 negative n.
21950 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21951 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21952 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21953 expectations in error cases.
21954 (y1_test_data): Likewise.
21955 (yn_test_data): Likewise.
21956 * sysdeps/i386/fpu/libm-test-ulps: Update.
21957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21958
5b118558
UW
219592013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21960
21961 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21962 "64" to "64-v1". Add "64-v2".
21963 (abi-64-options): Rename to ...
21964 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21965 (abi-64-condition): Rename to ...
21966 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21967 (abi-64-ld-soname): Rename to ...
21968 (abi-64-v1-ld-soname): ... this.
21969 (abi-64-v2-options): Define.
21970 (abi-64-v2-condition): Likewise.
21971 (abi-64-v2-ld-soname): Likewise.
21972 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21973 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21977
61cd8fe4
UW
219782013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21979 Alan Modra <amodra@gmail.com>
21980
21981 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21982 New versions for use with the ELFv2 ABI.
21983 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21984 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21985 declaration.
21986 (struct La_ppc64v2_retval): Likewise.
21987 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21988 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21989 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21990 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21991 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21992 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21993 Do not save or restore CR.
21994 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21995 (_dl_profile_resolve): Do no save or restore CR. Support extended
21996 return values for ELFv2 ABI. Fix location of FPR return registers.
21997 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21998 updated values for _CALL_ELF == 2.
21999 (La_regs, La_retval, int_retval): Likewise.
22000
8b8a692c
UW
220012013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22002
22003 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22004 (FRAME_MIN_SIZE_PARM): Likewise.
22005 (FRAME_BACKCHAIN): Likewise.
22006 (FRAME_CR_SAVE): Likewise.
22007 (FRAME_LR_SAVE): Likewise.
22008 (FRAME_TOC_SAVE): Likewise.
22009 (FRAME_PARM_SAVE): Likewise.
22010 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22011 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22012 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22013 (call_mcount_parm_offset): New macro.
22014 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22015 (PROF): Use symbolic stack frame offsets.
22016 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22017 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22018 Redefine in terms of FRAME_MIN_SIZE.
22019 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22020 (_dl_profile_resolve): Likewise. Update comment.
22021 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22022 symbols stack frame offsets.
22023 (__sigsetjmp): Likewise.
22024 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22025 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22026 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22027 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22028
22029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22030 (FRAME_BACKCHAIN): Remove.
22031 (FRAME_CR_SAVE): Likewise.
22032 (FRAME_LR_SAVE): Likewise.
22033 (FRAME_COMPILER_DW): Likewise.
22034 (FRAME_LINKER_DW): Likewise.
22035 (FRAME_TOC_SAVE): Likewise.
22036 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
22037 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22038 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22039 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
22040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22041 (CHECK_SP): Use symbolic stack frame offsets.
22042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22043 zone" instead of caller's parameter save area for temp storage.
22044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22045 Likewise. Also, use symbolic stack frame offsets.
22046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22047 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22048 our own stack frame instead of the caller's.
22049 (__socket): Use symbolic stack frame offsets.
22050
122b66de
UW
220512013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22052 Alan Modra <amodra@gmail.com>
22053
22054 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22055 Define.
57f41c40
AS
22056 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22057 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
22058 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22059 New function.
22060 (elf_machine_fixup_plt): Call it.
22061 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22062 reloc arguments.
22063 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
22064 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22065 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
22066 r2 before calling target.
22067
696caf1d
UW
220682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22069 Alan Modra <amodra@gmail.com>
22070
22071 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22072 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22073 versions of macros to support ELFv2 ABI.
22074 (LOCALENTRY): New macro.
22075 (ENTRY, EALIGN): Use it.
22076 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22077 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22078 fall through into ENTRY entry point.
22079 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22080 Only define if _CALL_ELF != 2.
22081
22082 (elf_machine_matches_host): Verify ABI version matches.
22083 (RTLD_START): Use LOCALENTRY.
22084 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22085 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22086 (PLT_ENTRY_WORDS): New macro.
22087 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22088 (elf_machine_runtime_setup): Support ELFv2 ABI.
22089 (elf_machine_fixup_plt): Likewise.
22090 (elf_machine_plt_conflict): Likewise.
22091 (resolve_ifunc): Likewise.
22092 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22093 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22094 Likewise.
22095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22096 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22098 (makecontext): Support ELFv2 ABI.
22099 * elf/elf.h (EF_PPC64_ABI): Define.
22100
d31beafa
UW
221012013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22102
57f41c40
AS
22103 * sysdeps/powerpc/powerpc64/sysdep.h
22104 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22105 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22106 (ENTRY) [ASSEMBLER]: ... but instead here ...
22107 (EALIGN) [ASSEMBLER]: ... and here.
22108 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22109 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22110 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
22111 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22112 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
22113 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22114 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
22115 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22117 Use PPC64_LOAD_FUNCPTR.
22118
b525166b
UW
22119 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22120
7ec07d9a
AM
221212013-12-04 Alan Modra <amodra@gmail.com>
22122
22123 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22124 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22125 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22126 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22127
22128 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22129 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22130 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22131 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22132 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22133 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22134
5162e7dd
UW
221352013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22136
22137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22138 (__makecontext): Fix incorrect CFI when backtracing out of
22139 context created via makecontext.
22140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22141 (__setcontext): Fix incorrect CFI during switch to new context.
22142 (__novec_setcontext): Likewise.
22143
19e3372b
OB
221442013-12-04 Ondřej Bílka <neleai@seznam.cz>
22145
22146 [BZ #4772]
22147 * time/strptime_l.c (__strptime_internal): Allow modifiers
22148 in strptime.
22149 * time/tst-strptime.c (day_tests): Add testcase.
22150
ecaf142d
SP
221512013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22152
22153 * scripts/bench.pl: Skip over blank lines.
22154
fbf964ae
PE
221552013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22156
22157 [BZ #926]
22158 * manual/time.texi (Calendar Time): Clarify what timezone functions
22159 use.
22160
fa60a674
AZ
221612013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22162
22163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22164
d674f0ef
OB
221652013-12-04 Ondřej Bílka <neleai@seznam.cz>
22166
22167 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22168 implementation.
22169 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22170 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22171 * debug/memset_chk.c (__memset_chk): Likewise.
22172 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22173 * debug/strncpy_chk.c: Likewise.
22174
17dea188
JM
221752013-12-03 Joseph Myers <joseph@codesourcery.com>
22176
749008ff
JM
22177 [BZ #15268]
22178 [BZ #15425]
22179 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22180 (__ieee754_exp): For possibly underflowing results, check size of
22181 result and force underflow exception if required.
22182 * math/auto-libm-test-in: Add more tests of exp.
22183 * math/auto-libm-test-out: Regenerated.
22184 * sysdeps/i386/fpu/libm-test-ulps: Update.
22185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22186
17dea188
JM
22187 [BZ #16283]
22188 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22189 * math/w_exp2f.c (__exp2f): Likewise.
22190 * math/w_exp2l.c (__exp2l): Likewise.
22191 * math/auto-libm-test-in: Do not allow missing errno on exp2
22192 underflow.
22193 * math/auto-libm-test-out: Regenerated.
22194
b20de2c3
OB
221952013-12-03 Ondřej Bílka <neleai@seznam.cz>
22196
22197 [BZ #16274]
22198 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22199 handle filename validation.
22200 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22201 (do_open): Delete.
22202
d8e2dbe3
JM
222032013-12-03 Joseph Myers <joseph@codesourcery.com>
22204
34e16df5
JM
22205 [BZ #6786]
22206 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22207 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22208 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22209 <float.h>.
22210 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22211 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22212 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22213 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22214 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22215 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22216 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22217 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22218 Add more erfc tests.
22219 * math/auto-libm-test-out: Regenerated.
22220 * sysdeps/i386/fpu/libm-test-ulps: Update.
22221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22222
d8e2dbe3
JM
22223 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22224 exp2, expm1, j0 and j1.
22225 * math/auto-libm-test-out: Regenerated.
22226 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22227 (erfc_test_data): Likewise.
22228 (exp_test_data): Likewise.
22229 (exp_tonearest_test_data): Likewise.
22230 (exp_towardzero_test_data): Likewise.
22231 (exp_downward_test_data): Likewise.
22232 (exp_upward_test_data): Likewise.
22233 (exp10_test_data): Likewise.
22234 (exp2_test_data): Likewise.
22235 (expm1_test_data): Likewise.
22236 (j0_test_data): Likewise.
22237 (j1_test_data): Likewise.
22238 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22239 (input_flag_type): Add flag_xfail_rounding.
22240 (input_flags): Add xfail-rounding.
22241 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22242 (output_for_one_input_case): Handle flag_xfail_rounding.
22243 * sysdeps/i386/fpu/libm-test-ulps: Update.
22244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22245
18d14251
AJ
222462013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22247
3d2e6075 22248 [BZ #16289]
18d14251
AJ
22249 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22250 division by 0.
22251
520d437b
SP
222522013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22253
22254 [BZ #16195]
22255 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22256 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22257 (STAP_PROBE0): New macro.
22258 (STAP_PROBE1): Likewise.
22259 (STAP_PROBE2): Likewise.
22260 (STAP_PROBE3): Likewise.
22261 (STAP_PROBE4): Likewise.
22262
416e0145
OB
222632013-12-02 Ondřej Bílka <neleai@seznam.cz>
22264
22265 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22266
9d17796a
SE
222672013-12-02 Steve Ellcey <sellcey@mips.com>
22268
22269 * benchtests/Makefile (bench): Add sqrt.
22270 (LDLIBS-bench-sqrt): New.
22271 * benchtests/sqrt-input: New.
22272
f524d6a8
PS
222732013-12-02 Pavel Simerda <psimerda@redhat.com>
22274
639a0ef8
PS
22275 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22276 (GAIH_EAI): Likewise.
22277 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22278 (gaih_inet): Likewise.
22279 (getaddrinfo): Don't use GAIH_EAI.
22280
f524d6a8
PS
22281 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22282 (struct gaih): Remove definition.
22283
df3aedaf
SP
222842013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22285
22286 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22287 Use HERRNOP directly.
22288
1ab19dec
AZ
222892013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22290
b42ad38d 22291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22292
176b0c79
JM
222932013-11-30 Joseph Myers <joseph@codesourcery.com>
22294
22295 * math/gen-auto-libm-tests.c (test_functions): Add more
22296 single-argument functions.
22297 (special_fill_pi_2): New function.
22298 (special_fill_minus_pi_2): Likewise.
22299 (special_fill_pi_6): Likewise.
22300 (special_fill_minus_pi_6): Likewise.
22301 (special_fill_pi_3): Likewise.
22302 (special_fill_2pi_3): Likewise.
22303 (special_fill_e): Likewise.
22304 (special_fill_1_e): Likewise.
22305 (special_fill_e_minus_1): Likewise.
22306 (special_real_inputs): Add more special inputs.
22307 (output_for_one_input_case): Do not require ERANGE on underflow to
22308 zero if round-to-nearest result does not underflow to zero, unless
22309 exact results required.
22310 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22311 atan, atanh, cbrt, cos and cosh.
22312 * math/auto-libm-test-out: Regenerated.
22313 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22314 (acos_tonearest_test_data): Likewise.
22315 (acos_towardzero_test_data): Likewise.
22316 (acos_downward_test_data): Likewise.
22317 (acos_upward_test_data): Likewise.
22318 (acosh_test_data): Likewise.
22319 (asin_test_data): Likewise.
22320 (asin_tonearest_test_data): Likewise.
22321 (asin_towardzero_test_data): Likewise.
22322 (asin_upward_test_data): Likewise.
22323 (asinh_test_data): Likewise.
22324 (atan_test_data): Likewise.
22325 (atanh_test_data): Likewise.
22326 (cbrt_test_data): Likewise.
22327 (cos_test_data): Likewise.
22328 (cos_tonearest_test_data): Likewise.
22329 (cos_towardzero_test_data): Likewise.
22330 (cos_downward_test_data): Likewise.
22331 (cos_upward_test_data): Likewise.
22332 (cosh_test_data): Likewise.
22333 (cosh_tonearest_test_data): Likewise.
22334 (cosh_towardzero_test_data): Likewise.
22335 (cosh_downward_test_data): Likewise.
22336 (cosh_upward_test_data): Likewise.
22337 * sysdeps/i386/fpu/libm-test-ulps: Update.
22338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22339
ffb536d0
JM
223402013-11-29 Joseph Myers <joseph@codesourcery.com>
22341
2a77a467
JM
22342 [BZ #6787]
22343 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22344 * math/w_exp10f.c (__exp10f): Likewise.
22345 * math/w_exp10l.c (__exp10l): Likewise.
22346 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22347 errno settings in existing tests.
22348
ea3bc4e8
JM
22349 [BZ #14032]
22350 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22351 precision control set to double precision.
22352 * sysdeps/i386/fpu/w_sqrt.c: New file.
22353 * math/auto-libm-test-in: Add more tests.
22354 * math/auto-libm-test-out: Update.
22355
0712c9d8
JM
22356 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22357 (sqrt_test_tonearest): New function.
22358 (sqrt_towardzero_test_data): New variable.
22359 (sqrt_test_towardzero): New function.
22360 (sqrt_downward_test_data): New variable.
22361 (sqrt_test_downward): New function.
22362 (sqrt_upward_test_data): New variable.
22363 (sqrt_test_upward): New function.
22364 (main): Call the new functions.
22365
ffb536d0
JM
22366 * math/gen-auto-libm-tests.c: New file.
22367 * math/auto-libm-test-in: Likewise.
22368 * math/auto-libm-test-out: New generated file.
22369 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22370 variables.
22371 (%beautify): Add generated representations of zero.
22372 (top level): Set $auto_input and call parse_auto_input.
22373 (beautify): Remove trailing "f" from hex float constants.
22374 (parse_args): Handle XFAIL_TEST.
22375 (convert_condition): New function.
22376 (or_value): Likewise.
22377 (or_cond_value): Likewise.
22378 (generate_testfile): Handle AUTO_TESTS_* lines.
22379 (parse_auto_input): New function.
22380 * math/libm-test.inc (XFAIL_TEST): New macro.
22381 (ERRNO_UNCHANGED): Update value.
22382 (ERRNO_EDOM): Likewise.
22383 (ERRNO_ERANGE): Likewise.
22384 (IGNORE_RESULT): Likewise.
22385 (TEST_COND_flt_32): New macro.
22386 (TEST_COND_dbl_64): Likewise.
22387 (TEST_COND_ldbl_96_intel): Likewise.
22388 (TEST_COND_ldbl_96_m68k): Likewise.
22389 (TEST_COND_ldbl_128): Likewise.
22390 (TEST_COND_ldbl_128ibm): Likewise.
22391 (TEST_COND_long32): Likewise.
22392 (TEST_COND_long64): Likewise.
22393 (TEST_COND_before_rounding): Likewise.
22394 (TEST_COND_after_rounding): Likewise.
22395 (enable_test): Handle XFAIL_TEST flag.
22396 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22397 with finite results.
22398 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22399 auto-libm-test-out.
22400
acd98a8e
AK
224012013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22402 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22403
22404 [BZ #16214]
22405 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22406 __tls_get_addr_internal instead of __tls_get_offset in order to
22407 avoid GOT pointer dependency. Make rtld export
22408 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22409 __tls_get_addr since we are a __tls_get_offset platform.
22410 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22411 GOT pointer being set up before.
22412 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22413
3c1c46a6
JM
224142013-11-28 Joseph Myers <joseph@codesourcery.com>
22415
7475aef5
JM
22416 * manual/math.texi (Errors in Math Functions): Document accuracy
22417 goals.
22418
8bca7cd8
JM
22419 [BZ #15004]
22420 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22421 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22422 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22423 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22424 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22425 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22426 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22427 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22428 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22429 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22430 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22431 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22432 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22433 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22434 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22435 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22436
91a1f3fe
JM
22437 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22438 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22439 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22440 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22441 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22442 Likewise.
22443 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22444 Likewise.
22445 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22446 Likewise.
22447 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22448 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22449 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22450 atomic-feupdateenv and flt-rounds.
22451 * sysdeps/powerpc/nofpu/Versions (libc): Add
22452 __atomic_feholdexcept, __atomic_feclearexcept,
22453 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22454 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22455 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22456 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22457 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22458 here.
22459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22460 Update.
22461
c5df7609
JM
22462 * manual/arith.texi (FP Exceptions): Document that exceptions may
22463 not be raised when matherr is used.
22464 (Math Error Reporting): Document overflow in directed rounding
22465 modes. Document that errno may not be set when finite values are
22466 returned on overflow. Document intent to set errno on underflow
22467 only for underflow to zero.
22468
3c1c46a6
JM
22469 [BZ #16271]
22470 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22471 round-to-nearest then adjust result for other rounding modes.
22472 * include/fenv.h (fegetround): Use libm_hidden_proto.
22473 * math/fegetround.c (fegetround): Use libm_hidden_def.
22474 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22475 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22476 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22477 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22478 Likewise.
22479 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22480 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22481 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22482 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22483
5a4c6d53
SP
224842013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22485
22486 [BZ #16077]
22487 * nss/Versions (libnss_files): Add
22488 _nss_files_gethostbyname3_r.
22489 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22490 New function.
22491 (HOST_DB_LOOKUP): Remove macro.
22492 (_nss_files_gethostbyname_r): Implement function without the
22493 HOST_DB_LOOKUP macro.
22494 (_nss_files_gethostbyname2_r): Likewise.
22495
897b98ba
OB
224962013-11-28 Ondřej Bílka <neleai@seznam.cz>
22497
22498 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22499
6f476861
UB
225002013-11-26 Uros Bizjak <ubizjak@gmail.com>
22501
22502 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22503 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22504 warning.
22505
bd12ab55
AZ
225062013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22507
22508 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22509 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22510 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22511 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22512 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22513 __fe_nomask_env_priv and attribute_hidden.
22514 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22515 (libc_feupdateenv_test_ppc): Likewise.
22516 (libc_feresetround_ppc): Likewise.
22517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22518 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22519 compat_symbol macro.
22520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22521 (__fe_nomask_env): Likewise.
22522 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22523
52bb6543
OB
225242013-11-26 Ondřej Bílka <neleai@seznam.cz>
22525
22526 * string/Makefile: Remove ifunc tests.
22527 * string/test-string.h: Define TEST_IFUNC.
22528 * string/test-bcopy-ifunc.c: Remove.
22529 * string/test-bzero-ifunc.c: Likewise.
22530 * string/test-memccpy-ifunc.c: Likewise.
22531 * string/test-memchr-ifunc.c: Likewise.
22532 * string/test-memcmp-ifunc.c: Likewise.
22533 * string/test-memcpy-ifunc.c: Likewise.
22534 * string/test-memmem-ifunc.c: Likewise.
22535 * string/test-memmove-ifunc.c: Likewise.
22536 * string/test-mempcpy-ifunc.c: Likewise.
22537 * string/test-memrchr-ifunc.c: Likewise.
22538 * string/test-memset-ifunc.c: Likewise.
22539 * string/test-rawmemchr-ifunc.c: Likewise.
22540 * string/test-stpcpy-ifunc.c: Likewise.
22541 * string/test-stpncpy-ifunc.c: Likewise.
22542 * string/test-strcasecmp-ifunc.c: Likewise.
22543 * string/test-strcasestr-ifunc.c: Likewise.
22544 * string/test-strcat-ifunc.c: Likewise.
22545 * string/test-strchr-ifunc.c: Likewise.
22546 * string/test-strchrnul-ifunc.c: Likewise.
22547 * string/test-strcmp-ifunc.c: Likewise.
22548 * string/test-strcpy-ifunc.c: Likewise.
22549 * string/test-strcspn-ifunc.c: Likewise.
22550 * string/test-strlen-ifunc.c: Likewise.
22551 * string/test-strncasecmp-ifunc.c: Likewise.
22552 * string/test-strncat-ifunc.c: Likewise.
22553 * string/test-strncmp-ifunc.c: Likewise.
22554 * string/test-strncpy-ifunc.c: Likewise.
22555 * string/test-strnlen-ifunc.c: Likewise.
22556 * string/test-strpbrk-ifunc.c: Likewise.
22557 * string/test-strrchr-ifunc.c: Likewise.
22558 * string/test-strspn-ifunc.c: Likewise.
22559 * string/test-strstr-ifunc.c: Likewise.
22560
ab260039 225612013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22562
22563 * benchtests/Makefile: Remove ifunc tests.
22564 * benchtests/bench-string.h: Define TEST_IFUNC.
22565 * benchtests/bench-bcopy-ifunc.c: Remove.
22566 * benchtests/bench-bzero-ifunc.c: Likewise.
22567 * benchtests/bench-memccpy-ifunc.c: Likewise.
22568 * benchtests/bench-memchr-ifunc.c: Likewise.
22569 * benchtests/bench-memcmp-ifunc.c: Likewise.
22570 * benchtests/bench-memcpy-ifunc.c: Likewise.
22571 * benchtests/bench-memmem-ifunc.c: Likewise.
22572 * benchtests/bench-memmove-ifunc.c: Likewise.
22573 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22574 * benchtests/bench-memrchr-ifunc.c: Likewise.
22575 * benchtests/bench-memset-ifunc.c: Likewise.
22576 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22577 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22578 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22579 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22580 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22581 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22582 * benchtests/bench-strcat-ifunc.c: Likewise.
22583 * benchtests/bench-strchr-ifunc.c: Likewise.
22584 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22585 * benchtests/bench-strcmp-ifunc.c: Likewise.
22586 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22587 * benchtests/bench-strcpy-ifunc.c: Likewise.
22588 * benchtests/bench-strcspn-ifunc.c: Likewise.
22589 * benchtests/bench-strlen-ifunc.c: Likewise.
22590 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22591 * benchtests/bench-strncat-ifunc.c: Likewise.
22592 * benchtests/bench-strncmp-ifunc.c: Likewise.
22593 * benchtests/bench-strncpy-ifunc.c: Likewise.
22594 * benchtests/bench-strnlen-ifunc.c: Likewise.
22595 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22596 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22597 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22598 * benchtests/bench-strspn-ifunc.c: Likewise.
22599 * benchtests/bench-strstr-ifunc.c: Likewise.
22600
226012013-11-26 Ondřej Bílka <neleai@seznam.cz>
22602
ab260039
OB
22603 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22604
d1d9eaf4 226052013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22606
d1d9eaf4
OB
22607 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22608 * rt/aio.h: Likewise.
22609 * sysdeps/gnu/bits/utmp.h: Likewise.
22610 * sysdeps/gnu/bits/utmpx.h: Likewise.
22611 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22612 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22613 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22614 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22615 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22616 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22617 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22618 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22619 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22620 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22621 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22622 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22623 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22625 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22626 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22627 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22628 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22629 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22630 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22631 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22632 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22633 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22634 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22635 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22637 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22638 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22639 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22640 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22641 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22642 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22643 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22644 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22645 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22646 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22647 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22648 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22649 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22650 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22651 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22652 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22653
a7624ed9
CD
226542013-11-25 Carlos O'Donell <carlos@redhat.com>
22655
22656 [BZ #16245]
22657 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22658 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22659
63cfe52b
JM
226602013-11-25 Joseph Myers <joseph@codesourcery.com>
22661
22662 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22663 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22664 Likewise.
22665
41e8926a
AZ
226662013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22667
22668 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22669 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22670 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22671 (__fesetround): Remove define.
22672 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22673 rounding and exceptions handling.
22674 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22675 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22676 (__fe_nomask_env): Likewise.
22677 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22678 __fegetround instead of fegetround.
22679 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22680 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22681
6851bd4d
RM
226822013-11-21 Roland McGrath <roland@hack.frob.com>
22683
070906ff
RM
22684 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22685 it's there.
22686
6851bd4d
RM
22687 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22688
84ae135d
MI
226892013-11-21 Meador Inge <meadori@codesourcery.com>
22690
22691 [BZ #11157]
22692 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22693 (encrypt_r): Likewise.
22694 * malloc/obstack.h (obstack_free): Likewise.
22695 * posix/unistd.h (encrypt): Likewise.
22696
daf75146
GM
226972013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22698
22699 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22700 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22701 DL_CALL_DT_FINI() that call the functions directly.
22702 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22703 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22704 * elf/dl-fini.c: Likewise.
22705
10ad46bc
OB
227062013-11-20 Ondřej Bílka <neleai@seznam.cz>
22707
22708 * malloc/hooks.c (memalign_check): Add alignment rounding.
22709 * malloc/malloc.c (_mid_memalign): New function.
22710 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22711 Implement by calling _mid_memalign.
22712 * manual/probes.texi (Memory Allocation Probes): Remove
22713 memory_valloc_retry and memory_pvalloc_retry.
22714
f3fd2628
SP
227152013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22716
4712799f
SP
22717 * locale/programs/locarchive.c (open_archive): Add const
22718 qualifier to ARCHIVEFNAME and copy default fname to
22719 DEFAULT_FNAME.
22720
0417b20f
SP
22721 [BZ #15601]
22722 * libio/tst-widetext.input: Rename Oriya to Odia.
22723 * locale/iso-639.def: Likewise.
22724
f3fd2628
SP
22725 * manual/probes.texi (Mathematical Function Probes): Add
22726 documentation for sin, cos, asin and acos probes.
22727 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22728 (__sin32): Add slowasin probe.
22729 (__cos32): Add slowacos probe.
22730 (__mpsin): Add slowsin probe.
22731 (__mpcos): Add slowcos probe.
22732
73c1ce4f
JM
227332013-11-19 Joseph Myers <joseph@codesourcery.com>
22734
22735 [BZ #15483]
22736 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22737 thread-local __sim_exceptions_thread and global
22738 __sim_exceptions_global.
22739 (__sim_disabled_exceptions): Change to thread-local
22740 __sim_disabled_exceptions_thread and global
22741 __sim_disabled_exceptions_global.
22742 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22743 and global __sim_round_mode_global.
22744 (__simulate_exceptions): Use thread-local floating-point state and
22745 set global state from it as needed.
22746 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22747 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22748 __sim_round_mode_thread.
22749 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22750 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22751 and global __sim_exceptions_global.
22752 (__sim_disabled_exceptions): Change to thread-local
22753 __sim_disabled_exceptions_thread and global
22754 __sim_disabled_exceptions_global.
22755 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22756 and global __sim_round_mode_global.
22757 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22758 (SIM_SET_GLOBAL): Likewise.
22759 * sysdeps/powerpc/soft-fp/sfp-machine.h
22760 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22761 __sim_round_mode_thread.
22762 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22763 __sim_disabled_exceptions_thread.
22764 (__sim_exceptions): Change to __sim_exceptions_thread.
22765 (__sim_disabled_exceptions): Change to
22766 __sim_disabled_exceptions_thread.
22767 (__sim_round_mode): Change to __sim_round_mode_thread.
22768 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22769 thread-local floating-point state and set global state from it as
22770 needed.
22771 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22772 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22773 (__sim_disabled_exceptions): Remove extern declaration.
22774 (feenableexcept): Use thread-local floating-point state and set
22775 global state from it as needed.
22776 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22777 extern declaration.
22778 (__sim_disabled_exceptions): Likewise.
22779 (__sim_round_mode): Likewise.
22780 (__fegetenv): Use thread-local floating-point state.
22781 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22782 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22783 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22784 floating-point state and set global state from it as needed.
22785 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22786 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22787 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22788 Likewise.
22789 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22790 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22791 Likewise.
22792 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22793 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22794 Use __sim_round_mode_thread.
22795 * math/test-fenv-tls.c: New file.
22796 * math/Makefile (tests): Add test-fenv-tls.
22797 ($(objpfx)test-fenv-tls): Depend on
22798 $(common-objpfx)nptl/libpthread.so.
22799
b5449b12
AS
228002013-11-19 Andreas Schwab <schwab@suse.de>
22801
22802 * locale/programs/locale.c (show_info): Decode wordarray elements.
22803 * locale/categories.def (LC_MONETARY): Add element for
22804 _NL_MONETARY_CRNCYSTR.
22805 * locale/C-monetary.c (conversion_rate): New variable.
22806 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22807 element.
22808
e186536b
CM
228092013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22810
22811 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22812 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22813
5c349950
PP
228142013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22815
22816 * elf/Makefile (tst-auxv): New test.
22817 * elf/tst-auxv.c: New
22818 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22819
699df45b
JM
228202013-11-18 Joseph Myers <joseph@codesourcery.com>
22821
22822 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22823 (hidden_proto): Caller changed.
22824 (hidden_tls_proto): New macro.
22825 (libc_hidden_tls_proto): Likewise.
22826 (rtld_hidden_tls_proto): Likewise.
22827 (libm_hidden_tls_proto): Likewise.
22828 (libresolv_hidden_tls_proto): Likewise.
22829 (librt_hidden_tls_proto): Likewise.
22830 (libdl_hidden_tls_proto): Likewise.
22831 (libnss_files_hidden_tls_proto): Likewise.
22832 (libnsl_hidden_tls_proto): Likewise.
22833 (libnss_nisplus_hidden_tls_proto): Likewise.
22834 (libutil_hidden_tls_proto): Likewise.
22835
b7589107
OB
228362013-11-18 Ondřej Bílka <neleai@seznam.cz>
22837
22838 [BZ #10253]
22839 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22840 (decompose_rpath): Defer expansion to fillin_rpath.
22841 (_dl_init_paths): Pass linkmap to fillin_rpath.
22842
250c23bd
RS
228432013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22844
22845 * benchtests/Makefile: Add strsep.
22846 * benchtests/bench-strsep.c: New file: strsep benchtest.
22847 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22848
a7931fcf
AS
228492013-11-18 Andreas Schwab <schwab@suse.de>
22850
22851 * locale/programs/locale.c (show_info) [case byte]: Check for
22852 '\377' instead of '\177'.
22853 * locale/C-monetary.c (not_available): Always use "\377".
22854 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22855 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22856 detect unavailable sign_posn locale elements.
22857 * locale/localeconv.c (__localeconv): For grouping and
22858 mon_grouping handle "\177" and "\377" like no grouping.
22859 (INT_ELEM): New macro. Use it to set all numeric members.
22860 * locale/programs/ld-monetary.c (monetary_read)
22861 <tok_mon_grouping>: Normalize single -1 to the empty string.
22862 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22863 Likewise.
22864
728dab0e
OB
228652013-11-07 Ondřej Bílka <neleai@seznam.cz>
22866
22867 [BZ #16055]
22868 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22869 when we match (nil).
22870 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22871
66294491
JM
228722013-11-16 Joseph Myers <joseph@codesourcery.com>
22873
ce665817
JM
22874 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22875 (NO_TEST_INLINE): Update value.
22876 (ERRNO_UNCHANGED): Likewise.
22877 (ERRNO_EDOM): Likewise.
22878 (ERRNO_ERANGE): Likewise.
22879 (IGNORE_RESULT): Likewise.
22880 (check_float_internal): Check signs of NaN results if
22881 TEST_NAN_SIGN used.
22882 (check_complex): Pass TEST_NAN_SIGN flag through to second
22883 check_float_internal call.
22884 (copysign_test_data): Add tests with quiet NaNs as second
22885 argument. Use TEST_NAN_SIGN.
22886 (fabs_test_data): Add test of negative quiet NaN argument. Use
22887 TEST_NAN_SIGN.
22888 (signbit_test_data): Add tests of quiet NaN argument.
22889 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22890
ee1466a9
JM
22891 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22892 $ignore_result.
22893 (parse_args): Handle function results specified as IGNORE.
22894 * math/libm-test.inc (IGNORE_RESULT): New macro.
22895 (check_float_internal): Do not check numerical result if flag
22896 IGNORE_RESULT set.
22897 (check_complex): Pass through IGNORE_RESULT to second
22898 check_float_internal call.
22899 (check_int): Do not check numerical result if flag IGNORE_RESULT
22900 set.
22901 (check_long): Likewise.
22902 (check_bool): Likewise.
22903 (check_longlong): Likewise.
22904 (lrint_test_data): Add tests of infinite and NaN arguments.
22905 (lrint_tonearest_test_data): Likewise.
22906 (lrint_towardzero_test_data): Likewise.
22907 (lrint_downward_test_data): Likewise.
22908 (lrint_upward_test_data): Likewise.
22909 (llrint_test_data): Likewise.
22910 (llrint_tonearest_test_data): Likewise.
22911 (llrint_towardzero_test_data): Likewise.
22912 (llrint_downward_test_data): Likewise.
22913 (llrint_upward_test_data): Likewise.
22914 (lround_test_data): Likewise.
22915 (llround_test_data): Likewise.
22916
14407b7e
JM
22917 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22918 (ERRNO_UNCHANGED): Update value.
22919 (ERRNO_EDOM): Likewise.
22920 (ERRNO_ERANGE): Likewise.
22921 (NO_TEST_INLINE_FLOAT): New macro.
22922 (NO_TEST_INLINE_DOUBLE): Likewise.
22923 (enable_test): New function.
22924 (RUN_TEST_f_f): Check enable_test before running test.
22925 (RUN_TEST_2_f): Likewise.
22926 (RUN_TEST_fff_f): Likewise.
22927 (RUN_TEST_c_f): Likewise.
22928 (RUN_TEST_f_f1): Likewise.
22929 (RUN_TEST_fF_f1): Likewise.
22930 (RUN_TEST_fI_f1): Likewise.
22931 (RUN_TEST_ffI_f1): Likewise.
22932 (RUN_TEST_c_c): Likewise.
22933 (RUN_TEST_cc_c): Likewise.
22934 (RUN_TEST_f_i): Likewise.
22935 (RUN_TEST_f_i_tg): Likewise.
22936 (RUN_TEST_ff_i_tg): Likewise.
22937 (RUN_TEST_f_b): Likewise.
22938 (RUN_TEST_f_b_tg): Likewise.
22939 (RUN_TEST_f_l): Likewise.
22940 (RUN_TEST_f_L): Likewise.
22941 (RUN_TEST_fFF_11): Likewise.
22942 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22943 conditionals.
22944 (cosh_test_data): Likewise.
22945 (exp_test_data): Likewise.
22946 (expm1_test_data): Likewise.
22947 (hypot_test_data): Likewise.
22948 (pow_test_data): Likewise.
22949 (sinh_test_data): Likewise.
22950 (tanh_test_data): Likewise.
22951 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22952 flags argument.
22953
ca07f197
JM
22954 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22955 tests with quiet NaN input and output.
22956 (acosh_test_data): Likewise.
22957 (asin_test_data): Likewise.
22958 (asinh_test_data): Likewise.
22959 (atan_test_data): Likewise.
22960 (atanh_test_data): Likewise.
22961 (atan2_test_data): Likewise.
22962 (cbrt_test_data): Likewise.
22963 (cos_test_data): Likewise.
22964 (cosh_test_data): Likewise.
22965 (erf_test_data): Likewise.
22966 (erfc_test_data): Likewise.
22967 (exp_test_data): Likewise.
22968 (exp10_test_data): Likewise.
22969 (exp2_test_data): Likewise.
22970 (expm1_test_data): Likewise.
22971 (hypot_test_data): Likewise.
22972 (j0_test_data): Likewise.
22973 (j1_test_data): Likewise.
22974 (jn_test_data): Likewise.
22975 (lgamma_test_data): Likewise.
22976 (log_test_data): Likewise.
22977 (log10_test_data): Likewise.
22978 (log1p_test_data): Likewise.
22979 (log2_test_data): Likewise.
22980 (pow_test_data): Likewise.
22981 (scalb_test_data): Likewise.
22982 (sin_test_data): Likewise.
22983 (sincos_test_data): Likewise.
22984 (sinh_test_data): Likewise.
22985 (tan_test_data): Likewise.
22986 (tanh_test_data): Likewise.
22987 (tgamma_test_data): Likewise.
22988 (y0_test_data): Likewise.
22989 (y1_test_data): Likewise.
22990 (yn_test_data): Likewise.
22991
66294491
JM
22992 [BZ #16167]
22993 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22994 argument being NaN and avoid computations with second argument in
22995 that case.
22996 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22997 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22998 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22999
1820b143
CL
230002013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23001
23002 * locale/iso-639.def: Add Chitwani Tharu (the).
23003
714bd261
AS
230042013-11-14 Andreas Schwab <schwab@suse.de>
23005
23006 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23007 word instead of empty string.
23008
7ab44563
AZ
230092013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23010
23011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23012 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23014 (__fe_nomask_env): Likewise.
23015
e8470ea2
SE
230162013-11-13 Steve Ellcey <sellcey@mips.com>
23017
23018 * benchtests/bench-timing.h: Include time.h.
23019
17c1d9f0
L
230202013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23021
23022 [BZ #15997]
23023 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23024 to 3.4.0 for x32.
23025 * sysdeps/unix/sysv/linux/configure: Regenerated.
23026
9310c284
JM
230272013-11-13 Joseph Myers <joseph@codesourcery.com>
23028
23029 [BZ #16151]
23030 * stdlib/strtod_l.c (round_and_return): Do not consider
23031 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23032 exponent one less than half the least subnormal exponent.
23033 * stdlib/test-strtod-round-data: Add more tests.
23034 * stdlib/tst-strtod-round.c (tests): Regenerated.
23035
7a2ad8cf
AZ
230362013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23037
23038 [BZ #14143]
23039 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23040 (__fe_mask_env): Likewise.
23041 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23042 libm_hidden_proto and add function prototype.
23043 (__fe_mask_env): Add function prototype.
23044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23045 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23047 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23049 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23050
50727aa7
MS
230512013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23052
b2f386c1 23053 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
23054 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23055
a615be46
MS
230562013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23057
23058 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23059 of htab_find_slot().
23060
7ddace62
DM
230612013-11-11 David S. Miller <davem@davemloft.net>
23062
23063 [BZ #16150]
23064 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23065 symbol in the non-vis3 case in static builds.
23066 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23067 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23068 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23069 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23070
9182aa67
JK
230712013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23072
23073 [BZ #387]
23074 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23075 it is empty.
23076
450a2e2d
AZ
230772013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23078
b2f386c1
SP
23079 * benchtests/Makefile: Add bench-strtod.
23080 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 23081
8ec3f656
AS
230822013-11-11 Andreas Schwab <schwab@suse.de>
23083
23084 [BZ #16153]
23085 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23086 terminating NUL in key length.
23087
76a9b998
AZ
230882013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23089
23090 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23091 Add artificial ODP entry for vDSO symbol for PPC64.
23092 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23093 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23094
e4368156
OB
230952013-11-07 Ondřej Bílka <neleai@seznam.cz>
23096
23097 [BZ #15374]
23098 * nss/getent.c (services_keys): Recognize services starting with digit.
23099
8d6bb57c
DM
231002013-11-06 David S. Miller <davem@davemloft.net>
23101
23102 [BZ #15985]
23103 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23104 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23105
e256c421
WN
231062013-11-06 Will Newton <will.newton@linaro.org>
23107
23108 * manual/memory.texi (Malloc Examples): Remove register
23109 keyword from examples.
23110
f6e12daa 231112013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 23112
f6e12daa 23113 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 23114
9d880655
AS
231152013-11-04 Joseph Myers <joseph@codesourcery.com>
23116
fd2f9486 23117 [BZ #6981]
9d880655
AS
23118 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23119 depending on [__GCC_IEC_559 > 0].
23120 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23121 depending on [__GCC_IEC_559_COMPLEX > 0].
23122
ae129d3c
CL
231232013-11-03 Chris Leonard <cjl@sugarlabs.org>
23124
23125 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23126 to iso-639.def.
23127
4a15c2a4 231282013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
23129
23130 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23131
8b35e35d
OB
231322013-11-01 Ondřej Bílka <neleai@seznam.cz>
23133
23134 [BZ #16112]
23135 * malloc/malloc (malloc_info): Do not handle first bin as
23136 special case.
23137
1d70fd6c
CL
231382013-11-01 Chris Leonard <cjl@sugarlabs.org>
23139
23140 * locale/iso-639.def: Add Central Nahuatl (nhn).
23141
8c5c2600
BH
231422013-11-01 Bruno Haible <bruno@clisp.org>
23143
23144 [BZ #7003]
23145 * manual/math.texi (BSD Random): Specify range upper bound as
23146 in POSIX.
23147
da5579c2
CL
231482013-10-31 Chris Leonard <cjl@sugarlabs.org>
23149
23150 * locale/iso-639.def: Add Meadow Mari (mhr).
23151
5d30d853
OB
231522013-10-31 Ondřej Bílka <neleai@seznam.cz>
23153
23154 [BZ #14752], [BZ #15763]
23155 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23156 Validate name.
23157 * rt/tst_shm.c: Add test for escaping directory.
23158
a4966c61
AS
231592013-10-31 Andreas Schwab <schwab@suse.de>
23160
8a43e768 23161 [BZ #15917]
a4966c61
AS
23162 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23163 followed by 'x' as part of digit sequence.
23164 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23165
28d708c4
MAP
231662013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23167
23168 [BZ #16037]
23169 * configure.ac: allow GNU Make 4.0 and greater.
23170 * configure: Regenerated.
23171
a56ee40b
WN
231722013-10-30 Will Newton <will.newton@linaro.org>
23173
23174 [BZ #16038]
23175 * malloc/hooks.c (memalign_check): Limit alignment to the
23176 maximum representable power of two.
23177 * malloc/malloc.c (__libc_memalign): Likewise.
23178 * malloc/tst-memalign.c (do_test): Add test for very
23179 large alignment values.
23180 * malloc/tst-posix_memalign.c (do_test): Likewise.
23181
c6e4925d
OB
231822013-10-30 Ondřej Bílka <neleai@seznam.cz>
23183
23184 [BZ #11087]
23185 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23186 (munmap_chunk): Likewise.
23187 (mremap_chunk): Likewise.
23188
231892013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23190
8a43e768 23191 [BZ #15799]
bbea82f7
OB
23192 * stdlib/div.c (div): Remove obsolete code.
23193 * stdlib/ldiv.c (ldiv): Likewise.
23194 * stdlib/lldiv.c (lldiv): Likewise.
23195
977f4b31
SP
231962013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23197
23198 [BZ #16071]
23199 * nss/nss_files/files-XXX.c (get_contents_ret): New
23200 enumerator.
23201 (get_contents): New function.
23202 (internal_getent): Use it. Expand size of LINEBUFLEN.
23203
cb8a6dbd
MF
232042013-10-30 Mike Frysinger <vapier@gentoo.org>
23205
23206 * configure.in: Moved to ...
23207 * configure.ac: ... here. Change reference to configure.in
23208 to configure.ac.
23209 * sysdeps/arm/preconfigure.ac: ... here.
23210 configure.in to configure.ac.
23211 * sysdeps/gnu/configure.in: Moved to ...
23212 * sysdeps/gnu/configure.ac: ... here.
23213 * sysdeps/i386/configure.in: Moved to ...
23214 * sysdeps/i386/configure.ac: ... here.
23215 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23216 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23217 * sysdeps/mach/configure.in: Moved to ...
23218 * sysdeps/mach/configure.ac: ... here.
23219 * sysdeps/mach/hurd/configure.in: Moved to ...
23220 * sysdeps/mach/hurd/configure.ac: ... here.
23221 * sysdeps/powerpc/configure.in: Moved to ...
23222 * sysdeps/powerpc/configure.ac: ... here.
23223 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23224 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23225 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23226 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23227 * sysdeps/s390/s390-32/configure.in: Moved to ...
23228 * sysdeps/s390/s390-32/configure.ac: ... here.
23229 * sysdeps/s390/s390-64/configure.in: Moved to ...
23230 * sysdeps/s390/s390-64/configure.ac: ... here.
23231 * sysdeps/sh/configure.in: Moved to ...
23232 * sysdeps/sh/configure.ac: ... here.
23233 * sysdeps/sparc/configure.in: Moved to ...
23234 * sysdeps/sparc/configure.ac: ... here.
23235 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23236 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23237 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23238 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23239 * sysdeps/x86_64/configure.in: Moved to ...
23240 * sysdeps/x86_64/configure.ac: ... here.
23241 * sysdeps/x86_64/preconfigure.in: Moved to ...
23242 * sysdeps/x86_64/preconfigure.ac: ... here.
23243 * aclocal.m4: Change reference to configure.in to configure.ac.
23244 * config.h.in: Likewise.
23245 * manual/install.texi: Likewise.
23246 * manual/maint.texi: Likewise.
23247 * Makefile: Likewise.
23248 * malloc/Makefile: Likewise.
23249 * nscd/Makefile: Likewise.
23250 * Makeconfig: Change reference to configure.in and
23251 preconfigure.in to configure.ac and preconfigure.ac
23252 respectively.
23253 * INSTALL: Regenerated.
23254 * configure: Likewise.
23255 * sysdeps/gnu/configure: Likewise.
23256 * sysdeps/i386/configure: Likewise.
23257 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23258 * sysdeps/mach/configure: Likewise.
23259 * sysdeps/mach/hurd/configure: Likewise.
23260 * sysdeps/powerpc/configure: Likewise.
23261 * sysdeps/powerpc/powerpc32/configure: Likewise.
23262 * sysdeps/powerpc/powerpc64/configure: Likewise.
23263 * sysdeps/s390/s390-32/configure: Likewise.
23264 * sysdeps/s390/s390-64/configure: Likewise.
23265 * sysdeps/sh/configure: Likewise.
23266 * sysdeps/sparc/configure: Likewise.
23267 * sysdeps/unix/sysv/linux/configure: Likewise.
23268 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23269 * sysdeps/x86_64/configure: Likewise.
23270 * sysdeps/x86_64/preconfigure: Likewise.
23271
36a4953a
AS
232722013-10-29 Andreas Schwab <schwab@suse.de>
23273
23274 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23275
c79a1204
SP
232762013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23277
dfa1b402
SP
23278 * benchtests/pow-inputs: Add new inputs.
23279
54f73d9c
SP
23280 * benchtests/exp-inputs: Add new inputs.
23281
c79a1204
SP
23282 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23283 conditional check for return value.
23284 (__cos32): Likewise.
23285
67beb545 232862013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23287
23288 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23289 to provide a boost for large inputs with word alignment.
23290 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23291 implementation based on optimized PPC64 strcpy.
23292 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23293 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23294 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23295 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23296
151659f6
OB
232972013-10-25 Ondřej Bílka <neleai@seznam.cz>
23298
482a077e 23299 [BZ #2801]
151659f6
OB
23300 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23301
10b0f26b
OB
233022013-10-25 Ondřej Bílka <neleai@seznam.cz>
23303
23304 [BZ #14876]
23305 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23306 * time/tst-strptime.c (day_tests): Add testcase.
23307
ca42d35e
OB
233082013-10-25 Ondřej Bílka <neleai@seznam.cz>
23309
482a077e 23310 [BZ #14029]
ca42d35e
OB
23311 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23312
52e6d801
FB
233132013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23314
23315 [BZ #16074]
23316 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23317 MAP_FAILED on error.
23318
7cbcdb36
SP
233192013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23320
23321 [BZ #16072]
23322 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23323 heap for large requests.
23324
894f3f10
AM
233252013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23326
23327 [BZ #9954]
23328 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23329 result if the result has no associated interface.
23330 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23331 interface for all 127.X.Y.Z addresses.
23332
b85545a6
CL
233332013-10-24 Chris Leonard <cjl@sugarlabs.org>
23334
23335 * locale/iso-639.def: Add Ligurian (lij)
23336
d1f23d46
OB
233372013-10-21 Ondřej Bílka <neleai@seznam.cz>
23338
23339 [BZ #15825]
23340 * sunrpc/rpc_main.c: Document rpcgen -5.
23341
4db5b08f
MS
233422013-10-19 Michael Stahl <mstahl@redhat.com>
23343
23344 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23345
a471e96a
OB
233462013-10-19 Ondřej Bílka <neleai@seznam.cz>
23347
d1f23d46 23348 [BZ #10278]
a471e96a
OB
23349 * posix/glob.c: Match only directories when trailing slash is present.
23350 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23351 (main): Add testcase.
23352
45c30c61
OB
233532013-10-19 Ondřej Bílka <neleai@seznam.cz>
23354
23355 [BZ #15670]
23356 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23357
484c12fb
CD
233582013-10-18 Carlos O'Donell <carlos@redhat.com>
23359
3d7dc513
CD
23360 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23361 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23362 AUTH_DES and cindex for FIPS 140-2.
23363 (DES Encryption): Add cindex FIPS 46-3.
23364
484c12fb
CD
23365 * locale/locarchive.h (struct locarhandle): Add fname.
23366 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23367 if an optional argument was specified to --list-archive,
23368 otherwise NULL.
23369 * locale/programs/locarchive.c (show_archive_content): Take new
23370 argument fname and pass it via ah.fname to open_archive.
23371 * locale/programs/localedef.h: Update decl.
23372 (open_archive): If AH->fname is non-null, open that file
23373 rather than the default file name, and don't ignore ENOENT.
23374 (create_archive): Set AH.fname to NULL.
23375 (delete_locales_from_archive): Likewise.
23376 (add_locales_to_archive): Likewise.
23377 * locale/programs/locfile.c (write_all_categories): Likewise.
23378
3c8325fb
JM
233792013-10-18 Joseph Myers <joseph@codesourcery.com>
23380 Aldy Hernandez <aldyh@redhat.com>
23381
23382 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23383 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23384 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23385 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23386 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23387 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23388 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23389 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23390 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23391 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23392 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23393 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23394 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23395 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23396 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23397 Likewise.
23398 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23399 Likewise.
23400 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23401 Likewise.
23402 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23403 Likewise.
23404 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23405 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23406 Likewise.
23407 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23408 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23409 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23410 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23411 Likewise.
23412 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23413 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23414 * sysdeps/powerpc/preconfigure: Likewise.
23415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23416 Likewise.
23417 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23418 Replace contents of file by #include of <fenv_libc.h>.
23419 * sysdeps/powerpc/soft-fp/sfp-machine.h
23420 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23421 and <sys/prctl.h>.
23422 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23423 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23424 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23425 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23426 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23427 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23429 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23430 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23431 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23432 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23433 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23435 Allow copysignl PLT reference to be missing.
23436
5abe0682
RS
234372013-10-18 Richard Sandiford <richard@codesourcery.com>
23438 Joseph Myers <joseph@codesourcery.com
23439
23440 [BZ #15948]
23441 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23442 single character.
23443 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23444
c7738d08
SP
234452013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23446
23447 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23448 * elf/tst-tls1.c: Likewise.
23449 * elf/tst-tls10.h: Likewise.
23450 * elf/tst-tls14.c: Likewise.
23451 * elf/tst-tls2.c: Likewise.
23452 * elf/tst-tls3.c: Likewise.
23453 * elf/tst-tls4.c: Likewise.
23454 * elf/tst-tls5.c: Likewise.
23455 * elf/tst-tls6.c: Likewise.
23456 * elf/tst-tls7.c: Likewise.
23457 * elf/tst-tls8.c: Likewise.
23458 * elf/tst-tls9.c: Likewise.
23459 * elf/tst-tlsmod1.c: Likewise.
23460 * elf/tst-tlsmod13.c: Likewise.
23461 * elf/tst-tlsmod13a.c: Likewise.
23462 * elf/tst-tlsmod14a.c: Likewise.
23463 * elf/tst-tlsmod16a.c: Likewise.
23464 * elf/tst-tlsmod16b.c: Likewise.
23465 * elf/tst-tlsmod2.c: Likewise.
23466 * elf/tst-tlsmod3.c: Likewise.
23467 * elf/tst-tlsmod4.c: Likewise.
23468 * elf/tst-tlsmod5.c: Likewise.
23469 * elf/tst-tlsmod6.c: Likewise.
23470
0bfcf2c7
OB
234712013-10-18 Ondřej Bílka <neleai@seznam.cz>
23472
23473 [BZ #12486]
23474 * malloc/malloc.c: remove checks for statistics.
23475
264aad1e
OB
234762013-10-17 Ondřej Bílka <neleai@seznam.cz>
23477
23478 [BZ #15277]
23479 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23480 * inet/tst-network.c: Add testcase.
23481
b957ced8
AS
234822013-10-17 Andreas Schwab <schwab@suse.de>
23483
23484 [BZ #15218]
23485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23486 to determine canonical name.
23487
c5d5d574
OB
234882013-10-17 Ondřej Bílka <neleai@seznam.cz>
23489
23490 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23491 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23492 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23493 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23494 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23495 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23496 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23497 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23498 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23499 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23500 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23501 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23502 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23503 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23504 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23505 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23506 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23507 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23508 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23509 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23510 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23511 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23512 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23513 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23514 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23515 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23516 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23517 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23518 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23519 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23520 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23521 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23522 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23523 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23524 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23525 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23526 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23527 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23528 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23529 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23530 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23531 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23532 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23533 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23534 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23535 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23536 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23537 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23538 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23539 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23540 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23541 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23542 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23543 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23544 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23545 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23546 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23547 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23548
e5c2c2d0
JM
235492013-10-17 Joseph Myers <joseph@codesourcery.com>
23550
23551 [BZ #16041]
23552 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23553 make result into a quiet NaN.
23554
51ca9e29
JM
235552013-10-16 Joseph Myers <joseph@codesourcery.com>
23556
23557 * soft-fp/adddf3.c: Fix horizontal whitespace.
23558 * soft-fp/addsf3.c: Likewise.
23559 * soft-fp/addtf3.c: Likewise.
23560 * soft-fp/divdf3.c: Likewise.
23561 * soft-fp/divsf3.c: Likewise.
23562 * soft-fp/divtf3.c: Likewise.
23563 * soft-fp/double.h: Likewise.
23564 * soft-fp/eqdf2.c: Likewise.
23565 * soft-fp/eqsf2.c: Likewise.
23566 * soft-fp/eqtf2.c: Likewise.
23567 * soft-fp/extenddftf2.c: Likewise.
23568 * soft-fp/extended.h: Likewise.
23569 * soft-fp/extendsfdf2.c: Likewise.
23570 * soft-fp/extendsftf2.c: Likewise.
23571 * soft-fp/extendxftf2.c: Likewise.
23572 * soft-fp/fixdfdi.c: Likewise.
23573 * soft-fp/fixdfsi.c: Likewise.
23574 * soft-fp/fixdfti.c: Likewise.
23575 * soft-fp/fixsfdi.c: Likewise.
23576 * soft-fp/fixsfsi.c: Likewise.
23577 * soft-fp/fixsfti.c: Likewise.
23578 * soft-fp/fixtfdi.c: Likewise.
23579 * soft-fp/fixtfsi.c: Likewise.
23580 * soft-fp/fixtfti.c: Likewise.
23581 * soft-fp/fixunsdfdi.c: Likewise.
23582 * soft-fp/fixunsdfsi.c: Likewise.
23583 * soft-fp/fixunsdfti.c: Likewise.
23584 * soft-fp/fixunssfdi.c: Likewise.
23585 * soft-fp/fixunssfsi.c: Likewise.
23586 * soft-fp/fixunssfti.c: Likewise.
23587 * soft-fp/fixunstfdi.c: Likewise.
23588 * soft-fp/fixunstfsi.c: Likewise.
23589 * soft-fp/fixunstfti.c: Likewise.
23590 * soft-fp/floatdidf.c: Likewise.
23591 * soft-fp/floatdisf.c: Likewise.
23592 * soft-fp/floatditf.c: Likewise.
23593 * soft-fp/floatsidf.c: Likewise.
23594 * soft-fp/floatsisf.c: Likewise.
23595 * soft-fp/floatsitf.c: Likewise.
23596 * soft-fp/floattidf.c: Likewise.
23597 * soft-fp/floattisf.c: Likewise.
23598 * soft-fp/floattitf.c: Likewise.
23599 * soft-fp/floatundidf.c: Likewise.
23600 * soft-fp/floatundisf.c: Likewise.
23601 * soft-fp/floatunditf.c: Likewise.
23602 * soft-fp/floatunsidf.c: Likewise.
23603 * soft-fp/floatunsisf.c: Likewise.
23604 * soft-fp/floatunsitf.c: Likewise.
23605 * soft-fp/floatuntidf.c: Likewise.
23606 * soft-fp/floatuntisf.c: Likewise.
23607 * soft-fp/floatuntitf.c: Likewise.
23608 * soft-fp/fmadf4.c: Likewise.
23609 * soft-fp/fmasf4.c: Likewise.
23610 * soft-fp/fmatf4.c: Likewise.
23611 * soft-fp/gedf2.c: Likewise.
23612 * soft-fp/gesf2.c: Likewise.
23613 * soft-fp/getf2.c: Likewise.
23614 * soft-fp/ledf2.c: Likewise.
23615 * soft-fp/lesf2.c: Likewise.
23616 * soft-fp/letf2.c: Likewise.
23617 * soft-fp/muldf3.c: Likewise.
23618 * soft-fp/mulsf3.c: Likewise.
23619 * soft-fp/multf3.c: Likewise.
23620 * soft-fp/negdf2.c: Likewise.
23621 * soft-fp/negsf2.c: Likewise.
23622 * soft-fp/negtf2.c: Likewise.
23623 * soft-fp/op-1.h: Likewise.
23624 * soft-fp/op-2.h: Likewise.
23625 * soft-fp/op-4.h: Likewise.
23626 * soft-fp/op-8.h: Likewise.
23627 * soft-fp/op-common.h: Likewise.
23628 * soft-fp/quad.h: Likewise.
23629 * soft-fp/single.h: Likewise.
23630 * soft-fp/soft-fp.h: Likewise.
23631 * soft-fp/sqrtdf2.c: Likewise.
23632 * soft-fp/sqrtsf2.c: Likewise.
23633 * soft-fp/sqrttf2.c: Likewise.
23634 * soft-fp/subdf3.c: Likewise.
23635 * soft-fp/subsf3.c: Likewise.
23636 * soft-fp/subtf3.c: Likewise.
23637 * soft-fp/truncdfsf2.c: Likewise.
23638 * soft-fp/trunctfdf2.c: Likewise.
23639 * soft-fp/trunctfsf2.c: Likewise.
23640 * soft-fp/trunctfxf2.c: Likewise.
23641 * soft-fp/unorddf2.c: Likewise.
23642 * soft-fp/unordsf2.c: Likewise.
23643 * soft-fp/unordtf2.c: Likewise.
23644
9ebb0332
JM
236452013-10-15 Joseph Myers <joseph@codesourcery.com>
23646
23647 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23648 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23649
4b1a6d8b
OB
236502013-10-15 Ondřej Bílka <neleai@seznam.cz>
23651
23652 * elf/dl-libc.c: Clear initfini list after freeing.
23653
1e145589
JM
236542013-10-14 Joseph Myers <joseph@codesourcery.com>
23655
23656 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23657 * soft-fp/addsf3.c: Likewise.
23658 * soft-fp/addtf3.c: Likewise.
23659 * soft-fp/divdf3.c: Likewise.
23660 * soft-fp/divsf3.c: Likewise.
23661 * soft-fp/divtf3.c: Likewise.
23662 * soft-fp/double.h: Likewise.
23663 * soft-fp/eqdf2.c: Likewise.
23664 * soft-fp/eqsf2.c: Likewise.
23665 * soft-fp/eqtf2.c: Likewise.
23666 * soft-fp/extenddftf2.c: Likewise.
23667 * soft-fp/extended.h: Likewise.
23668 * soft-fp/extendsfdf2.c: Likewise.
23669 * soft-fp/extendsftf2.c: Likewise.
23670 * soft-fp/extendxftf2.c: Likewise.
23671 * soft-fp/fixdfdi.c: Likewise.
23672 * soft-fp/fixdfsi.c: Likewise.
23673 * soft-fp/fixdfti.c: Likewise.
23674 * soft-fp/fixsfdi.c: Likewise.
23675 * soft-fp/fixsfsi.c: Likewise.
23676 * soft-fp/fixsfti.c: Likewise.
23677 * soft-fp/fixtfdi.c: Likewise.
23678 * soft-fp/fixtfsi.c: Likewise.
23679 * soft-fp/fixtfti.c: Likewise.
23680 * soft-fp/fixunsdfdi.c: Likewise.
23681 * soft-fp/fixunsdfsi.c: Likewise.
23682 * soft-fp/fixunsdfti.c: Likewise.
23683 * soft-fp/fixunssfdi.c: Likewise.
23684 * soft-fp/fixunssfsi.c: Likewise.
23685 * soft-fp/fixunssfti.c: Likewise.
23686 * soft-fp/fixunstfdi.c: Likewise.
23687 * soft-fp/fixunstfsi.c: Likewise.
23688 * soft-fp/fixunstfti.c: Likewise.
23689 * soft-fp/floatdidf.c: Likewise.
23690 * soft-fp/floatdisf.c: Likewise.
23691 * soft-fp/floatditf.c: Likewise.
23692 * soft-fp/floatsidf.c: Likewise.
23693 * soft-fp/floatsisf.c: Likewise.
23694 * soft-fp/floatsitf.c: Likewise.
23695 * soft-fp/floattidf.c: Likewise.
23696 * soft-fp/floattisf.c: Likewise.
23697 * soft-fp/floattitf.c: Likewise.
23698 * soft-fp/floatundidf.c: Likewise.
23699 * soft-fp/floatundisf.c: Likewise.
23700 * soft-fp/floatunsidf.c: Likewise.
23701 * soft-fp/floatunsisf.c: Likewise.
23702 * soft-fp/floatuntidf.c: Likewise.
23703 * soft-fp/floatuntisf.c: Likewise.
23704 * soft-fp/floatuntitf.c: Likewise.
23705 * soft-fp/fmadf4.c: Likewise.
23706 * soft-fp/fmasf4.c: Likewise.
23707 * soft-fp/fmatf4.c: Likewise.
23708 * soft-fp/gedf2.c: Likewise.
23709 * soft-fp/gesf2.c: Likewise.
23710 * soft-fp/getf2.c: Likewise.
23711 * soft-fp/ledf2.c: Likewise.
23712 * soft-fp/lesf2.c: Likewise.
23713 * soft-fp/letf2.c: Likewise.
23714 * soft-fp/muldf3.c: Likewise.
23715 * soft-fp/mulsf3.c: Likewise.
23716 * soft-fp/multf3.c: Likewise.
23717 * soft-fp/negdf2.c: Likewise.
23718 * soft-fp/negsf2.c: Likewise.
23719 * soft-fp/negtf2.c: Likewise.
23720 * soft-fp/op-1.h: Likewise.
23721 * soft-fp/op-2.h: Likewise.
23722 * soft-fp/op-4.h: Likewise.
23723 * soft-fp/op-8.h: Likewise.
23724 * soft-fp/op-common.h: Likewise.
23725 * soft-fp/quad.h: Likewise.
23726 * soft-fp/single.h: Likewise.
23727 * soft-fp/soft-fp.h: Likewise.
23728 * soft-fp/sqrtdf2.c: Likewise.
23729 * soft-fp/sqrtsf2.c: Likewise.
23730 * soft-fp/sqrttf2.c: Likewise.
23731 * soft-fp/subdf3.c: Likewise.
23732 * soft-fp/subsf3.c: Likewise.
23733 * soft-fp/subtf3.c: Likewise.
23734 * soft-fp/truncdfsf2.c: Likewise.
23735 * soft-fp/trunctfdf2.c: Likewise.
23736 * soft-fp/trunctfsf2.c: Likewise.
23737 * soft-fp/trunctfxf2.c: Likewise.
23738 * soft-fp/unorddf2.c: Likewise.
23739 * soft-fp/unordsf2.c: Likewise.
23740 * soft-fp/unordtf2.c: Likewise.
23741
17c48a60
OB
237422013-10-14 Ondřej Bílka <neleai@seznam.cz>
23743
23744 [BZ #15672]
23745 * misc/error.c (error_tail): Fix possible buffer overflow.
23746
cabba934
OB
237472013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23748
23749 [BZ #13028]
23750 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23751 address.
23752
94bf958a
PM
237532013-10-14 P. J. McDermott <pj@pehjota.net>
23754
23755 [BZ #832]
23756 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23757 testing pipefail option.
23758
71b4dea7
JM
237592013-10-12 Joseph Myers <joseph@codesourcery.com>
23760
23761 * soft-fp/double.h: Indent preprocessor directives inside #if.
23762 * soft-fp/extended.h: Likewise.
23763 * soft-fp/op-2.h: Likewise.
23764 * soft-fp/op-4.h: Likewise.
23765 * soft-fp/op-common.h: Likewise.
23766 * soft-fp/quad.h: Likewise.
23767 * soft-fp/single.h: Likewise.
23768 * soft-fp/soft-fp.h: Likewise.
23769
55602758
YC
237702013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23771
23772 * iconv/iconv_prog.c: Fix typos.
23773 * stdio-common/psiginfo-data.h: Likewise.
23774
9cd83302
RT
237752013-10-12 Reuben Thomas <rrt@sc3d.org>
23776
23777 [BZ #15764]
23778 * locale/setlocale.c: Fix typo.
23779
99fd9f47
JM
237802013-10-12 Joseph Myers <joseph@codesourcery.com>
23781
b7ea74f0
JM
23782 [BZ #16036]
23783 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23784 signaling NaN arguments.
23785 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23786 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23787
8a509447
JM
23788 [BZ #14910]
23789 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23790 unordered operands.
23791 * soft-fp/gesf2.c (__gesf2): Likewise.
23792 * soft-fp/getf2.c (__getf2): Likewise.
23793 * soft-fp/ledf2.c (__ledf2): Likewise.
23794 * soft-fp/lesf2.c (__lesf2): Likewise.
23795 * soft-fp/letf2.c (__letf2): Likewise.
23796
98998e9f
JM
23797 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23798 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23799 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23800 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23801 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23802 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23803 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23804 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23805 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23806 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23807 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23808 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23809 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23810 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23811 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23812 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23813 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23814 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23815 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23816 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23817 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23818 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23819 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23820 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23821 * soft-fp/floattidf.c (__floattidf): Likewise.
23822 * soft-fp/floattisf.c (__floattisf): Likewise.
23823 * soft-fp/floattitf.c (__floattitf): Likewise.
23824 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23825 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23826 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23827 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23828 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23829 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23830 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23831 * soft-fp/gesf2.c (__gesf2): Likewise.
23832 * soft-fp/getf2.c (__getf2): Likewise.
23833 * soft-fp/ledf2.c (__ledf2): Likewise.
23834 * soft-fp/lesf2.c (__lesf2): Likewise.
23835 * soft-fp/letf2.c (__letf2): Likewise.
23836
8edc4a11
JM
23837 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23838 Undefine and redefine.
23839 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23840 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23841 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23842 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23843 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23844 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23845 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23846 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23847 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23848 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23849 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23850 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23851 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23852 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23853 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23854
8399acaf
JM
23855 [BZ #16032]
23856 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23857 without decrementing exponent if mantissa >= that for the
23858 denominator, not >.
23859 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23860 denominator, not >. Decrement exponent in < case instead of
23861 incrementing in >= case.
23862 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23863 without decrementing exponent if mantissa >= that for the
23864 denominator, not >.
23865
99fd9f47
JM
23866 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23867 computing saturated result for unsigned overflow.
23868
10e1cf6b
SP
238692013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23870 Jeff Law <law@redhat.com>
23871
23872 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23873 (atan2Mp): Add systemtap probe marker.
23874 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23875 (__ieee754_log): Add systemtap probe marker.
23876 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23877 (atanMp): Add systemtap probe marker.
23878 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23879 (tanMp): Add systemtap probe marker.
23880 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23881 (__slowexp): Add systemtap probe marker.
23882 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23883 (__slowpow): Add systemtap probe marker.
23884 * manual/probes.texi: Document probes.
23885
3d110c7c
EB
238862013-10-11 Eric Biggers <ebiggers3@gmail.com>
23887
23888 [BZ #15362]
23889 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23890 written.
23891 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23892 written.
23893 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23894 written to buffer but not flushed.
23895 * libio/iofwrite_u.c: Likewise.
23896 * libio/iopadn.c: Return bytes returned even if EOF was
23897 encountered.
23898 * libio/iowpadn.c: Likewise.
23899 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23900 if _IO_padn does not write the whole buffer.
23901 [!COMPILE_WPRINTF] (PAD): Likewise.
23902
75b4202a
DM
239032013-10-10 David S. Miller <davem@davemloft.net>
23904
23905 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23906 directory block.
23907
6c6352e6
JM
239082013-10-10 Joseph Myers <joseph@codesourcery.com>
23909
33b853c3
JM
23910 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23911 instead of FSF address.
23912 * soft-fp/fixdfti.c: Likewise.
23913 * soft-fp/fixsfti.c: Likewise.
23914 * soft-fp/fixtfti.c: Likewise.
23915 * soft-fp/fixunsdfti.c: Likewise.
23916 * soft-fp/fixunssfti.c: Likewise.
23917 * soft-fp/fixunstfti.c: Likewise.
23918 * soft-fp/floattidf.c: Likewise.
23919 * soft-fp/floattisf.c: Likewise.
23920 * soft-fp/floattitf.c: Likewise.
23921 * soft-fp/floatuntidf.c: Likewise.
23922 * soft-fp/floatuntisf.c: Likewise.
23923 * soft-fp/floatuntitf.c: Likewise.
23924 * soft-fp/trunctfxf2.c: Likewise.
23925
6c6352e6
JM
23926 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23927 * soft-fp/fixdfti.c: Likewise.
23928 * soft-fp/fixsfti.c: Likewise.
23929 * soft-fp/fixtfti.c: Likewise.
23930 * soft-fp/fixunsdfti.c: Likewise.
23931 * soft-fp/fixunssfti.c: Likewise.
23932 * soft-fp/fixunstfti.c: Likewise.
23933 * soft-fp/floattidf.c: Likewise.
23934 * soft-fp/floattisf.c: Likewise.
23935 * soft-fp/floattitf.c: Likewise.
23936 * soft-fp/floatuntidf.c: Likewise.
23937 * soft-fp/floatuntisf.c: Likewise.
23938 * soft-fp/floatuntitf.c: Likewise.
23939 * soft-fp/trunctfxf2.c: Likewise.
23940
3bf78b71
DM
239412013-10-10 David S. Miller <davem@davemloft.net>
23942
23943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23944
6f10289e
JM
239452013-10-10 Joseph Myers <joseph@codsourcery.com>
23946
bd878fc0
JM
23947 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23948 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23949 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23950 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23951 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23952 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23953 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23954
6f10289e
JM
23955 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23956 for NaNs before doing comparisons on argument.
23957 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23958 Likewise.
23959
321e2684
WN
239602013-10-10 Will Newton <will.newton@linaro.org>
23961
23962 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23963 passed to _int_memalign does not overflow.
23964
40fefba1
TR
239652013-10-10 Torvald Riegel <triegel@redhat.com>
23966
23967 * scripts/bench.pl: Add include-sources directive.
23968 * benchtests/README: Update documentation.
23969
2ae21ed2
JM
239702013-10-10 Joseph Myers <joseph@codesourcery.com>
23971
dcc2dd3f
JM
23972 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23973 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23974 instead of FP_INIT_ROUNDMODE.
23975 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23976 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23977
2ae21ed2
JM
23978 [BZ #16034]
23979 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23980 copy class of input value.
23981 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23982 not handle exceptions.
23983 * soft-fp/negsf2.c (__negsf2): Likewise.
23984 * soft-fp/negtf2.c (__negtf2): Likewise.
23985 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23986
cb8f9562
JM
239872013-10-09 Joseph Myers <joseph@codesourcery.com>
23988
23989 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23990 semicolon. From Linux kernel.
23991
5b60c59d
AB
239922013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23993
23994 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23995
b86835ca
YC
239962013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23997
23998 [BZ #156]
23999 * manual/socket.texi: Added statement about buffer
24000 for gethostbyname2_r.
24001
e7044ea7
OB
240022013-10-08 Ondřej Bílka <neleai@seznam.cz>
24003
24004 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24005 Use .p2align directive instead, throughout.
24006 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24007 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24008 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24009 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24010 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24011 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24012 * sysdeps/x86_64/strchr.S: Likewise.
24013 * sysdeps/x86_64/strrchr.S: Likewise.
24014
09544cbc
SP
240152013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24016
88576635
SP
24017 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24018
e7b2d1dd
SP
24019 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24020
09544cbc
SP
24021 * sysdeps/generic/math_private.h (__mpsin1): Remove
24022 declaration.
24023 (__mpcos1): Likewise.
24024 (__mpsin): New argument __range_reduce.
24025 (__mpcos): Likewise.
24026 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24027 (slow): Use __mpsin and __mpcos.
24028 (slow1): Likewise.
24029 (slow2): Likewise.
24030 (sloww): Likewise.
24031 (sloww1): Likewise.
24032 (sloww2): Likewise.
24033 (bsloww): Likewise.
24034 (bsloww1): Likewise.
24035 (bsloww2): Likewise.
24036 (cslow2): Likewise.
24037 (csloww): Likewise.
24038 (csloww1): Likewise.
24039 (csloww2): Likewise.
24040 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24041 range_reduce. Merge in __mpsin1.
24042 (__mpcos): Likewise.
24043 (__mpsin1): Remove.
24044 (__mpcos1): Likewise.
24045
7602d070
JM
240462013-10-07 Joseph Myers <joseph@codesourcery.com>
24047
24048 * locale/loadlocale.c (_nl_intern_locale_data): Use
24049 LOCFILE_ALIGNED_P.
24050 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24051 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24052 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24053 obstack data is appropriately aligned.
24054 (obstack_int32_grow_fast): Likewise.
24055 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24056 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24057 (add_locale_uint32_array): Likewise.
24058
a357259b
SP
240592013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24060
24061 * benchtests/Makefile: Remove ARGLIST and RET variables.
24062 ($(objpfx)bench-%.c): Pass only function name to the script.
24063 * benchtests/README: Update documentation.
24064 * benchtests/acos-inputs: Add new directives.
24065 * benchtests/acosh-inputs: Likewise.
24066 * benchtests/asin-inputs: Likewise.
24067 * benchtests/asinh-inputs: Likewise.
24068 * benchtests/atan-inputs: Likewise.
24069 * benchtests/atanh-inputs: Likewise.
24070 * benchtests/cos-inputs: Likewise.
24071 * benchtests/cosh-inputs: Likewise.
24072 * benchtests/exp-inputs: Likewise.
24073 * benchtests/log-inputs: Likewise.
24074 * benchtests/pow-inputs: Likewise.
24075 * benchtests/rint-inputs: Likewise.
24076 * benchtests/sin-inputs: Likewise.
24077 * benchtests/sinh-inputs: Likewise.
24078 * benchtests/tan-inputs: Likewise.
24079 * benchtests/tanh-inputs: Likewise.
24080 * scripts/bench.pl: Add support for new directives.
24081
9ec1b13d
AM
240822013-10-07 Alan Modra <amodra@gmail.com>
24083
24084 * README: Fix careless merge.
24085
8b7d57cd
AM
240862013-10-05 Alan Modra <amodra@gmail.com>
24087
24088 * NEWS: Mention powerpc64le support and bugs fixed.
24089 * README: Both big-endian and little-endian powerpc64 supported.
24090
7b7bab13
ST
240912013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24092
57f41c40
AS
24093 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24094 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
24095 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24096 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24097
d39baad1
RA
240982013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24099
24100 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24101 match prototype.
24102
cd78f7e7
JM
241032013-10-04 Joseph Myers <joseph@codesourcery.com>
24104
29d73d86
JM
24105 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24106 Move -mhard-float appending from
24107 ports/sysdeps/powerpc/powerpc32/Makefile.
24108 [$(with-fp) = yes] (ASFLAGS): Likewise.
24109 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24110 * sysdeps/powerpc/nofpu: Move directory from
24111 ports/sysdeps/powerpc/nofpu.
24112 * sysdeps/powerpc/soft-fp: Move directory from
24113 ports/sysdeps/powerpc/soft-fp.
24114 * sysdeps/powerpc/powerpc32/405: Move directory from
24115 ports/sysdeps/powerpc/powerpc32/405.
24116 * sysdeps/powerpc/powerpc32/440: Move directory from
24117 ports/sysdeps/powerpc/powerpc32/440.
24118 * sysdeps/powerpc/powerpc32/464: Move directory from
24119 ports/sysdeps/powerpc/powerpc32/464.
24120 * sysdeps/powerpc/powerpc32/476: Move directory from
24121 ports/sysdeps/powerpc/powerpc32/476.
24122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24123 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24125 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24127 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24129 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24131 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24132 * README: Update for powerpc-*-linux-gnu software floating point
24133 support in libc.
24134
e246b347
JM
24135 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24136 case to powerpc/powerpc32*.
24137 * sysdeps/unix/sysv/linux/configure: Regenerated.
24138
89c2003e
JM
24139 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24140 (_FPU_MASK_OM): Define as 0x04.
24141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24142 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24143 0x00c10080.
24144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24145 0x0000003c.
24146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24147
cd78f7e7
JM
24148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24149 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24150 getcontext_e500.
24151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24152 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24153 setcontext_e500.
24154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24155 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24156 and setcontext_e500.
24157
c755294d
CL
241582013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24159
24160 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24161
e16d221c
SP
241622013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24163
24164 * manual/threads.texi (Default Thread Attributes): Fix typo.
24165
215c7d43
WN
241662013-10-04 Will Newton <will.newton@linaro.org>
24167
24168 * malloc/Makefile: Add tst-memalign.
24169 * malloc/tst-memalign.c: New file.
24170
27d0461b
WN
24171 * malloc/tst-posix_memalign.c: Add comments.
24172 (do_test): Add comments and call free on all potentially
24173 allocated pointers. Add space after cast.
24174
1bc92709
WN
24175 * malloc/tst-pvalloc.c: Add comments.
24176 (do_test): Add comments and call free on all potentially
24177 allocated pointers. Remove duplicate check for NULL pointer.
24178 Add space after cast.
24179
66a9be9d
WN
24180 * malloc/tst-valloc.c: Add comments.
24181 (do_test): Add comments and call free on all potentially
24182 allocated pointers. Remove duplicate check for NULL pointer.
24183 Add space after cast.
24184
4cb81307
AM
241852013-10-04 Alan Modra <amodra@gmail.com>
24186
24187 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24188 Use stdint types in rather than __attribute__((mode())).
24189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24190
f8e3e9f3
AM
241912013-10-04 Alan Modra <amodra@gmail.com>
24192
24193 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24194 Correct handling of unaligned relocs for little-endian.
24195 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24196
8f9ebb08
AM
241972013-10-04 Alan Modra <amodra@gmail.com>
24198
24199 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24200 * configure: Regenerate.
24201 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24202 * shlib-versions: Likewise.
24203
0edf96c2
AM
242042013-10-04 Alan Modra <amodra@gmail.com>
24205
24206 * string/tester.c (test_memrchr): Increment reported test cycle.
24207
e0f7a380
AM
242082013-10-04 Alan Modra <amodra@gmail.com>
24209
24210 * string/test-memcpy.c (do_one_test): When reporting errors, print
24211 string address and don't overrun end of string.
24212
466b0393
AM
242132013-10-04 Alan Modra <amodra@gmail.com>
24214
24215 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24216 insrdi. Make better use of reg selection to speed exit slightly.
24217 Schedule entry path a little better. Remove useless "are we done"
24218 checks on entry to main loop. Handle wrapping around zero address.
24219 Correct main loop count. Handle single left-over word from main
24220 loop inline rather than by using loop_small. Remove extra word
24221 case in loop_small caused by wrong loop count. Add little-endian
24222 support.
24223 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24224 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24225 cache hint.
24226 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24227 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24228 support. Avoid rlwimi.
24229 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24230
3be87c77
AM
242312013-10-04 Alan Modra <amodra@gmail.com>
24232
24233 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24234 insrdi. Formatting.
3be87c77
AM
24235 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24236 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24237 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24238 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24239 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24240 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24241
759cfef3
AM
242422013-10-04 Alan Modra <amodra@gmail.com>
24243
24244 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24245 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24246 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24247 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24248 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24249 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24250 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24251 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24252 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24253 use of regs. Use power7 mtocrf. Tidy function tails.
24254
fe6e95d7
AM
242552013-10-04 Alan Modra <amodra@gmail.com>
24256
24257 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24258 Formatting. Consistently use rXXX register defines or rN defines.
24259 Use early exit labels that avoid restoring unused non-volatile regs.
24260 Make cr field use more consistent with rWORDn compares. Rename
24261 regs used as shift registers for unaligned loop, using rN defines
24262 for short lifetime/multiple use regs.
24263 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24264 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24265 addi 1,1,64 to pop stack frame. Simplify return value code.
24266 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24267
664318c3
AM
242682013-10-04 Alan Modra <amodra@gmail.com>
24269
24270 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24271 support. Correct typos, formatting. Optimize tail. Use insrdi
24272 rather than rlwimi.
24273 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24274 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24275 little-endian support. Correct typos.
24276 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24277 rather than rlwimi.
24278 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24279 in loop and entry code to keep "and." results.
24280 (strchr): Add little-endian support. Comment. Move cntlzd
24281 earlier in tail.
24282 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24283
43b84013
AM
242842013-10-04 Alan Modra <amodra@gmail.com>
24285
24286 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24287 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24288 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24289 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24290
8a7413f9
AM
242912013-10-04 Alan Modra <amodra@gmail.com>
24292
24293 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24294 (rTMP): Define as r11.
24295 (strcmp): Add little-endian support. Optimise tail.
24296 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24297 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24298 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24299 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24300 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24301 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24302 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24303
33ee81de
AM
243042013-10-04 Alan Modra <amodra@gmail.com>
24305
24306 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24307 little-endian support. Remove unnecessary "are we done" tests.
24308 Handle "s" wrapping around zero and extremely large "size".
24309 Correct main loop count. Handle single left-over word from main
24310 loop inline rather than by using small_loop. Correct comments.
24311 Delete "zero" tail, use "end_max" instead.
24312 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24313
db9b4570
AM
243142013-10-04 Alan Modra <amodra@gmail.com>
24315
24316 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24317 support. Don't branch over align.
24318 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24319 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24320 support. Rearrange tmp reg use to suit. Comment.
24321 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24322
f7c399cf
AM
243232013-10-04 Alan Modra <amodra@gmail.com>
24324
24325 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24326
0b2c2ace
AM
243272013-10-04 Alan Modra <amodra@gmail.com>
24328
24329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24330 conditional form of branch and link when obtaining pc.
24331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24332
02f04a6c
AM
243332013-10-04 Alan Modra <amodra@gmail.com>
24334
24335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24336 HIWORD/LOWORD.
24337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24339
9b874b2f
AM
243402013-10-04 Alan Modra <amodra@gmail.com>
24341
24342 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24343 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24344 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24345 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24346 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24347 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24348 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24349 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24350 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24351 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24352
be1e5d31
AB
243532013-10-04 Anton Blanchard <anton@au1.ibm.com>
24354 Alistair Popple <alistair@ozlabs.au.ibm.com>
24355 Alan Modra <amodra@gmail.com>
24356
24357 [BZ #15723]
24358 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24359 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24360 _dl_hwcap access for little-endian.
24361 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24362 destroy vmx regs when saving unaligned.
24363 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24364 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24365 destroy vmx regs when saving unaligned.
24366
fef13a78
AM
243672013-10-04 Alan Modra <amodra@gmail.com>
24368
24369 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24370 Don't use a union to pack hi/low value.
24371
76a66d51
AB
243722013-10-04 Anton Blanchard <anton@au1.ibm.com>
24373
24374 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24375 for little-endian.
24376 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24377 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24378 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24379 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24380 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24381
6a31fe7f
AM
243822013-10-04 Alan Modra <amodra@gmail.com>
24383
24384 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24385 constants to usual value for .cst8 section, and remove redundant
24386 high address load.
24387 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24388 constant for 0x1p52. Load little-endian words of double from
24389 correct stack offsets.
24390
7b88401f
AM
243912013-10-04 Alan Modra <amodra@gmail.com>
24392
24393 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24394 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24395 words of double from correct stack offsets.
24396 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24397 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24398 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24399 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24400 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24401 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24402 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24403 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24404 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24405 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24406 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24407 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24408 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24409 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24410 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24411 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24412 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24413
9c008155
AM
244142013-10-04 Alan Modra <amodra@gmail.com>
24415
24416 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24417 64-bit int/double union.
24418 (_FPU_SETCW): Likewise.
24419 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24420 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24421
da13146d
AM
244222013-10-04 Alan Modra <amodra@gmail.com>
24423
24424 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24425 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24426
603e8410
AM
244272013-10-04 Alan Modra <amodra@gmail.com>
24428
24429 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24430 use vector int constants.
24431 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24432
4a28b3ca
AB
244332013-10-04 Anton Blanchard <anton@au1.ibm.com>
24434
24435 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24436 array with long long.
24437 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24438 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24439 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24440 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24441 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24442 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24443 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24444 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24445 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24446 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24447 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24448 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24449 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24450
2ca85d2b
AB
244512013-10-04 Anton Blanchard <anton@au1.ibm.com>
24452
24453 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24454 (__signbit): Likewise. Correct for little-endian.
24455 (__signbitl): Call __signbit.
24456 (lrint): Correct for little-endian.
24457 (lrintf): Call lrint.
24458
62a728ae
AM
244592013-10-04 Alan Modra <amodra@gmail.com>
24460
24461 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24462 union 32-bit int array member with 64-bit int array.
24463 (t515, tm256): Double rather than long double.
24464 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24465
32c301df
AM
244662013-10-04 Alan Modra <amodra@gmail.com>
24467
24468 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24469 Delete.
24470 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24471 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24472 version of math_ldbl.h.
24473
650ef4bd
AM
244742013-10-04 Alan Modra <amodra@gmail.com>
24475
24476 [BZ #15734], [BZ #15735]
24477 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24478 all uses of ieee875 long double macros and unions. Simplify test
24479 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24480 ldbl_extract_mantissa value for ix,iy exponents. Properly
24481 normalize after ldbl_extract_mantissa, and don't add hidden bit
24482 already handled. Don't treat low word of ieee854 mantissa like
24483 low word of IBM long double and mask off bit when testing for
24484 zero.
24485 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24486 all uses of ieee875 long double macros and unions. Simplify tests
24487 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24488 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24489 two1022, instead use their values. Recognise that tests for large
24490 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24491 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24492 Rewrite all uses of ieee875 long double macros and unions. Simplify
24493 test for 0.0L and nan. Correct negation.
24494 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24495 ieee875 long double macros and unions. Correct output for large
24496 magnitude x. Correct absolute value calculation.
24497 (__erfcl): Likewise.
24498 * math/libm-test.inc: Add tests for errors discovered in IBM long
24499 double versions of fmodl, remainderl, erfl and erfcl.
24500
765714ca
AM
245012013-10-04 Alan Modra <amodra@gmail.com>
24502
24503 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24504 all uses of ieee854 long double macros and unions. Simplify tests
24505 for long doubles that are fully specified by the high double.
24506 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24507 Likewise.
24508 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24509 Remove dead code too.
24510 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24511 (__ieee754_ynl): Likewise.
24512 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24513 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24514 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24515 Remove dead code too.
24516 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24517 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24518 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24519 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24520 Simplify.
24521 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24522 Simplify.
24523 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24524 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24525 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24526 Comment on variable precision.
24527 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24528 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24529 Likewise.
24530 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24531 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24532 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24533 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24534 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24535
4ebd120c
AM
245362013-10-04 Alan Modra <amodra@gmail.com>
24537
24538 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24539 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24540 all uses of ieee854 long double macros and unions.
24541 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24542 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24543 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24544 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24545 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24546 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24547 Likewise.
24548 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24549 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24550 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24551 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24552 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24553 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24554 Simplify sign and nan test too.
24555 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24556 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24557 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24558 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24559 Likewise.
24560 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24561 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24562 Likewise.
24563 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24564 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24565 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24566 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24567 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24568 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24569
1b6adf88
AM
245702013-10-04 Alan Modra <amodra@gmail.com>
24571
24572 * stdio-common/printf_size.c (__printf_size): Don't use
24573 union ieee854_long_double in fpnum union.
24574 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24575 signbit macro to retrieve sign from long double.
24576 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24577 retrieve sign from long double.
24578 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24579 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24580 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24581 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24582 * math/test-misc.c (main): Don't use union ieee854_long_double.
24583
4cf69995
AM
245842013-10-04 Alan Modra <amodra@gmail.com>
24585
24586 [BZ #15680]
24587 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24588 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24589 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24590 calculation. Remove unnecessary test for denormal exponent.
24591 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24592 Correct handling of denormals. Avoid undefined shift behaviour.
24593 Correct normalisation of low mantissa when low double is denormal.
24594 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24595 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24596 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24597 Correct normalisation of low mantissa. Test for overflow of high
24598 mantissa and normalise.
24599 (ldbl_nearbyint): Use more readable constant for two52.
24600 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24601 (__mpn_construct_long_double): Fix test for overflow of high
24602 mantissa and correct normalisation. Avoid undefined shift.
24603
9605ca6c
AM
246042013-10-04 Alan Modra <amodra@gmail.com>
24605
24606 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24607 (union ibm_extended_long_double): Define as an array of ieee754_double.
24608 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24609 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24610 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24611 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24612 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24613 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24614 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24615 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24616 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24617 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24618 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24619
975569d0
JM
246202013-10-03 Joseph Myers <joseph@codesourcery.com>
24621
d3d23756
JM
24622 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24623 page size instead of calling getpagesize.
24624
975569d0
JM
24625 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24626 (LOCFILE_ALIGN_MASK): Likewise.
24627 (LOCFILE_ALIGN_UP): Likewise.
24628 (LOCFILE_ALIGNED_P): Likewise.
24629 * locale/programs/ld-collate.c (collate_output): Use the new
24630 macros instead of __alignof__ (int32_t).
24631 * locale/weight.h (findidx): Likewise.
24632
b1fe1f2b
OB
246332013-10-03 Ondřej Bílka <neleai@seznam.cz>
24634
24635 [BZ #431]
24636 * manual/string.texi: Fix strncat and wcsncat.
24637
5f855e35
BM
246382013-10-03 Brooks Moses <bmoses@google.com>
24639
24640 [BZ #15915]
24641 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24642 * Makerules: ...here, and adjust associated comments.
24643
3cef6009
WN
246442013-10-02 Will Newton <will.newton@linaro.org>
24645
24646 * malloc/Makefile: Add tst-pvalloc.
24647 * malloc/tst-pvalloc.c: New file.
24648
7815420b
WN
246492013-10-02 Will Newton <will.newton@linaro.org>
24650
24651 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24652 improve test coverage.
24653
4868b204
WN
246542013-10-02 Will Newton <will.newton@linaro.org>
24655
24656 * malloc/Makefile: Add tst-posix_memalign.
24657 * malloc/tst-posix_memalign.c: New file.
24658
29c793b3
EB
246592013-10-01 Eric Blake <eblake@redhat.com>
24660
24661 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24662 Use __THROWNL rather than __THROW on static functions.
24663
fd967522
PM
246642013-09-30 Petr Machata <pmachata@redhat.com>
24665
24666 * elf/elf.h (R_AARCH64_ABS16): New macro.
24667 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24668 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24669 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24670 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24671 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24672 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24673 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24674 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24675 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24676 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24677 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24678 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24679 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24680 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24681 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24682 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24683 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24684 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24685 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24686 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24687 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24688 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24689 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24690 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24691 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24692 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24693 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24694 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24695 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24696 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24697 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24698 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24699 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24700 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24701 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24702 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24703 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24704 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24705 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24706 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24707 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24708 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24709 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24710 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24711 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24712 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24713 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24714 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24715 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24716 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24717 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24718 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24719 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24720 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24721 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24722 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24723 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24724 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24725 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24726 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24727 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24728 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24729 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24730 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24731 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24732 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24733 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24734 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24735 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24736 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24737 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24738 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24739 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24740 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24741 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24742 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24743 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24744 (R_AARCH64_TLSDESC_LDR): Likewise.
24745 (R_AARCH64_TLSDESC_ADD): Likewise.
24746 (R_AARCH64_TLSDESC_CALL): Likewise.
24747
b2179107
AS
247482013-09-30 Andreas Schwab <schwab@suse.de>
24749
24750 [BZ #15048]
24751 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24752 the nss database lookup.
24753 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24755
47f28d0a
MF
247562013-09-28 Mike Frysinger <vapier@gentoo.org>
24757
24758 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24759
247602013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24761
24762 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24763 ${Bash-specific parameter/pattern/string} parameter expansion.
24764 * sysdeps/unix/make-syscalls.sh: Likewise.
24765
f4518a17
KK
247662013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24767
24768 * sysdeps/sh/stackguard-macros.h: New file.
24769
dc1a95c7
OB
247702013-09-26 Ondřej Bílka <neleai@seznam.cz>
24771
24772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24773 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24774 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24775 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24776 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24777 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24778
5ebbff8f
AZ
247792013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24780
24781 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24782 Fix thread ID register.
24783
4fd2cf9f
JM
247842013-09-25 Joseph Myers <joseph@codesourcery.com>
24785
24786 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24787 [POSIX || UNIX98]: Require rather than permitting all symbols from
24788 <time.h>.
24789 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24790 element of struct sched_param.
24791 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24792 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24793 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24794 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24795 constant.
24796
12c22bc4
OL
247972013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24798
24799 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24800 argument calculation.
24801
a03d8ea7
JM
248022013-09-24 Joseph Myers <joseph@codesourcery.com>
24803
24804 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24805 Expect macro.
24806 [POSIX] (pthread_attr_t): Do not require type.
24807 [POSIX] (pthread_cond_t): Likewise.
24808 [POSIX] (pthread_condattr_t): Likewise.
24809 [POSIX] (pthread_key_t): Likewise.
24810 [POSIX] (pthread_mutex_t): Likewise.
24811 [POSIX] (pthread_mutexattr_t): Likewise.
24812 [POSIX] (pthread_once_t): Likewise.
24813 [POSIX] (pthread_t): Likewise.
24814 [POSIX-based standards] (pthread_atfork): Expect function.
24815
6055173a
JM
248162013-09-24 Joseph Myers <joseph@codesourcery.com>
24817 Richard Sandiford <richard@codesourcery.com>
24818
24819 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24820 (swap_endianness_p): New extern variable.
24821 (set_big_endian): New inline function.
24822 (maybe_swap_uint32): Likewise.
24823 (maybe_swap_uint32_array): Likewise.
24824 (maybe_swap_uint32_obstack): Likewise.
24825 * locale/programs/locfile.c: Include <stdbool.h>.
24826 (swap_endianness_p): New variable.
24827 (add_locale_uint32): Call maybe_swap_uint32.
24828 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24829 (write_locale_data): Call maybe_swap_uint32_array.
24830 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24831 maybe_swap_uint32.
24832 (obstack_int32_grow_fast): Likewise.
24833 (output_weightwc): Call maybe_swap_uint32_obstack.
24834 (collate_output): Likewise.
24835 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24836 (OPT_LITTLE_ENDIAN): Likewise.
24837 (options): Add --little-endian and --big-endian options.
24838 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24839 * locale/programs/locarchive.c: Include "locfile.h".
24840 (GET): New macro.
24841 (SET): Likewise.
24842 (INC): Likewise.
24843 (create_archive): Use the new macros to access fields of
24844 structures directly mapped from or written to locale archives.
24845 (oldlocrecentcmp): Likewise.
24846 (enlarge_archive): Likewise.
24847 (insert_name): Likewise.
24848 (add_alias): Likewise.
24849 (add_locale): Likewise.
24850 (delete_locales_from_archive): Likewise.
24851 (show_archive_content): Likewise.
24852 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24853 locale data.
24854
39bf0bb4
RM
248552013-09-24 Roland McGrath <roland@hack.frob.com>
24856
24857 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24858 http://www.gnu.org/doc/freemanuals.texi.
24859 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24860
f02eed10
WN
248612013-09-24 Will Newton <will.newton@linaro.org>
24862
24863 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24864 macro.
24865
a3a6c312
JM
248662013-09-23 Joseph Myers <joseph@codesourcery.com>
24867
24868 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24869 unsigned char.
24870
107375ac
MR
248712013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24872
24873 * manual/threads.texi (POSIX Threads): Fix a typo.
24874
141f3a77
SP
248752013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24876
303e567a
SP
24877 [BZ #14547]
24878 * string/tst-strcoll-overflow.c: New test case.
24879 * string/Makefile (xtests): Add tst-strcoll-overflow.
24880 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24881 cache if string sizes may cause integer overflow.
24882
141f3a77
SP
24883 [BZ #14547]
24884 * string/strcoll_l.c (coll_seq): New members rule, idx,
24885 save_idx and back_us.
24886 (get_next_seq_nocache): New function.
24887 (do_compare_nocache): New function.
24888 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24889 when malloc fails.
24890
c61b4d41
CD
248912013-09-23 Carlos O'Donell <carlos@redhat.com>
24892
0b1f8e35
CD
24893 [BZ #15754]
24894 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24895 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24896 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24897
c61b4d41
CD
24898 [BZ #15754]
24899 * elf/Makefile (tests): Add tst-ptrguard1.
24900 (tests-static): Add tst-ptrguard1-static.
24901 (tst-ptrguard1-ARGS): Define.
24902 (tst-ptrguard1-static-ARGS): Define.
24903 * elf/tst-ptrguard1.c: New file.
24904 * elf/tst-ptrguard1-static.c: New file.
24905 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24906 * sysdeps/i386/stackguard-macros.h: Likewise.
24907 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24908 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24909 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24910 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24911 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24912 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24913
249142013-09-23 Hector Marco <hecmargi@upv.es>
24915 Ismael Ripoll <iripoll@disca.upv.es>
24916 Carlos O'Donell <carlos@redhat.com>
24917
24918 [BZ #15754]
24919 * sysdeps/generic/stackguard-macros.h: Define
24920 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24921 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24922 Define __pointer_chk_guard_local.
24923 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24924 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24925
f5f4e7b4
VV
249262013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24927
24928 [BZ #15859]
24929 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24930
5bb43a43
AS
249312013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24932
24933 * include/string.h (__ffs): Declare as hidden.
24934 * string/ffs.c (__ffs): Define as hidden.
24935 * sysdeps/i386/ffs.c (__ffs): Likewise.
24936 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24937 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24938 * sysdeps/s390/ffs.c (__ffs): Likewise.
24939 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24940
3ea5be54
AO
249412013-09-20 Alexandre Oliva <aoliva@redhat.com>
24942
ffb89e53
AO
24943 * NEWS: Mention malloc probes.
24944
322dea08
AO
24945 * malloc/arena.c (new_heap): New memory_heap_new probe.
24946 (grow_heap): New memory_heap_more probe.
24947 (shrink_heap): New memory_heap_less probe.
24948 (heap_trim): New memory_heap_free probe.
24949 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24950 (systrim): New memory_sbrk_less probe.
24951 * manual/probes.texi: Document them.
24952
655673f3
AO
24953 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24954 * manual/probes.texi: Document it.
24955
35fed6f1
AO
24956 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24957 (__libc_realloc): Add memory_realloc_retry probe.
24958 (__libc_memalign): Add memory_memalign_retry probe.
24959 (__libc_valloc): Add memory_valloc_retry probe.
24960 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24961 (__libc_calloc): Add memory_calloc_retry probe.
24962 * manual/probes.texi: Document them.
24963
6999d38c
AO
24964 * malloc/arena.c (get_free_list): Add probe
24965 memory_arena_reuse_free_list.
24966 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24967 and memory_arena_reuse.
24968 (arena_get2) [!PER_THREAD]: Likewise.
24969 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24970 memory_arena_reuse_realloc.
24971 * manual/probes.texi: Document them.
24972
0653427f
AO
24973 * malloc/malloc.c (__libc_free): Add
24974 memory_mallopt_free_dyn_thresholds probe.
24975 (__libc_mallopt): Add multiple memory_mallopt probes.
24976 * manual/probes.texi: Document them.
24977
3ea5be54
AO
24978 * malloc/malloc.c: Include stap-probe.h.
24979 (__libc_mallopt): Add memory_mallopt probe.
24980 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24981 * manual/probes.texi: New.
24982 * manual/Makefile (chapters): Add probes.
24983 * manual/threads.texi: Set next node.
24984
e35696c3 249852013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 24986
e35696c3
CL
24987 [BZ #15963, #13985]
24988 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24989 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24990 Add `Chinese' to `nan' entry name.
24991
4aafb73c
SP
249922013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24993
24994 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24995 (POLYNOMIAL): Likewise.
24996 (TAYLOR_SINCOS): Likewise.
24997 (TAYLOR_SLOW): Likewise.
24998 (__sin): Use TAYLOR_SINCOS.
24999 (__cos): Likewise.
25000 (slow): Use TAYLOR_SLOW.
25001 (sloww): Likewise.
25002 (bsloww): Likewise.
25003 (csloww): Likewise.
25004
d84f25c7
LD
250052013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25006
25007 * stdlib/strtod_l.c: Fix buffer overrun.
25008
5eea0404
SP
250092013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25010
7849ff93
SP
25011 * benchtests/Makefile (bench): Add sincos.
25012 * benchtests/bench-sincos.c: New file.
25013
cfa3c886
SP
25014 * math/libm-test.inc (cos_test_data): New test inputs.
25015 (sin_test_data): Likewise.
25016
b348e1e3
SP
25017 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25018 macro.
25019 (__sin): Use it.
25020 (__cos): Likewise.
25021 (slow1): Likewise.
25022 (slow2): Likewise.
25023 (sloww1): Likewise.
25024 (sloww2): Likewise.
25025 (bsloww1): Likewise.
25026 (bsloww2): Likewise.
25027 (cslow2): Likewise.
25028 (csloww1): Likewise.
25029 (csloww2): Likewise.
25030
6cce25f8
SP
25031 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25032 function.
25033 (__sin): Use it.
25034 (__cos): Likewise.
25035
5eea0404
SP
25036 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25037 gotos.
25038 (__cos): Likewise.
25039
9c21573c
MR
250402013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25041
25042 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25043 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25044 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25045 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25046 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25047 * elf/cache.c (print_entry): Handle the new cache flags.
25048
24d22e65
JM
250492013-09-18 Joseph Myers <joseph@codesourcery.com>
25050 Aldy Hernandez <aldyh@redhat.com>
25051
25052 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25053 Change condition to [_SOFT_FLOAT].
25054 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25056 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25057 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25058 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25059 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25060 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25061 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25066 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25069 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25070 declaration.
25071
d13ef066
JM
250722013-09-18 Joseph Myers <joseph@codesourcery.com>
25073
2e071de0
JM
25074 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25075 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25076 (__longjmp): Use LOAD_GP to load saved GPRs.
25077 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25078 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25079 (__sigsetjmp): Use SAVE_GP to save GPRs.
25080
d13ef066
JM
25081 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25082 Do not append -msoft-float.
25083 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25084
97a0650b
SP
250852013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25086
25087 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25088
11ca09e9
JM
250892013-09-17 Joseph Myers <joseph@codesourcery.com>
25090
25091 [BZ #15966]
25092 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25093 (_FPU_GETCW): Use initial "__" on variable and field names but not
25094 on macro parameter name.
25095 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25096 parentheses around reference to macro parameter.
25097
08ffcf34
RS
250982013-09-13 Richard Sandiford <richard@codesourcery.com>
25099
25100 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25101 prototype.
25102 (ctype_startup): Use uint32_t in cast and sizeof for
25103 ctype->charnames.
25104
ae7080d3
JL
251052013-09-11 Jia Liu <proljc@gmail.com>
25106
25107 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25108 __daddr_t_defined.
25109 [__FreeBSD__]: Likewise.
25110
5905e7b3
OB
251112013-09-11 Ondřej Bílka <neleai@seznam.cz>
25112
25113 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25114 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25115 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25116 (strchr): Remove __strchr_sse42 ifunc selection.
25117 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25118 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25119
b987c776
WN
251202013-09-11 Will Newton <will.newton@linaro.org>
25121
25122 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25123 parameter to RES. Remove hardcoded 1000 value.
25124 * benchtests/bench-skeleton.c (main): Pass RES parameter
25125 to TIMING_INIT and multiply result by 1000.
25126
ddf985af
AZ
251272013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25128
25129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25130
ffdd3181
AS
251312013-09-11 Andreas Schwab <schwab@suse.de>
25132
25133 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25134 if not defined.
25135 (O_TMPFILE) [__USE_GNU]: Define.
25136 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25137 Define.
25138
b73ed247
WN
251392013-09-11 Will Newton <will.newton@linaro.org>
25140
25141 [BZ #15857]
25142 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25143 does not overflow.
25144
55e17aad
WN
251452013-09-11 Will Newton <will.newton@linaro.org>
25146
25147 [BZ #15856]
25148 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25149 does not overflow.
25150
1159a193
WN
251512013-09-11 Will Newton <will.newton@linaro.org>
25152
25153 [BZ #15855]
25154 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25155 does not overflow.
25156
5905e7b3 251572013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
25158
25159 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25160 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25161 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25162 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25163 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25164
cdfc721b
AM
251652013-09-10 Allan McRae <allan@archlinux.org>
25166
aa04af00
AM
25167 [BZ #15748]
25168 * manual/arith.texi (Parsing of Floats): Clarify
25169 cross-reference.
25170
cdfc721b
AM
25171 [BZ #15849]
25172 * manual/install.texi (Running make install): Mention
25173 --enable-pt-chown.
25174 * INSTALL: Regenerated.
25175
95e7cf29
MR
251762013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25177
25178 * csu/init-first.c (_init): Remove the !SHARED condition around
25179 FPU control word initialization.
25180 * elf/dl-support.c (_dl_fpu_control): New variable.
25181 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25182 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25183 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25184 * math/test-fpucw-static.c: New file.
25185 * math/test-fpucw-ieee.c: New file.
25186 * math/test-fpucw-ieee-static.c: New file.
25187 * math/Makefile (tests): Add `test-fpucw-ieee' and
25188 `$(tests-static)'.
25189 (tests-static): New variable.
25190 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25191 dependency to...
25192 [($(build-shared),yes)]
25193 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25194 ... this.
25195 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25196 New dependency.
25197
83e43bf0
AM
251982013-09-09 Allan McRae <allan@archlinux.org>
25199
a9f5ce09
AM
25200 [BZ #15939]
25201 * manual/string.texi (Collation Functions): Fix typo in
25202 strcoll example.
25203 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25204
34829bc2
AM
25205 [BZ #15893]
25206 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25207
3932737d
AM
25208 [BZ #15892]
25209 * libio/memstream.c (open_memstream): Fix memory leak.
25210 * libio/wmemstream.c (open_wmemstream): Likewise.
25211
83e43bf0
AM
25212 [BZ #15895]
25213 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25214
0c66b8e9
WN
252152013-09-09 Will Newton <will.newton@linaro.org>
25216
25217 * malloc/Makefile: Add tst-realloc to tests.
25218 * malloc/tst-realloc.c: New file.
25219
f6b00fd1
AM
252202013-09-09 Allan McRae <allan@archlinux.org>
25221
25222 [BZ #15844]
25223 * COPYING: Update from GNU website to fix FSF address.
25224 * COPYING.LIB: Likewise.
25225
eec55e16
DM
252262013-09-06 David S. Miller <davem@davemloft.net>
25227
25228 * po/zh_TW.po: Update Chinese (traditional) translation from
25229 translation project.
25230
1ecbb381
RS
252312013-09-06 Richard Sandiford <richard@codesourcery.com>
25232 Joseph Myers <joseph@codesourcery.com>
25233
25234 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25235 "localeinfo.h".
25236 (obstack_chunk_alloc): New macro.
25237 (obstack_chunk_free): Likewise.
25238 (record_offset): New function.
25239 (init_locale_data): Likewise.
25240 (align_locale_data): Likewise.
25241 (add_locale_empty): Likewise.
25242 (add_locale_raw_data): Likewise.
25243 (add_locale_raw_obstack): Likewise.
25244 (add_locale_string): Likewise.
25245 (add_locale_wstring): Likewise.
25246 (add_locale_uint32): Likewise.
25247 (add_locale_uint32_array): Likewise.
25248 (add_locale_char): Likewise.
25249 (start_locale_structure): Likewise.
25250 (end_locale_structure): Likewise.
25251 (start_locale_prelude): Likewise.
25252 (end_locale_prelude): Likewise.
25253 (write_locale_data): Take locale_file structure rather than an
25254 iovec.
25255 * locale/programs/locfile.h: Include "obstack.h".
25256 (struct locale_file): Change to store locale file contents instead
25257 of header.
25258 (init_locale_data): New prototype.
25259 (align_locale_data): Likewise.
25260 (add_locale_empty): Likewise.
25261 (add_locale_raw_data): Likewise.
25262 (add_locale_raw_obstack): Likewise.
25263 (add_locale_string): Likewise.
25264 (add_locale_wstring): Likewise.
25265 (add_locale_uint32): Likewise.
25266 (add_locale_uint32_array): Likewise.
25267 (add_locale_char): Likewise.
25268 (start_locale_structure): Likewise.
25269 (end_locale_structure): Likewise.
25270 (start_locale_prelude): Likewise.
25271 (end_locale_prelude): Likewise.
25272 (write_locale_data): Update prototype.
25273 * locale/programs/3level.h (struct TABLE): Remove result field.
25274 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25275 Use new locale_file interface.
25276 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25277 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25278 * locale/programs/ld-address.c (address_output): Use new
25279 locale_file interface.
25280 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25281 NO_ADD_LOCALE.
25282 (collate_finish): Don't call collseq_table_finalize.
25283 (collate_output): Use new locale_file interface.
25284 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25285 in file.
25286 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25287 (TABLE): Move defines earlier in file.
25288 (ELEMENT): Likewise.
25289 (DEFAULT): Likewise.
25290 (wctrans_table_add): Move macro and inline function earlier in
25291 file.
25292 (struct wctype_table): Move type earlier in file.
25293 (add_locale_wctype_table): New static prototype.
25294 (struct locale_ctype_t): Use logical types instead of struct iovec
25295 pointers for members.
25296 (ctype_output): Use new locale_file interface.
25297 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25298 new locale_file interface.
25299 (allocate_arrays): Update for use of new locale_file interface.
25300 * locale/programs/ld-identification.c (identification_output): Use
25301 new locale_file interface.
25302 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25303 * locale/programs/ld-messages.c (messages_output): Likewise.
25304 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25305 * locale/programs/ld-name.c (name_output): Likewise.
25306 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25307 * locale/programs/ld-paper.c (paper_output): Likewise.
25308 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25309 * locale/programs/ld-time.c (time_output): Likewise.
25310
e029e2e5
AZ
253112013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25312
25313 * benchtests/Makefile: Add memrchr benchmark.
25314 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25315 benchmark as memrchr.
25316 * benchtests/bench-memrchr-ifunc.c: New file.
25317 * benchtests/bench-memrchr.c: New file.
25318
bbf6e8e4
WN
253192013-09-06 Will Newton <will.newton@linaro.org>
25320
25321 * benchtests/Makefile (string-bench): Add memcpy.
25322
6c82a2f8
CD
253232013-09-05 Carlos O'Donell <carlos@redhat.com>
25324 Cong Wang <amwang@redhat.com>
25325
e732c5f0 25326 [BZ #15850]
6c82a2f8
CD
25327 * sysdeps/unix/sysv/linux/bits/in.h
25328 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25329 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25330 before __USE_KERNEL_IPV6_DEFS uses.
25331 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25332 IPPROTO_BEETPH.
25333 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25334 sockaddr_in6, or ipv6_mreq.
25335
5430fc65
AZ
253362013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25337
25338 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25339 memory access for final bytes in some large inputs.
25340 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25341
4660856c
AZ
253422013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25343
25344 * string/test-memrchr.c: New file.
25345 * string/test-memrchr-ifunc.c: New file.
25346 * string/Makefile: Add new memrchr testcase.
25347
bb8ea713
MF
253482013-09-05 Mike Frysinger <vapier@gentoo.org>
25349
25350 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25351 fanotify_init returns EPERM.
25352
b92a20b5
JM
253532013-09-04 Joseph Myers <joseph@codesourcery.com>
25354
25355 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25356 errors.
25357 (top level): Treat second token from macro or constant entries for
25358 allowed headers as allowed.
25359 * include/complex.h: Condition internal declarations on
25360 [!_ISOMAC].
25361 * include/fenv.h: Condition include of <stdbool.h> and internal
25362 declarations on [!_ISOMAC].
7447ccd9
CL
25363
253642013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25365
3e181dda 25366 [BZ #15923]
7447ccd9
CL
25367 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25368
3f2e46a4
JM
253692013-09-04 Joseph Myers <joseph@codesourcery.com>
25370
25371 * configure.in (--enable-versioning): Remove configure option.
25372 (libc_cv_asm_symver_directive): Remove configure test.
25373 (libc_cv_ld_version_script_option): Likewise.
25374 (VERSIONING): Remove variable and AC_SUBST.
25375 (DO_VERSIONING): Remove AC_DEFINE.
25376 * configure: Regenerated.
25377 * config.h.in (DO_VERSIONING): Remove macro.
25378 * Makerules [$(versioning) = yes]: Change conditionals to
25379 [$(build-shared) = yes].
25380 * config.make.in (versioning): Remove variable.
25381 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25382 [$(build-shared) = yes].
25383 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25384 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25385 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25386 [$(build-shared) = yes].
25387 * extra-lib.mk [$(versioning) = yes]: Likewise.
25388 * hurd/Makefile [$(versioning) = yes]: Likewise.
25389 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25390 [SHARED].
25391 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25392 [SHARED].
25393 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25394 [SHARED && !NO_HIDDEN].
25395 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25396 [SHARED].
25397 [SHARED && DO_VERSIONING]: Likewise..
25398 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25399 [$(build-shared) = yes].
25400 * manual/install.texi (--disable-versioning): Remove
25401 documentation.
25402 * INSTALL: Regenerated.
25403 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25404 to [SHARED].
25405 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25406 [$(build-shared) = yes].
25407 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25408 * sysdeps/i386/i686/multiarch/strstr-c.c
25409 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25410 [SHARED && !NO_HIDDEN].
25411 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25412 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25413 * sysdeps/powerpc/powerpc32/dl-machine.c
25414 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25415 * sysdeps/powerpc/powerpc32/sysdep.h
25416 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25417 to [SHARED && PIC && !NO_HIDDEN].
25418 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25419 conditional to [SHARED].
25420
44558701
WN
254212013-09-04 Will Newton <will.newton@linaro.org>
25422
25423 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25424 * benchtests/bench-string.h: Include bench-timing.h instead
25425 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25426 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25427 call to HP_TIMING_DIFF_INIT.
25428 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25429 instead of hp-timing.h macros.
25430 * benchtests/bench-memchr.c: Likewise.
25431 * benchtests/bench-memcmp.c: Likewise.
25432 * benchtests/bench-memcpy.c: Likewise.
25433 * benchtests/bench-memmem.c: Likewise.
25434 * benchtests/bench-memmove.c: Likewise.
25435 * benchtests/bench-memset.c: Likewise.
25436 * benchtests/bench-rawmemchr.c: Likewise.
25437 * benchtests/bench-strcasecmp.c: Likewise.
25438 * benchtests/bench-strcasestr.c: Likewise.
25439 * benchtests/bench-strcat.c: Likewise.
25440 * benchtests/bench-strchr.c: Likewise.
25441 * benchtests/bench-strcmp.c: Likewise.
25442 * benchtests/bench-strcpy.c: Likewise.
25443 * benchtests/bench-strcpy_chk.c: Likewise.
25444 * benchtests/bench-strlen.c: Likewise.
25445 * benchtests/bench-strncasecmp.c: Likewise.
25446 * benchtests/bench-strncat.c: Likewise.
25447 * benchtests/bench-strncmp.c: Likewise.
25448 * benchtests/bench-strncpy.c: Likewise.
25449 * benchtests/bench-strnlen.c: Likewise.
25450 * benchtests/bench-strpbrk.c: Likewise.
25451 * benchtests/bench-strrchr.c: Likewise.
25452 * benchtests/bench-strspn.c: Likewise.
25453 * benchtests/bench-strstr.c: Likewise.
25454
cae16d66
WN
254552013-09-04 Will Newton <will.newton@linaro.org>
25456
25457 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25458
ffa3cd7f
JM
254592013-09-03 Joseph Myers <joseph@codesourcery.com>
25460
25461 [BZ #15427]
25462 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25463 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25464 * math/libm-test.inc (lgamma_test_data): Add more tests.
25465 * sysdeps/i386/fpu/libm-test-ulps: Update.
25466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25467
8f02859f
OB
254682013-09-03 Ondřej Bílka <neleai@seznam.cz>
25469
25470 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25471 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25472 Add ifunc.
25473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25474 Add strcmp-sse2-unaligned
25475 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25476
18d43716
MF
254772013-09-02 Mike Frysinger <vapier@gentoo.org>
25478
25479 * Versions.def (libc): Add GLIBC_2.19.
25480
ac444012
MF
254812013-09-02 Mike Frysinger <vapier@gentoo.org>
25482
25483 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25484 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25485
b7835e32
JM
254862013-09-02 Joseph Myers <joseph@codesourcery.com>
25487
25488 [BZ #14155]
25489 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25490 intermediate calculations in recurrence.
25491 (__ieee754_ynf): Likewise.
25492 * math/libm-test.inc (jn_test_data): Do not allow spurious
25493 underflow exception. Add more tests.
25494 (yn_test_data): Add more tests.
25495 * sysdeps/i386/fpu/libm-test-ulps: Update.
25496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25497
8220f4f0
OB
254982013-09-02 Ondřej Bílka <neleai@seznam.cz>
25499
25500 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25501
f24a6d08
OB
255022013-08-30 Ondřej Bílka <neleai@seznam.cz>
25503
25504 * csu/init-first.c: Fix then/than typos.
25505 * locale/programs/ld-collate.c: Likewise.
25506 * locale/programs/linereader.h: Likewise.
25507 * manual/charset.texi: Likewise.
25508 * manual/filesys.texi: Likewise.
25509 * manual/stdio.texi: Likewise.
25510 * manual/string.texi: Likewise.
25511 * stdlib/fmtmsg.c: Likewise.
25512 * sysdeps/i386/stpncpy.S: Likewise.
25513 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25514 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25515 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25516 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25517
382466e0
OB
255182013-08-30 Ondřej Bílka <neleai@seznam.cz>
25519
25520 * elf/dl-open.c: Fix typos.
25521 * iconvdata/gbbig5.c: Likewise.
25522 * iconvdata/iso-2022-jp.c: Likewise.
25523 * iconv/gconv_int.h: Likewise.
25524 * iconv/loop.c: Likewise.
25525 * nis/rpcsvc/nis.h: Likewise.
25526 * resolv/ns_name.c: Likewise.
25527 * stdio-common/vfscanf.c: Likewise.
25528 * streams/stropts.h: Likewise.
25529 * sunrpc/rpc_thread.c: Likewise.
25530 * sysdeps/i386/strpbrk.S: Likewise.
25531 * sysdeps/ieee754/k_standard.c: Likewise.
25532 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25533 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25534 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25535 * sysdeps/mach/hurd/profil.c: Likewise.
25536 * sysdeps/s390/dl-procinfo.h: Likewise.
25537 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25538 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25539 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25540 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25541 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25542
0186c6e9
OB
255432013-08-30 Ondřej Bílka <neleai@seznam.cz>
25544
25545 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25546 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25547
d4e16af1
OB
255482013-08-29 Ondřej Bílka <neleai@seznam.cz>
25549
25550 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25551 aix specific files.
25552 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25553 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25554 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25555 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25556 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25557 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25558 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25559 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25560
88335980
TS
255612013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25562 Roland McGrath <roland@hack.frob.com>
25563
25564 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25565 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25566
ed479b02
ST
255672013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25568
25569 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25570 __executable_start symbol instead of _start.
25571
f1cc4c86
TS
255722013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25573
d821f07c
TS
25574 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25575 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25576 Move macros to...
25577 * sysdeps/gnu/ldsodefs.h: ... this new file.
25578
c54290cf
TS
25579 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25580 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25581 instead of ELFOSABI_LINUX.
25582
0007fc9b 25583 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25584 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25585 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25586 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25587 Likewise.
25588 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25589 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25590 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25591 Likewise.
25592 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25593 (ibm_extended_long_double): Add ieee_nan member.
25594 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25595 (do_test): New function.
25596
f1cc4c86
TS
25597 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25598 TEST_TRUNC.
25599 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25600 functions, renamed from truncdfsf_test, trunctfsf_test,
25601 trunctfdf_test.
25602 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25603 functions.
25604 (do_test): Run all these.
25605
6f65e668
OB
256062013-08-29 Ondřej Bílka <neleai@seznam.cz>
25607
25608 * argp/argp-help.c: Fix typos.
25609 * argp/argp-parse.c: Likewise.
25610 * debug/backtracesyms.c: Likewise.
25611 * elf/elf.h: Likewise.
25612 * malloc/malloc.c: Likewise.
25613 * nis/nis_print.c: Likewise.
25614 * resolv/res_comp.c: Likewise.
25615 * stdlib/stdlib.h: Likewise.
25616 * sunrpc/clnt_tcp.c: Likewise.
25617 * sunrpc/clnt_udp.c: Likewise.
25618 * sunrpc/clnt_unix.c: Likewise.
25619 * sysdeps/unix/bsd/ptsname.c: Likewise.
25620 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25621 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25623 Likewise.
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25625 Likewise.
25626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25627 Likewise.
6f65e668
OB
25628 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25629
3a309239
SP
256302013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25631
25632 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25634
3b813b29
MF
256352013-08-27 Mike Frysinger <vapier@gentoo.org>
25636
25637 [BZ #15897]
25638 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25639 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25640 ($(objpfx)bug-dl-leaf): New rule.
25641 ($(objpfx)bug-dl-leaf.so): Likewise.
25642 ($(objpfx)bug-dl-leaf.out): Likewise.
25643 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25644 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25645 * dlfcn/bug-dl-leaf.c: New test.
25646 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25647 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25648 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25649 (dlclose): Likewise.
25650 (dlmopen): Likewise.
25651
8cc3269f
RM
256522013-08-27 Roland McGrath <roland@hack.frob.com>
25653
7f9d0034
RM
25654 * include/netdb.h [!_ISOMAC]:
25655 Don't include <tls.h>.
25656 (h_errno, __libc_h_errno): Move declaration and macros out of
25657 [_LIBC_REENTRANT].
25658
fb431262
RM
25659 * include/resolv.h [_RESOLV_H_]:
25660 Don't include <tls.h>.
25661 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25662 * resolv/res_libc.c: Don't include <tls.h>.
25663 (_res): Use __attribute__ ((nocommon)) in place of
25664 __attribute__ ((section (".bss"))).
25665
bd81123a
RM
25666 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25667 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25668
c4e42566
RM
25669 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25670
f890a59b
RM
25671 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25672 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25673
25674 * resolv/res_mkquery.c: Include <sys/time.h>.
25675
5d1f0a09
RM
25676 * inet/ifreq.c: Moved to ...
25677 * sysdeps/unix/ifreq.c: ... here.
25678 * inet/ifreq.c: New file, true stub version.
25679
6fcf28b3
RM
25680 * socket/sa_len.c: New file.
25681 * socket/Makefile (aux): Add it.
25682 * sysdeps/unix/sysv/linux/Makefile
25683 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25684 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25685 and #include <socket/sa_len.c>.
25686 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25687 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25688
e041fb8b
RM
25689 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25690 * bits/socket.h: ... here.
25691
8cc3269f
RM
25692 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25693 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25694 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25695
5d228a43
AS
256962013-08-27 Andreas Schwab <schwab@suse.de>
25697
45b8accc
AS
25698 [BZ #15736]
25699 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25700 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25701 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25702 * string/test-strcasecmp.c (test_main): Run tests in several
25703 locales.
25704 * string/test-strncasecmp.c (test_main): Likewise.
25705
5d228a43
AS
25706 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25707 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25708 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25709 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25710 (__strncasecmp_ssse3) [PIC]: Likewise.
25711
59d112a4
RM
257122013-08-26 Roland McGrath <roland@hack.frob.com>
25713
53234cc3
RM
25714 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25715
59d112a4
RM
25716 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25717 instead of explicitly declaring xdecrypt.
25718 * nis/nss_nis/nis-publickey.c: Likewise.
25719
595aba70
SP
257202013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25721
25722 [BZ #15890]
25723 * nscd/aicache.c: Include res_hconf.h.
25724 (addhstaiX): Initialize res_hconf.
25725
ffabd393
AS
257262013-08-26 Andreas Schwab <schwab@suse.de>
25727
25728 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25729 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25730
e0a69f5c
SP
257312013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25732
25733 * nscd/aicache.c (addhstaiX): Fix indentation.
25734
8c12f01d
MF
257352013-08-25 Mike Frysinger <vapier@gentoo.org>
25736
25737 * configure.ac: Quote $build_pt_chown test.
25738 * configure: Regenerated.
25739
8fe89494
JM
257402013-08-23 Joseph Myers <joseph@codesourcery.com>
25741
25742 [BZ #15532]
25743 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25744 * math/s_cexpf.c (__cexpf): Likewise.
25745 * math/s_cexpl.c (__cexpl): Likewise.
25746 * math/libm-test.inc (cexp_test_data): Correct expected return
25747 value for NaN + i0. Add another test.
25748
75b181d6
DM
257492013-08-22 David S. Miller <davem@davemloft.net>
25750
25751 * po/ca.po: Update Catalan translation from translation project.
936241e4 25752 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25753
acd06bb1
JM
257542013-08-21 Joseph Myers <joseph@codesourcery.com>
25755
25756 [BZ #15797]
25757 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25758 is infinite, not alongside NaN test.
25759 * math/s_fdimf.c (__fdimf): Likewise.
25760 * math/s_fdiml.c (__fdiml): Likewise.
25761 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25762 errno is unchanged.
25763
c0c3f78a
OB
257642013-08-21 Ondřej Bílka <neleai@seznam.cz>
25765
25766 * argp/argp-help.c: Fix typos.
25767 * crypt/speeds.c: Likewise.
25768 * csu/check_fds.c: Likewise.
25769 * elf/dl-load.c: Likewise.
25770 * elf/dl-open.c: Likewise.
25771 * elf/reldep3.c: Likewise.
25772 * elf/reldep.c: Likewise.
25773 * elf/sprof.c: Likewise.
25774 * iconv/iconv_charmap.c: Likewise.
25775 * iconv/skeleton.c: Likewise.
25776 * iconv/strtab.c: Likewise.
25777 * io/lockf64.c: Likewise.
25778 * libio/libioP.h: Likewise.
25779 * resolv/gai_notify.c: Likewise.
25780 * resolv/ns_name.c: Likewise.
25781 * resolv/ns_samedomain.c: Likewise.
25782 * resolv/res_send.c: Likewise.
25783 * stdlib/random.c: Likewise.
25784 * sunrpc/rpc/xdr.h: Likewise.
25785 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25786 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25787 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25788 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25789 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25790 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25791 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25792 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25793 * sysdeps/mach/hurd/check_fds.c: Likewise.
25794 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25795 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25796 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25797 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25798 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25799 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25800 * sysdeps/pthread/aio_notify.c: Likewise.
25801 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25802 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25803 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25804 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25805 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25806
46ed1038
LD
258072013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25808
25809 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25810 version if bit_Slow_SSE4_2 is set.
25811 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25812 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25813
d400dcac
AZ
258142013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25815
25816 [BZ #15867]
25817 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25818 trampoline stack frame information.
25819 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25820 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25821 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25822 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25823 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25824 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25825 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25826 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25827 sa_flags value.
25828 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25829 interrupting a syscall and set with option SA_SIGINFO.
25830
42c8fdd8
JM
258312013-08-20 Joseph Myers <joseph@codesourcery.com>
25832
c980f2f4
JM
25833 [BZ #15531]
25834 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25835 argument is infinite.
25836 * math/s_cprojf.c (__cprojf): Likewise.
25837 * math/s_cprojl.c (__cprojl): Likewise.
25838 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25839 * math/libm-test.inc (cproj_test_data): Add more tests.
25840
0716c4fc
JM
25841 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25842
42c8fdd8
JM
25843 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25844 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25845 size. Use __ffs to determine corresponding shift.
25846
b31469d0
JM
258472013-08-20 Joseph Myers <joseph@codesourcery.com>
25848 Roland McGrath <roland@hack.frob.com>
25849
25850 * Makefile (INSTALL): Remove trailing blank lines from output of
25851 makeinfo.
25852
4e39af6e
AK
258532013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25854
25855 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25856 Align 32 bit compat elf_greg to 8 bytes.
25857
f315524e
AA
258582013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25859
25860 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25861
1326ba1a
SP
258622013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25863
25864 * string/strcoll_l.c (coll_seq): New structure.
25865 (get_next_seq_cached): New function.
25866 (get_next_seq): New function.
25867 (do_compare): New function.
25868 (STRCOLL): Use GNU style definition. Simplify implementation
25869 by using get_next_seq, get_next_seq_cached and do_compare.
25870
91ce4085
FW
258712013-08-16 Florian Weimer <fweimer@redhat.com>
25872
25873 [BZ #14699]
25874 CVE-2013-4237
25875 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25876 member.
25877 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25878 member.
25879 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25880 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25881 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25882 conditional.
25883 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25884 GETDENTS_64BIT_ALIGNED.
25885 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25886 * manual/filesys.texi (Reading/Closing Directory): Document
25887 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25888 strongly.
25889 * manual/conf.texi (Limits for Files): Add portability note to
25890 NAME_MAX, PATH_MAX.
25891 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25892
ca0a6bc4
AS
258932013-08-13 Andreas Schwab <schwab@suse.de>
25894
25895 [BZ #15749]
25896 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25897 of fabs.
25898 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25899 LDBL_MAX_EXP >= 16384]: Add tests for it.
25900
6c1fd795
DM
259012013-08-12 David S. Miller <davem@davemloft.net>
25902
25903 * version.h (RELEASE): Set to "development".
25904 (VERSION): Set to "2.18.90".
25905 * NEWS: Add 2.19 section.
25906
31ad488d
DM
259072013-08-03 David S. Miller <davem@davemloft.net>
25908
25909 * po/ko.po: Update Korean translation from translation project.
25910
db24e684
DM
259112013-08-01 David S. Miller <davem@davemloft.net>
25912
25913 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25914 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25915 Bilka.
25916
f723285b
DM
259172013-07-30 David S. Miller <davem@davemloft.net>
25918
25919 * po/fr.po: Update French translation from translation project.
25920
3cbc52db
DM
259212013-07-28 David S. Miller <davem@davemloft.net>
25922
30bbc0cc
DM
25923 * po/cs.po: Update Czech translation from translation project.
25924
3cbc52db
DM
25925 * po/sv.po: Update Swedish translation from translation project.
25926
d492e6d0
DM
259272013-07-27 David S. Miller <davem@davemloft.net>
25928
f1a7f492
DM
25929 * po/eo.po: Update Esperanto translation from translation project.
25930
90e62a4a
DM
25931 * po/vi.po: Update Vietnamese translation from translation project.
25932
d492e6d0
DM
25933 * po/de.po: Update German translation from translation project.
25934
d4baa62d
DM
259352013-07-26 David S. Miller <davem@davemloft.net>
25936
641aa7b4
DM
25937 * po/bg.po: Update Bulgarian translation from translation project.
25938
d4baa62d
DM
25939 * po/nl.po: Update Dutch translation from translation project.
25940 * po/pl.po: Update Polish translation from translation project.
25941 * po/ru.po: Update Russian translation from translation project.
25942
61a9dcb9
DM
259432013-07-24 David S. Miller <davem@davemloft.net>
25944
25945 * po/libc.pot: Update.
25946
7b1f8b58
AZ
259472013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25948
25949 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25950 variable page size.
25951 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25952 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25953 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25954
a8fc7a03
AK
259552013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25956
25957 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25958
e4608715
CD
259592013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25960 Andreas Schwab <schwab@suse.de>
25961 Roland McGrath <roland@hack.frob.com>
25962 Joseph Myers <joseph@codesourcery.com>
25963 Carlos O'Donell <carlos@redhat.com>
25964
25965 [BZ #15755]
25966 * config.h.in: Define HAVE_PT_CHOWN.
25967 * config.make.in (build-pt-chown): New variable.
25968 * configure.in (--enable-pt_chown): New configure option.
25969 * configure: Regenerate.
25970 * login/Makefile: Include Makeconfig. Build pt_chown only if
25971 build-pt-chown is enabled.
25972 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25973 pt_chown to fix pty ownership.
25974 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25975 CLOSE_ALL_FDS.
25976 * manual/install.texi (Configuring and compiling): Mention
25977 --enable-pt_chown. Add @findex for grantpt.
25978 * INSTALL: Regenerate.
25979
da2d62df
DM
259802013-07-20 David S. Miller <davem@davemloft.net>
25981
25982 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25983 difference between 32-bit and 64-bit.
25984
d7e06450
CD
259852013-07-15 Carlos O'Donell <carlos@redhat.com>
25986
25987 [BZ #15711]
25988 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25989 Avoid system header dependency with -ffreestanding.
25990 ($(objpfx)bits/syscall%d): Likewise.
25991
f959cfd7
DM
259922013-07-13 David S. Miller <davem@davemloft.net>
25993
25994 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25995 underflows from atanl/atan2l due to bug 15319.
25996 (casinh_test_data): Likewise.
25997
c61f8513
DM
259982013-07-07 David S. Miller <davem@davemloft.net>
25999
26000 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26001
72c90ed0
JA
260022013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26003
26004 * sysdeps/i386/fpu/libm-test-ulps: Update.
26005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26006
52dfbe13
SP
260072013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26008
26009 * configure.in (--enable-lock-elision): Fix message text.
26010 * INSTALL: Regenerate.
26011 * configure: Regenerate.
26012
3f169543
AZ
260132013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26014
26015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26016
521c6785
AJ
260172013-07-03 Andreas Jaeger <aj@suse.de>
26018
26019 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26020 define.
26021 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26022 (ptrace_peeksiginfo_args): Add.
26023 (__ptrace_peeksiginfo_flags): Add.
26024 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26025 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26026 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26027
d2cc15cb
AM
260282013-07-03 Allan McRae <allan@archlinux.org>
26029
26030 * sysdeps/i386/fpu/libm-test-ulps: Update.
26031
3aaeeca7
DM
260322013-07-02 David S. Miller <davem@davemloft.net>
26033
26034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26035
5314ed1a
MT
260362013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26037
26038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26039
67338156
JM
260402013-07-02 Joseph Myers <joseph@codesourcery.com>
26041
26042 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26044
1717da59
AK
260452013-07-02 Andi Kleen <ak@linux.intel.com>
26046
26047 * config.h.in (ENABLE_LOCK_ELISION): Add.
26048 * configure.in (--enable-lock-elision): Add option.
26049 * manual/install.texi: Document --enable lock elision.
26050 * configure: Regenerate
26051 * INSTALL: Regenerate.
26052
1c81621c
L
260532013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26054
26055 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26056 SSE4.2 strcasecmp for libc.a.
26057 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26058
77f01ab5
JM
260592013-07-02 Joseph Myers <joseph@codesourcery.com>
26060
26061 [BZ #13304]
26062 * soft-fp/op-common.h (_FP_FMA): New macro.
26063 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26064 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26065 (_FP_MUL_MEAT_1_imm): ... here.
26066 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26067 (_FP_MUL_MEAT_1_wide): ... here.
26068 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26069 (_FP_MUL_MEAT_1_hard): ... here.
26070 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26071 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26072 (_FP_MUL_MEAT_2_wide): ... here.
26073 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26074 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26075 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26076 (_FP_MUL_MEAT_2_gmp): ... here.
26077 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26078 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26079 (_FP_MUL_MEAT_4_wide): ... here.
26080 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26081 (_FP_MUL_MEAT_4_gmp): ... here.
26082 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26083 (_FP_WFRACBITS_DW_S): Likewise.
26084 (_FP_WFRACXBITS_DW_S): Likewise.
26085 (_FP_HIGHBIT_DW_S): Likewise.
26086 (FP_FMA_S): Likewise.
26087 (_FP_FRAC_HIGH_DW_S): Likewise.
26088 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26089 (_FP_WFRACBITS_DW_D): Likewise.
26090 (_FP_WFRACXBITS_DW_D): Likewise.
26091 (_FP_HIGHBIT_DW_D): Likewise.
26092 (FP_FMA_D): Likewise.
26093 (_FP_FRAC_HIGH_DW_D): Likewise.
26094 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26095 (_FP_WFRACBITS_DW_E): Likewise.
26096 (_FP_WFRACXBITS_DW_E): Likewise.
26097 (_FP_HIGHBIT_DW_E): Likewise.
26098 (FP_FMA_E): Likewise.
26099 (_FP_FRAC_HIGH_DW_E): Likewise.
26100 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26101 (_FP_WFRACBITS_DW_Q): Likewise.
26102 (_FP_WFRACXBITS_DW_Q): Likewise.
26103 (_FP_HIGHBIT_DW_Q): Likewise.
26104 (FP_FMA_Q): Likewise.
26105 (_FP_FRAC_HIGH_DW_Q): Likewise.
26106 * soft-fp/fmasf4.c: New file.
26107 * soft-fp/fmadf4.c: Likewise.
26108 * soft-fp/fmatf4.c: Likewise.
26109
6308fd9a
LD
261102013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26111
26112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26113 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26114 Silvermont.
26115 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26116 macro.
26117 (index_Slow_SSE4_2): Likewise.
26118 (index_Prefer_PMINUB_for_stringop): Likewise.
26119 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26120 bit_Slow_SSE4_2 is set.
26121 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26122 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26123
89cd9569
RA
261242013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26125
26126 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26127 rtld_global._dl_hwcap2.
26128 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26129 POWER8.
26130 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26131 POWER8 feature descriptions defined in _dl_hwcap2.
26132 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26133 string handling for POWER8 feature bits.
26134 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26135 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26136 _dl_powerpc_cap_flags.
26137 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26138 * sysdeps/powerpc/rtld-global-offsets.sym
26139 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26140 _dl_hwcap2 in the rtld_global_ro structure.
26141
1ae8bfe0
RA
261422013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26143
26144 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26145 hardware capabilities in support of AT_HWCAP2.
26146 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26147 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26148 GLRO(dl_hwcap2).
26149 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26150 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26151 explicitly the unknown a_type display mechanism is used.
26152 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26153 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26154 struct member.
26155 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26156 to macro prototype for AT_HWCAP2 support.
26157 * sysdeps/i386/dl-procinfo.h: Likewise.
26158 * sysdeps/s390/dl-procinfo.h: Likewise.
26159 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26160 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26161 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26162 return -1 for unknown a_type display fallback.
26163 * sysdeps/sparc/dl-procinfo.h: Likewise.
26164 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26165 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26166
8fbec010
JM
261672013-06-28 Joseph Myers <joseph@codesourcery.com>
26168
26169 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26170 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26171
0432680e
PY
261722013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26173
26174 [BZ #12492]
26175 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26176 mprotect making __stack_prot writable.
26177
ce61a2ad
NF
261782013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26179 Joseph Myers <joseph@codesourcery.com>
26180
26181 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26182 as being properly aligned.
26183
f91f1c0f
MR
261842013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26185
3d0f5d0c
MR
26186 * dlfcn/modstatic5.c: New file.
26187 * dlfcn/tststatic5.c: New file.
26188 * dlfcn/Makefile (tests): Add tststatic5.
26189 (tests-static): Likewise.
26190 (modules-names): Add modstatic5.
26191 (tststatic5-ENV): New variable.
26192 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26193
f91f1c0f
MR
26194 [BZ #15022]
26195 * elf/dl-support.c (_dl_main_map): New variable.
26196 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26197 (_dl_nns, _dl_load_adds): Set to 1.
26198 (_dl_initial_searchlist): Refer to _dl_main_map.
26199 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26200 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26201 call to _dl_get_origin.
26202 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26203 around call_map.
26204 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26205 * dlfcn/modstatic3.c: New file.
26206 * dlfcn/tststatic3.c: New file.
26207 * dlfcn/tststatic4.c: New file.
26208 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26209 (tests-static): Likewise.
26210 (modules-names): Add modstatic3.
26211 (tststatic3-ENV, tststatic4-ENV): New variables.
26212 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26213 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26214
cbe7d24b
JM
262152013-06-26 Joseph Myers <joseph@codesourcery.com>
26216
26217 * configure.in (CC): Require GCC version 4.4 or later.
26218 * configure: Regenerated.
26219 * manual/install.texi (Tools for Compilation): Update GCC version
26220 requirement.
26221 * INSTALL: Regenerated.
26222
11b8a0e1
LD
262232013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26224
26225 [BZ #15674]
bb5bb87c
L
26226 * string/test-memcmp.c (check2): New.
26227 (main): Call check2.
26228
11b8a0e1
LD
26229 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26230
b0037103
MR
262312013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26232
26233 [BZ #15022]
26234 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26235 over to...
26236 (dl_open_worker) [!SHARED]: ... here.
26237
c18c701d
RA
262382013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26239
26240 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26241
1d17fa5f
RH
262422013-06-25 Richard Henderson <rth@redhat.com>
26243
26244 * locale/programs/locarchive.c: Include <libc-internal.h>
26245
8fcb833a
JM
262462013-06-25 Joseph Myers <joseph@codesourcery.com>
26247
26248 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26249 trailing whitespace removed.
26250
17db6e8d
MF
262512013-06-24 Mike Frysinger <vapier@gentoo.org>
26252
26253 [BZ #10283]
17db6e8d
MF
26254 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26255 * locale/programs/locarchive.c: Include libc-mmap.h.
26256 (prepare_address_space): Take two new outputs (the mmap base and len).
26257 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26258 values.
26259 (create_archive): Declare new mmap base and len values for
26260 prepare_address_space, and store the result in ah.
26261 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26262 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26263 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26264 Declare new mmap base and len values for
26265 prepare_address_space, and store the result in new_ah.
26266 (open_archive): Declare new mmap base and len values for
26267 prepare_address_space, and store the result in ah.
26268 (close_archive): If ah->mmap_base is not NULL, use that and
26269 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26270 * sysdeps/generic/libc-mmap.h: New file.
26271
d605071e
MF
262722013-06-24 Mike Frysinger <vapier@gentoo.org>
26273
26274 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26275 (ALIGN_UP): Likewise.
26276 (PTR_ALIGN_DOWN): Likewise.
26277 (PTR_ALIGN_UP): Likewise.
26278
2f063a6e
RA
262792013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26280
26281 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26282 entry mapped to PPC_PLATFORM_POWER8.
26283 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26284 POWER8.
26285 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26286 (_dl_string_platform): Add case for exporting platform position for
26287 POWER8.
26288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26289 search path to sysdeps/powerpc/powerpc32/power8 directory.
26290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26291 search path to sysdeps/powerpc/powerpc64/power8 directory.
26292 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26293 power7 directories.
26294 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26295 power7 directories.
26296
a31ee4b3
SP
262972013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26298
a74ca98f
SP
26299 * INSTALL: Regenerate.
26300
a31ee4b3
SP
26301 * nscd/connections.c (nscd_init): Fix comment.
26302
695c378f
JM
263032013-06-22 Joseph Myers <joseph@codesourcery.com>
26304
d8412221
JM
26305 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26306
695c378f
JM
26307 [BZ #15667]
26308 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26309 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26310
d1d54715
MR
263112013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26312
26313 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26314 DL_DST_REQ_STATIC.
26315 (DL_DST_REQ_STATIC): Remove macro.
26316
8fdda7af
JM
263172013-06-21 Joseph Myers <joseph@codesourcery.com>
26318
26319 [BZ #7006]
26320 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26321 with a shift of 0 bits.
26322
f3bc5e5a
MR
263232013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26324
26325 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26326 $(tststatic-ENV).
26327
be09e8c9
KK
263282013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26329
26330 [BZ #15655]
26331 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26332
85c2e611
AZ
263332013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26334
26335 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26336 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26337 accepts -fno-tree-loop-distribute-patterns.
26338 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26339 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26340 recursive call.
26341 * string/memset.c (memset): Likewise.
26342 * string/test-memmove.c (simple_memmove): Disable loop transformation
26343 to library calls.
26344 * string/test-memset.c (simple_memset): Likewise.
26345 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26346 * benchtests/bench-memset.c (simple_memset): Likewise.
26347 * configure: Regenerated.
26348
c91e0825
JM
263492013-06-20 Joseph Myers <joseph@codesourcery.com>
26350
b8c792af
JM
26351 * math/test-misc.c (main): Ignore fesetround failure when failures
26352 of subsequent rounding tests would be ignored.
26353
c91e0825
JM
26354 [BZ #15654]
26355 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26356 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26357 * math/fegetenv.c (__fegetenv): Return 0.
26358 * math/fegetexcept.c (fegetexcept): Return 0.
26359 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26360 FE_TONEAREST.
26361 * math/feholdexcpt.c (feholdexcept): Return 0.
26362 * math/fesetenv.c (__fesetenv): Return 0.
26363 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26364 argument FE_TONEAREST.
26365 * math/feupdateenv.c (__feupdateenv): Return 0.
26366 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26367
bfcacbde
RM
263682013-06-18 Roland McGrath <roland@hack.frob.com>
26369
26370 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26371 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26372 ($(objpfx)rtld-%.os rules): Use them.
26373
e55a9b25
AZ
263742013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26375
26376 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26377 fields.
26378
346d65b3
RM
263792013-06-17 Roland McGrath <roland@hack.frob.com>
26380
12086fb4
RM
26381 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26382 length of target pattern, then descending length of dependency pattern.
26383 * configure.in (AWK): Require gawk 3.1.2 or newer.
26384 * manual/install.texi (Tools for Compilation): Say that we do.
26385 * configure: Regenerated.
26386
346d65b3
RM
26387 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26388 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26389 * scripts/sysd-rules.awk: ... this new script.
26390 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26391 than a glob-style pattern.
26392
1a846317
JM
263932013-06-17 Joseph Myers <joseph@codesourcery.com>
26394
26395 * math/test-misc.c (main): Do not treat incorrectly rounded
26396 conversions as failure unless ROUNDING_TESTS passes.
26397
8fc75e6f
JM
263982013-06-15 Joseph Myers <joseph@codesourcery.com>
26399
3711a167
JM
26400 [BZ #15631]
26401 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26402 restore exception state around main square root computation, then
26403 check for inexactness explicitly.
26404
8fc75e6f
JM
26405 * math/libm-test.inc (fma_test_data): Add another test.
26406
61dd6208
SP
264072013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26408
adf23d2c
SP
26409 * manual/threads.texi (Non-POSIX Extensions): New document
26410 node. Document pthread_getattr_default_np and
26411 pthread_setattr_default_np.
26412
61dd6208
SP
26413 * Versions.def (libpthread): Add GLIBC_2.18.
26414 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26416 Likewise.
26417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26418 Likewise.
26419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26420 Likewise.
26421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26422 Likewise.
26423 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26424 Likewise.
26425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26426 Likewise.
26427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26428 Likewise.
26429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26430 Likewise.
26431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26432 Likewise.
26433
d086fc7b
LD
264342013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26435
26436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26437 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26438
747ef469
SP
264392013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26440 H.J. Lu <hjl.tools@gmail.com>
26441
26442 [BZ #15627]
26443 * sysdeps/x86_64/rtld-memset.c: Remove file.
26444 * sysdeps/x86_64/rtld-memset.S: New file.
26445
1b2feed2
JM
264462013-06-14 Joseph Myers <joseph@codesourcery.com>
26447
26448 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26449 (test_in_one_mode): Take arguments for whether the rounding mode
26450 is supported for each floating-point type.
26451 (do_test): Pass new arguments to test_in_one_mode using
26452 ROUNDING_TESTS.
26453
a58ad3f8
RM
264542013-06-13 Roland McGrath <roland@hack.frob.com>
26455
26456 * posix/tst-waitid.c (do_test): Distinguish different instances of
26457 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26458 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26459 before entering the kernel for waitpid.
26460
c204ab28
SP
264612013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26462
26463 * NEWS: Fix note on clock function precision. Text by Roland
26464 McGrath.
26465
f4a29fba
RM
264662013-06-13 Roland McGrath <roland@hack.frob.com>
26467
26468 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26469 it into place only when and if the sanity check passes.
26470
1f24b9ad
JM
264712013-06-13 Joseph Myers <joseph@codesourcery.com>
26472
26473 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26474 output for whether conversion result is exact. Take argument
26475 indicating whether type is IBM long double.
26476 (round_for_all): Change need_exact field to ibm_ld.
26477 * stdlib/tst-strtod-round.c (struct exactness): New type.
26478 (struct test): Change bool ld_ok field to struct exactness exact.
26479 (TEST): Update all definitions for change to field.
26480 (tests): Regenerate array contents.
26481 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26482 field value. Check for IBM long double here.
26483 (do_test): Update calls to test_in_one_mode.
26484
58206c68
SP
264852013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26486
26487 [BZ #12515]
26488 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26489 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26490
2d6f4c5b 264912013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
26492
26493 [BZ #15605]
26494 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26495 generated by the compiler on loop optimizations.
26496 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26497 general definitions.
26498
94f2c076
JM
264992013-06-12 Joseph Myers <joseph@codesourcery.com>
26500
26501 * math/bug-nextafter.c: Include <math-tests.h>.
26502 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26503 the relevant type.
26504 * math/bug-nexttoward.c: Include <math-tests.h>.
26505 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26506 the relevant type.
26507 * math/test-misc.c: Include <math-tests.h>.
26508 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26509 the relevant type.
26510
e0e50a0a
AJ
265112013-06-12 Andreas Jaeger <aj@suse.de>
26512
26513 * po/ia.po: Update Interlingua translation from translation
26514 project.
26515
25061094
SP
265162013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26517
26518 * include/fenv.h: Include stdbool.h.
26519 (struct rm_ctx): New structure.
26520 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26521 Define macro.
26522 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26523 (SET_RESTORE_ROUNDF): Likewise.
26524 (SET_RESTORE_ROUNDL): Likewise.
26525 (SET_RESTORE_ROUND_NOEX): Likewise.
26526 (SET_RESTORE_ROUND_NOEXF): Likewise.
26527 (SET_RESTORE_ROUND_NOEXL): Likewise.
26528 (SET_RESTORE_ROUND_53BIT): Likewise.
26529 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26530 (libc_feresetround_noexf_ctx): Likewise.
26531 (libc_feresetround_noexl_ctx): Likewise.
26532 (libc_feholdsetround_53bit_ctx): Likewise.
26533 (libc_feresetround_53bit_ctx): Likewise.
26534 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26535 (libc_feholdexcept_setround_sse_ctx): New function.
26536 (libc_fesetenv_sse_ctx): Likewise.
26537 (libc_feupdateenv_sse_ctx): Likewise.
26538 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26539 (libc_feholdexcept_setround_387_ctx): Likewise.
26540 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26541 (libc_feholdsetround_387_prec_ctx): Likewise.
26542 (libc_feholdsetround_387_ctx): Likewise.
26543 (libc_feholdsetround_387_53bit_ctx): Likewise.
26544 (libc_feholdsetround_sse_ctx): Likewise.
26545 (libc_feresetround_sse_ctx): Likewise.
26546 (libc_feresetround_387_ctx): Likewise.
26547 (libc_feupdateenv_387_ctx): Likewise.
26548 (libc_feholdexcept_setroundf_ctx): Define macro.
26549 (libc_fesetenvf_ctx): Likewise.
26550 (libc_feupdateenvf_ctx): Likewise.
26551 (libc_feholdsetroundf_ctx): Likewise.
26552 (libc_feresetroundf_ctx): Likewise.
26553 (libc_feholdexcept_setround_ctx): Likewise.
26554 (libc_fesetenv_ctx): Likewise.
26555 (libc_feupdateenv_ctx): Likewise.
26556 (libc_feholdsetround_ctx): Likewise.
26557 (libc_feresetround_ctx): Likewise.
26558 (libc_feholdexcept_setroundl_ctx): Likewise.
26559 (libc_feupdateenvl_ctx): Likewise.
26560 (libc_feholdsetroundl_ctx): Likewise.
26561 (libc_feresetroundl_ctx): Likewise.
26562 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26563 (libc_feresetround_53bit_ctx): Likewise.
26564
59b30555
SP
265652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26566
26567 * locale/iso-639.def: Convert to UTF-8.
26568
f1d73d30
JM
265692013-06-11 Joseph Myers <joseph@codesourcery.com>
26570
26571 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26572 (EXCEPTION_TESTS_double): Likewise.
26573 (EXCEPTION_TESTS_long_double): Likewise.
26574 (EXCEPTION_TESTS): Likewise.
26575 * math/libm-test.inc (test_exceptions): Only test exceptions if
26576 EXCEPTION_TESTS (FLOAT).
26577
94aca5e7
SP
265782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26579
26580 * benchtests/Makefile (string-bench): Add strcpy_chk and
26581 stpcpy_chk.
26582 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26583 * benchtests/bench-stpcpy_chk.c: New file.
26584 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26585 * benchtests/bench-strcpy_chk.c: New file.
26586 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26587 code.
26588 (do_test): Likewise.
26589
fac0c5f2
RA
265902013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26591
26592 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26593 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26594 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26595 with tabs where appropriate.
26596 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26597 dl-procinfo.h.
26598 [PPC_PLATFORM_PPC440]: Likewise.
26599 [PPC_PLATFORM_PPC464]: Likewise.
26600 [PPC_PLATFORM_PPC476]: Likewise.
26601 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26602 ppc464, and ppc476 platform strings merging from ports/
26603 dl-procinfo.h.
26604
f22bc486
AS
266052013-06-11 Andreas Schwab <schwab@suse.de>
26606
26607 [BZ #14991]
26608 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26609 (from_ucs4_idx): Regenerate.
26610 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26611 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26612 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26613 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26614 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26615 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26616 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26617 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26618 from FROM_LOOP and TO_LOOP specific macros.
26619 (BODY): Handle combining characters.
26620 * iconvdata/BIG5HKSCS.irreversible: Update.
26621 * iconvdata/BIG5HKSCS.precomposed: New file.
26622 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26623 characters.
26624 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26625
c1f75dc3
SP
266262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26627
4eacded2
SP
26628 * include/sys/time.h: Fix indentation and add copyright header.
26629
fec799f8
SP
26630 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26631 (do_test): Likewise.
26632 * string/test-memchr.c (do_one_test): Likewise.
26633 (do_test): Likewise.
26634 * string/test-memcmp.c (do_one_test): Likewise.
26635 (do_test): Likewise.
26636 * string/test-memcpy.c (do_one_test): Likewise.
26637 (do_test): Likewise.
26638 * string/test-memmem.c (do_one_test): Likewise.
26639 (do_test): Likewise.
26640 (do_random_tests): Likewise.
26641 * string/test-memmove.c (do_one_test): Likewise.
26642 (do_test): Likewise.
26643 * string/test-memset.c (do_one_test): Likewise.
26644 (do_test): Likewise.
26645 * string/test-rawmemchr.c (do_one_test): Likewise.
26646 (do_test): Likewise.
26647 * string/test-strcasecmp.c (do_one_test): Likewise.
26648 (do_test): Likewise.
26649 * string/test-strcasestr.c (do_one_test): Likewise.
26650 (do_test): Likewise.
26651 * string/test-strcat.c (do_one_test): Likewise.
26652 (do_test): Likewise.
26653 * string/test-strchr.c (do_one_test): Likewise.
26654 (do_test): Likewise.
26655 * string/test-strcmp.c (do_one_test): Likewise.
26656 (do_test): Likewise.
26657 * string/test-strcpy.c (do_one_test): Likewise.
26658 (do_test): Likewise.
26659 * string/test-string.h: Likewise.
26660 (test_init): Likewise.
26661 * string/test-strlen.c (do_one_test): Likewise.
26662 (do_test): Likewise.
26663 * string/test-strncasecmp.c (do_one_test): Likewise.
26664 (do_test): Likewise.
26665 * string/test-strncat.c (do_one_test): Likewise.
26666 (do_test): Likewise.
26667 * string/test-strncmp.c (do_one_test): Likewise.
26668 (do_test_limit): Likewise.
26669 (do_test): Likewise.
26670 * string/test-strncpy.c (do_one_test): Likewise.
26671 (do_test): Likewise.
26672 * string/test-strnlen.c (do_one_test): Likewise.
26673 (do_test): Likewise.
26674 * string/test-strpbrk.c (do_one_test): Likewise.
26675 (do_test): Likewise.
26676 * string/test-strrchr.c (do_one_test): Likewise.
26677 (do_test): Likewise.
26678 * string/test-strspn.c (do_one_test): Likewise.
26679 (do_test): Likewise.
26680 * string/test-strstr.c (do_one_test): Likewise.
26681 (do_test): Likewise.
26682
97020474
SP
26683 * benchtests/Makefile (string-bench): Add string benchmarks.
26684 * benchtests/bench-bcopy-ifunc.c: New file.
26685 * benchtests/bench-bcopy.c: New file.
26686 * benchtests/bench-bzero-ifunc.c: New file.
26687 * benchtests/bench-bzero.c: New file.
26688 * benchtests/bench-memccpy-ifunc.c: New file.
26689 * benchtests/bench-memccpy.c: New file.
26690 * benchtests/bench-memchr-ifunc.c: New file.
26691 * benchtests/bench-memchr.c: New file.
26692 * benchtests/bench-memcmp-ifunc.c: New file.
26693 * benchtests/bench-memcmp.c: New file.
26694 * benchtests/bench-memmem-ifunc.c: New file.
26695 * benchtests/bench-memmem.c: New file.
26696 * benchtests/bench-memmove-ifunc.c: New file.
26697 * benchtests/bench-memmove.c: New file.
26698 * benchtests/bench-mempcpy-ifunc.c: New file.
26699 * benchtests/bench-mempcpy.c: New file.
26700 * benchtests/bench-memset-ifunc.c: New file.
26701 * benchtests/bench-memset.c: New file.
26702 * benchtests/bench-rawmemchr-ifunc.c: New file.
26703 * benchtests/bench-rawmemchr.c: New file.
26704 * benchtests/bench-stpcpy-ifunc.c: New file.
26705 * benchtests/bench-stpcpy.c: New file.
26706 * benchtests/bench-stpncpy-ifunc.c: New file.
26707 * benchtests/bench-stpncpy.c: New file.
26708 * benchtests/bench-strcasecmp-ifunc.c: New file.
26709 * benchtests/bench-strcasecmp.c: New file.
26710 * benchtests/bench-strcasestr-ifunc.c: New file.
26711 * benchtests/bench-strcasestr.c: New file.
26712 * benchtests/bench-strcat-ifunc.c: New file.
26713 * benchtests/bench-strcat.c: New file.
26714 * benchtests/bench-strchr-ifunc.c: New file.
26715 * benchtests/bench-strchr.c: New file.
26716 * benchtests/bench-strchrnul-ifunc.c: New file.
26717 * benchtests/bench-strchrnul.c: New file.
26718 * benchtests/bench-strcmp-ifunc.c: New file.
26719 * benchtests/bench-strcmp.c: New file.
26720 * benchtests/bench-strcpy-ifunc.c: New file.
26721 * benchtests/bench-strcpy.c: New file.
26722 * benchtests/bench-strcspn-ifunc.c: New file.
26723 * benchtests/bench-strcspn.c: New file.
26724 * benchtests/bench-strlen-ifunc.c: New file.
26725 * benchtests/bench-strlen.c: New file.
26726 * benchtests/bench-strncasecmp-ifunc.c: New file.
26727 * benchtests/bench-strncasecmp.c: New file.
26728 * benchtests/bench-strncat-ifunc.c: New file.
26729 * benchtests/bench-strncat.c: New file.
26730 * benchtests/bench-strncmp-ifunc.c: New file.
26731 * benchtests/bench-strncmp.c: New file.
26732 * benchtests/bench-strncpy-ifunc.c: New file.
26733 * benchtests/bench-strncpy.c: New file.
26734 * benchtests/bench-strnlen-ifunc.c: New file.
26735 * benchtests/bench-strnlen.c: New file.
26736 * benchtests/bench-strpbrk-ifunc.c: New file.
26737 * benchtests/bench-strpbrk.c: New file.
26738 * benchtests/bench-strrchr-ifunc.c: New file.
26739 * benchtests/bench-strrchr.c: New file.
26740 * benchtests/bench-strspn-ifunc.c: New file.
26741 * benchtests/bench-strspn.c: New file.
26742 * benchtests/bench-strstr-ifunc.c: New file.
26743 * benchtests/bench-strstr.c: New file.
26744
c1f75dc3
SP
26745 * benchtests/Makefile: Disable parallel execution of targets.
26746 (string-bench): Add memcpy.
26747 (benchset): New variable to store a list of benchmark sets.
26748 (bench-func): Renamed from bench.
26749 (bench-set): New target.
26750 (bench): Depend on bench-func and bench-set.
26751 * benchtests/README: Add section on benchmark sets.
26752 * benchtests/bench-memcpy-ifunc.c: New file.
26753 * benchtests/bench-memcpy.c: New file.
26754 * benchtests/bench-string.h: New file.
26755
50fd745b
AS
267562013-06-11 Andreas Schwab <schwab@suse.de>
26757
26758 [BZ #15577]
26759 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26760 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26761 values in the triple.
26762 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26763 terminator in the group key.
26764
3ee7e9fe
AJ
267652013-06-11 Andreas Jaeger <aj@suse.de>
26766
26767 * po/zh_TW.po: Update Chinese (traditional) translation from
26768 translation project.
26769
89fb6835
SP
267702013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26771
26772 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26773 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26774 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26775 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26776 (clock_getcpuclockid): Likewise.
26777 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26778 Add weak_alias and libc_hidden_def.
26779 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26780 * rt/clock_gettime.c (clock_gettime): Rename to
26781 __clock_gettime. Add weak_alias and libc_hidden_def.
26782 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26783 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26784 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26785 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26786 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26787 Likewise.
26788 * rt/clock_settime.c (clock_settime): Rename to
26789 __clock_settime. Add weak_alias and libc_hidden_def.
26790 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26791
0efa6f8b
JM
267922013-06-10 Joseph Myers <joseph@codesourcery.com>
26793
b8c61b4b
JM
26794 * mach/err_boot.sub: Remove trailing whitespace.
26795 * mach/err_ipc.sub: Likewise.
26796 * mach/err_mach.sub: Likewise.
26797
0efa6f8b
JM
26798 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26799 (ROUNDING_TESTS_double): Likewise.
26800 (ROUNDING_TESTS_long_double): Likewise.
26801 (ROUNDING_TESTS): Likewise.
26802 * math/libm-test.inc: Include <math-tests.h>.
26803 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26804 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26805 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26806 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26807
50b818bf
SP
268082013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26809
26810 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26811 of assigning.
26812
60d2f8f3
JM
268132013-06-08 Joseph Myers <joseph@codesourcery.com>
26814
4902d2c3
JM
26815 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26816 otherwise empty TRANS lines.
26817 * sysdeps/gnu/errlist.c: Regenerated.
26818
60d2f8f3
JM
26819 * catgets/gencat.c (error_print): Use (void) in function
26820 definition.
26821 * crypt/crypt_util.c (__init_des): Likewise.
26822 * crypt/speeds.c (Stop): Likewise.
26823 (main): Likewise.
26824 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26825 * inet/ruserpass.c (token): Likewise.
26826 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26827 * intl/localealias.c (extend_alias_table): Likewise.
26828 * intl/plural-exp.c (init_germanic_plural): Likewise.
26829 * libio/fcloseall.c (__fcloseall): Likewise.
26830 * libio/genops.c (_IO_flush_all): Likewise.
26831 (_IO_flush_all_linebuffered): Likewise.
26832 (_IO_cleanup): Likewise.
26833 (_IO_iter_begin): Likewise.
26834 (_IO_iter_end): Likewise.
26835 (_IO_list_lock): Likewise.
26836 (_IO_list_unlock): Likewise.
26837 (_IO_list_resetlock): Likewise.
26838 * libio/getchar.c (getchar): Likewise.
26839 * libio/getchar_u.c (getchar_unlocked): Likewise.
26840 * libio/getwchar.c (getwchar): Likewise.
26841 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26842 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26843 * login/getpt.c (__getpt): Likewise.
26844 * login/tst-utmp.c (main): Likewise.
26845 * malloc/hooks.c (__malloc_check_init): Likewise.
26846 * malloc/malloc.c (__malloc_stats): Likewise.
26847 * malloc/mtrace.c (tr_break): Likewise.
26848 (mtrace): Likewise.
26849 (muntrace): Likewise.
26850 * misc/fstab.c (endfsent): Likewise.
26851 * misc/getclktck.c (__getclktck): Likewise.
26852 * misc/getdtsz.c (__getdtablesize): Likewise.
26853 * misc/gethostid.c (gethostid): Likewise.
26854 * misc/getpagesize.c (__getpagesize): Likewise.
26855 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26856 (__get_nprocs): Likewise.
26857 (__get_phys_pages): Likewise.
26858 (__get_avphys_pages): Likewise.
26859 * misc/getttyent.c (getttyent): Likewise.
26860 (setttyent): Likewise.
26861 (endttyent): Likewise.
26862 * misc/getusershell.c (getusershell): Likewise.
26863 (endusershell): Likewise.
26864 (setusershell): Likewise.
26865 (initshells): Likewise.
26866 * misc/hsearch.c (__hdestroy): Likewise.
26867 * misc/sync.c (sync): Likewise.
26868 * misc/syslog.c (closelog_internal): Likewise.
26869 (closelog): Likewise.
26870 * misc/ttyslot.c (ttyslot): Likewise.
26871 * misc/vhangup.c (vhangup): Likewise.
26872 * posix/fork.c (__fork): Likewise.
26873 * posix/getegid.c (__getegid): Likewise.
26874 * posix/geteuid.c (__geteuid): Likewise.
26875 * posix/getgid.c (__getgid): Likewise.
26876 * posix/getpid.c (__getpid): Likewise.
26877 * posix/getppid.c (__getppid): Likewise.
26878 * posix/getuid.c (__getuid): Likewise.
26879 * posix/pause.c (pause): Likewise.
26880 * posix/setpgrp.c (setpgrp): Likewise.
26881 * posix/setsid.c (__setsid): Likewise.
26882 * posix/test-vfork.c (noop): Likewise.
26883 * resolv/gethnamaddr.c (_endhtent): Likewise.
26884 (_gethtent): Likewise.
26885 (ht_endhostent): Likewise.
26886 (gethostent): Likewise.
26887 (dns_service): Likewise.
26888 * stdlib/drand48.c (drand48): Likewise.
26889 * stdlib/lrand48.c (lrand48): Likewise.
26890 * stdlib/mrand48.c (mrand48): Likewise.
26891 * stdlib/rand.c (rand): Likewise.
26892 * stdlib/random.c (__random): Likewise.
26893 * stdlib/setenv.c (clearenv): Likewise.
26894 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26895 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26896 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26897 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26898 (__get_nprocs): Likewise.
26899 (__get_phys_pages): Likewise.
26900 (__get_avphys_pages): Likewise.
26901 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26902 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26903 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26904 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26905 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26906 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26907 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26908 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26909 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26910 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26911 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26912 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26913 * sysdeps/posix/clock.c (clock): Likewise.
26914 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26915 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26916 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26917 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26918 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26919 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26920 (__get_nprocs_conf): Likewise.
26921 (__get_phys_pages): Likewise.
26922 (__get_avphys_pages): Likewise.
26923 * time/clock.c (clock): Likewise.
26924 * time/tzset.c (__tzname_max): Likewise.
26925
2e09a79a
JM
269262013-06-07 Joseph Myers <joseph@codesourcery.com>
26927
26928 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26929 (__bswap_32): Do not use "register".
26930 * crypt/crypt.c (_ufc_doit_r): Likewise.
26931 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26932 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26933 * gmon/gmon.c (__monstartup): Likewise.
26934 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26935 * hurd/hurdmalloc.c (more_memory): Likewise.
26936 (malloc): Likewise.
26937 (free): Likewise.
26938 (realloc): Likewise.
26939 (malloc_fork_prepare): Likewise.
26940 (malloc_fork_parent): Likewise.
26941 (malloc_fork_child): Likewise.
26942 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26943 (_svcauth_des): Likewise.
26944 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26945 * inet/inet_net.c (inet_network): Likewise.
26946 * inet/inet_netof.c (inet_netof): Likewise.
26947 * inet/rcmd.c (__validuser2_sa): Likewise.
26948 * io/fts.c (fts_open): Likewise.
26949 (fts_load): Likewise.
26950 (fts_close): Likewise.
26951 (fts_read): Likewise.
26952 (fts_children): Likewise.
26953 (fts_build): Likewise.
26954 (fts_stat): Likewise.
26955 (fts_sort): Likewise.
26956 (fts_alloc): Likewise.
26957 (fts_lfree): Likewise.
26958 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26959 (_IO_file_xsgetn): Likewise.
26960 (_IO_file_xsgetn_mmap): Likewise.
26961 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26962 (_IO_cookie_write): Likewise.
26963 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26964 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26965 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26966 * malloc/obstack.c (_obstack_begin): Likewise.
26967 (_obstack_begin_1): Likewise.
26968 (_obstack_newchunk): Likewise.
26969 (_obstack_allocated_p): Likewise.
26970 (obstack_free): Likewise.
26971 (_obstack_memory_used): Likewise.
26972 * misc/getttyent.c (getttynam): Likewise.
26973 (getttyent): Likewise.
26974 (skip): Likewise.
26975 (value): Likewise.
26976 * misc/getusershell.c (initshells): Likewise.
26977 * misc/syslog.c (__vsyslog_chk): Likewise.
26978 * misc/ttyslot.c (ttyslot): Likewise.
26979 * nis/nis_hash.c (__nis_hash): Likewise.
26980 * posix/fnmatch_loop.c (FCT): Likewise.
26981 * posix/getconf.c (print_all): Likewise.
26982 (main): Likewise.
26983 * posix/getopt.c (exchange): Likewise.
26984 * posix/glob.c (globfree): Likewise.
26985 (prefix_array): Likewise.
26986 (__glob_pattern_type): Likewise.
26987 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26988 (NS_GET32): Likewise.
26989 (NS_PUT16): Likewise.
26990 (NS_PUT32): Likewise.
26991 * resolv/gethnamaddr.c (getanswer): Likewise.
26992 (gethostbyname2): Likewise.
26993 (gethostbyaddr): Likewise.
26994 (_gethtent): Likewise.
26995 (_gethtbyname2): Likewise.
26996 (_gethtbyaddr): Likewise.
26997 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26998 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26999 * resolv/res_init.c (__res_vinit): Likewise.
27000 (net_mask): Likewise.
27001 * resolv/res_mkquery.c (outchar): Likewise.
27002 (PRINT): Likewise.
27003 * stdio-common/printf_fp.c (outchar): Likewise.
27004 (PRINT): Likewise.
27005 * stdio-common/printf_fphex.c (outchar): Likewise.
27006 (PRINT): Likewise.
27007 * stdio-common/printf_size.c (outchar): Likewise.
27008 (PRINT): Likewise.
27009 * stdio-common/test_rdwr.c (main): Likewise.
27010 * stdio-common/tfformat.c (matches): Likewise.
27011 * stdio-common/vfprintf.c (outchar): Likewise.
27012 (printf_unknown): Likewise.
27013 (buffered_vfprintf): Likewise.
27014 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27015 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27016 (ReadFile): Likewise.
27017 * stdlib/qsort.c (SWAP): Likewise.
27018 (_quicksort): Likewise.
27019 * stdlib/setenv.c (__add_to_environ): Likewise.
27020 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27021 * stdlib/strtol_l.c (__strtol_l): Likewise.
27022 * stdlib/tst-strtod.c (main): Likewise.
27023 * stdlib/tst-strtol.c (main): Likewise.
27024 * stdlib/tst-strtoll.c (main): Likewise.
27025 * string/bits/string2.h (__strcmp_cc): Likewise.
27026 (__strcmp_cg): Likewise.
27027 (__strcspn_c1): Likewise.
27028 (__strcspn_c2): Likewise.
27029 (__strcspn_c3): Likewise.
27030 (__strspn_c1): Likewise.
27031 (__strspn_c2): Likewise.
27032 (__strspn_c3): Likewise.
27033 (__strsep_1c): Likewise.
27034 (__strsep_2c): Likewise.
27035 (__strsep_3c): Likewise.
27036 * string/memccpy.c (__memccpy): Likewise.
27037 * string/stpcpy.c (__stpcpy): Likewise.
27038 * string/strcmp.c (strcmp): Likewise.
27039 * string/strrchr.c (strrchr): Likewise.
27040 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27041 Likewise.
27042 * sysdeps/mach/hurd/getcwd.c
27043 (_hurd_canonicalize_directory_name_internal): Likewise.
27044 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27045 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27046 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27047 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27048 Likewise, in both definitions.
27049 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27050 definitions.
27051 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27052 64] (__bswap_64): Likewise.
27053 * time/test_time.c (main): Likewise.
27054 * time/tzfile.c (__tzfile_read): Likewise.
27055 (__tzfile_compute): Likewise.
27056 * time/tzset.c (__tzset_parse_tz): Likewise.
27057 (tzset_internal): Likewise.
27058 (compute_change): Likewise.
27059 * wcsmbs/wcscat.c (__wcscat): Likewise.
27060 * wcsmbs/wcschr.c (wcschr): Likewise.
27061 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27062 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27063 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27064 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27065 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27066 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27067 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27068 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27069 * wcsmbs/wmemset.c (wmemset): Likewise.
27070
9e54314b
JM
270712013-06-06 Joseph Myers <joseph@codesourcery.com>
27072
27073 * scripts/config.guess: Update to version 2013-05-16.
27074 * scripts/config.sub: Update to version 2013-04-24.
27075 * scripts/install-sh: Update to version 2011-11-20.07.
27076 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27077 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27078
350635a5
OB
270792013-06-06 Ondřej Bílka <neleai@seznam.cz>
27080
27081 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27082 * elf/sln.c: Likewise.
27083 * hurd/hurd/ioctl.h: Likewise.
27084 * hurd/hurdmalloc.c: Likewise.
27085 * hurd/xattr.c: Likewise.
27086 * include/shlib-compat.h: Likewise.
27087 * inet/ruserpass.c: Likewise.
27088 * libio/iofgets_u.c: Likewise.
27089 * libio/iofgetws_u.c: Likewise.
27090 * locale/programs/ld-identification.c: Likewise.
27091 * locale/programs/ld-time.c: Likewise.
27092 * mach/msg-destroy.c: Likewise.
27093 * nss/nss_files/files-netgrp.c: Likewise.
27094 * resolv/res_data.c: Likewise.
27095 * soft-fp/op-1.h: Likewise.
27096 * soft-fp/op-2.h: Likewise.
27097 * soft-fp/op-4.h: Likewise.
27098 * soft-fp/op-common.h: Likewise.
27099 * stdio-common/printf_fphex.c: Likewise.
27100 * stdlib/strtod_l.c: Likewise.
27101 * sunrpc/rpc/clnt.h: Likewise.
27102 * sysdeps/generic/framestate.c: Likewise.
27103 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27104 * sysdeps/i386/bsd-setjmp.S: Likewise.
27105 * sysdeps/i386/__longjmp.S: Likewise.
27106 * sysdeps/i386/setjmp.S: Likewise.
27107 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27108 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27109 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27110 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27111 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27112 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27113 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27114 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27115 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27116 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27117 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27118 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27119 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27120 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27121 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27122 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27123 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27124 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27125 * sysdeps/ieee754/support.c: Likewise.
27126 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27127 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27128 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27129 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27130 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27131 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27132 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27133 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27134 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27135 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27136 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27137 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27138 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27139 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27140 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27141 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27142 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27144
44a988af
OB
271452013-06-05 Ondřej Bílka <neleai@seznam.cz>
27146
25506f09 27147 * posix/transbug.c: Remove executable mode.
44a988af 27148
9c84384c
JM
271492013-06-05 Joseph Myers <joseph@codesourcery.com>
27150
27151 * crypt/speeds.c: Remove trailing whitespace.
27152 * dlfcn/default.c: Likewise.
27153 * elf/ifuncdep2.c: Likewise.
27154 * elf/ifuncmain1.c: Likewise.
27155 * elf/ifuncmain1vis.c: Likewise.
27156 * elf/testobj.h: Likewise.
27157 * elf/tst-stackguard1.c: Likewise.
27158 * gmon/sys/gmon.h: Likewise.
27159 * hurd/hurdmsg.c: Likewise.
27160 * hurd/new-fd.c: Likewise.
27161 * hurd/ports-get.c: Likewise.
27162 * iconvdata/ibm1008_420.c: Likewise.
27163 * inet/tst-getni1.c: Likewise.
27164 * inet/tst-getni2.c: Likewise.
27165 * libio/ioungetc.c: Likewise.
27166 * libio/wfiledoalloc.c: Likewise.
27167 * manual/libm-err-tab.pl: Likewise.
27168 * math/w_dremf.c: Likewise.
27169 * misc/ftruncate.c: Likewise.
27170 * posix/bug-glob2.c: Likewise.
27171 * posix/tst-pcre.c: Likewise.
27172 * posix/wait4.c: Likewise.
27173 * resolv/README: Likewise.
27174 * resolv/res_debug.h: Likewise.
27175 * resolv/tst-inet_ntop.c: Likewise.
27176 * setjmp/bug269-setjmp.c: Likewise.
27177 * soft-fp/extended.h: Likewise.
27178 * soft-fp/op-1.h: Likewise.
27179 * soft-fp/op-2.h: Likewise.
27180 * soft-fp/op-4.h: Likewise.
27181 * soft-fp/op-8.h: Likewise.
27182 * soft-fp/testit.c: Likewise.
27183 * stdio-common/bug16.c: Likewise.
27184 * stdlib/random.c: Likewise.
27185 * sunrpc/rpcsvc/rquota.x: Likewise.
27186 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27187 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27188 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27189 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27190 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27191 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27192 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27193 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27194 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27195 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27196 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27197 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27198 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27199 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27200 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27201 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27202 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27203 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27204 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27205 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27206 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27207 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27208 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27209 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27210 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27211 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27212 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27213 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27214 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27215 * sysdeps/ieee754/s_lib_version.c: Likewise.
27216 * sysdeps/mach/hurd/check_fds.c: Likewise.
27217 * sysdeps/mach/hurd/getsockname.c: Likewise.
27218 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27219 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27220 * sysdeps/powerpc/bits/link.h: Likewise.
27221 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27222 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27223 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27224 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27225 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27226 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27227 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27228 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27229 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27230 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27231 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27232 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27233 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27234 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27235 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27236 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27237 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27238 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27239 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27240 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27241 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27242 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27243 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27244 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27245 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27246 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27247 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27248 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27249 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27250 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27251 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27252 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27253 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27254 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27255 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27256 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27257 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27258 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27259 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27260 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27261 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27262 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27263 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27264 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27265 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27266 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27267 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27268 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27269 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27270 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27271 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27272 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27273 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27274 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27275 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27276 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27277 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27278 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27279 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27280 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27281 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27282 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27283 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27284 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27285 * sysdeps/powerpc/sysdep.h: Likewise.
27286 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27287 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27288 * sysdeps/sh/dl-trampoline.S: Likewise.
27289 * sysdeps/sh/memset.S: Likewise.
27290 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27291 * sysdeps/sh/strlen.S: Likewise.
27292 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27293 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27294 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27295 * sysdeps/sparc/sparc32/rem.S: Likewise.
27296 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27297 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27298 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27299 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27300 * sysdeps/sparc/sparc32/urem.S: Likewise.
27301 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27302 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27303 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27304 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27305 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27306 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27307 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27308 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27309 * sysdeps/unix/bsd/times.c: Likewise.
27310 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27311 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27315 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27316 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27317 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27318 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27319 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27320 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27321 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27322 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27323 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27324 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27325 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27326 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27327 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27328 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27329 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27330 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27331 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27332 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27333 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27334 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27335 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27336 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27337 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27338 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27339 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27340 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27341 * sysdeps/x86_64/strcspn.S: Likewise.
27342
869378a5
RA
273432013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27344
27345 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27346 generated file. Regenerate properly from gen-translit.pl.
27347 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27348 locale/C-translit.h.
27349
840e2943
AS
273502013-06-05 Andreas Schwab <schwab@suse.de>
27351
27352 [BZ #15100]
27353 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27354 week as 6 instead of -1.
27355 * time/tst-strptime.c (day_tests): Add test case.
27356
4c60cb0c
SP
273572013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27358
27359 * sysdeps/generic/math_private.h
27360 (libc_feholdexcept_setround_53bit): Replace with
27361 libc_feholdsetround_53bit.
27362 (libc_feupdateenv_53bit): Replace with
27363 libc_feresetround_53bit.
27364 (SET_RESTORE_ROUND_53BIT): Adjust.
27365
d180203e
SP
273662013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27367
96df079a
SP
27368 * string/test-strchrnul.c: Add copyright header.
27369
d180203e
SP
27370 * posix/tst-getaddrinfo4.c: Increase test timeout.
27371
8b0ccb2d
CD
273722013-06-03 Carlos O'Donell <carlos@redhat.com>
27373
27374 [BZ #15536]
27375 * math/libm-test.inc (MAX_EXP): Remove
27376 (MIN_EXP): Define.
27377 (ulp): Use MIN_EXP - MANT_DIG.
27378 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27379
3b3c4d40
CD
273802013-05-31 Carlos O'Donell <carlos@redhat.com>
27381
27382 * po/be.po: Revert last change.
27383 * po/zh_CN.po: Likewise.
27384 * po/header.pot: Likewise.
27385
fab7ce3f
JM
273862013-05-31 Joseph Myers <joseph@codesourcery.com>
27387
27388 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27389 link-libc-deps to empty as target-specific variable.
27390 * Makerules (link-libc-args): New variable.
27391 (libc-for-link): Likewise.
27392 (link-libc-deps): Likewise.
27393 (lib%.so): Depend on $(link-libc-deps). Link with
27394 $(link-libc-args).
27395 (build-module): Link with $(link-libc-args).
27396 (build-module-asneeded): Likewise.
27397 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27398 list of objects.
27399 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27400 target-specific variable.
27401 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27402 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27403 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27404 libc.
27405 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27406 libc and ld.so.
27407 ($(objpfx)libpcprofile.so): Likewise.
27408 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27409 libc_nonshared.a.
27410 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27411 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27412 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27413 $(link-libc-deps).
27414 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27415 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27416 * login/Makefile ($(objpfx)libutil.so): Likewise.
27417 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27418 * math/Makefile ($(objpfx)libm.so): Likewise.
27419 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27420 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27421 variable instead of depending directly on libc.
27422 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27423 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27424 $(link-libc-deps).
27425 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27426 libc.
27427 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27428 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27429 ($(objpfx)libanl.so): Likewise.
27430 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27431 ld.so.
27432 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27433 $(link-libc-deps).
27434 * sysdeps/i386/fpu/Makefile: Remove file.
27435 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27436 ($(objpfx)libm.so): Remove dependency on ld.so.
27437
eca5920c
PF
274382013-05-30 Patsy Franklin <pfrankli@redhat.com>
27439
27440 [BZ # 15553]
27441 * nis/yp_xdr.c (XDRMAXNAME): Define.
27442 (XDRMAXRECORD): Define.
27443 (xdr_domainname): Use XDRMAXNAME.
27444 (xdr_mapname): Likewise.
27445 (xdr_peername): Likewise.
27446 (xdr_keydat): Use XDRMAXRECORD.
27447 (xdr_valdat): Likewise.
27448
274492013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27450
27451 [BZ #14256]
27452 * manual/errno.texi (ESTALE): Update to account for more than
27453 just NFS file systems.
27454 * sysdeps/gnu/errlist.c: Regenerated.
27455
b9375348
SP
274562013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27457
27458 [BZ #15465]
27459 * elf/Makefile (tests): Add tst-null-argv.
27460 (modules-names): Add tst-null-argv-lib.
27461 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27462 (tst-null-argv-ENV): Set environment for tst-null-argv.
27463 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27464 (RTLD_PROGNAME): New macro.
27465 * elf/tst-null-argv.c: New test case.
27466 * elf/tst-null-argv-lib.c: Library for test case.
27467 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27468 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27469 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27470 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27471 * elf/dl-init.c (call_init): Likewise.
27472 (_dl_init): Likewise.
27473 * elf/dl-load.c (print_search_path): Likewise.
27474 (_dl_map_object): Likewise.
27475 * elf/dl-lookup.c (do_lookup_x): Likewise.
27476 (add_dependency): Likewise.
27477 (_dl_lookup_symbol_x): Likewise.
27478 (_dl_debug_bindings): Likewise.
27479 * elf/dl-open.c (_dl_show_scope): Likewise.
27480 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27481 * elf/dl-version.c (match_symbol): Likewise.
27482 (_dl_check_map_versions): Likewise.
27483 * elf/rtld.c (dl_main): Likewise.
27484 (print_unresolved): Use RTLD_PROGNAME.
27485 (print_missing_version): Likewise.
27486 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27487 (elf_machine_rela): Likewise.
27488 * sysdeps/powerpc/powerpc32/dl-machine.c
27489 (__process_machine_rela): Likewise.
27490 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27491 Likewise.
27492 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27493 Likewise.
27494 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27495 Likewise.
27496 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27497 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27498 Likewise.
27499 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27500 Likewise.
27501 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27502
8a9f20c8
CD
275032013-05-28 Carlos O'Donell <carlos@redhat.com>
27504
27505 * po/be.po: Add descriptive title.
27506 * po/zh_CN.po: Likewise.
27507 * po/header.pot: Likewise.
27508
0e60d68e
MF
275092013-05-28 Mike Frysinger <vapier@gentoo.org>
27510
27511 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27512 error message.
27513 (enlarge_archive): Likewise.
27514
56b672e9
BN
275152013-05-28 Ben North <ben@redfrontdoor.org>
27516
27517 * manual/arith.texi (frexp): It is the magnitude of the return
27518 value which lies in [0.5, 1), not the return value itself.
27519
5e056687
AZ
275202013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27521
27522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27523
2b66ef5d
TS
275242013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27525
528c2405
TS
27526 * stdio-common/bug26.c (main): Correct fscanf template.
27527
07b4c13d
TS
27528 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27529 declare _dl_skip_args.
27530
ec9dd97c
TS
27531 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27532 Don't declare.
27533
2b66ef5d
TS
27534 * manual/platform.texi: Add missing @end deftypefun.
27535
4f8dfe27
JM
275362013-05-24 Joseph Myers <joseph@codesourcery.com>
27537
0323d086
JM
27538 [BZ #15529]
27539 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27540 bit of mantissa of 2^16382.
27541 * math/libm-test.inc (hypot_test_data): Add more tests.
27542
dd4259b9
JM
27543 * math/libm-test.inc: Add drem and pow10 to list of tested
27544 functions.
27545 (pow10_test): New function.
27546 (drem_test): Likewise.
27547 (drem_test_tonearest): Likewise.
27548 (drem_test_towardzero): Likewise.
27549 (drem_test_downward): Likewise.
27550 (drem_test_upward): Likewise.
27551 (main): Call the new functions.
27552
4f8dfe27
JM
27553 * math/libm-test.inc (finite_test_data): Remove.
27554 (finite_test): Run tests from isfinite_test_data.
27555 (gamma_test_data): Remove.
27556 (gamma_test): Run tests from lgamma_test_data.
27557 * sysdeps/i386/fpu/libm-test-ulps: Update.
27558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27559
d116b7c4
AZ
275602013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27561
27562 * manual/platform.texi: Add PowerPC PPR function set documentation.
27563 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27564 implementation.
27565
e96e3767
CD
275662013-05-24 Carlos O'Donell <carlos@redhat.com>
27567
27568 * math/libm-test.inc (MAX_EXP): Define.
27569 (ULPDIFF): Define.
27570 (ulp): New function.
27571 (check_float_internal): Use ULPDIFF.
27572 (cpow_test): Disable failing test.
27573 (check_ulp): Test ulp() implemetnation.
27574 (main): Call check_ulp before starting tests.
27575
b679a606
JM
275762013-05-24 Joseph Myers <joseph@codesourcery.com>
27577
e8bdba36
JM
27578 * math/gen-libm-test.pl (generate_testfile): Do not handle
27579 START_DATA and END_DATA.
27580 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27581 END_DATA.
27582 (acos_tonearest_test_data): Likewise.
27583 (acos_towardzero_test_data): Likewise.
27584 (acos_downward_test_data): Likewise.
27585 (acos_upward_test_data): Likewise.
27586 (acosh_test_data): Likewise.
27587 (asin_test_data): Likewise.
27588 (asin_tonearest_test_data): Likewise.
27589 (asin_towardzero_test_data): Likewise.
27590 (asin_downward_test_data): Likewise.
27591 (asin_upward_test_data): Likewise.
27592 (asinh_test_data): Likewise.
27593 (atan_test_data): Likewise.
27594 (atanh_test_data): Likewise.
27595 (atan2_test_data): Likewise.
27596 (cabs_test_data): Likewise.
27597 (cacos_test_data): Likewise.
27598 (cacosh_test_data): Likewise.
27599 (carg_test_data): Likewise.
27600 (casin_test_data): Likewise.
27601 (casinh_test_data): Likewise.
27602 (catan_test_data): Likewise.
27603 (catanh_test_data): Likewise.
27604 (cbrt_test_data): Likewise.
27605 (ccos_test_data): Likewise.
27606 (ccosh_test_data): Likewise.
27607 (ceil_test_data): Likewise.
27608 (cexp_test_data): Likewise.
27609 (cimag_test_data): Likewise.
27610 (clog_test_data): Likewise.
27611 (clog10_test_data): Likewise.
27612 (conj_test_data): Likewise.
27613 (copysign_test_data): Likewise.
27614 (cos_test_data): Likewise.
27615 (cos_tonearest_test_data): Likewise.
27616 (cos_towardzero_test_data): Likewise.
27617 (cos_downward_test_data): Likewise.
27618 (cos_upward_test_data): Likewise.
27619 (cosh_test_data): Likewise.
27620 (cosh_tonearest_test_data): Likewise.
27621 (cosh_towardzero_test_data): Likewise.
27622 (cosh_downward_test_data): Likewise.
27623 (cosh_upward_test_data): Likewise.
27624 (cpow_test_data): Likewise.
27625 (cproj_test_data): Likewise.
27626 (creal_test_data): Likewise.
27627 (csin_test_data): Likewise.
27628 (csinh_test_data): Likewise.
27629 (csqrt_test_data): Likewise.
27630 (ctan_test_data): Likewise.
27631 (ctan_tonearest_test_data): Likewise.
27632 (ctan_towardzero_test_data): Likewise.
27633 (ctan_downward_test_data): Likewise.
27634 (ctan_upward_test_data): Likewise.
27635 (ctanh_test_data): Likewise.
27636 (ctanh_tonearest_test_data): Likewise.
27637 (ctanh_towardzero_test_data): Likewise.
27638 (ctanh_downward_test_data): Likewise.
27639 (ctanh_upward_test_data): Likewise.
27640 (erf_test_data): Likewise.
27641 (erfc_test_data): Likewise.
27642 (exp_test_data): Likewise.
27643 (exp_tonearest_test_data): Likewise.
27644 (exp_towardzero_test_data): Likewise.
27645 (exp_downward_test_data): Likewise.
27646 (exp_upward_test_data): Likewise.
27647 (exp10_test_data): Likewise.
27648 (exp2_test_data): Likewise.
27649 (expm1_test_data): Likewise.
27650 (fabs_test_data): Likewise.
27651 (fdim_test_data): Likewise.
27652 (finite_test_data): Likewise.
27653 (floor_test_data): Likewise.
27654 (fma_test_data): Likewise.
27655 (fma_towardzero_test_data): Likewise.
27656 (fma_downward_test_data): Likewise.
27657 (fma_upward_test_data): Likewise.
27658 (fmax_test_data): Likewise.
27659 (fmin_test_data): Likewise.
27660 (fmod_test_data): Likewise.
27661 (fpclassify_test_data): Likewise.
27662 (frexp_test_data): Likewise.
27663 (gamma_test_data): Likewise.
27664 (hypot_test_data): Likewise.
27665 (ilogb_test_data): Likewise.
27666 (isfinite_test_data): Likewise.
27667 (isgreater_test_data): Likewise.
27668 (isgreaterequal_test_data): Likewise.
27669 (isinf_test_data): Likewise.
27670 (isless_test_data): Likewise.
27671 (islessequal_test_data): Likewise.
27672 (islessgreater_test_data): Likewise.
27673 (isnan_test_data): Likewise.
27674 (isnormal_test_data): Likewise.
27675 (issignaling_test_data): Likewise.
27676 (isunordered_test_data): Likewise.
27677 (j0_test_data): Likewise.
27678 (j1_test_data): Likewise.
27679 (jn_test_data): Likewise.
27680 (ldexp_test_data): Likewise.
27681 (lgamma_test_data): Likewise.
27682 (lrint_test_data): Likewise.
27683 (lrint_tonearest_test_data): Likewise.
27684 (lrint_towardzero_test_data): Likewise.
27685 (lrint_downward_test_data): Likewise.
27686 (lrint_upward_test_data): Likewise.
27687 (llrint_test_data): Likewise.
27688 (llrint_tonearest_test_data): Likewise.
27689 (llrint_towardzero_test_data): Likewise.
27690 (llrint_downward_test_data): Likewise.
27691 (llrint_upward_test_data): Likewise.
27692 (log_test_data): Likewise.
27693 (log10_test_data): Likewise.
27694 (log1p_test_data): Likewise.
27695 (log2_test_data): Likewise.
27696 (logb_test_data): Likewise.
27697 (logb_downward_test_data): Likewise.
27698 (lround_test_data): Likewise.
27699 (llround_test_data): Likewise.
27700 (modf_test_data): Likewise.
27701 (nearbyint_test_data): Likewise.
27702 (nextafter_test_data): Likewise.
27703 (nexttoward_test_data): Likewise.
27704 (pow_test_data): Likewise.
27705 (pow_tonearest_test_data): Likewise.
27706 (pow_towardzero_test_data): Likewise.
27707 (pow_downward_test_data): Likewise.
27708 (pow_upward_test_data): Likewise.
27709 (remainder_test_data): Likewise.
27710 (remainder_tonearest_test_data): Likewise.
27711 (remainder_towardzero_test_data): Likewise.
27712 (remainder_downward_test_data): Likewise.
27713 (remainder_upward_test_data): Likewise.
27714 (remquo_test_data): Likewise.
27715 (rint_test_data): Likewise.
27716 (rint_tonearest_test_data): Likewise.
27717 (rint_towardzero_test_data): Likewise.
27718 (rint_downward_test_data): Likewise.
27719 (rint_upward_test_data): Likewise.
27720 (round_test_data): Likewise.
27721 (scalb_test_data): Likewise.
27722 (scalbn_test_data): Likewise.
27723 (scalbln_test_data): Likewise.
27724 (signbit_test_data): Likewise.
27725 (sin_test_data): Likewise.
27726 (sin_tonearest_test_data): Likewise.
27727 (sin_towardzero_test_data): Likewise.
27728 (sin_downward_test_data): Likewise.
27729 (sin_upward_test_data): Likewise.
27730 (sincos_test_data): Likewise.
27731 (sinh_test_data): Likewise.
27732 (sinh_tonearest_test_data): Likewise.
27733 (sinh_towardzero_test_data): Likewise.
27734 (sinh_downward_test_data): Likewise.
27735 (sinh_upward_test_data): Likewise.
27736 (sqrt_test_data): Likewise.
27737 (tan_test_data): Likewise.
27738 (tan_tonearest_test_data): Likewise.
27739 (tan_towardzero_test_data): Likewise.
27740 (tan_downward_test_data): Likewise.
27741 (tan_upward_test_data): Likewise.
27742 (tanh_test_data): Likewise.
27743 (tgamma_test_data): Likewise.
27744 (trunc_test_data): Likewise.
27745 (y0_test_data): Likewise.
27746 (y1_test_data): Likewise.
27747 (yn_test_data): Likewise.
27748 (significand_test_data): Likewise.
27749
b679a606
JM
27750 * math/gen-libm-test.pl (@functions): Remove variable.
27751 (generate_testfile): Don't handle START and END lines.
27752 * math/libm-test.inc (START): New macro.
27753 (END): Likewise.
27754 (END_COMPLEX): Likewise.
27755 (acos_test): Use END macro without arguments.
27756 (acos_test_tonearest): Likewise.
27757 (acos_test_towardzero): Likewise.
27758 (acos_test_downward): Likewise.
27759 (acos_test_upward): Likewise.
27760 (acosh_test): Likewise.
27761 (asin_test): Likewise.
27762 (asin_test_tonearest): Likewise.
27763 (asin_test_towardzero): Likewise.
27764 (asin_test_downward): Likewise.
27765 (asin_test_upward): Likewise.
27766 (asinh_test): Likewise.
27767 (atan_test): Likewise.
27768 (atanh_test): Likewise.
27769 (atan2_test): Likewise.
27770 (cabs_test): Likewise.
27771 (cacos_test): Use END_COMPLEX macro without arguments.
27772 (cacosh_test): Likewise.
27773 (carg_test): Use END macro without arguments.
27774 (casin_test): Use END_COMPLEX macro without arguments.
27775 (casinh_test): Likewise.
27776 (catan_test): Likewise.
27777 (catanh_test): Likewise.
27778 (cbrt_test): Use END macro without arguments.
27779 (ccos_test): Use END_COMPLEX macro without arguments.
27780 (ccosh_test): Likewise.
27781 (ceil_test): Use END macro without arguments.
27782 (cexp_test): Use END_COMPLEX macro without arguments.
27783 (cimag_test): Use END macro without arguments.
27784 (clog_test): Use END_COMPLEX macro without arguments.
27785 (clog10_test): Likewise.
27786 (conj_test): Likewise.
27787 (copysign_test): Use END macro without arguments.
27788 (cos_test): Likewise.
27789 (cos_test_tonearest): Likewise.
27790 (cos_test_towardzero): Likewise.
27791 (cos_test_downward): Likewise.
27792 (cos_test_upward): Likewise.
27793 (cosh_test): Likewise.
27794 (cosh_test_tonearest): Likewise.
27795 (cosh_test_towardzero): Likewise.
27796 (cosh_test_downward): Likewise.
27797 (cosh_test_upward): Likewise.
27798 (cpow_test): Use END_COMPLEX macro without arguments.
27799 (cproj_test): Likewise.
27800 (creal_test): Use END macro without arguments.
27801 (csin_test): Use END_COMPLEX macro without arguments.
27802 (csinh_test): Likewise.
27803 (csqrt_test): Likewise.
27804 (ctan_test): Likewise.
27805 (ctan_test_tonearest): Likewise.
27806 (ctan_test_towardzero): Likewise.
27807 (ctan_test_downward): Likewise.
27808 (ctan_test_upward): Likewise.
27809 (ctanh_test): Likewise.
27810 (ctanh_test_tonearest): Likewise.
27811 (ctanh_test_towardzero): Likewise.
27812 (ctanh_test_downward): Likewise.
27813 (ctanh_test_upward): Likewise.
27814 (erf_test): Use END macro without arguments.
27815 (erfc_test): Likewise.
27816 (exp_test): Likewise.
27817 (exp_test_tonearest): Likewise.
27818 (exp_test_towardzero): Likewise.
27819 (exp_test_downward): Likewise.
27820 (exp_test_upward): Likewise.
27821 (exp10_test): Likewise.
27822 (exp2_test): Likewise.
27823 (expm1_test): Likewise.
27824 (fabs_test): Likewise.
27825 (fdim_test): Likewise.
27826 (finite_test): Likewise.
27827 (floor_test): Likewise.
27828 (fma_test): Likewise.
27829 (fma_test_towardzero): Likewise.
27830 (fma_test_downward): Likewise.
27831 (fma_test_upward): Likewise.
27832 (fmax_test): Likewise.
27833 (fmin_test): Likewise.
27834 (fmod_test): Likewise.
27835 (fpclassify_test): Likewise.
27836 (frexp_test): Likewise.
27837 (gamma_test): Likewise.
27838 (hypot_test): Likewise.
27839 (ilogb_test): Likewise.
27840 (isfinite_test): Likewise.
27841 (isgreater_test): Likewise.
27842 (isgreaterequal_test): Likewise.
27843 (isinf_test): Likewise.
27844 (isless_test): Likewise.
27845 (islessequal_test): Likewise.
27846 (islessgreater_test): Likewise.
27847 (isnan_test): Likewise.
27848 (isnormal_test): Likewise.
27849 (issignaling_test): Likewise.
27850 (isunordered_test): Likewise.
27851 (j0_test): Likewise.
27852 (j1_test): Likewise.
27853 (jn_test): Likewise.
27854 (ldexp_test): Likewise.
27855 (lgamma_test): Likewise.
27856 (lrint_test): Likewise.
27857 (lrint_test_tonearest): Likewise.
27858 (lrint_test_towardzero): Likewise.
27859 (lrint_test_downward): Likewise.
27860 (lrint_test_upward): Likewise.
27861 (llrint_test): Likewise.
27862 (llrint_test_tonearest): Likewise.
27863 (llrint_test_towardzero): Likewise.
27864 (llrint_test_downward): Likewise.
27865 (llrint_test_upward): Likewise.
27866 (log_test): Likewise.
27867 (log10_test): Likewise.
27868 (log1p_test): Likewise.
27869 (log2_test): Likewise.
27870 (logb_test): Likewise.
27871 (logb_test_downward): Likewise.
27872 (lround_test): Likewise.
27873 (llround_test): Likewise.
27874 (modf_test): Likewise.
27875 (nearbyint_test): Likewise.
27876 (nextafter_test): Likewise.
27877 (nexttoward_test): Likewise.
27878 (pow_test): Likewise.
27879 (pow_test_tonearest): Likewise.
27880 (pow_test_towardzero): Likewise.
27881 (pow_test_downward): Likewise.
27882 (pow_test_upward): Likewise.
27883 (remainder_test): Likewise.
27884 (remainder_test_tonearest): Likewise.
27885 (remainder_test_towardzero): Likewise.
27886 (remainder_test_downward): Likewise.
27887 (remainder_test_upward): Likewise.
27888 (remquo_test): Likewise.
27889 (rint_test): Likewise.
27890 (rint_test_tonearest): Likewise.
27891 (rint_test_towardzero): Likewise.
27892 (rint_test_downward): Likewise.
27893 (rint_test_upward): Likewise.
27894 (round_test): Likewise.
27895 (scalb_test): Likewise.
27896 (scalbn_test): Likewise.
27897 (scalbln_test): Likewise.
27898 (signbit_test): Likewise.
27899 (sin_test): Likewise.
27900 (sin_test_tonearest): Likewise.
27901 (sin_test_towardzero): Likewise.
27902 (sin_test_downward): Likewise.
27903 (sin_test_upward): Likewise.
27904 (sincos_test): Likewise.
27905 (sinh_test): Likewise.
27906 (sinh_test_tonearest): Likewise.
27907 (sinh_test_towardzero): Likewise.
27908 (sinh_test_downward): Likewise.
27909 (sinh_test_upward): Likewise.
27910 (sqrt_test): Likewise.
27911 (tan_test): Likewise.
27912 (tan_test_tonearest): Likewise.
27913 (tan_test_towardzero): Likewise.
27914 (tan_test_downward): Likewise.
27915 (tan_test_upward): Likewise.
27916 (tanh_test): Likewise.
27917 (tgamma_test): Likewise.
27918 (trunc_test): Likewise.
27919 (y0_test): Likewise.
27920 (y1_test): Likewise.
27921 (yn_test): Likewise.
27922 (significand_test): Likewise.
27923
bae143d2
OB
279242013-05-24 Ondřej Bílka <neleai@seznam.cz>
27925
27926 [BZ #15381]
27927 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27928
9323d39b
EM
279292013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27930
d4ea44a0 27931 [BZ #14894]
9323d39b
EM
27932 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27933 __ppc_mdoio and __ppc_mdoom.
27934 * manual/platform.texi: Document new functions __ppc_yield,
27935 __ppc_mdoio and __ppc_mdoom.
27936
13e23af7
CD
279372013-05-22 Carlos O'Donell <carlos@redhat.com>
27938
27939 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27940 (main): Mention "tls" pseudo-hwcap is legacy.
27941 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27942
351fe550
JM
279432013-05-22 Joseph Myers <joseph@codesourcery.com>
27944
27945 * math/gen-libm-test.pl (parse_args): Output only string of
27946 arguments as text for test name, not full call or descriptions of
27947 tests for extra outputs.
27948 (generate_testfile): Do not pass function name to parse_args.
27949 Generate this_func variable from START.
27950 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27951 field to arg_str.
27952 (struct test_ff_f_data): Likewise.
27953 (test_ff_f_data_nexttoward): Likewise.
27954 (struct test_fi_f_data): Likewise.
27955 (struct test_fl_f_data): Likewise.
27956 (struct test_if_f_data): Likewise.
27957 (struct test_fff_f_data): Likewise.
27958 (struct test_c_f_data): Likewise.
27959 (struct test_f_f1_data): Likewise. Remove field extra_name.
27960 (struct test_fF_f1_data): Likewise.
27961 (struct test_ffI_f1_data): Likewise.
27962 (struct test_c_c_data): Rename test_name field to arg_str.
27963 (struct test_cc_c_data): Likewise.
27964 (struct test_f_i_data): Likewise.
27965 (struct test_ff_i_data): Likewise.
27966 (struct test_f_l_data): Likewise.
27967 (struct test_f_L_data): Likewise.
27968 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27969 and extra2_name.
27970 (COMMON_TEST_SETUP): New macro.
27971 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27972 (COMMON_TEST_CLEANUP): Likewise.
27973 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27974 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27975 macros.
27976 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27977 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27978 macros.
27979 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27980 (RUN_TEST_fff_f): Take argument string. Call new setup and
27981 cleanup macros.
27982 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27983 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27984 macros.
27985 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27986 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27987 macros.
27988 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27989 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27990 cleanup macros.
27991 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27992 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27993 cleanup macros.
27994 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27995 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27996 cleanup macros.
27997 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27998 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27999 macros.
28000 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28001 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28002 macros.
28003 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28004 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28005 macros.
28006 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28007 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28008 cleanup macros.
28009 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28010 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28011 cleanup macros.
28012 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28013 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28014 macros.
28015 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28016 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28017 cleanup macros.
28018 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28019 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28020 macros.
28021 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28022 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28023 macros.
28024 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28025 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28026 cleanup macros.
28027 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28028
85118d4d
EBM
280292013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28030
28031 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28032 to _sifields.sigfault.
28033 (si_addr_lsb): Define new macro.
28034 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28035 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28036 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28037
7a44c18f
CD
280382013-05-03 Carlos O'Donell <carlos at redhat.com>
28039
28040 [BZ #15441]
28041 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28042 returns -1.
28043 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28044 null return -1.
28045 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28046 loading the domain.
28047
b50a7181
JM
280482013-05-22 Joseph Myers <joseph@codesourcery.com>
28049
28050 * math/gen-libm-test.pl (parse_args): Do not include expected
28051 result in test name.
28052 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28053 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28054 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28055 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28056 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28058
051063c8
SP
280592013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28060
3ce9e010
SP
28061 * benchtests/Makefile: Sort function entries.
28062
051063c8
SP
28063 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28064 tanh, asinh, acosh, atanh.
28065 * benchtests/acos-inputs: New file.
28066 * benchtests/acosh-inputs: New file.
28067 * benchtests/asin-inputs: New file.
28068 * benchtests/asinh-inputs: New file.
28069 * benchtests/atanh-inputs: New file.
28070 * benchtests/cosh-inputs: New file.
28071 * benchtests/log-inputs: New file.
28072 * benchtests/sinh-inputs: New file.
28073 * benchtests/tanh-inputs: New file.
28074
47c22455
DL
280752013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28076
28077 [BZ #15339]
28078 * posix/tst-getaddrinfo4.c: New test.
28079 * posix/Makefile (tests): Add it.
28080
3d04f5db
SP
280812013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28082
28083 [BZ #15339]
28084 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28085 when no services were used.
28086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28087 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28088
d5dd6189
AS
280892013-05-21 Andreas Schwab <schwab@suse.de>
28090
28091 [BZ #15014]
28092 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28093 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28094 successful.
28095 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28096 redundant variable declarations and reallocation of buffer when
28097 parsing as IPv6 address. Always set NSS status when called from
28098 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28099 buffer too small. Correct computation of needed size.
28100 * nss/Makefile (tests): Add test-digits-dots.
28101 * nss/test-digits-dots.c: New test.
28102
fef94eab
SP
281032013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28104
28105 * benchtests/Makefile: Remove instructions for adding
28106 benchmark tests.
28107 * benchtests/README: New file to explain how to execute and
28108 enhance the benchmark tests.
28109
e39adf43
AS
281102013-05-21 Andreas Schwab <schwab@suse.de>
28111
28112 [BZ #15493]
28113 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28114 * setjmp/tst-sigsetjmp.c: New test.
28115
b2b671b6
OB
281162013-05-20 Ondřej Bílka <neleai@seznam.cz>
28117
28118 * sysdeps/x86_64/memset.S (memset): New implementation.
28119 (__bzero): Likewise.
28120 (__memset_tail): New function.
28121
2d48b41c
OB
281222013-05-20 Ondřej Bílka <neleai@seznam.cz>
28123
28124 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28125 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28126 __memcpy_sse2_unaligned ifunc selection.
28127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28128 Add memcpy-sse2-unaligned.S.
28129 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28130 Add: __memcpy_sse2_unaligned.
28131
f16cc3eb
JM
281322013-05-19 Joseph Myers <joseph@codesourcery.com>
28133
3e694268
JM
28134 [BZ #15490]
28135 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28136 math_force_eval before restoring floating-point envrionment.
28137 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28138 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28139 Likewise.
28140 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28141 <math_private.h>.
28142 (__nearbyintl): Use math_force_eval before restoring
28143 floating-point environment.
28144 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28145
db62a907
JM
28146 * math/gen-libm-test.pl (special_functions): Remove.
28147 (parse_args): Don't handle TEST_extra. Handle functions with no
28148 return value.
28149 * math/libm-test.inc (struct test_sincos_data): Replace with
28150 struct test_fFF_11_data.
28151 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28152 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28153 (sincos_test_data): Change element type to struct
28154 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28155 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28156 RUN_TEST_LOOP_sincos.
28157 * math/README.libm-test: Don't mention special handling of
28158 individual functions.
28159 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28160 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28161 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28162 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28163 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28165
f16cc3eb
JM
28166 * math/gen-libm-test.pl (get_variable): Remove function.
28167 (parse_args): Don't show pointer parameters to call in test
28168 names. Use "extra output N" in test names for extra outputs
28169 rather than naming variables.
28170
3779b5b6
JM
281712013-05-18 Joseph Myers <joseph@codesourcery.com>
28172
2ee094ff
JM
28173 [BZ #15488]
28174 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28175 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28176 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28177 double tests.
28178 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28179 disable.
28180 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28181 check_long_double.
28182
3779b5b6
JM
28183 * math/gen-libm-test.pl (@tests): Remove variable.
28184 ($count): Likewise.
28185 (new_test): Remove function.
28186 (show_exceptions): New function.
28187 (special_functions): Use show_exceptions instead of new_test.
28188 (parse_args): Likewise.
28189 (generate_testfile): Pass only function name in generated call to
28190 print_max_error or print_complex_max_error.
28191 (get_ulps): Do not handle complex tests specially.
28192 (output_test): Rename to ...
28193 (get_all_ulps_for_test): ... this. Return a string rather than
28194 printing to a file. Require ulps to be present.
28195 (output_ulps): Generate arrays rather than #defines.
28196 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28197 (struct ulp_data): New type.
28198 (BUILD_COMPLEX_ULP): Remove macro.
28199 (compare_ulp_data): New function.
28200 (find_ulps): Likewise.
28201 (find_test_ulps): Likewise.
28202 (find_function_ulps): Likewise.
28203 (find_complex_function_ulps): Likewise.
28204 (print_max_error): Determine allowed ulps using
28205 find_function_ulps.
28206 (print_complex_max_error): Determine allowed ulps using
28207 find_complex_function_ulps.
28208 (check_float_internal): Determine max ulps using find_test_ulps.
28209 (check_float): Do not take max_ulp parameter. Update call to
28210 check_float_internal.
28211 (check_complex): Likewise.
28212 (check_int): Do not take max_ulp parameter.
28213 (check_long): Likewise.
28214 (check_bool): Likewise.
28215 (check_longlong): Likewise.
28216 (struct test_f_f_data): Remove max_ulp field.
28217 (struct test_ff_f_data): Likewise.
28218 (struct test_ff_f_data_nexttoward): Likewise.
28219 (struct test_fi_f_data): Likewise.
28220 (struct test_fl_f_data): Likewise.
28221 (struct test_if_f_data): Likewise.
28222 (struct test_fff_f_data): Likewise.
28223 (struct test_c_f_data): Likewise.
28224 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28225 (struct test_fF_f1_data): Likewise.
28226 (struct test_ffI_f1_data): Likewise.
28227 (struct test_c_c_data): Remove max_ulp field.
28228 (struct test_cc_c_data): Likewise.
28229 (struct test_f_i_data): Likewise.
28230 (struct test_ff_i_data): Likewise.
28231 (struct test_f_l_data): Likewise.
28232 (struct test_f_L_data): Likewise.
28233 (struct test_sincos_data): Likewise.
28234 (RUN_TEST_f_f): Do not handle ulps.
28235 (RUN_TEST_LOOP_f_f): Likewise.
28236 (RUN_TEST_2_f): Likewise.
28237 (RUN_TEST_LOOP_2_f): Likewise.
28238 (RUN_TEST_fff_f): Likewise.
28239 (RUN_TEST_LOOP_fff_f): Likewise.
28240 (RUN_TEST_c_f): Likewise.
28241 (RUN_TEST_LOOP_c_f): Likewise.
28242 (RUN_TEST_f_f1): Likewise.
28243 (RUN_TEST_LOOP_f_f1): Likewise.
28244 (RUN_TEST_fF_f1): Likewise.
28245 (RUN_TEST_LOOP_fF_f1): Likewise.
28246 (RUN_TEST_fI_f1): Likewise.
28247 (RUN_TEST_LOOP_fI_f1): Likewise.
28248 (RUN_TEST_ffI_f1): Likewise.
28249 (RUN_TEST_LOOP_ffI_f1): Likewise.
28250 (RUN_TEST_c_c): Likewise.
28251 (RUN_TEST_LOOP_c_c): Likewise.
28252 (RUN_TEST_cc_c): Likewise.
28253 (RUN_TEST_LOOP_cc_c): Likewise.
28254 (RUN_TEST_f_i): Likewise.
28255 (RUN_TEST_LOOP_f_i): Likewise.
28256 (RUN_TEST_f_i_tg): Likewise.
28257 (RUN_TEST_LOOP_f_i_tg): Likewise.
28258 (RUN_TEST_ff_i_tg): Likewise.
28259 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28260 (RUN_TEST_f_b): Likewise.
28261 (RUN_TEST_LOOP_f_b): Likewise.
28262 (RUN_TEST_f_b_tg): Likewise.
28263 (RUN_TEST_LOOP_f_b_tg): Likewise.
28264 (RUN_TEST_f_l): Likewise.
28265 (RUN_TEST_LOOP_f_l): Likewise.
28266 (RUN_TEST_f_L): Likewise.
28267 (RUN_TEST_LOOP_f_L): Likewise.
28268 (RUN_TEST_sincos): Likewise.
28269 (RUN_TEST_LOOP_sincos): Likewise.
28270
8269107f
JM
282712013-05-17 Joseph Myers <joseph@codesourcery.com>
28272
bb38759d
JM
28273 [BZ #15480]
28274 [BZ #15485]
28275 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28276 main case of finite arguments, set rounding mode to FE_TONEAREST
28277 and discard exceptions.
28278 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28279 exceptions.
28280 (remainder_tonearest_test_data): New variable.
28281 (remainder_test_tonearest): New function.
28282 (remainder_towardzero_test_data): New variable.
28283 (remainder_test_towardzero): New function.
28284 (remainder_downward_test_data): New variable.
28285 (remainder_test_downward): New function.
28286 (remainder_upward_test_data): New variable.
28287 (remainder_test_upward): New function.
28288 (main): Call the new test functions.
28289
a00bdcf0
JM
28290 * math/libm-test.inc (struct test_f_f1_data): Remove field
28291 extra_init.
28292 (struct test_fF_f1_data): Likewise.
28293 (struct test_ffI_f1_data): Likewise.
28294 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28295 based on value of EXTRA_EXPECTED.
28296 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28297 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28298 EXTRA_VAR based on value of EXTRA_EXPECTED.
28299 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28300 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28301 EXTRA_VAR based on value of EXTRA_EXPECTED.
28302 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28303 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28304 EXTRA_VAR based on value of EXTRA_EXPECTED.
28305 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28306 * math/gen-libm-test.pl (parse_args): Don't output initializers
28307 for extra output values.
28308
de407f79
JM
28309 * math/libm-test.inc (check_int): Expect result to be exactly
28310 equal to expected value and do not handle ulps.
28311 (check_long): Likewise.
28312 (check_longlong): Likewise.
28313
8269107f
JM
28314 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28315 exceptions.
28316 (cimag_test_data): Likewise.
28317 (conj_test_data): Likewise.
28318 (copysign_test_data): Likewise.
28319 (cproj_test_data): Likewise.
28320 (creal_test_data): Likewise.
28321 (fabs_test_data): Likewise.
28322 (fdim_test_data): Likewise.
28323 (finite_test_data): Likewise.
28324 (floor_test_data): Likewise.
28325 (fmax_test_data): Likewise.
28326 (fmin_test_data): Likewise.
28327 (fmod_test_data): Likewise.
28328 (fpclassify_test_data): Likewise.
28329 (frexp_test_data): Likewise.
28330 (ilogb_test_data): Likewise.
28331 (isfinite_test_data): Likewise.
28332 (isgreater_test_data): Likewise.
28333 (isgreaterequal_test_data): Likewise.
28334 (isinf_test_data): Likewise.
28335 (isless_test_data): Likewise.
28336 (islessequal_test_data): Likewise.
28337 (islessgreater_test_data): Likewise.
28338 (isnan_test_data): Likewise.
28339 (isnormal_test_data): Likewise.
28340 (issignaling_test_data): Likewise.
28341 (isunordered_test_data): Likewise.
28342 (ldexp_test_data): Likewise.
28343 (lrint_test_data): Likewise.
28344 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28345 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28346 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28347 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28348 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28349 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28350 test input.
28351 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28352 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28353 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28354 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28355 that test input.
28356 (lrint_downward_test_data): Test for "inexact" exceptions.
28357 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28358 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28359 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28360 test input.
28361 (lrint_upward_test_data): Test for "inexact" exceptions.
28362 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28363 test input.
28364 (llrint_test_data): Test for "inexact" exceptions.
28365 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28366 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28367 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28368 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28369 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28370 (llrint_downward_test_data): Test for "inexact" exceptions.
28371 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28372 (llrint_upward_test_data): Test for "inexact" exceptions.
28373 (logb_test_data): Likewise.
28374 (logb_downward_test_data): Likewise.
28375 (nextafter_test_data): Likewise.
28376 (nexttoward_test_data): Likewise.
28377 (remainder_test_data): Likewise.
28378 (remquo_test_data): Likewise.
28379 (scalbn_test_data): Likewise.
28380 (scalbln_test_data): Likewise.
28381 (signbit_test_data): Likewise.
28382 (sqrt_test_data): Likewise.
28383 (significand_test_data): Likewise.
28384
48a18de1
SP
283852013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28386
28387 [BZ #15424]
28388 * benchtests/bench-modf.c (struct args): Mark arg0 as
28389 volatile.
28390 * scripts/bench.pl: Mark members of struct args as volatile.
28391
13d3b41a
AZ
283922013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28393
68191c1d 28394 [BZ # 15497]
13d3b41a
AZ
28395 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28396 negative infinity on POWER6 or lower.
28397 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28398
2848b105
MR
283992013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28400
28401 [BZ #15442]
28402 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28403 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28404 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28405 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28406 (_FP_SETQNAN): New macro.
28407 (_FP_SETQNAN_SEMIRAW): Likewise.
28408 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28409 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28410 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28411 (FP_EXTEND): Use _FP_FRAC_SNANP.
28412 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28413 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28414 into account.
28415 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28416 New macro.
28417 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28418 Likewise.
28419
323e5cb7
JM
284202013-05-16 Joseph Myers <joseph@codesourcery.com>
28421
c58b274f
JM
28422 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28423 with DIVIDE_BY_ZERO_EXCEPTION.
28424 (gamma_test_data): Likewise.
28425 (lgamma_test_data): Likewise.
28426 (log_test_data): Likewise.
28427 (log10_test_data): Likewise.
28428 (log2_test_data): Likewise.
28429 (tgamma_test_data): Likewise.
28430
0ab34904
JM
28431 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28432 (acos_test_tonearest): Likewise.
28433 (acos_test_towardzero): Likewise.
28434 (acos_test_downward): Likewise.
28435 (acos_test_upward): Likewise.
28436 (acosh_test): Likewise.
28437 (asin_test): Likewise.
28438 (asin_test_tonearest): Likewise.
28439 (asin_test_towardzero): Likewise.
28440 (asin_test_downward): Likewise.
28441 (asin_test_upward): Likewise.
28442 (asinh_test): Likewise.
28443 (atan_test): Likewise.
28444 (atanh_test): Likewise.
28445 (atan2_test): Likewise.
28446 (cabs_test): Likewise.
28447 (cacos_test): Likewise.
28448 (cacosh_test): Likewise.
28449 (casin_test): Likewise.
28450 (casinh_test): Likewise.
28451 (catan_test): Likewise.
28452 (catanh_test): Likewise.
28453 (cbrt_test): Likewise.
28454 (ccos_test): Likewise.
28455 (ccosh_test): Likewise.
28456 (cexp_test): Likewise.
28457 (clog_test): Likewise.
28458 (clog10_test): Likewise.
28459 (cos_test): Likewise.
28460 (cos_test_tonearest): Likewise.
28461 (cos_test_towardzero): Likewise.
28462 (cos_test_downward): Likewise.
28463 (cos_test_upward): Likewise.
28464 (cosh_test): Likewise.
28465 (cosh_test_tonearest): Likewise.
28466 (cosh_test_towardzero): Likewise.
28467 (cosh_test_downward): Likewise.
28468 (cosh_test_upward): Likewise.
28469 (cpow_test): Likewise.
28470 (csin_test): Likewise.
28471 (csinh_test): Likewise.
28472 (csqrt_test): Likewise.
28473 (ctan_test): Likewise.
28474 (ctan_test_tonearest): Likewise.
28475 (ctan_test_towardzero): Likewise.
28476 (ctan_test_downward): Likewise.
28477 (ctan_test_upward): Likewise.
28478 (ctanh_test): Likewise.
28479 (ctanh_test_tonearest): Likewise.
28480 (ctanh_test_towardzero): Likewise.
28481 (ctanh_test_downward): Likewise.
28482 (ctanh_test_upward): Likewise.
28483 (erf_test): Likewise.
28484 (erfc_test): Likewise.
28485 (exp_test): Likewise.
28486 (exp_test_tonearest): Likewise.
28487 (exp_test_towardzero): Likewise.
28488 (exp_test_downward): Likewise.
28489 (exp_test_upward): Likewise.
28490 (exp10_test): Likewise.
28491 (exp2_test): Likewise.
28492 (expm1_test): Likewise.
28493 (fmod_test): Likewise.
28494 (gamma_test): Likewise.
28495 (hypot_test): Likewise.
28496 (j0_test): Likewise.
28497 (j1_test): Likewise.
28498 (jn_test): Likewise.
28499 (lgamma_test): Likewise.
28500 (log_test): Likewise.
28501 (log10_test): Likewise.
28502 (log1p_test): Likewise.
28503 (log2_test): Likewise.
28504 (logb_test_downward): Likewise.
28505 (pow_test): Likewise.
28506 (pow_test_tonearest): Likewise.
28507 (pow_test_towardzero): Likewise.
28508 (pow_test_downward): Likewise.
28509 (pow_test_upward): Likewise.
28510 (remainder_test): Likewise.
28511 (remquo_test): Likewise.
28512 (sin_test): Likewise.
28513 (sin_test_tonearest): Likewise.
28514 (sin_test_towardzero): Likewise.
28515 (sin_test_downward): Likewise.
28516 (sin_test_upward): Likewise.
28517 (sincos_test): Likewise.
28518 (sinh_test): Likewise.
28519 (sinh_test_tonearest): Likewise.
28520 (sinh_test_towardzero): Likewise.
28521 (sinh_test_downward): Likewise.
28522 (sinh_test_upward): Likewise.
28523 (sqrt_test): Likewise.
28524 (tan_test): Likewise.
28525 (tan_test_tonearest): Likewise.
28526 (tan_test_towardzero): Likewise.
28527 (tan_test_downward): Likewise.
28528 (tan_test_upward): Likewise.
28529 (tanh_test): Likewise.
28530 (tgamma_test): Likewise.
28531 (y0_test): Likewise.
28532 (y1_test): Likewise.
28533 (yn_test): Likewise.
28534
323e5cb7
JM
28535 * math/gen-libm-test.pl (adjust_arg): Remove function.
28536 (special_function): Remove argument $in_func. Only handle
28537 generating output for tables of tests, not inside functions.
28538 (parse_args): Likewise.
28539 (generate_testfile): Remove variable $in_func. Update call to
28540 parse_args.
28541 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28542 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28543 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28544 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28545 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28546 (MAX_VALUE_INIT): Rename macro to max_value.
28547 (MIN_VALUE_INIT): Rename macro to min_value.
28548 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28549 (plus_zero): Remove variable.
28550 (minus_zero): Likewise.
28551 (plus_infty): Likewise.
28552 (minus_infty): Likewise.
28553 (qnan_value): Likewise.
28554 (max_value): Likewise.
28555 (min_value): Likewise.
28556 (min_subnorm_value): Likewise.
28557
e054f494
RA
285582013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28559
28560 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28561 uint64_t or uint32_t usage.
28562 * crypt/sha256-block.c: Likewise.
28563 * crypt/sha256-crypt.c: Likewise.
28564 * crypt/sha256.c: Likewise.
28565 * crypt/sha512-block.c: Likewise.
28566 * crypt/sha512-crypt.c: Likewise.
28567 * crypt/sha512.c: Likewise.
28568 * debug/backtrace-tst.c: Likewise.
28569 * debug/pcprofiledump.c: Likewise.
28570 * elf/cache.c: Likewise.
28571 * elf/dl-cache.c: Likewise.
28572 * elf/dl-misc.c: Likewise.
28573 * elf/dl-profile.c: Likewise.
28574 * elf/dl-support.c: Likewise.
28575 * elf/ldconfig.c: Likewise.
28576 * elf/sprof.c: Likewise.
28577 * iconv/dummy-repertoire.c: Likewise.
28578 * iconv/iconv_charmap.c: Likewise.
28579 * iconv/skeleton.c: Likewise.
28580 * iconvdata/8bit-generic.c: Likewise.
28581 * iconvdata/cp737.h: Likewise.
28582 * iconvdata/cp775.h: Likewise.
28583 * iconvdata/ibm1008.h: Likewise.
28584 * iconvdata/ibm1025.h: Likewise.
28585 * iconvdata/ibm1046.h: Likewise.
28586 * iconvdata/ibm1097.h: Likewise.
28587 * iconvdata/ibm1112.h: Likewise.
28588 * iconvdata/ibm1122.h: Likewise.
28589 * iconvdata/ibm1123.h: Likewise.
28590 * iconvdata/ibm1124.h: Likewise.
28591 * iconvdata/ibm1129.h: Likewise.
28592 * iconvdata/ibm1130.h: Likewise.
28593 * iconvdata/ibm1132.h: Likewise.
28594 * iconvdata/ibm1133.h: Likewise.
28595 * iconvdata/ibm1137.h: Likewise.
28596 * iconvdata/ibm1140.h: Likewise.
28597 * iconvdata/ibm1141.h: Likewise.
28598 * iconvdata/ibm1142.h: Likewise.
28599 * iconvdata/ibm1143.h: Likewise.
28600 * iconvdata/ibm1144.h: Likewise.
28601 * iconvdata/ibm1145.h: Likewise.
28602 * iconvdata/ibm1146.h: Likewise.
28603 * iconvdata/ibm1147.h: Likewise.
28604 * iconvdata/ibm1148.h: Likewise.
28605 * iconvdata/ibm1149.h: Likewise.
28606 * iconvdata/ibm1153.h: Likewise.
28607 * iconvdata/ibm1154.h: Likewise.
28608 * iconvdata/ibm1155.h: Likewise.
28609 * iconvdata/ibm1156.h: Likewise.
28610 * iconvdata/ibm1157.h: Likewise.
28611 * iconvdata/ibm1158.h: Likewise.
28612 * iconvdata/ibm1160.h: Likewise.
28613 * iconvdata/ibm1161.h: Likewise.
28614 * iconvdata/ibm1162.h: Likewise.
28615 * iconvdata/ibm1163.h: Likewise.
28616 * iconvdata/ibm1164.h: Likewise.
28617 * iconvdata/ibm1166.h: Likewise.
28618 * iconvdata/ibm1167.h: Likewise.
28619 * iconvdata/ibm12712.h: Likewise.
28620 * iconvdata/ibm1390.h: Likewise.
28621 * iconvdata/ibm1399.h: Likewise.
28622 * iconvdata/ibm16804.h: Likewise.
28623 * iconvdata/ibm4517.h: Likewise.
28624 * iconvdata/ibm4899.h: Likewise.
28625 * iconvdata/ibm4909.h: Likewise.
28626 * iconvdata/ibm4971.h: Likewise.
28627 * iconvdata/ibm5347.h: Likewise.
28628 * iconvdata/ibm803.h: Likewise.
28629 * iconvdata/ibm856.h: Likewise.
28630 * iconvdata/ibm901.h: Likewise.
28631 * iconvdata/ibm902.h: Likewise.
28632 * iconvdata/ibm9030.h: Likewise.
28633 * iconvdata/ibm9066.h: Likewise.
28634 * iconvdata/ibm921.h: Likewise.
28635 * iconvdata/ibm922.h: Likewise.
28636 * iconvdata/ibm9448.h: Likewise.
28637 * iconvdata/isiri-3342.h: Likewise.
28638 * iconvdata/jis0201.h: Likewise.
28639 * include/link.h: Likewise.
28640 * include/netdb.h: Likewise.
28641 * inet/check_native.c: Likewise.
28642 * inet/check_pf.c: Likewise.
28643 * inet/getipv4sourcefilter.c: Likewise.
28644 * inet/getnameinfo.c: Likewise.
28645 * inet/getsourcefilter.c: Likewise.
28646 * inet/htonl.c: Likewise.
28647 * inet/setipv4sourcefilter.c: Likewise.
28648 * inet/setsourcefilter.c: Likewise.
28649 * inet/test-inet6_opt.c: Likewise.
28650 * inet/tst-network.c: Likewise.
28651 * locale/C-collate.c: Likewise.
28652 * locale/C-ctype.c: Likewise.
28653 * locale/C-time.c: Likewise.
28654 * locale/C-translit.h: Likewise.
28655 * locale/loadarchive.c: Likewise.
28656 * locale/programs/3level.h: Likewise.
28657 * locale/programs/charmap.c: Likewise.
28658 * locale/programs/charmap.h: Likewise.
28659 * locale/programs/ld-address.c: Likewise.
28660 * locale/programs/ld-collate.c: Likewise.
28661 * locale/programs/ld-ctype.c: Likewise.
28662 * locale/programs/ld-identification.c: Likewise.
28663 * locale/programs/ld-measurement.c: Likewise.
28664 * locale/programs/ld-messages.c: Likewise.
28665 * locale/programs/ld-monetary.c: Likewise.
28666 * locale/programs/ld-name.c: Likewise.
28667 * locale/programs/ld-numeric.c: Likewise.
28668 * locale/programs/ld-paper.c: Likewise.
28669 * locale/programs/ld-telephone.c: Likewise.
28670 * locale/programs/ld-time.c: Likewise.
28671 * locale/programs/linereader.c: Likewise.
28672 * locale/programs/locale.c: Likewise.
28673 * locale/programs/locarchive.c: Likewise.
28674 * locale/programs/locfile.h: Likewise.
28675 * locale/programs/repertoire.c: Likewise.
28676 * locale/programs/simple-hash.c: Likewise.
28677 * locale/programs/simple-hash.h: Likewise.
28678 * malloc/memusage.c: Likewise.
28679 * malloc/memusagestat.c: Likewise.
28680 * nis/nis_defaults.c: Likewise.
28681 * nis/nis_hash.c: Likewise.
28682 * nis/nis_print.c: Likewise.
28683 * nis/nis_xdr.c: Likewise.
28684 * nscd/connections.c: Likewise.
28685 * nscd/hstcache.c: Likewise.
28686 * nscd/nscd_gethst_r.c: Likewise.
28687 * nscd/nscd_getserv_r.c: Likewise.
28688 * nscd/nscd_helper.c: Likewise.
28689 * nscd/servicescache.c: Likewise.
28690 * nss/makedb.c: Likewise.
28691 * nss/nss_db/db-XXX.c: Likewise.
28692 * nss/nss_db/db-initgroups.c: Likewise.
28693 * nss/nss_db/db-netgrp.c: Likewise.
28694 * nss/nss_files/files-network.c: Likewise.
28695 * nss/nss_files/files-parse.c: Likewise.
28696 * posix/bug-regex5.c: Likewise.
28697 * posix/fnmatch_loop.c: Likewise.
28698 * posix/regcomp.c: Likewise.
28699 * posix/regexec.c: Likewise.
28700 * posix/tst-rfc3484-2.c: Likewise.
28701 * posix/tst-rfc3484-3.c: Likewise.
28702 * posix/tst-rfc3484.c: Likewise.
28703 * resolv/nss_dns/dns-canon.c: Likewise.
28704 * resolv/nss_dns/dns-network.c: Likewise.
28705 * resolv/res_init.c: Likewise.
28706 * resolv/res_mkquery.c: Likewise.
28707 * resolv/tst-aton.c: Likewise.
28708 * stdlib/cxa_atexit.c: Likewise.
28709 * stdlib/cxa_finalize.c: Likewise.
28710 * stdlib/gen-fpioconst.c: Likewise.
28711 * stdlib/strtol_l.c: Likewise.
28712 * string/tst-endian.c: Likewise.
28713 * sunrpc/auth_des.c: Likewise.
28714 * sunrpc/clnt_udp.c: Likewise.
28715 * sunrpc/rtime.c: Likewise.
28716 * sunrpc/svcauth_des.c: Likewise.
28717 * sunrpc/xdr.c: Likewise.
28718 * sunrpc/xdr_intXX_t.c: Likewise.
28719 * sunrpc/xdr_rec.c: Likewise.
28720 * sysdeps/generic/ldconfig.h: Likewise.
28721 * sysdeps/generic/ldsodefs.h: Likewise.
28722 * sysdeps/generic/memusage.h: Likewise.
28723 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28724 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28725 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28726 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28727 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28729 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28730 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28731 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28733 * sysdeps/posix/getaddrinfo.c: Likewise.
28734 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28735 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28736 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28737 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28738 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28739 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28740 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28741 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28742 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28743 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28744 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28745 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28746 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28747 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28748 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28749 * sysdeps/x86_64/dl-tls.h: Likewise.
28750 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28751 * time/alt_digit.c: Likewise.
28752 * time/era.c: Likewise.
28753 * wcsmbs/tst-c16c32-1.c: Likewise.
28754
8c75f674
JM
287552013-05-16 Joseph Myers <joseph@codesourcery.com>
28756
28757 * math/libm-test.inc (struct test_sincos_data): New type.
28758 (RUN_TEST_LOOP_sincos): New macro.
28759 (sincos_test_data): New variable.
28760 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28761
e6e49e59
RH
287622013-05-16 Richard Henderson <rth@redhat.com>
28763
28764 * math/atest-exp2.c (LIMB64): New macro.
28765 (CONSTSZ): New macro.
28766 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28767 (hexdig): Move ...
28768 (print_mpn_fp): ... to function scope.
28769 (read_mpn_hex): Remove.
28770 (get_log2): Remove.
28771 (exp2_mpn): Use mp_log2.
28772 (main): Use mp_exp1.
28773
15c7c18d
JM
287742013-05-16 Joseph Myers <joseph@codesourcery.com>
28775
105a07df
JM
28776 * math/libm-test.inc: Remove comment about not testing "inexact"
28777 exceptions.
28778 (INEXACT_EXCEPTION): New macro.
28779 (NO_INEXACT_EXCEPTION): Likewise.
28780 (INVALID_EXCEPTION_OK): Update value.
28781 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28782 (OVERFLOW_EXCEPTION_OK): Likewise.
28783 (UNDERFLOW_EXCEPTION_OK): Likewise.
28784 (IGNORE_ZERO_INF_SIGN): Likewise.
28785 (ERRNO_UNCHANGED): Likewise.
28786 (ERRNO_EDOM): Likewise.
28787 (ERRNO_ERANGE): Likewise.
28788 (test_exceptions): Handle testing "inexact" exceptions.
28789 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28790 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28791 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28792 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28793 INEXACT_EXCEPTION.
28794 (rint_towardzero_test_data): Likewise.
28795 (rint_downward_test_data): Likewise.
28796 (rint_upward_test_data): Likewise.
28797
e9eee333
JM
28798 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28799 with OVERFLOW_EXCEPTION.
28800 (exp10_test_data): Likewise.
28801 (exp2_test_data): Likewise.
28802 (expm1_test_data): Likewise.
28803 (lgamma_test_data): Likewise.
28804 (pow_test_data): Likewise.
28805 (tgamma_test_data): Likewise.
28806 (yn_test_data): Remove duplicate test of overflow.
28807
1c38ff73
JM
28808 * math/libm-test.inc (struct test_cc_c_data): New type.
28809 (RUN_TEST_LOOP_cc_c): New macro.
28810 (cpow_test_data): New variable.
28811 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28812
15c7c18d
JM
28813 * math/libm-test.inc (struct test_f_L_data): New type.
28814 (RUN_TEST_LOOP_f_L): New macro.
28815 (llrint_test_data): New variable.
28816 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28817 (llrint_tonearest_test_data): New variable.
28818 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28819 (llrint_towardzero_test_data): New variable.
28820 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28821 (llrint_downward_test_data): New variable.
28822 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28823 (llrint_upward_test_data): New variable.
28824 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28825 (llround_test_data): New variable.
28826 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28827
f137ff13
PC
288282013-05-13 Peter Collingbourne <pcc@google.com>
28829
28830 * math/atest-exp2.c (get_log2): Remove const attribute.
28831
3608cb24
JM
288322013-05-15 Joseph Myers <joseph@codesourcery.com>
28833
28834 * math/libm-test.inc (struct test_f_l_data): New type.
28835 (RUN_TEST_LOOP_f_l): New macro.
28836 (lrint_test_data): New variable.
28837 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28838 (lrint_tonearest_test_data): New variable.
28839 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28840 (lrint_towardzero_test_data): New variable.
28841 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28842 (lrint_downward_test_data): New variable.
28843 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28844 (lrint_upward_test_data): New variable.
28845 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28846 (lround_test_data): New variable.
28847 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28848
39b1f617
PC
288492013-05-15 Peter Collingbourne <pcc@google.com>
28850
1deff3dc
PC
28851 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28852 (EXTRACT_WORDS64) Use where appropriate.
28853 (INSERT_WORDS64) Likewise.
28854
791f3ba0
PC
28855 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28856 constraints with x constraints.
28857 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28858
39b1f617
PC
28859 * malloc/obstack.c (_obstack_compat): Add initializer.
28860
12fba011
EM
288612013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28862
28863 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28864 si_trapno and add si_addr_lsb to _sifields.sigfault.
28865 (si_trapno): Remove macro.
28866 (si_addr_lsb): Define new macro.
28867 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28868
d369f531
JM
288692013-05-15 Joseph Myers <joseph@codesourcery.com>
28870
b861c6c4
JM
28871 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28872 instead of TEST_f_l.
28873 (llrint_test_tonearest): Likewise.
28874 (llrint_test_towardzero): Likewise.
28875 (llrint_test_downward): Likewise.
28876 (llrint_test_upward): Likewise.
28877 (llround_test): Likewise.
28878
7abeee12
JM
28879 * math/libm-test.inc (struct test_f_i_data): Add comment.
28880 (RUN_TEST_LOOP_f_b): New macro.
28881 (RUN_TEST_LOOP_f_b_tg): Likewise.
28882 (finite_test_data): New variable.
28883 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28884 (isfinite_test_data): New variable.
28885 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28886 (isinf_test_data): New variable.
28887 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28888 (isnan_test_data): New variable.
28889 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28890 (isnormal_test_data): New variable.
28891 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28892 (issignaling_test_data): New variable.
28893 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28894 (signbit_test_data): New variable.
28895 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28896
cbe8c4d3
JM
28897 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28898 with INVALID_EXCEPTION.
28899 (acosh_test_data): Likewise.
28900 (asin_test_data): Likewise.
28901 (atanh_test_data): Likewise.
28902 (fmod_test_data): Likewise.
28903 (log_test_data): Likewise.
28904 (log10_test_data): Likewise.
28905 (log2_test_data): Likewise.
28906 (pow_test_data): Likewise.
28907 (sqrt_test_data): Likewise.
28908 (y0_test_data): Likewise.
28909 (y1_test_data): Likewise.
28910 (yn_test_data): Likewise.
28911
5575c0e5
JM
28912 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28913 function contents.
28914
d369f531
JM
28915 * math/libm-test.inc (struct test_ff_i_data): New type.
28916 (RUN_TEST_LOOP_ff_i_tg): New macro.
28917 (isgreater_test_data): New variable.
28918 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28919 (isgreaterequal_test_data): New variable.
28920 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28921 (isless_test_data): New variable.
28922 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28923 (islessequal_test_data): New variable.
28924 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28925 (islessgreater_test_data): New variable.
28926 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28927 (isunordered_test_data): New variable.
28928 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28929
781fd748
DM
289302013-05-14 David S. Miller <davem@davemloft.net>
28931
28932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28933
87aa21df
JM
289342013-05-14 Joseph Myers <joseph@codesourcery.com>
28935
5e908270
JM
28936 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28937
f71172e5
JM
28938 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28939 extra_test to int.
28940 (struct test_f_i_data): Change type of max_ulp to int.
28941
8cfa635a
JM
28942 * math/libm-test.inc (test_ffI_f1_data): New type.
28943 (RUN_TEST_LOOP_ffI_f1): New macro.
28944 (remquo_test_data): New variable.
28945 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28946
2bcb36b2
JM
28947 * setjmp/tst-setjmp-fp.c: New file.
28948 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28949 (link-libm): New variable.
28950 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28951
acbd839a
JM
28952 * math/libm-test.inc (struct test_f_i_data): New type.
28953 (RUN_TEST_LOOP_f_i): New macro.
28954 (RUN_TEST_LOOP_f_i_tg): Likewise.
28955 (fpclassify_test_data): New variable.
28956 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28957 (ilogb_test_data): New variable.
28958 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28959
e414d745
JM
28960 * math/libm-test.inc (scalbln_test): Correct function name in END
28961 call.
28962
d9c2a0fd
JM
28963 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28964 (RUN_TEST_LOOP_fI_f1): New macro.
28965 (frexp_test_data): New variable.
28966 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28967
9dc9095d
JM
28968 * math/libm-test.inc (struct test_fF_f1_data): New type.
28969 (RUN_TEST_LOOP_fF_f1): New macro.
28970 (modf_test_data): New variable.
28971 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28972
87aa21df
JM
28973 * math/libm-test.inc (struct test_f_f1_data): New type.
28974 (RUN_TEST_LOOP_f_f1): New macro.
28975 (gamma_test_data): New variable.
28976 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28977 (lgamma_test_data): New variable.
28978 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28979
141af660
CD
289802013-05-13 Carlos O'Donell <carlos@redhat.com>
28981
28982 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28983 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28984 (main): Comment "tls" pseudo-hwcap.
28985
6d33265c
JM
289862013-05-13 Joseph Myers <joseph@codesourcery.com>
28987
68fc074c
JM
28988 * math/libm-test.inc (struct test_fl_f_data): New type.
28989 (RUN_TEST_LOOP_fl_f): New variable.
28990 (scalbln_test_data): New variable.
28991 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28992
243216e1
JM
28993 * math/libm-test.inc (struct test_fi_f_data): New type.
28994 (RUN_TEST_LOOP_fi_f): New macro.
28995 (ldexp_test_data): New variable.
28996 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28997 (scalbn_test_data): New variable.
28998 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28999
6a1992e2
JM
29000 * math/libm-test.inc (struct test_c_f_data): New type.
29001 (RUN_TEST_LOOP_c_f): New macro.
29002 (cabs_test_data): New variable.
29003 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29004 (carg_test_data): New variable.
29005 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29006 (cimag_test_data): New variable.
29007 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29008 (creal_test_data): New variable.
29009 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29010
0e400df5
JM
29011 * math/libm-test.inc (struct test_if_f_data): New type.
29012 (RUN_TEST_LOOP_if_f): New macro.
29013 (jn_test_data): New variable.
29014 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29015 (yn_test_data): New variable.
29016 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29017
6d33265c
JM
29018 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29019
f98ece5f
AZ
290202013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29021
29022 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29023 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29024
0f7d347b
SP
290252013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29026
43fe811b
SP
29027 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29028 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29029 (bench-deps): Add bench-timing.h.
29030 * benchtests-bench-skeleton.c: Include bench-timing.h.
29031 (main): Use TIMING_* macros instead of clock_gettime.
29032 * benchtests/bench-timing.h: New file.
29033
0f7d347b
SP
29034 [BZ #14582]
29035 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29036 Renamed from _LIB_VERSION.
29037 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29038
601a3a5f
JM
290392013-05-12 Joseph Myers <joseph@codesourcery.com>
29040
4f184d30
JM
29041 * math/libm-test.inc (struct test_fff_f_data): New type.
29042 (RUN_TEST_LOOP_fff_f): New macro.
29043 (fma_test_data): New variable.
29044 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29045 (fma_towardzero_test_data): New variable.
29046 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29047 (fma_downward_test_data): New variable.
29048 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29049 (fma_upward_test_data): New variable.
29050 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29051
08198877
JM
29052 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29053 (struct test_c_c_data): New type.
29054 (RUN_TEST_LOOP_c_c): New macro.
29055 (cacos_test_data): New variable.
29056 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29057 (cacosh_test_data): New variable.
29058 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29059 (casin_test_data): New variable.
29060 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29061 (casinh_test_data): New variable.
29062 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29063 (catan_test_data): New variable.
29064 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29065 (catanh_test_data): New variable.
29066 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29067 (ccos_test_data): New variable.
29068 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29069 (ccosh_test_data): New variable.
29070 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29071 (cexp_test_data): New variable.
29072 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29073 (clog_test_data): New variable.
29074 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29075 (clog10_test_data): New variable.
29076 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29077 (conj_test_data): New variable.
29078 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29079 (cproj_test_data): New variable.
29080 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29081 (csin_test_data): New variable.
29082 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29083 (csinh_test_data): New variable.
29084 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29085 (csqrt_test_data): New variable.
29086 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29087 (ctan_test_data): New variable.
29088 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29089 (ctan_tonearest_test_data): New variable.
29090 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29091 (ctan_towardzero_test_data): New variable.
29092 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29093 (ctan_downward_test_data): New variable.
29094 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29095 (ctan_upward_test_data): New variable.
29096 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29097 (ctanh_test_data): New variable.
29098 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29099 (ctanh_tonearest_test_data): New variable.
29100 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29101 (ctanh_towardzero_test_data): New variable.
29102 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29103 (ctanh_downward_test_data): New variable.
29104 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29105 (ctanh_upward_test_data): New variable.
29106 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29107 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29108 of BUILD_COMPLEX.
29109
601a3a5f
JM
29110 * math/libm-test.inc (struct test_ff_f_data): New type.
29111 (struct test_ff_f_data_nexttoward): Likewise.
29112 (RUN_TEST_LOOP_2_f): New macro.
29113 (RUN_TEST_LOOP_ff_f): Likewise.
29114 (atan2_test_data): New variable.
29115 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29116 (copysign_test_data): New variable.
29117 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29118 (fdim_test_data): New variable.
29119 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29120 (fmax_test_data): New variable.
29121 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29122 (fmin_test_data): New variable.
29123 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29124 (fmod_test_data): New variable.
29125 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29126 (hypot_test_data): New variable.
29127 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29128 (nextafter_test_data): New variable.
29129 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29130 (nexttoward_test_data): New variable.
29131 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29132 (pow_test_data): New variable.
29133 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29134 (pow_tonearest_test_data): New variable.
29135 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29136 (pow_towardzero_test_data): New variable.
29137 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29138 (pow_downward_test_data): New variable.
29139 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29140 (pow_upward_test_data): New variable.
29141 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29142 (remainder_test_data): New variable.
29143 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29144 (scalb_test_data): New variable.
29145 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29146 * sysdeps/i386/fpu/libm-test-ulps: Update.
29147
74c57478
JM
291482013-05-11 Joseph Myers <joseph@codesourcery.com>
29149
8329e4da
JM
29150 * math/libm-test.inc (fma_test): Use max_value instead of local
29151 variable fltmax.
29152 (nextafter_test): Likewise.
29153
74c57478
JM
29154 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29155 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29156 (acos_downward_test_data): New variable.
29157 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29158 (acos_upward_test_data): New variable.
29159 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29160 (acosh_test_data): New variable.
29161 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29162 (asin_test_data): New variable.
29163 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29164 (asin_tonearest_test_data): New variable.
29165 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29166 (asin_towardzero_test_data): New variable.
29167 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29168 (asin_downward_test_data): New variable.
29169 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29170 (asin_upward_test_data): New variable.
29171 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29172 (asinh_test_data): New variable.
29173 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29174 (atan_test_data): New variable.
29175 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29176 (atanh_test_data): New variable.
29177 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29178 (cbrt_test_data): New variable.
29179 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29180 (ceil_test_data): New variable.
29181 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29182 (cos_test_data): New variable.
29183 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29184 (cos_tonearest_test_data): New variable.
29185 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29186 (cos_towardzero_test_data): New variable.
29187 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29188 (cos_downward_test_data): New variable.
29189 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29190 (cos_upward_test_data): New variable.
29191 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29192 (cosh_test_data): New variable.
29193 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29194 (cosh_tonearest_test_data): New variable.
29195 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29196 (cosh_towardzero_test_data): New variable.
29197 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29198 (cosh_downward_test_data): New variable.
29199 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29200 (cosh_upward_test_data): New variable.
29201 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29202 (erf_test_data): New variable.
29203 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29204 (erfc_test_data): New variable.
29205 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29206 (exp_test_data): New variable.
29207 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29208 (exp_tonearest_test_data): New variable.
29209 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29210 (exp_towardzero_test_data): New variable.
29211 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29212 (exp_downward_test_data): New variable.
29213 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29214 (exp_upward_test_data): New variable.
29215 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29216 (exp10_test_data): New variable.
29217 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29218 (exp2_test_data): New variable.
29219 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29220 (expm1_test_data): New variable.
29221 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29222 (fabs_test_data): New variable.
29223 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29224 (floor_test_data): New variable.
29225 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29226 (j0_test_data): New variable.
29227 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29228 (j1_test_data): New variable.
29229 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29230 (log_test_data): New variable.
29231 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29232 (log10_test_data): New variable.
29233 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29234 (log1p_test_data): New variable.
29235 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29236 (log2_test_data): New variable.
29237 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29238 (logb_test_data): New variable.
29239 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29240 (logb_downward_test_data): New variable.
29241 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29242 (nearbyint_test_data): New variable.
29243 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29244 (rint_test_data): New variable.
29245 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29246 (rint_tonearest_test_data): New variable.
29247 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29248 (rint_towardzero_test_data): New variable.
29249 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29250 (rint_downward_test_data): New variable.
29251 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29252 (rint_upward_test_data): New variable.
29253 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29254 (round_test_data): New variable.
29255 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29256 (sin_test_data): New variable.
29257 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29258 (sin_tonearest_test_data): New variable.
29259 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29260 (sin_towardzero_test_data): New variable.
29261 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29262 (sin_downward_test_data): New variable.
29263 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29264 (sin_upward_test_data): New variable.
29265 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29266 (sinh_test_data): New variable.
29267 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29268 (sinh_tonearest_test_data): New variable.
29269 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29270 (sinh_towardzero_test_data): New variable.
29271 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29272 (sinh_downward_test_data): New variable.
29273 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29274 (sinh_upward_test_data): New variable.
29275 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29276 (sqrt_test_data): New variable.
29277 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29278 (tan_test_data): New variable.
29279 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29280 (tan_tonearest_test_data): New variable.
29281 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29282 (tan_towardzero_test_data): New variable.
29283 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29284 (tan_downward_test_data): New variable.
29285 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29286 (tan_upward_test_data): New variable.
29287 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29288 (tanh_test_data): New variable.
29289 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29290 (tgamma_test_data): New variable.
29291 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29292 (trunc_test_data): New variable.
29293 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29294 (y0_test_data): New variable.
29295 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29296 (y1_test_data): New variable.
29297 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29298 (significand_test_data): New variable.
29299 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29300
7187d844
CG
293012013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29302
29303 [BZ #12387]
29304 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29305
f63fae73
PT
293062013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29307
29308 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29309
8a67a4b3
AJ
293102013-05-10 Andreas Jaeger <aj@suse.de>
29311
29312 [BZ #15448]
29313 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29314 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29315
51df539d
JM
293162013-05-10 Joseph Myers <joseph@codesourcery.com>
29317
29318 * math/gen-libm-test.pl (adjust_arg): New function.
29319 (special_functions): Handle generating output in both functions
29320 and arrays.
29321 (parse_args): Likewise.
29322 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29323 $in_func argument to parse_args.
29324 * math/libm-test.inc (struct test_f_f_data): New type.
29325 (IF_ROUND_INIT_): New macro.
29326 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29327 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29328 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29329 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29330 (ROUND_RESTORE_): Likewise.
29331 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29332 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29333 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29334 (ROUND_RESTORE_FE_UPWARD): Likewise.
29335 (RUN_TEST_LOOP_f_f): New macro.
29336 (acos_test_data): New variable.
29337 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29338 (acos_tonearest_test_data): New variable.
29339 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29340
5c637fe5
SP
293412013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29342
29343 * benchtests/bench-skeleton.c (startup): Fix coding style.
29344
ab2b9461
JM
293452013-05-10 Joseph Myers <joseph@codesourcery.com>
29346
29347 [BZ #6809]
29348 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29349 negative infinity argument.
29350 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29351 negative infinity argument.
29352 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29353 negative infinity argument.
29354 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29355 domain errors.
29356
4c0fe6fe
FW
293572013-05-10 Florian Weimer <fweimer@redhat.com>
29358
29359 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29360 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29361 * iconv/iconv_prog.c (main): Likewise.
29362 * locale/programs/charmap-dir.c (charmap_readdir)
29363 (fopen_uncompressed): Likewise.
29364 * locale/programs/locfile.c (siblings_uncached)
29365 (write_locale_data): Use lstat64 instead of lstat.
29366 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29367 stat.
29368
a3375d29
AJ
293692013-05-10 Andreas Jaeger <aj@suse.de>
29370
29371 [BZ #15395]
29372 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29373 localization.
29374 Include <locale.h>.
29375
36129722
CD
293762013-05-09 Carlos O'Donell <carlos@redhat.com>
29377
29378 * elf/dl-close.c (_dl_close_worker): Add comments.
29379
faa7f811
JM
293802013-05-09 Joseph Myers <joseph@codesourcery.com>
29381
ed41ffef
JM
29382 [BZ #15359]
29383 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29384 high part of pi/2.
29385 (__ieee754_rem_pio2l): Update comments.
29386
d0213cd0
JM
29387 [BZ #15429]
29388 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29389 high part of pi/2.
29390 (__ieee754_rem_pio2l): Update comments.
29391
0d3e777a
JM
29392 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29393 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29394
24f56066
JM
29395 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29396 M_PI_4l.
29397
faa7f811
JM
29398 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29399 (M_PI_34_LOG10El): Likewise.
29400 (M_PI2_LOG10El): Likewise.
29401 (M_PI4_LOG10El): Likewise.
29402 (M_PI_LOG10El): Likewise.
29403
e9a5e0fd
AZ
294042013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29405
29406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29407
d8cd06db
JM
294082013-05-08 Joseph Myers <joseph@codesourcery.com>
29409
a0d9f9d7
JM
29410 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29411 (MINUS_ZERO_INIT): Likewise.
29412 (PLUS_INFTY_INIT): Likewise.
29413 (MINUS_INFTY_INIT): Likewise.
29414 (QNAN_VALUE_INIT): Likewise.
29415 (MAX_VALUE_INIT): Likewise.
29416 (MIN_VALUE_INIT): Likewise.
29417 (MIN_SUBNORM_VALUE_INIT): Likewise.
29418 (plus_zero): Initialize with PLUS_ZERO_INIT.
29419 (minus_zero): Initialize with MINUS_ZERO_INIT.
29420 (plus_infty): Initialize with PLUS_INFTY_INIT.
29421 (minus_infty): Initialize with MINUS_INFTY_INIT.
29422 (qnan_value): Initialize with QNAN_VALUE_INIT.
29423 (max_value): Initialize with MAX_VALUE_INIT.
29424 (min_value): Initialize with MIN_VALUE_INIT.
29425 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29426
ae08db3b
JM
29427 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29428 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29429 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29430 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29431
f44bf14a
JM
29432 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29433 (RUN_TEST_2_f): Likewise.
29434 (RUN_TEST_ff_f): Likewise.
29435 (RUN_TEST_fi_f): Likewise.
29436 (RUN_TEST_fl_f): Likewise.
29437 (RUN_TEST_fff_f): Likewise.
29438 (RUN_TEST_c_f): Likewise.
29439 (RUN_TEST_f_f1): Likewise.
29440 (RUN_TEST_fF_f1): Likewise.
29441 (RUN_TEST_fI_f1): Likewise.
29442 (RUN_TEST_ffI_f1): Likewise.
29443 (RUN_TEST_c_c): Likewise.
29444 (RUN_TEST_cc_c): Likewise.
29445 (RUN_TEST_f_i): Likewise.
29446 (RUN_TEST_f_i_tg): Likewise.
29447 (RUN_TEST_ff_i_tg): Likewise.
29448 (RUN_TEST_f_b): Likewise.
29449 (RUN_TEST_f_b_tg): Likewise.
29450 (RUN_TEST_f_l): Likewise.
29451 (RUN_TEST_f_L): Likewise.
29452 (RUN_TEST_sincos): Likewise.
29453 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29454 whether to show exceptions. Do not include ");\n" in return
29455 value.
29456 (special_functions): Output call to RUN_TEST_sincos instead of
29457 check_float calls. Update calls to new_test.
29458 (parse_args): Output call to single RUN_TEST_* macro instead of
29459 check_* calls and other assignments. Update calls to new_test.
29460
d8cd06db
JM
29461 [BZ #2546]
29462 [BZ #2560]
29463 [BZ #5159]
29464 [BZ #15426]
29465 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29466 input to result for tgamma overflow.
29467 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29468 (gamma_coeff): New variable.
29469 (NCOEFF): New macro.
29470 (gamma_positive): New function.
29471 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29472 underflow here. Use gamma_positive instead of exp (lgamma) for
29473 other arguments.
29474 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29475 (gamma_coeff): New variable.
29476 (NCOEFF): New macro.
29477 (gammaf_positive): New function.
29478 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29479 underflow here. Use gamma_positive instead of exp (lgamma) for
29480 other arguments.
29481 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29482 (gamma_coeff): New variable.
29483 (NCOEFF): New macro.
29484 (gammal_positive): New function.
29485 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29486 underflow here. Use gamma_positive instead of exp (lgamma) for
29487 other arguments.
29488 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29489 (gamma_coeff): New variable.
29490 (NCOEFF): New macro.
29491 (gammal_positive): New function.
29492 (__ieee754_gammal_r): Handle positive infinity, overflow and
29493 underflow here. Handle NaN the same as positive infinity. Remove
29494 check x < 0xffffffff for negative integers. Use gamma_positive
29495 instead of exp (lgamma) for other arguments.
29496 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29497 (gamma_coeff): New variable.
29498 (NCOEFF): New macro.
29499 (gammal_positive): New function.
29500 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29501 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29502 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29503 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29504 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29505 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29506 * sysdeps/generic/math_private.h (__gamma_productf): New
29507 prototype.
29508 (__gamma_product): Likewise.
29509 (__gamma_productl): Likewise.
29510 * math/Makefile (libm-calls): Add gamma_product.
29511 * math/libm-test.inc (tgamma_test): Add more tests.
29512 * sysdeps/i386/fpu/libm-test-ulps: Update.
29513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29514
bb7cf681
OB
295152013-05-08 Ondřej Bílka <neleai@seznam.cz>
29516
29517 * benchtests/bench-skeleton.c (main): Preheat CPU.
29518
ba853947
AJ
295192013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29520
29521 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29522
8347c74c
RM
295232013-05-07 Roland McGrath <roland@hack.frob.com>
29524
29525 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29526 and _dl_skip_args_internal.
29527
e8dd4791
CD
295282013-05-07 Carlos O'Donell <carlos@redhat.com>
29529
29530 * manual/message.texi (Message Translation): Talk about users.
29531 Message to key mapping impacts design.
29532
c7405830
RM
295332013-05-06 Roland McGrath <roland@hack.frob.com>
29534
a9173057
RM
29535 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29536
976e2f03
RM
29537 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29538
9723ffc5
RM
29539 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29540 * sysdeps/wordsize-64/glob64.c: ... here.
29541
962e6658
RM
29542 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29543 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29544 New macros.
29545
ee586a6d
RM
29546 * debug/getlogin_r_chk.c: Moved to ...
29547 * login/getlogin_r_chk.c: ... here.
29548 * debug/Makefile (routines): Move getlogin_r_chk to ...
29549 * login/Makefile (routines): ... here.
29550 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29551 * login/Versions (libc: GLIBC_2.4): ... here.
29552
355f9165
RM
29553 * io/poll.c (__poll): Renamed from poll.
29554 Add libc_hidden_def.
29555 (poll): Define as weak alias.
29556
bd9ffde6
RM
29557 * debug/ptsname_r_chk.c: Moved to ...
29558 * login/ptsname_r_chk.c: ... here.
29559 * debug/Makefile (routines): Move ptsname_r_chk to ...
29560 * login/Makefile (routines): ... here.
29561 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29562 * login/Versions (libc: GLIBC_2.4): ... here.
29563
8fb16a04
RM
29564 * posix/getlogin.c: Moved to ...
29565 * login/getlogin.c: ... here.
29566 * posix/getlogin_r.c: Moved to ...
29567 * login/getlogin_r.c: ... here.
29568 * posix/getlogin_r.c: Moved to ...
29569 * login/getlogin_r.c: ... here.
29570 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29571 * login/Makefile (routines): ... here.
29572 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29573 * login/Versions (libc: GLIBC_2.0): ... here.
29574
b99b892f
RM
29575 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29576 (setrlimit): Define as weak alias.
29577
c7405830
RM
29578 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29579 Call __ names for open, ftruncate, and close.
29580 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29581 (truncate): Define as weak alias.
29582
5bf96de5
JM
295832013-05-06 Joseph Myers <joseph@codesourcery.com>
29584
9ea3513c
JM
29585 * math/gen-libm-test.pl (parse_args): Initialize x before each
29586 test of frexp, modf and remquo.
29587
5bf96de5
JM
29588 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29589 test signgam value.
29590
16e616a7
AZ
295912013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29592
29593 [BZ #15418]
29594 [BZ #15419]
29595 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29596 internal tests.
29597 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29598
d5e82754
RM
295992013-05-06 Roland McGrath <roland@hack.frob.com>
29600
29601 * elf/dl-writev.h: New file.
29602 * elf/dl-misc.c: Include it.
29603 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29604 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29605
a7548d41
JM
296062013-05-04 Joseph Myers <joseph@codesourcery.com>
29607
b7dab1e4
JM
29608 * math/libm-test.inc (noXFails): Remove variable.
29609 (noXPasses): Likewise.
29610 (BUILD_COMPLEX_INT): Remove macro.
29611 (print_screen): Remove xfail argument.
29612 (print_screen_max_error): Likewise.
29613 (update_stats): Likewise.
29614 (print_max_error): Likewise. Update calls to other affected
29615 functions.
29616 (print_complex_max_error): Likewise.
29617 (test_single_exception): Update calls to print_screen.
29618 (test_single_errno): Likewise.
29619 (check_float_internal): Remove xfail argument. Update calls to
29620 other affected functions.
29621 (check_float): Likewise.
29622 (check_complex): Likewise.
29623 (check_int): Likewise.
29624 (check_long): Likewise.
29625 (check_bool): Likewise.
29626 (check_longlong): Likewise.
29627 (main): Don't print noXFails and noXPasses.
29628 * math/gen-libm-test.pl (top level): Don't mention expected
29629 failure handling in comment.
29630 (new_test): Don't handle expected failures.
29631 (parse_args): Don't mention expected failure handling in comment.
29632 (generate_testfile): Don't handle expected failures.
29633 (parse_ulps): Likewise.
29634 (print_ulps_file): Likewise.
29635 (get_failure): Remove function.
29636 (output_test): Don't handle expected failures.
29637 * make/README.libm-test: Don't mention expected failure handling.
29638
a7548d41
JM
29639 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29640 (minus_zero): Likewise.
29641 (plus_infty): Likewise.
29642 (minus_infty): Likewise.
29643 (qnan_value): Likewise.
29644 (max_value): Likewise.
29645 (min_value): Likewise.
29646 (min_subnorm_value): Likewise.
29647 (initialize): Do not initialize those variables dynamically.
29648
60bfd54c
RM
296492013-05-03 Roland McGrath <roland@hack.frob.com>
29650
cc0e6ed8
RM
29651 * io/open.c (__open_2): Moved to ...
29652 * io/open_2.c: ... this new file.
29653 * io/open64.c (__open64_2): Moved to ...
29654 * io/open64_2.c: ... this new file.
29655 * io/openat.c (__openat_2): Moved to ...
29656 * io/openat_2.c: ... this new file.
29657 * io/openat64.c (__openat64_2): Moved to ...
29658 * io/openat64_2.c: ... this new file.
29659 * io/Makefile (routines): Add them.
29660 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29661 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29662 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29663 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29664 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29665 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29666 (__openat64): Add hidden_ver.
29667 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29668 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29669
60bfd54c
RM
29670 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29671 Separately conditionalize setting of GLRO(dl_sysinfo) so
29672 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29673 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29674
83e7640f
AZ
296752013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29676
29677 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29678 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29679 definition.
29680 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29681 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29682 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29683 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29684 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29685
d5dc2af3
JM
296862013-05-03 Joseph Myers <joseph@codesourcery.com>
29687
c31a5b1e
JM
29688 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29689 test signgam value.
29690
d5dc2af3
JM
29691 * math/libm-test.inc (hypot_test): Do not use
29692 IGNORE_ZERO_INF_SIGN.
29693
164fd39d
AJ
296942013-05-03 Andreas Jaeger <aj@suse.de>
29695
29696 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29697 Linux 3.9.
29698 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29699 (PF_MAX): Adjust for VSOCK change.
29700
8237f48c
AZ
297012013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29702
29703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29704
9df02941
CD
297052013-05-02 Carlos O'Donell <carlos@redhat.com>
29706
29707 [BZ #15264]
29708 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29709 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29710 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29711
d422395e
DM
297122013-05-02 David S. Miller <davem@davemloft.net>
29713
29714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29715
a07c5731
OB
297162013-05-01 Ondřej Bílka <neleai@seznam.cz>
29717
29718 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29719
1324e37f
RM
297202013-05-01 Roland McGrath <roland@hack.frob.com>
29721
29722 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29723
0695940b
RS
297242013-05-01 Richard Smith <richard@metafoo.co.uk>
29725
bb5f27ad 29726 [BZ #14952]
0695940b
RS
29727 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29728 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29729 Use __attribute__ ((__gnu_inline__)).
29730 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29731 Don't use __attribute__ ((__gnu_inline__)).
29732
10de07f5
JM
297332013-05-01 Joseph Myers <joseph@codesourcery.com>
29734
29735 [BZ #15423]
29736 * math/s_catan.c (__catan): Handle small real or imaginary part of
29737 input specially to avoid spurious underflow.
29738 * math/s_catanf.c (__catanf): Likewise.
29739 * math/s_catanh.c (__catanh): Likewise.
29740 * math/s_catanhf.c (__catanhf): Likewise.
29741 * math/s_catanhl.c (__catanhl): Likewise.
29742 * math/s_catanl.c (__catanl): Likewise.
29743 * math/libm-test.inc (catan_test): Add more tests.
29744 (catanh_test): Likewise.
29745 * sysdeps/i386/fpu/libm-test-ulps: Update.
29746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29747
cb4d5414
AZ
297482013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29749
29750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29751
caf84319
JM
297522013-04-30 Joseph Myers <joseph@codesourcery.com>
29753
29754 [BZ #15416]
29755 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29756 accurately for denominator in atan2.
29757 * math/s_catanf.c (__catanf): Likewise.
29758 * math/s_catanh.c (__catanh): Likewise.
29759 * math/s_catanhf.c (__catanhf): Likewise.
29760 * math/s_catanhl.c (__catanhl): Likewise.
29761 * math/s_catanl.c (__catanl): Likewise.
29762 * math/libm-test.inc (catan_test): Add more tests.
29763 (catanh_test): Likewise.
29764 * sysdeps/i386/fpu/libm-test-ulps: Update.
29765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29766
d569c6ee
SP
297672013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29768
6dbe713d
SP
29769 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29770
f0ee064b
SP
29771 * benchtests/Makefile (bench): Remove slow benchmarks.
29772 * benchtests/atan-inputs: Add slow benchmark inputs.
29773 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29774 (BENCH_FUNC): Accept variant offset.
29775 (VARIANT): Define.
29776 * benchtests/bench-skeleton.c (main): Run benchmark for each
29777 variant.
29778 * benchtests/cos-inputs: Add slow benchmark inputs.
29779 * benchtests/exp-inputs: Likewise.
29780 * benchtests/pow-inputs: Likewise.
29781 * benchtests/sin-inputs: Likewise.
29782 * benchtests/slowatan-inputs: Remove.
29783 * benchtests/slowatan.c: Remove.
29784 * benchtests/slowcos-inputs: Remove.
29785 * benchtests/slowcos.c: Remove.
29786 * benchtests/slowexp-inputs: Remove.
29787 * benchtests/slowexp.c: Remove.
29788 * benchtests/slowpow-inputs: Remove.
29789 * benchtests/slowpow.c: Remove.
29790 * benchtests/slowsin-inputs: Remove.
29791 * benchtests/slowsin.c: Remove.
29792 * benchtests/slowtan-inputs: Remove.
29793 * benchtests/slowtan.c: Remove.
29794 * benchtests/tan-inputs: Add slow benchmark inputs.
29795 * scripts/bench.pl: Parse comments and directives.
29796
d569c6ee
SP
29797 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29798 in CPPFLAGS.
29799 ($(objpfx)bench-%.c): Remove *-ITER.
29800 * benchtests/bench-modf.c: Remove definition of ITER.
29801 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29802 (main): Loop for DURATION seconds instead of fixed number of
29803 iterations.
29804 * scripts/bench.pl: Don't expect iterations in parameters.
29805
a6a242fe
RM
298062013-04-29 Roland McGrath <roland@hack.frob.com>
29807
29808 * io/fchdir.c (__fchdir): Renamed from fchdir.
29809 (fchdir): Define as weak alias.
29810
f2da7793
JM
298112013-04-29 Joseph Myers <joseph@codesourcery.com>
29812
29813 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29814 (ERRNO_EDOM): Likewise.
29815 (ERRNO_ERANGE): Likewise.
29816 (noErrnoTests): New variable.
29817 (init_max_error): Set errno to 0.
29818 (test_single_errno): New function.
29819 (test_errno): Likewise.
29820 (check_float_internal): Call test_errno. Set errno to 0.
29821 (check_complex): Refer to errno tests in comment.
29822 (check_int): Call test_errno. Set errno to 0.
29823 (check_long): Likewise.
29824 (check_bool): Likewise.
29825 (check_longlong): Likewise.
29826 (cos_test): Use ERRNO_* flags for errno tests instead of
29827 check_int.
29828 (expm1_test): Likewise.
29829 (fmod_test): Likewise.
29830 (ilogb_test): Likewise.
29831 (lgamma_test): Likewise.
29832 (pow_test): Likewise.
29833 (remainder_test): Likewise.
29834 (sin_test): Likewise.
29835 (tan_test): Likewise.
29836 (yn_test): Likewise.
29837 (initialize): Set errno to 0.
29838 (main): Print number of errno tests.
29839 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29840
b1a36ceb
AJ
298412013-04-29 Andreas Jaeger <aj@suse.de>
29842
c3ed8088
AJ
29843 [BZ #15084]
29844 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29845 and RES_USEVC.
29846
f1a24198
AJ
29847 [BZ #15085]
29848 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29849 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29850 unimplemented.
29851
9ce3b2cb
AJ
29852 [BZ #15380]
29853 * stdlib/random.c (__initstate): Return NULL if
29854 __initstate fails.
29855
f1a24198 29856 [BZ #15086]
b1a36ceb
AJ
29857 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29858 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29859 RES_SNGLKUPREOP.
29860
7e7b6f36
AZ
298612013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29862
29863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29864
4d14f449
JM
298652013-04-29 Joseph Myers <joseph@codesourcery.com>
29866
29867 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29868 of individual tests.
29869 (casin_test): Likewise.
29870 (casinh_test): Likewise.
29871
5b4217d7
JM
298722013-04-27 Joseph Myers <joseph@codesourcery.com>
29873
29874 [BZ #15409]
29875 * math/s_catan.c (__catan): Handle arguments with large real or
29876 imaginary part separately without squaring.
29877 * math/s_catanf.c (__catanf): Likewise.
29878 * math/s_catanh.c (__catanh): Likewise.
29879 * math/s_catanhf.c (__catanhf): Likewise.
29880 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29881 and redefine.
29882 (__catanhl): Handle arguments with large real or imaginary part
29883 separately without squaring.
29884 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29885 and redefine.
29886 (__catanl): Handle arguments with large real or imaginary part
29887 separately without squaring.
29888 * math/libm-test.inc (catan_test): Add more tests.
29889 (catanh_test): Likewise.
29890 * sysdeps/i386/fpu/libm-test-ulps: Update.
29891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29892
4220c3ef
AJ
298932013-04-27 Andreas Jaeger <aj@suse.de>
29894
29895 [BZ #15007]
29896 * stdlib/stdlib.h: Update guards for qecvt.
29897 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29898 <stdlib.h>.
29899
4721b2d1
AM
299002013-04-27 Allan McRae <allan@archlinux.org>
29901
29902 * sysdeps/i386/fpu/libm-test-ulps: Update.
29903
f0302940
JM
299042013-04-26 Joseph Myers <joseph@codesourcery.com>
29905
9457fd95
JM
29906 [BZ #15406]
29907 * math/s_catan.c: Include <float.h>.
29908 (__catan): Ensure underflow exception occurs for underflowed
29909 result.
29910 * math/s_catanf.c: Include <float.h>.
29911 (__catanf): Ensure underflow exception occurs for underflowed
29912 result.
29913 * math/s_catanh.c: Include <float.h>.
29914 (__catanh): Ensure underflow exception occurs for underflowed
29915 result.
29916 * math/s_catanhf.c: Include <float.h>.
29917 (__catanhf): Ensure underflow exception occurs for underflowed
29918 result.
29919 * math/s_catanhl.c: Include <float.h>.
29920 (__catanhl): Ensure underflow exception occurs for underflowed
29921 result.
29922 * math/s_catanl.c: Include <float.h>.
29923 (__catanl): Ensure underflow exception occurs for underflowed
29924 result.
29925 * math/libm-test.inc (catan_test): Add more tests.
29926 (catanh_test): Likewise.
29927
f0302940
JM
29928 [BZ #15405]
29929 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29930 underflowed result.
29931 * math/s_ccoshf.c (__ccoshf): Likewise.
29932 * math/s_ccoshl.c (__ccoshl): Likewise.
29933 * math/s_csin.c (__csin): Likewise.
29934 * math/s_csinf.c (__csinf): Likewise.
29935 * math/s_csinh.c (__csinh): Likewise.
29936 * math/s_csinhf.c (__csinhf): Likewise.
29937 * math/s_csinhl.c (__csinhl): Likewise.
29938 * math/s_csinl.c (__csinl): Likewise.
29939 * math/libm-test.inc (ccos_test): Add more tests.
29940 (ccosh_test): Likewise.
29941 (csin_test): Likewise.
29942 (csinh_test): Likewise.
29943
aa630f59
AZ
299442013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29945
29946 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29947 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29948 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29949 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29950 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29951 powerpc/power5+/fpu folders.
29952 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29953
29954
1b835983
MT
299552013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29956
29957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29958
73709b26
JM
299592013-04-25 Joseph Myers <joseph@codesourcery.com>
29960
29961 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29962 additions to variable.
29963 [$(config-machine) = x86_64] (modules-names): Likewise.
29964 ($(objpfx)tst-audit3): Remove dependency.
29965 ($(objpfx)tst-audit3.out): Likewise.
29966 ($(objpfx)tst-audit4): Likewise.
29967 ($(objpfx)tst-audit4.out): Likewise.
29968 ($(objpfx)tst-audit5): Likewise.
29969 ($(objpfx)tst-audit5.out): Likewise.
29970 ($(objpfx)tst-audit6): Likewise.
29971 ($(objpfx)tst-audit6.out): Likewise.
29972 ($(objpfx)tst-audit7): Likewise.
29973 ($(objpfx)tst-audit7.out): Likewise.
29974 (tst-audit3-ENV): Remove variable.
29975 (tst-audit4-ENV): Likewise.
29976 (tst-audit5-ENV): Likewise.
29977 (tst-audit6-ENV): Likewise.
29978 (tst-audit7-ENV): Likewise.
29979 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29980 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29981 addition to variable.
29982 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29983 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29984 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29985 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29986 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29987 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29988 tst-audit3, tst-audit4 and tst-audit5.
29989 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29990 tst-audit6 and tst-audit7.
29991 [$(subdir) = elf] (modules-names): Add audit modules for those
29992 tests.
29993 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29994 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29995 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29996 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29997 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29998 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29999 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30000 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30001 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30002 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30003 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30004 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30005 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30006 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30007 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30008 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30009 Likewise.
30010 [$(subdir) = elf && $(config-cflags-avx) = yes]
30011 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30012 [$(subdir) = elf && $(config-cflags-avx) = yes]
30013 (CFLAGS-tst-auditmod4a.c): Likewise.
30014 [$(subdir) = elf && $(config-cflags-avx) = yes]
30015 (CFLAGS-tst-auditmod4b.c): Likewise.
30016 [$(subdir) = elf && $(config-cflags-avx) = yes]
30017 (CFLAGS-tst-auditmod6b.c): Likewise.
30018 [$(subdir) = elf && $(config-cflags-avx) = yes]
30019 (CFLAGS-tst-auditmod6c.c): Likewise.
30020 [$(subdir) = elf && $(config-cflags-avx) = yes]
30021 (CFLAGS-tst-auditmod7b.c): Likewise.
30022 * elf/tst-audit3.c: Move to ...
30023 * sysdeps/x86_64/tst-audit3.c: ... here.
30024 * elf/tst-audit4.c: Move to ...
30025 * sysdeps/x86_64/tst-audit4.c: ... here.
30026 * elf/tst-audit5.c: Move to ...
30027 * sysdeps/x86_64/tst-audit5.c: ... here.
30028 * elf/tst-audit6.c: Move to ...
30029 * sysdeps/x86_64/tst-audit6.c: ... here.
30030 * elf/tst-audit7.c: Move to ...
30031 * sysdeps/x86_64/tst-audit7.c: ... here.
30032 * elf/tst-auditmod3a.c: Move to ...
30033 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30034 * elf/tst-auditmod3b.c: Move to ...
30035 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30036 * elf/tst-auditmod4a.c: Move to ...
30037 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30038 * elf/tst-auditmod4b.c: Move to ...
30039 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30040 * elf/tst-auditmod5a.c: Move to ...
30041 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30042 * elf/tst-auditmod5b.c: Move to ...
30043 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30044 * elf/tst-auditmod6a.c: Move to ...
30045 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30046 * elf/tst-auditmod6b.c: Move to ...
30047 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30048 * elf/tst-auditmod6c.c: Move to ...
30049 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30050 * elf/tst-auditmod7a.c: Move to ...
30051 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30052 * elf/tst-auditmod7b.c: Move to ...
30053 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30054
1ef74943
PP
300552013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30056
30057 [BZ #15366]
30058 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30059 define unconditionally.
30060 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30061 define unconditionally.
30062 (INT8_C, INT16_C, etc.): Likewise.
30063
93fd48c5
MR
300642013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30065
ae9552cf
MR
30066 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30067 __ehdr_start with hidden visibility.
30068
93fd48c5
MR
30069 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30070
418601aa
CD
300712013-04-24 Carlos O'Donell <carlos@redhat.com>
30072
30073 * math/libm-test.inc (cos_test): Use accurate hex constants.
30074 (sincost_test): Likewise.
30075
2f38fbfe
JM
300762013-04-24 Joseph Myers <joseph@codesourcery.com>
30077
5e221800
JM
30078 * math/libm-test.inc (catan_test): Add more tests.
30079 (catanh_test): Likewise.
30080
77f143fd
JM
30081 * math/s_catanf.c (__catanf): Use suffixed floating-point
30082 constants.
30083 * math/s_catanhf.c (__catanhf): Likewise.
30084 * math/s_catanhl.c (__catanhl): Likewise.
30085 * math/s_catanl.c (__catanl): Likewise.
30086
2f38fbfe
JM
30087 [BZ #15394]
30088 * math/s_catan.c (__catan): Calculate imaginary part of result
30089 with log1p not log unless computing log of number close to 0.
30090 * math/s_catanf.c (__catanf): Likewise.
30091 * math/s_catanl.c (__catanl): Likewise.
30092 * math/s_catanh.c (__catanh): Calculate real part of result with
30093 log1p not log unless computing log of number close to 0.
30094 * math/s_catanhf.c (__catanhf): Likewise.
30095 * math/s_catanhl.c (__catanhl): Likewise.
30096 * math/libm-test.inc (catan_test): Add more tests.
30097 (catanh_test): Likewise.
30098 * sysdeps/i386/fpu/libm-test-ulps: Update.
30099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30100
45d69176
SP
301012013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30102
30103 * benchtests/Makefile: Mention files in which fast and slow
30104 paths of math functions are implemented.
30105
87f51853
RM
301062013-04-23 Roland McGrath <roland@hack.frob.com>
30107
30108 * sysdeps/posix/timespec_get.c: New file.
30109
3c026539
AZ
301102013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30111
30112 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30113 POWER.
30114 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30115 for POWER.
30116 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30117 powerpc/power5/fpu folders.
30118 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30119 * benchtests/Makefile: Add modf testcase.
30120 * benchtests/bench-modf.c: New file: Benchmark test for mo
30121
ff491d14
SP
301222013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30123
30124 [BZ #14888]
30125 * time/Makefile (tests): Add tst-strptime-whitespace.
30126 * time/strptime_l.c (get_number): Use ISSPACE.
30127 (__strptime_internal): Likewise.
30128 * time/tst-strptime-whitespace.c: New test case.
30129
7ed3f4e8
AS
301302013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30131
30132 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30133 member.
30134 (_nss_files_init): Set it here.
30135
5c95f7b6
HC
301362013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30137
30138 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30139 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30140 unsigned.
30141
d34c9158
JBG
301422013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30143
30144 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30145
2169712d
SP
301462013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30147
30148 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30149 size just once.
30150
29c5de99
DM
301512013-04-21 David S. Miller <davem@davemloft.net>
30152
30153 * po/ru.po: Update Russion translation from translation project.
30154
ccdad15d
AC
301552013-04-17 Adam Conrad <adconrad@0c3.net>
30156
30157 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30158 and setfsgid.
30159
0f122b8d
CD
301602013-04-17 Carlos O'Donell <carlos@redhat.com>
30161
5c5b07da 30162 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 30163 * configure: Regenerate.
5c5b07da 30164 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30165 Add example to error message.
30166 * sysdeps/i386/configure: Regenerate.
30167
037714dd
SP
301682013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30169
30170 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30171 slowtan.
30172 * benchtests/cos-inputs: New file.
30173 * benchtests/slowcos-inputs: New file.
30174 * benchtests/slowcos.c: New file.
30175 * benchtests/slowtan-inputs: New file.
30176 * benchtests/slowtan.c: New file.
30177 * benchtests/tan-inputs: New file.
30178
e913141d
RM
301792013-04-16 Roland McGrath <roland@hack.frob.com>
30180
30181 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30182 considered kosher.
30183
a2964074
SP
301842013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30185
4856bcd2
SP
30186 * benchtests/Makefile: Include cppflags-iterator.mk to add
30187 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30188
a2964074
SP
30189 * Makefile.in (bench-clean): New target.
30190 * benchtests/Makefile (bench-clean): Likewise.
30191
9fbf9aca
DH
301922013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30193
30194 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30195
207d1e2a
TS
301962013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30197
30198 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30199
306dfba9
AS
302002013-04-15 Andreas Schwab <schwab@suse.de>
30201
30202 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30203 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30204 * nscd/pwdcache.c (cache_addpw): Likewise.
30205 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30206 more than recsize.
30207
206a6699
SP
302082013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30209
30210 * benchtests/Makefile (bench): Write all output to
30211 bench-out.tmp together.
30212
0582f6b3
AS
302132013-04-15 Andreas Schwab <schwab@suse.de>
30214
30215 * nscd/nscd.c (main): Don't fork again after closing files.
30216
acb4325f
SP
302172013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30218
5cb26d0a
SP
30219 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30220
acb4325f
SP
30221 * benchtests/Rules (bench-deps): Collect dependencies into a
30222 single variable. Add Makefile to dependencies.
30223 ($(objpfx)bench-%.c): Depend on bench-deps.
30224
47792506
RM
302252013-04-12 Roland McGrath <roland@hack.frob.com>
30226 Xavier Roche <roche+kml2@exalead.com>
30227
30228 [BZ #15361]
30229 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30230 just that it's a file descriptor.
30231 * manual/llio.texi (Synchronizing AIO Operations): Update description
30232 for EBADF error from aio_fsync.
30233
8fc1bee5
SP
302342013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30235
30236 * Rules (bench): Move target definition...
30237 * benchtests/Makefile: ... here.
30238
aba5e333
CD
302392013-04-11 Carlos O'Donell <carlos@redhat.com>
30240
30241 * math/libm-test.inc (cos_test): Fix PI/2 test.
30242 (sincos_test): Likewise.
30243 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30244 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30245
273cdee8
AS
302462013-04-11 Andreas Schwab <schwab@suse.de>
30247
6ecec3b6
AS
30248 [BZ #13988]
30249 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30250 accept exponent character only when digits were seen.
30251 * stdio-common/Makefile (tests): Add bug26.
30252 * stdio-common/bug26.c: New file.
30253
273cdee8
AS
30254 [BZ #14293]
30255 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30256 non-freeable.
30257
8da491f5
SP
302582013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30259
01dc6df9
SP
30260 * Makeconfig (rtld-prefix): Define built linker prefix.
30261 * Rules (run-bench): Use it.
30262 * math/Makefile (run-regen-ulps): Likewise.
30263
8da491f5
SP
30264 * Rules (bench): Remove eval.
30265
abe7f530
SP
302662013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30267 Roland McGrath <roland@hack.frob.com>
30268 Ondrej Bilka <neleai@seznam.cz>
30269
30270 [BZ #15346]
30271 * time/getdate.c: Include ctype.h and alloca.h.
30272 (__getdate_r): Trim leading and trailing spaces of input.
30273 * time/tst-getdate.c (tests): Add tests with leading and
30274 trailing spaces.
30275
61c23e62
RM
302762013-04-08 Roland McGrath <roland@hack.frob.com>
30277
30278 [BZ #14280]
30279 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30280 when computing value.
30281
7208a313
CD
302822013-04-06 Carlos O'Donell <carlos@redhat.com>
30283
085b2d41
CD
30284 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30285 Use testrun.sh to run libm tests.
30286
7208a313
CD
30287 [BZ #15309]
30288 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30289
872c0acd
MM
302902013-04-06 Marko Myllynen <myllynen@redhat.com>
30291
30292 [BZ #15264]
30293 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30294
26510bdd
CD
302952013-04-06 Carlos O'Donell <carlos@redhat.com>
30296
30297 * Makefile.in (regen-ulps): New target.
30298 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30299 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30300 [ifneq (no,$(PERL)] (regen-ulps): New target.
30301 [ifeq (no,$(PERL)] (regen-ulps): New target.
30302 * math/libm-test.inc (ulps_file_name): Define.
30303 (output_dir): New variable.
30304 (options): Add "output-dir" option.
30305 (parse_opt): Handle 'o' case.
30306 (main): If output_dir is non-NULL use it as a prefix
30307 otherwise use "".
30308 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30309
a01f19c8
CD
303102013-04-06 Carlos O'Donell <carlos@redhat.com>
30311
30312 [BZ #10060, #10062]
30313 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30314 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30315 fail configure if __sync_val_compare_and_swap is not inlined.
30316 * sysdeps/i386/configure: Regenerate.
30317 * configure.in: Build for i686 when configured for i386.
30318 * configure: Regenerate.
30319 * README: Remove i386 reference.
30320
b7a329a5
CD
303212013-04-06 Carlos O'Donell <carlos@redhat.com>
30322
30323 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30324 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30325
bf0f50df
TS
303262013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30327
ee091edf
TS
30328 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30329 (lmsnanval): New variables.
30330 (F): Add conversion tests.
30331 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30332 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30333
a8b792d6
TS
30334 * stdio-common/tstdiomisc.c (F): Properly collect individual
30335 tests' results.
30336
a1cbf437
TS
30337 [BZ #14686, #15336]
30338 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30339 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30340 Instead, use input NaN values or generate a qNaN by arithmetic
30341 operation. Also fix bugs to comply with the standard.
30342 * math/libm-test.inc (remainder_test): Add more tests.
30343
8b43a0c9
TS
30344 [BZ #15335, #15342]
30345 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30346 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30347 input NaN values or generate a qNaN by arithmetic operation.
30348
d91da4ce
TS
30349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30350 unreachable code.
30351
bf0f50df
TS
30352 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30353 definitions.
30354
05e166c8
JM
303552013-04-03 Joseph Myers <joseph@codesourcery.com>
30356
30357 [BZ #14478]
30358 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30359 underflowed result.
30360 * math/s_cexpf.c (__cexpf): Likewise.
30361 * math/s_cexpl.c (__cexpl): Likewise.
30362 * math/libm-test.inc (cexp_test): Add more tests.
30363
1cef1b19
AS
303642013-04-03 Andreas Schwab <schwab@suse.de>
30365
30366 [BZ #15330]
30367 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30368 order arrays from heap if bigger than alloca cutoff.
30369
74d87055
TS
303702013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30371
30372 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30373 (SNAN_TESTS_double): Refer to GCC PR56831.
30374 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30375 GCC PR56828.
30376
d755bba4
SP
303772013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30378
90d5d5bb
SP
30379 * Rules (bench): Move bench.out after the run is complete.
30380
73e0cd5d
SP
30381 * Rules (bench): Echo currently running benchmark.
30382
64aabd4b
SP
30383 * benchtests/Makefile (bench): Add atan and slowatan.
30384 * benchtests/atan-inputs: New file.
30385 * benchtests/slowatan-inputs: New file.
30386 * benchtests/slowatan.c: New file.
30387
c871eccd
SP
30388 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30389 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30390 its value.
30391
d755bba4
SP
30392 [BZ #15305]
30393 * sysdeps/unix/sysv/linux/kernel-features.h
30394 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30395 __ASSUME_XFS_RESTRICTED_CHOWN.
30396 * sysdeps/unix/sysv/linux/pathconf.c
30397 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30398 Save and restore errno.
30399
52ce4860
JM
304002013-04-02 Joseph Myers <joseph@codesourcery.com>
30401
30402 [BZ #15327]
30403 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30404 arguments using __kernel_casinh.
30405 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30406 arguments using __kernel_casinhf.
30407 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30408 arguments using __kernel_casinhl.
30409 * math/libm-test.inc (cacosh_test): Add more tests.
30410 * sysdeps/i386/fpu/libm-test-ulps: Update.
30411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30412
81f311c2
SP
304132013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30414
e7906a47
SP
30415 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30416 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30417
92e3664b
SP
30418 * bench/Makefile (bench): Add sin and slowsin.
30419 * benchtests/sin-inputs: New file.
30420 * benchtests/slowsin-inputs: New file.
30421 * benchtests/slowsin.c: New file.
30422
81f311c2
SP
30423 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30424 (bench): Add slowexp and slowpow.
30425 (exp-ITER): Increase iterations.
30426 (pow-ITER): Likewise.
30427 * benchtests/exp-inputs: Change input.
30428 * benchtests/pow-inputs: Likewise.
30429 * benchtests/slowexp-inputs: New file.
30430 * benchtests/slowexp.c: New file.
30431 * benchtests/slowpow-inputs: New file.
30432 * benchtests/slowpow.c: New file.
30433
ab0f1aa9
AZ
304342013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30435
30436 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30437 instructions.
30438 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30439 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30440 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30441 * benchtests/Makefile: Add rint benchtest.
30442 * benchtests/rint-inputs: Input for rint benchtest.
30443
57267616
TS
304442013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30445
30446 * Versions.def (libm): Add GLIBC_2.18.
30447 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30448 hidden libm prototypes.
30449 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30450 * math/Makefile (libm-calls): Add s_issignaling.
30451 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30452 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30453 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30454 declaration.
30455 * math/math.h [__USE_GNU] (issignaling): New macro.
30456 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30457 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30458 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30459 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30460 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30461 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30462 * manual/arith.texi (issignaling): New section.
30463 * manual/libm-err-tab.pl (@all_functions): Update comment.
30464 * math/gen-libm-test.pl (parse_args): Apply special handling for
30465 issignaling.
30466 * math/libm-test.inc (print_float, issignaling_test): New
30467 functions.
30468 (check_float_internal): Add issignaling checks.
30469 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30470 default definition.
30471 * sysdeps/powerpc/math-tests.h: New file.
30472 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30473 tests.
30474 * math/test-snan.c (TEST_FUNC): Likewise.
30475
6142896d
DM
304762013-03-30 David S. Miller <davem@davemloft.net>
30477
30478 * po/de.po: Update from translation team.
30479
ccc8cadf
JM
304802013-03-30 Joseph Myers <joseph@codesourcery.com>
30481
30482 [BZ #10357]
30483 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30484 imaginary part less than 1.0 and real part less than 0.5
30485 specially.
30486 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30487 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30488 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30489 (cacos_test): Add more tests.
30490 (casin_test): Likewise.
30491 (casinh_test): Likewise.
30492 * sysdeps/i386/fpu/libm-test-ulps: Update.
30493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30494
0f6a8d4b
SP
304952013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30496
0d1029de
SP
30497 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30498 ONE with its value.
30499
c2d94018
SP
30500 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30501 (__pow_mp): Replace ONE and MONE with their values.
30502 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30503 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30504 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30505 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30506 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30507 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30508
27ec37f1
SP
30509 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30510
a64d7e0e
SP
30511 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30512 (__pow_mp): Replace ZERO and MZERO with their values.
30513 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30514 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30515 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30517 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30518 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30519 (__sqr): Likewise.
30520
d26dd3eb
SP
30521 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30522
0f6a8d4b
SP
30523 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30524
e57b0c61
RM
305252013-03-28 Roland McGrath <roland@hack.frob.com>
30526
30527 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30528 Declare with __attribute__ ((weak)).
30529 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30530 Call __call_tls_dtors only if it's not NULL.
30531
356b3480
RM
305322013-03-28 Roland McGrath <roland@hack.frob.com>
30533
288f7d79
RM
30534 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30535 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30536 magic __ehdr_start linker symbol if it's defined.
30537 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30538 them up here if it was already done.
30539
dc0a0263
RM
30540 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30541 (_dl_aux_init): Use const in cast when setting it.
30542 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30543 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30544 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30545
3d3436ae
RM
30546 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30547 Declare them here.
30548 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30549 * csu/libc-tls.c: Nor here.
30550 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30551
356b3480
RM
30552 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30553 (__libc_message): Never call vsyslog.
30554
b0f1246a
AM
305552013-03-28 Alan Modra <amodra@gmail.com>
30556
30557 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30558 Define as empty.
30559 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30560 Likewise.
30561
fbbe2b9a
AZ
305622013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30563
30564 [BZ #15214]
30565 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30566 underflow.
30567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30568
1728ab37
SP
305692013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30570
7a86be6e
SP
30571 [BZ #15304]
30572 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30573 Don't add gid passed as argument.
30574
1728ab37
SP
30575 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30576
3a7182a1
JM
305772013-03-27 Joseph Myers <joseph@codesourcery.com>
30578
30579 [BZ #15307]
30580 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30581 imaginary part between 1.0 and 1.5 and real part less than 0.5
30582 specially.
30583 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30584 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30585 * math/libm-test.inc (cacos_test): Add more tests.
30586 (casin_test): Likewise.
30587 (casinh_test): Likewise.
30588 * sysdeps/i386/fpu/libm-test-ulps: Update.
30589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30590
6f2e90e7
SP
305912013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30592
5739f705
SP
30593 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30594 constants.
30595 (norm): Likewise.
30596 (denorm): Likewise.
30597 (__dbl_mp): Likewise.
30598 (add_magnitudes): Likewise.
30599 (sub_magnitudes): Likewise.
30600 (__add): Likewise.
30601 (__sub): Likewise.
30602 (__mul): Likewise.
30603 (__sqr): Likewise.
30604 (__inv): Likewise.
30605 (__dvd): Likewise.
30606
e375e83d
SP
30607 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30608 commented code.
30609 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30610 (__dubcos): Likewise.
30611 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30612 (__ieee754_acos): Likewise.
30613 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30614 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30615 (__exp1): Likewise.
30616 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30617 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30618 (log1): Likewise.
30619 (my_log2): Likewise.
30620 (checkint): Likewise.
30621 * sysdeps/ieee754/dbl-64/e_remainder.c
30622 (__ieee754_remainder): Likewise.
30623 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30624 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30625 (bsloww): Likewise.
30626 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30627
6f2e90e7
SP
30628 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30629 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30630 MANTISSA_STORE_T to store computations on mantissa. Use
30631 macros for rounding and division.
30632 (denorm): Likewise.
30633 (__dbl_mp): Likewise.
30634 (add_magnitudes): Likewise.
30635 (sub_magnitudes): Likewise.
30636 (__mul): Likewise.
30637 (__sqr): Likewise.
30638 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30639 powers of two in terms of TWOPOW macro.
30640 (mp_no): Make type of mantissa as MANTISSA_T.
30641 [!RADIXI]: Define RADIXI.
30642 [!TWO52]: Define TWO52.
30643 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30644
fce14d4e
AZ
306452013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30646
30647 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30648 llroundl symbol when building for PPC32.
30649
9ad027fb
MW
306502013-03-24 Mark H Weaver <mhw@netris.org>
30651
30652 * manual/arith.texi (Normalization Functions): Fix prototypes for
30653 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30654
e42a38dd
AZ
306552013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30656
30657 [BZ #13889]
30658 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30659 high value to check if expl overflow.
30660 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30661 to check for underflow and overflow.
30662 * math/libm-test.inc: Add exp test.
30663
2e0fb521
DL
306642013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30665
30666 [BZ #11120]
30667 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30668 with NOT_IN_libc.
30669
b5784d95
AZ
306702013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30671
30672 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30673 symbol.
30674
5aa4a1a1
TS
306752013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30676
bdef0be7
TS
30677 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30678 wrap blocks consisting of several statements.
30679
5aa4a1a1
TS
30680 * sysdeps/generic/math-tests.h: New file.
30681 * sysdeps/i386/fpu/math-tests.h: Likewise.
30682 * math/test-snan.c: Include it.
30683 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30684
98c48fe5
JM
306852013-03-21 Joseph Myers <joseph@codesourcery.com>
30686
30687 [BZ #15285]
30688 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30689 (__ieee754_j0l): Do not improve calculations using cos of twice
30690 input for inputs above LDBL_MAX / 2.0L.
30691 (__ieee754_y0l): Likewise.
30692 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30693 (__ieee754_j1l): Do not improve calculations using cos of twice
30694 input for inputs above LDBL_MAX / 2.0L.
30695 (__ieee754_y1l): Likewise.
30696 * math/libm-test.inc (j0_test): Add another test.
30697 (j1_test): Likewise.
30698 (y0_test): Likewise.
30699 (y1_test): Likewise.
30700 * sysdeps/i386/fpu/libm-test-ulps: Update.
30701
3775a8bc
SP
307022013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30703
30704 * Rules ($(objpfx)bench-%.c): Include code from a C source
30705 file.
30706
0a1b2ae6
JM
307072013-03-21 Joseph Myers <joseph@codesourcery.com>
30708
30709 [BZ #15287]
30710 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30711 imaginary part 1.0 and real part less than 0.5 specially.
30712 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30713 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30714 * math/libm-test.inc (cacos_test): Add more tests.
30715 (casin_test): Likewise.
30716 (casinh_test): Likewise.
30717 * sysdeps/i386/fpu/libm-test-ulps: Update.
30718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30719
b33d4ce4
SP
307202013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30721
30722 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30723 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30724
bef0b507
JM
307252013-03-20 Joseph Myers <joseph@codesourcery.com>
30726
30727 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30728 * config.make.in (config-cflags-sse4): Remove variable.
30729 (config-cflags-avx): Likewise.
30730 (config-cflags-sse2avx): Likewise.
30731 (config-cflags-novzeroupper): Likewise.
30732 (config-asflags-i686): Likewise.
30733 (have-mfma4): Likewise.
30734 (have-as-vis3): Likewise.
30735 (MIG): Likewise.
30736 * configure.in (MIG): Do not AC_SUBST.
30737 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30738 (libc_cv_cc_sse4): Do not AC_SUBST.
30739 (libc_cv_cc_avx): Likewise.
30740 (libc_cv_cc_sse2avx): Likewise.
30741 (libc_cv_cc_novzeroupper): Likewise.
30742 (libc_cv_cc_fma4): Likewise.
30743 (libc_cv_as_i686): Likewise.
30744 (libc_cv_sparc_as_vis3): Likewise.
30745 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30746 LIBC_CONFIG_VAR.
30747 (config-asflags-i686): Likewise.
30748 (config-cflags-avx): Likewise.
30749 (config-cflags-sse2avx): Likewise.
30750 (have-mfma4): Likewise.
30751 (config-cflags-novzeroupper): Likewise.
30752 * sysdeps/mach/configure.in (MIG): Likewise.
30753 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30754 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30755 LIBC_CONFIG_VAR.
30756 (config-cflags-avx): Likewise.
30757 (config-cflags-sse2avx): Likewise.
30758 (have-mfma4): Likewise.
30759 (config-cflags-novzeroupper): Likewise.
30760 * configure: Regenerated.
30761 * sysdeps/i386/configure: Likewise.
30762 * sysdeps/mach/configure: Likewise.
30763 * sysdeps/sparc/configure: Likewise.
30764 * sysdeps/x86_64/configure: Likewise.
30765
912cc4b3
RM
307662013-03-20 Roland McGrath <roland@hack.frob.com>
30767
30768 [BZ #14812]
30769 * locale/programs/localedef.c (options): Put N_ translation marker
30770 on argument names, not just descriptions.
30771
04eed2b0
MS
307722013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30773
30774 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30775
a065ceff
OB
307762013-03-20 Ondřej Bílka <neleai@seznam.cz>
30777
9bb2a810 30778 [BZ #14176]
a065ceff
OB
30779 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30780
a600e5ce
RM
307812013-03-19 Roland McGrath <roland@hack.frob.com>
30782
30783 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30784 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30785 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30786 [!BEFORE_ABORT] (before_abort): New function.
30787 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30788 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30789 (writev_for_fatal): New function.
30790 (WRITEV_FOR_FATAL): New macro; call that.
30791 (backtrace_and_maps): New function.
30792 (BEFORE_ABORT): New macro; call that.
30793 (struct str_list): Type removed.
30794 (__libc_message, __libc_fatal): Functions removed.
30795 Include <sysdeps/posix/libc_fatal.c> instead.
30796
6b18bea6
JM
307972013-03-19 Joseph Myers <joseph@codesourcery.com>
30798
30799 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30800 constants.
30801 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30802 double constants.
30803
aaa8cb4b
AS
308042013-03-19 Andreas Schwab <schwab@suse.de>
30805
44673770
AS
30806 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30807 * sysdeps/gnu/configure: Regenerate.
30808
aaa8cb4b
AS
30809 * configure.in: Substitute libc_cv_rtlddir.
30810 * configure: Regenerate.
30811 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30812 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30813 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30814 * elf/Makefile (install-others, CFLAGS-interp.c)
30815 (ldso_install, common-ldd-rewrite): Likewise.
30816 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30817 $(inst_slibdir)/$(rtld-installed-name).
30818 * scripts/rellns-sh: Add -p option.
30819 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30820 for source.
30821
d3cfc668
SP
308222013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30823
30824 * manual/nptl.texi: Renamed to ...
30825 * manual/threads.texi: ... this.
30826 * manual/Makefile (chapters): Update.
30827
0e2b9cdd
RM
308282013-03-18 Roland McGrath <roland@hack.frob.com>
30829
30830 [BZ #14812]
30831 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30832 on argument names, not just descriptions.
0e2b9cdd
RM
30833 * malloc/memusagestat.c (options): Likewise.
30834 * nss/getent.c (options): Likewise.
63270c24
RM
30835
308362013-03-18 Benno Schulenberg <bensberg@justemail.net>
30837
30838 [BZ #14812]
30839 * iconv/iconv_prog.c (options): Put N_ translation marker
30840 on argument names, not just descriptions.
30841 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30842
b2e1393c
OB
308432013-03-18 Ondrej Bilka <neleai@seznam.cz>
30844
30845 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30846 implementation which is faster on all x86_64 architectures.
30847 Tested on AMD, Intel Nehalem, SNB, IVB.
30848 * sysdeps/x86_64/strnlen.S: Likewise.
30849
30850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30851 Remove all multiarch strlen and strnlen versions.
30852 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30853 Remove strlen and strnlen related parts.
30854
30855 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30856 Inline strlen part.
30857 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30858
30859 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30860 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30861 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30862 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30863 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30864 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30865
ec4ff04d
CD
308662013-03-17 Carlos O'Donell <carlos@redhat.com>
30867
30868 * manual/memory.texi (Malloc Tunable Parameters):
30869 Sort parameters alphabetically. Add comments for missing entries.
30870
cd18e90a
DM
308712013-03-17 David S. Miller <davem@davemloft.net>
30872
30873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30874
2a185d32
JM
308752013-03-16 Joseph Myers <joseph@codesourcery.com>
30876
d2f9799e
JM
30877 [BZ #15283]
30878 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30879 for arguments at most half maximum finite value.
30880 * math/libm-test.inc (j0_test): Add more tests.
30881 (j1_test): Likewise.
30882 (y0_test): Likewise.
30883 (y1_test): Likewise.
30884 * sysdeps/i386/fpu/libm-test-ulps: Update.
30885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30886
2a185d32
JM
30887 [BZ #14155]
30888 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30889 1 / x and functions P and Q for arguments above 0x1p256L.
30890 (__ieee754_y0l): Likewise.
30891 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30892 (__ieee754_y1l): Likewise.
30893 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30894 (j1_test): Likewise.
30895 (y0_test): Likewise.
30896 (y1_test): Likewise.
30897
6cbec759
TS
308982013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30899
30900 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30901 variable.
30902
bc16e260
RM
309032013-03-15 Roland McGrath <roland@hack.frob.com>
30904
aefc9b8c
RM
30905 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30906 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30907 zero since it's initialized to EXEC_PAGESIZE.
30908
bc16e260
RM
30909 * sysdeps/unix/sysv/linux/ldsodefs.h
30910 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30911 * sysdeps/generic/ldsodefs.h: ... here.
30912
a57da955
TS
309132013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30914
af00a34d
TS
30915 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30916
495ded2c
TS
30917 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30918 math/test-snan.c.
30919 * math/test-snan.c: Renamed from
30920 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30921 * math/Makefile (tests): Add test-snan.
30922 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30923 test-powerpc-snan.
30924
777b0332
TS
30925 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30926 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30927 functions.
30928 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30929 __builtin_nan family of functions.
30930 * math/libm-test.inc (initialize): Initialize qnan_value with
30931 __builtin_nan family of functions.
30932 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30933 Remove variables.
30934 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30935 Remove functions.
30936 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30937 storage class. Initialize qNaN_var and sNaN_var with
30938 __builtin_nan and __builtin_nans families of functions,
30939 respectively.
30940
64d063b8
TS
30941 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30942 (sqrt_test): Remove duplicate test with qNaN input.
30943 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30944 (round_test, signbit_test, significand_test): Note missing +/-Inf
30945 as well as qNaN tests.
30946
67e971f1
TS
30947 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30948 qNaN_var. Fix a few strings, too.
30949 * math/libm-test.inc (nan_value): Rename to qnan_value.
30950 * math/gen-libm-test.pl (%beautify): Adjust to that.
30951 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30952 * math/test-misc.c (main): Likewise.
30953 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30954 to __qnan_bytes, and __qnan_union, respectively.
30955 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30956 Likewise.
30957 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30958 and lqnanval, respectively.
30959 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30960 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30961 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30962 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30963
64487e12
TS
30964 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30965 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30966 doubles.
30967
e015e27b
TS
30968 * math/test-misc.c (main): Fix copy'n'pastos.
30969 * misc/tst-efgcvt.c (special): Likewise.
30970
a57da955
TS
30971 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30972 Remove declarations.
30973
1e380345
SP
309742013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30975
30976 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30977 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30978 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30979 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30980
ef26eece
AZ
309812013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30982
30983 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30984 macro to return vdso values correctly in IFUNC implementations.
30985 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30986 Optimization by using IFUNC.
30987
8cfdb7e0
SP
309882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30989 Richard Henderson <rth@redhat.com>
30990 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30991
30992 * Makefile.in (bench): New target.
30993 * NEWS: Mention the benchmark framework.
30994 * Rules (bench): Likewise.
30995 (binaries-bench): Generate binaries for functions to
30996 benchmark.
30997 * benchtests/Makefile: New makefile for benchmark tests.
30998 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30999 programs.
31000 * benchtests/exp-inputs: New input file for EXP function.
31001 * benchtests/pow-inputs: New input file for POW function.
31002 * scripts/bench.pl: New script to generate source files for
31003 benchmark programs.
31004
bcda9880
SP
310052013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31006
d22ca8cd
SP
31007 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31008 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31009 computations on mantissa. Use macros for rounding and
31010 division.
31011 (denorm): Likewise.
31012 (__dbl_mp): Likewise.
31013 (add_magnitudes): Likewise.
31014 (sub_magnitudes): Likewise.
31015 (__mul): Likewise.
31016 (__sqr): Likewise.
31017 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31018 powers of two in terms of TWOPOW macro.
31019 (mp_no): Make type of mantissa as MANTISSA_T.
31020 [!RADIXI]: Define RADIXI.
31021 [!TWO52]: Define TWO52.
31022 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31023
bcda9880
SP
31024 * manual/nptl.texi (cindex): Modify threads to pthreads.
31025
06d5adfb
JM
310262013-03-15 Joseph Myers <joseph@codesourcery.com>
31027
31028 * sysdeps/x86_64/preconfigure: Regenerated.
31029
41c7328e
JM
310302013-03-14 Joseph Myers <joseph@codesourcery.com>
31031
31032 [BZ #14155]
31033 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31034 0x1p28 and above.
31035 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31036 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31037 0x1p28 and above.
31038 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31039 * math/libm-test.inc (j0_test): Do not allow one spurious
31040 underflow exception.
31041 (y1_test): Likewise.
31042
e25cfa60
SP
310432013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31044
0409959c
SP
31045 * manual/Makefile (chapters): Add nptl.
31046 * manual/debug.texi (Debugging Support): Add link to Threads
31047 chapter.
31048 * manual/nptl.texi: New file.
31049
e25cfa60
SP
31050 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31051
58a1335e
PB
310522013-03-14 Petr Baudis <pasky@ucw.cz>
31053
31054 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31055 for non-NULL pointer before the memory validity test. Pointed
31056 out by Holger Brunck <holger.brunck@keymile.com>.
31057
9dc7c64f
AS
310582013-03-13 Andreas Schwab <schwab@suse.de>
31059
31060 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31061 instead of .os.
31062
54206aa6
JM
310632013-03-13 Joseph Myers <joseph@codesourcery.com>
31064
31065 * timezone/zic.c: Update from tzcode 2013b.
31066
e98cdb38
CD
310672013-03-12 Carlos O'Donell <carlos@redhat.com>
31068
31069 * manual/install.texi (Configuring and compiling):
31070 Mention i686 and i586.
31071 * INSTALL: Regenerate.
31072
9967e003
RM
310732013-03-12 Roland McGrath <roland@hack.frob.com>
31074
31075 * sysdeps/init_array/elf-init.c: New file.
31076 * csu/elf-init.c
31077 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31078 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31079
31080 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31081 __gmon_start__ as global, but as static with a .preinit_array pointer.
31082 * sysdeps/init_array/gmon-start.c: New file. Use that.
31083 * sysdeps/init_array/crti.S: New file, empty except for comments.
31084 * sysdeps/init_array/crtn.S: Likewise.
31085
e6b5a293 310862013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
31087
31088 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31089 definining bcopy.
80f844c9
OB
31090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31091 Remove Prefer_SSE_for_memop.
31092 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31093 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31094 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
31095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31096 memset-x86-64.
80f844c9 31097 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 31098 Remove bzero, memset ifunc support.
80f844c9
OB
31099 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31100 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31101 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31102 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31103
fb6b0fcb
AS
311042013-03-11 Andreas Schwab <schwab@suse.de>
31105
31106 [BZ #15234]
31107 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31108 by SHLIB_COMPAT.
31109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31110 (GLIBC_2.16): Remove pthread_atfork.
31111
3e6bd4b1
PP
311122013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31113
31114 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31115 (ptestcases.h): Likewise.
31116
222d7f00
RM
311172013-03-08 Roland McGrath <roland@hack.frob.com>
31118
31119 * Makeconfig ($(common-objpfx)config.status): Depend on
31120 sysdeps/*/preconfigure{,.in} too.
31121
1ba4f030
JM
311222013-03-08 Joseph Myers <joseph@codesourcery.com>
31123
a222d91a
JM
31124 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31125 (__free_hook): Use void * instead of __malloc_ptr_t.
31126 (__malloc_hook): Likewise.
31127 (__realloc_hook): Likewise.
31128 (__memalign_hook): Likewise.
31129 (__after_morecore_hook): Likewise.
31130 * malloc/arena.c (save_malloc_hook): Likewise.
31131 (save_free_hook): Likewise.
31132 * malloc/hooks.c (malloc_hook_ini): Likewise.
31133 (realloc_hook_ini): Likewise.
31134 (memalign_hook_ini): Likewise.
31135 * malloc/malloc.c (malloc_hook_ini): Likewise.
31136 (realloc_hook_ini): Likewise.
31137 (memalign_hook_ini): Likewise.
31138 (__free_hook): Likewise.
31139 (__malloc_hook): Likewise.
31140 (__realloc_hook): Likewise.
31141 (__memalign_hook): Likewise.
31142 (__libc_malloc): Likewise.
31143 (__libc_free): Likewise.
31144 (__libc_realloc): Likewise.
31145 (__libc_memalign): Likewise.
31146 (__libc_valloc): Likewise.
31147 (__libc_pvalloc): Likewise.
31148 (__libc_calloc): Likewise.
31149 (__posix_memalign): Likewise.
31150 * malloc/morecore.c (__sbrk): Likewise.
31151 (__default_morecore): Likewise.
31152
5cc45e10
JM
31153 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31154
dd54b864
JM
31155 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31156 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31157 __malloc_ptrdiff_t.
31158
1ba4f030
JM
31159 * malloc/malloc.h (__malloc_size_t): Remove macro.
31160 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31161 __malloc_size_t.
31162 (old_memalign_hook): Likewise.
31163 (old_realloc_hook): Likewise.
31164 (struct hdr): Likewise.
31165 (flood): Likewise.
31166 (mallochook): Likewise.
31167 (memalignhook): Likewise.
31168 (reallochook): Likewise.
31169 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31170 (tr_old_realloc_hook): Likewise.
31171 (tr_old_memalign_hook): Likewise.
31172 (tr_mallochook): Likewise.
31173 (tr_reallochook): Likewise.
31174 (tr_memalignhook): Likewise.
31175
edf66e57
AZ
311762013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31177
31178 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31179 default_ldbl_pack and using as default implementation.
31180 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31181 implementation.
31182 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31183 redundant definition.
31184 (ldbl_insert_mantissa): Likewise.
31185 (ldbl_canonicalize): Likewise.
31186 (ldbl_nearbyint): Likewise.
31187 (ldbl_pack): Rename to ldbl_pack_ppc.
31188 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31189 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31190 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31191
6d9145d8
SP
311922013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31193
31194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31195 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31196 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31197 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31199 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31200 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31201 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31202
4dd4e157
AJ
312032013-03-07 Andreas Jaeger <aj@suse.de>
31204
31205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31206 bits/mman-linux.h.
31207
adbb8027
SP
312082013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31209
ce544b5b
SP
31210 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31211 Include mpa.h and declare __MPEXP.
31212 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31213 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31214 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31215 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31216 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31217 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31218 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31219
4cc149fd
SP
31220 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31221 (__slowpow): Use long double EXPL and LOGL functions to
31222 compute POW.
31223 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31224 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31225 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31226 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31227 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31228 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31229
e6ebd4a7
SP
31230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31231 intermediate variable to calculate exponent.
31232 (__sqr): Likewise.
31233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31234 Likewise.
31235 (__sqr): Likewise.
31236
82a9811d
SP
31237 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31238 [!NO__SQR]: Define __sqr.
31239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31240 and NO__SQR. Remove all code except __mul and __sqr. Include
31241 sysdeps/ieee754/dbl-64/mpa.c.
31242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31243
adbb8027
SP
31244 [BZ #12723]
31245 * posix/Makefile (tests): Add tst-pathconf.
31246 * posix/tst-pathconf.c: New test case.
31247 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31248 _PC_PIPE_BUF.
31249 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31250
39120df9
PF
312512013-03-06 Patsy Franklin <pfrankli@redhat.com>
31252
31253 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31254
67525cb8
AJ
312552013-03-06 Andreas Jaeger <aj@suse.de>
31256
664a9ce4
AJ
31257 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31258 definition via __MAP_ANONYMOUS.
31259
8e39047d
AJ
31260 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31261 it's not part of Linux headers.
31262
67525cb8
AJ
31263 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31264 (MAP_HUGE_MASK): Define.
31265
31266 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31267 Define.
31268 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31269 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31270 Define.
31271 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31272 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31273 Define.
31274 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31275 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31276 Define.
31277 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31278
31279 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31280 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31281 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31282 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31283 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31284 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31285
31286 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31287 Handle f2fs.
31288
31289 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31290 Handle f2fs and efivarfs.
31291
31292 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31293 f2fs.
31294
31295 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31296 (EFIVARFS_MAGIC): Add.
31297 (F2FS_LINK_MAX): Add.
31298
e1b42695
PP
312992013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31300
31301 * stdio-common/vfprintf.c: Replace __builtin_expect with
31302 __glibc_unlikely.
31303
2d67d91a
JM
313042013-03-06 Joseph Myers <joseph@codesourcery.com>
31305
31306 [BZ #13550]
31307 * sysdeps/generic/bp-sym.h: Remove file.
31308 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31309 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31310 <bp-sym.h> and <bp-asm.h>.
31311 (__longjmp): Don't use BP_SYM.
31312 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31313 and <bp-asm.h>.
31314 (memcpy): Don't use BP_SYM.
31315 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31316 <bp-sym.h> and <bp-asm.h>.
31317 (memcpy): Don't use BP_SYM.
31318 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31319 <bp-asm.h>.
31320 (memcpy): Don't use BP_SYM.
31321 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31322 <bp-asm.h>.
31323 (memset): Don't use BP_SYM.
31324 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31325 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31326 (__bzero): Don't use BP_SYM.
31327 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31328 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31329 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31330 <bp-sym.h> and <bp-asm.h>.
31331 (memcmp): Don't use BP_SYM. Remove comment about bounded
31332 pointers.
31333 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31334 <bp-sym.h> and <bp-asm.h>.
31335 (memcpy): Don't use BP_SYM.
31336 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31337 <bp-sym.h> and <bp-asm.h>.
31338 (memset): Don't use BP_SYM.
31339 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31340 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31341 (__bzero): Don't use BP_SYM.
31342 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31343 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31344 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31345 <bp-sym.h> and <bp-asm.h>.
31346 (strncmp): Don't use BP_SYM. Remove comment about bounded
31347 pointers.
31348 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31349 <bp-sym.h> and <bp-asm.h>.
31350 (memcpy): Don't use BP_SYM.
31351 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31352 <bp-sym.h> and <bp-asm.h>.
31353 (memset): Don't use BP_SYM.
31354 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31355 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31356 (__bzero): Don't use BP_SYM.
31357 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31358 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31359 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31360 <bp-sym.h> and <bp-asm.h>.
31361 (__memchr): Don't use BP_SYM.
31362 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31363 <bp-sym.h> and <bp-asm.h>.
31364 (memcmp): Don't use BP_SYM. Remove comment about bounded
31365 pointers.
31366 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31367 <bp-sym.h> and <bp-asm.h>.
31368 (memcpy): Don't use BP_SYM.
31369 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31370 <bp-sym.h> and <bp-asm.h>.
31371 (__mempcpy): Don't use BP_SYM.
31372 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31373 <bp-sym.h> and <bp-asm.h>.
31374 (__memrchr): Don't use BP_SYM.
31375 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31376 <bp-sym.h> and <bp-asm.h>.
31377 (memset): Don't use BP_SYM.
31378 (__bzero): Likewise.
31379 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31380 <bp-sym.h> and <bp-asm.h>.
31381 (__rawmemchr): Don't use BP_SYM.
31382 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31383 <bp-sym.h> and <bp-asm.h>.
31384 (__STRCMP): Don't use BP_SYM.
31385 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31386 <bp-sym.h> and <bp-asm.h>.
31387 (strchr): Don't use BP_SYM.
31388 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31389 <bp-sym.h> and <bp-asm.h>.
31390 (__strchrnul): Don't use BP_SYM.
31391 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31392 <bp-sym.h> and <bp-asm.h>.
31393 (strlen): Don't use BP_SYM.
31394 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31395 <bp-sym.h> and <bp-asm.h>.
31396 (strncmp): Don't use BP_SYM. Remove comment about bounded
31397 pointers.
31398 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31399 <bp-sym.h> and <bp-asm.h>.
31400 (__strnlen): Don't use BP_SYM.
31401 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31402 <bp-sym.h> and <bp-asm.h>.
31403 (__GI__setjmp): Don't use BP_SYM.
31404 (_setjmp): Likewise.
31405 (__sigsetjmp): Likewise.
31406 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31407 (L(start_addresses)): Don't use BP_SYM.
31408 (_start): Likewise.
31409 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31410 <bp-asm.h>.
31411 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31412 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31413 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31414 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31415 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31416 <bp-asm.h>.
31417 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31418 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31419 about bounded pointers.
31420 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31421 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31422 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31423 <bp-asm.h>.
31424 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31425 about bounded pointers. Remove GKM FIXME comments.
31426 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31427 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31428 <bp-asm.h>.
31429 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31430 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31431 Remove GKM FIXME comments.
31432 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31433 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31434 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31435 <bp-asm.h>.
31436 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31437 about bounded pointers. Remove GKM FIXME comment.
31438 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31439 and <bp-asm.h>.
31440 (strncmp): Don't use BP_SYM. Remove comment about bounded
31441 pointers.
31442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31443 <bp-sym.h> and <bp-asm.h>.
31444 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31446 <bp-sym.h> and <bp-asm.h>.
31447 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31448 comment.
31449
cdcf361f
PP
314502013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31451
31452 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31453 call free(NULL).
31454
3c4a2b15
DM
314552013-03-05 David S. Miller <davem@davemloft.net>
31456
31457 * po/es.po: Update from translation team.
31458
cdcf361f 314592013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31460
31461 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31462 <bits/mman-linux.h>.
31463 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31464 is fine.
31465 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31466 <bits/mman-linux.h> to end of file.
31467 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31468 is fine.
31469 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31470 <bits/mman-linux.h> to end of file.
31471 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31472 is fine.
31473 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31474 <bits/mman-linux.h> to end of file.
31475
31476 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31477 (MCL_CURRENT, MCL_FUTURE): Define here.
31478
5f67c04f
AK
314792013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31480
8a4473cc 31481 [BZ #15232]
5f67c04f
AK
31482 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31483 attribute_hidden.
31484 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31485
c3e94a95
AK
314862013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31487
31488 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31489 fourth parameter needed for rt_sigprocmask syscall.
31490 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31491 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31492 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31493 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31494 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31495 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31496
cfb6382a
JM
314972013-03-04 Joseph Myers <joseph@codesourcery.com>
31498
31499 [BZ #13550]
31500 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31501 comment about bounded pointers.
31502 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31503 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31504
539d8e01
AJ
315052013-03-04 Andreas Jaeger <aj@suse.de>
31506
31507 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31508 common definitions.
31509
31510 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31511 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31512 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31513 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31514 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31515 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31516
2e167a70 315172013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31518
31519 [BZ #15055]
31520 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31521 __ieee754_sqrl instead of __sqrl.
31522
68508633
JM
315232013-03-01 Joseph Myers <joseph@codesourcery.com>
31524
31525 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31526 * sysdeps/powerpc/fpu_control.h: ... here.
31527 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31528 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31529 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31530 * sysdeps/powerpc/bits/mathinline.h: ... here.
31531
7775448e
RM
315322013-03-01 Roland McGrath <roland@hack.frob.com>
31533
31534 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31535 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31536 to just [NEED_DL_SYSINFO_DSO].
31537 * elf/dl-support.c: Likewise.
31538 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31539 * elf/rtld.c (dl_main): Likewise.
31540 * elf/setup-vdso.h (setup_vdso): Likewise.
31541 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31542 * sysdeps/unix/sysv/linux/dl-sysdep.c
31543 (_dl_discover_osversion): Likewise.
31544
4e9b5995
CD
315452013-03-01 Carlos O'Donell <carlos@redhat.com>
31546
31547 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31548 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31549
e23872c8
SP
315502013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31551
e5c74c63
SP
31552 * NEWS: Mention libm performance improvements and non-x86 PI
31553 futex support.
31554
e23872c8
SP
31555 * csu/libc-start.c (__pthread_initialize_minimal): Change
31556 function arguments.
31557 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31558
b5510883
JM
315592013-02-28 Joseph Myers <joseph@codesourcery.com>
31560
31561 [BZ #13550]
31562 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31563 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31564 <bp-sym.h> and <bp-asm.h>.
31565 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31566 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31567 and <bp-asm.h>.
31568 (memcpy): Don't use BP_SYM.
31569 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31570 <bp-asm.h>.
31571 (__mpn_add_n): Don't use BP_SYM.
31572 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31573 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31574 and <bp-asm.h>.
31575 (__mpn_addmul_1): Don't use BP_SYM.
31576 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31577 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31578 <bp-sym.h>.
31579 (_setjmp): Don't use BP_SYM.
31580 (__novmx_setjmp): Likewise.
31581 (__GI__setjmp): Likewise.
31582 (__vmx_setjmp): Likewise.
31583 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31584 <bp-sym.h>.
31585 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31586 (__bzero): Don't use BP_SYM.
31587 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31588 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31589 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31590 <bp-sym.h> and <bp-asm.h>.
31591 (memcpy): Don't use BP_SYM.
31592 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31593 <bp-sym.h> and <bp-asm.h>.
31594 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31595 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31596 <bp-sym.h> and <bp-asm.h>.
31597 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31598 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31599 <bp-asm.h>.
31600 (__mpn_lshift): Don't use BP_SYM.
31601 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31602 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31603 <bp-asm.h>.
31604 (memset): Don't use BP_SYM.
31605 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31606 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31607 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31608 <bp-asm.h>.
31609 (__mpn_mul_1): Don't use BP_SYM.
31610 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31611 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31612 <bp-sym.h> and <bp-asm.h>.
31613 (memcmp): Don't use BP_SYM.
31614 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31615 <bp-sym.h> and <bp-asm.h>.
31616 (memcpy): Don't use BP_SYM.
31617 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31618 <bp-sym.h> and <bp-asm.h>.
31619 (memset): Don't use BP_SYM.
31620 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31621 <bp-sym.h> and <bp-asm.h>.
31622 (strncmp): Don't use BP_SYM.
31623 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31624 <bp-sym.h> and <bp-asm.h>.
31625 (memcpy): Don't use BP_SYM.
31626 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31627 <bp-sym.h> and <bp-asm.h>.
31628 (memset): Don't use BP_SYM.
31629 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31630 <bp-sym.h> and <bp-asm.h>.
31631 (__memchr): Don't use BP_SYM.
31632 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31633 <bp-sym.h> and <bp-asm.h>.
31634 (memcmp): Don't use BP_SYM.
31635 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31636 <bp-sym.h> and <bp-asm.h>.
31637 (memcpy): Don't use BP_SYM.
31638 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31639 <bp-sym.h> and <bp-asm.h>.
31640 (__mempcpy): Don't use BP_SYM.
31641 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31642 <bp-sym.h> and <bp-asm.h>.
31643 (__memrchr): Don't use BP_SYM.
31644 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31645 <bp-sym.h> and <bp-asm.h>.
31646 (memset): Don't use BP_SYM.
31647 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31648 <bp-sym.h> and <bp-asm.h>.
31649 (__rawmemchr): Don't use BP_SYM.
31650 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31651 <bp-sym.h> and <bp-asm.h>.
31652 (__STRCMP): Don't use BP_SYM.
31653 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31654 <bp-sym.h> and <bp-asm.h>.
31655 (strchr): Don't use BP_SYM.
31656 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31657 <bp-sym.h> and <bp-asm.h>.
31658 (__strchrnul): Don't use BP_SYM.
31659 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31660 <bp-sym.h> and <bp-asm.h>.
31661 (strlen): Don't use BP_SYM.
31662 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31663 <bp-sym.h> and <bp-asm.h>.
31664 (strncmp): Don't use BP_SYM.
31665 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31666 <bp-sym.h> and <bp-asm.h>.
31667 (__strnlen): Don't use BP_SYM.
31668 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31669 <bp-asm.h>.
31670 (__mpn_rshift): Don't use BP_SYM.
31671 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31672 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31673 <bp-sym.h> and <bp-asm.h>.
31674 (__sigsetjmp): Don't use BP_SYM.
31675 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31676 (L(start_addresses)): Don't use BP_SYM.
31677 (_start): Likewise.
31678 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31679 <bp-asm.h>.
31680 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31681 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31682 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31683 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31684 <bp-asm.h>.
31685 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31686 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31687 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31688 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31689 <bp-asm.h>.
31690 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31691 comments.
31692 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31693 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31694 <bp-asm.h>.
31695 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31696 FIXME comments.
31697 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31698 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31699 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31700 <bp-asm.h>.
31701 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31702 comment.
31703 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31704 and <bp-asm.h>.
31705 (strncmp): Don't use BP_SYM,
31706 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31707 <bp-asm.h>.
31708 (__mpn_sub_n): Don't use BP_SYM.
31709 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31710 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31711 and <bp-asm.h>.
31712 (__mpn_submul_1): Don't use BP_SYM.
31713 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31715 <bp-sym.h> and <bp-asm.h>.
31716 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31718 <bp-sym.h> and <bp-asm.h>.
31719 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31720 comment.
31721
8d19fe64
SP
317222013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31723
31724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31725 Use ZK to minimize writes to Z.
31726 (sub_magnitudes): Simplify code a bit.
31727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31728 Use ZK to minimize writes to Z.
31729 (sub_magnitudes): Simplify code a bit.
31730
85bd816a
RM
317312013-02-27 Roland McGrath <roland@hack.frob.com>
31732
31733 * csu/gmon-start.c: Add special exception to license text.
31734
b5977bf2
RH
317352013-02-27 Richard Henderson <rth@redhat.com>
31736
31737 * scripts/config.guess: Update from config.git.
31738 * scripts/config.sub: Likewise.
31739
11d6e2f2
SP
317402013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31741
09c14ed2
SP
31742 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31743
a688864e
SP
31744 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31745
6295157a
SP
31746 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31747
b8de2202
SP
31748 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31749
11d6e2f2
SP
31750 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31751
7e80ddb8
RM
317522013-02-26 Roland McGrath <roland@hack.frob.com>
31753
31754 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31755 [$(build-shared = yes].
7e80ddb8 31756
7da6d9ed
SP
317572013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31758
45f05884
SP
31759 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31760 (__mul): Reduce iterations for calculating mantissa.
31761
2236d359
SP
31762 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31763 MPTWO.
31764 (__mpranred): Likewise.
31765
7da6d9ed
SP
31766 [BZ #15160]
31767 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31768 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31769
b7688c42
PE
317702013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31771
31772 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31773 Define __attribute__.
31774
53a5c423
SP
317752013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31776
31777 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31778 unused.
31779 * posix/regex_internal.h (__attribute): Remove.
31780 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31781 (re_string_context_at): Likewise.
31782 (bitset_not): Use __attribute__ and mark function as possibly
31783 unused.
31784 (bitset_merge): Likewise.
31785 (bitset_mask): Likewise.
31786 (re_string_char_size_at): Likewise.
31787 (re_string_wchar_at): Likewise.
31788 (re_string_elem_size_at): Likewise.
31789
60f5a8b5
SP
317902013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31791
2a983a2e
SP
31792 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31793 code.
31794 (cc32): Likewise.
31795
e69804d1
SP
31796 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31797 (__acr): Likewise.
31798 (__cpy): Likewise.
31799 (norm): Likewise.
31800 (denorm): Likewise.
31801 (__dbl_mp): Likewise.
31802 (add_magnitudes): Likewise.
31803 (sub_magnitudes): Likewise.
31804 (__mul): Likewise.
31805 (__inv): Likewise.
31806
2f22a1e8
SP
31807 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31808 style.
31809
8930ddc7
SP
31810 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31811 style.
31812
dc60cb11
SP
31813 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31814 code.
31815
60f5a8b5
SP
31816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31817 up changes with default code.
31818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31819 Likewise.
31820
b4d1fd33
AM
318212013-02-24 Allan McRae <allan@archlinux.org>
31822
faf6f8bc
AM
31823 * manual/socket.texi (The Internet Namespace): Order menu items
31824 to match that in the file.
31825
b4d1fd33
AM
31826 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31827 node listing of the info page menu.
31828
2366713d
JM
318292013-02-21 Joseph Myers <joseph@codesourcery.com>
31830
31831 [BZ #13550]
31832 * sysdeps/i386/bp-asm.h: Remove file.
31833 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31834 (PARMS): Do not use macros from bp-asm.h.
31835 (S1): Likewise.
31836 (S2): Likewise.
31837 (SIZE): Likewise.
31838 (__mpn_add_n): Do not use BP_SYM
31839 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31840 "bp-asm.h".
31841 (PARMS): Do not use macros from bp-asm.h.
31842 (S1): Likewise.
31843 (SIZE): Likewise.
31844 (__mpn_addmul_1): Do not use BP_SYM
31845 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31846 "bp-asm.h".
31847 (PARMS): Do not use macros from bp-asm.h.
31848 (SIGMSK): Likewise.
31849 (_setjmp): Likewise. Do not use BP_SYM.
31850 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31851 "bp-asm.h".
31852 (PARMS): Do not use macros from bp-asm.h.
31853 (SIGMSK): Likewise.
31854 (setjmp): Likewise. Do not use BP_SYM.
31855 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31856 "bp-asm.h".
31857 (PARMS): Do not use macros from bp-asm.h.
31858 (__frexp): Do not use BP_SYM.
31859 (frexp): Likewise.
31860 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31861 "bp-asm.h".
31862 (PARMS): Do not use macros from bp-asm.h.
31863 (__frexpf): Do not use BP_SYM.
31864 (frexpf): Likewise.
31865 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31866 "bp-asm.h".
31867 (PARMS): Do not use macros from bp-asm.h.
31868 (__frexpl): Do not use BP_SYM.
31869 (frexpl): Likewise.
31870 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31871 "bp-asm.h".
31872 (PARMS): Do not use macros from bp-asm.h.
31873 (__remquo): Do not use BP_SYM.
31874 (remquo): Likewise.
31875 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31876 "bp-asm.h".
31877 (PARMS): Do not use macros from bp-asm.h.
31878 (__remquof): Do not use BP_SYM.
31879 (remquof): Likewise.
31880 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31881 "bp-asm.h".
31882 (PARMS): Do not use macros from bp-asm.h.
31883 (__remquol): Do not use BP_SYM.
31884 (remquol): Likewise.
31885 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31886 "bp-asm.h".
31887 (PARMS): Do not use macros from bp-asm.h.
31888 (DEST): Likewise.
31889 (SRC): Likewise.
31890 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31891 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31892 "bp-asm.h".
31893 (PARMS): Do not use macros from bp-asm.h.
31894 (strlen): Do not use BP_SYM.
31895 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31896 "bp-asm.h".
31897 (PARMS): Do not use macros from bp-asm.h.
31898 (S1): Likewise.
31899 (S2): Likewise.
31900 (SIZE): Likewise.
31901 (__mpn_add_n): Do not use BP_SYM.
31902 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31903 "bp-asm.h".
31904 (PARMS): Do not use macros from bp-asm.h.
31905 (S1): Likewise.
31906 (SIZE): Likewise.
31907 (__mpn_addmul_1): Do not use BP_SYM.
31908 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31909 weak_alias.
31910 (bzero): Likewise.
31911 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31912 "bp-asm.h".
31913 (PARMS): Do not use macros from bp-asm.h.
31914 (S): Likewise.
31915 (SIZE): Likewise.
31916 (__mpn_lshift): Do not use BP_SYM.
31917 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31918 "bp-asm.h".
31919 (PARMS): Do not use macros from bp-asm.h.
31920 (DEST): Likewise.
31921 (SRC): Likewise.
31922 (LEN): Likewise.
31923 (memcpy): Likewise. Do not use BP_SYM.
31924 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31925 libc_hidden_def and weak_alias.
31926 (mempcpy): Do not use BP_SYM in weak_alias.
31927 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31928 "bp-asm.h".
31929 (PARMS): Do not use macros from bp-asm.h.
31930 (DEST): Likewise.
31931 (LEN): Likewise.
31932 [!BZERO_P] (CHR): Likewise.
31933 (memset): Likewise. Do not use BP_SYM.
31934 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31935 "bp-asm.h".
31936 (PARMS): Do not use macros from bp-asm.h.
31937 (S1): Likewise.
31938 (SIZE): Likewise.
31939 (__mpn_mul_1): Do not use BP_SYM.
31940 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31941 "bp-asm.h".
31942 (PARMS): Do not use macros from bp-asm.h.
31943 (S): Likewise.
31944 (SIZE): Likewise.
31945 (__mpn_rshift): Do not use BP_SYM.
31946 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31947 "bp-asm.h".
31948 (PARMS): Do not use macros from bp-asm.h.
31949 (STR): Likewise.
31950 (CHR): Likewise.
31951 (strchr): Likewise. Do not use BP_SYM.
31952 (index): Do not use BP_SYM in weak_alias.
31953 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31954 "bp-asm.h".
31955 (PARMS): Do not use macros from bp-asm.h.
31956 (DEST): Likewise.
31957 (SRC): Likewise.
31958 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31959 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31960 "bp-asm.h".
31961 (PARMS): Do not use macros from bp-asm.h.
31962 (strlen): Do not use BP_SYM.
31963 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31964 "bp-asm.h".
31965 (PARMS): Do not use macros from bp-asm.h.
31966 (S1): Likewise.
31967 (S2): Likewise.
31968 (SIZE): Likewise.
31969 (__mpn_sub_n): Do not use BP_SYM.
31970 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31971 "bp-asm.h".
31972 (PARMS): Do not use macros from bp-asm.h.
31973 (S1): Likewise.
31974 (SIZE): Likewise.
31975 (__mpn_submul_1): Do not use BP_SYM.
31976 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31977 "bp-asm.h".
31978 (PARMS): Do not use macros from bp-asm.h.
31979 (S1): Likewise.
31980 (S2): Likewise.
31981 (SIZE): Likewise.
31982 (__mpn_add_n): Do not use BP_SYM.
31983 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31984 weak_alias.
31985 (bzero): Likewise.
31986 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31987 "bp-asm.h".
31988 (PARMS): Do not use macros from bp-asm.h.
31989 (BLK2): Likewise.
31990 (LEN): Likewise.
31991 (memcmp): Do not use BP_SYM.
31992 (bcmp): Do not use BP_SYM in weak_alias.
31993 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31994 "bp-asm.h".
31995 (PARMS): Do not use macros from bp-asm.h.
31996 (DEST): Likewise.
31997 (SRC): Likewise.
31998 (LEN): Likewise.
31999 (memcpy): Likewise. Do not use BP_SYM.
32000 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32001 "bp-asm.h".
32002 (PARMS): Do not use macros from bp-asm.h.
32003 (DEST): Likewise.
32004 (SRC): Likewise.
32005 (LEN): Likewise.
32006 (memmove): Likewise. Do not use BP_SYM.
32007 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32008 "bp-asm.h".
32009 (PARMS): Do not use macros from bp-asm.h.
32010 (DEST): Likewise.
32011 (SRC): Likewise.
32012 (LEN): Likewise.
32013 (__mempcpy): Likewise. Do not use BP_SYM.
32014 (mempcpy): Do not use BP_SYM in weak_alias.
32015 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32016 "bp-asm.h".
32017 (PARMS): Do not use macros from bp-asm.h.
32018 (DEST): Likewise.
32019 (LEN): Likewise.
32020 [!BZERO_P] (CHR): Likewise.
32021 (memset): Likewise. Do not use BP_SYM.
32022 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32023 "bp-asm.h".
32024 (PARMS): Do not use macros from bp-asm.h.
32025 (STR2): Likewise.
32026 (strcmp): Do not use BP_SYM.
32027 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32028 "bp-asm.h".
32029 (PARMS): Do not use macros from bp-asm.h.
32030 (STR): Likewise.
32031 (DELIM): Likewise.
32032 [USE_AS_STRTOK_R] (SAVE): Likewise.
32033 (FUNCTION): Likewise. Do not use BP_SYM.
32034 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32035 aliases.
32036 (strtok_r): Likewise.
32037 (__GI___strtok_r): Likewise.
32038 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32039 (PARMS): Do not use macros from bp-asm.h.
32040 (S): Likewise.
32041 (SIZE): Likewise.
32042 (__mpn_lshift): Do not use BP_SYM.
32043 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32044 (PARMS): Do not use macros from bp-asm.h.
32045 (STR): Likewise.
32046 (CHR): Likewise.
32047 (__memchr): Do not use BP_SYM.
32048 (memchr): Do not use BP_SYM in weak_alias.
32049 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32050 (PARMS): Do not use macros from bp-asm.h.
32051 (BLK2): Likewise.
32052 (LEN): Likewise.
32053 (memcmp): Do not use BP_SYM.
32054 (bcmp): Do not use BP_SYM in weak_alias.
32055 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32056 (PARMS): Do not use macros from bp-asm.h.
32057 (S1): Likewise.
32058 (SIZE): Likewise.
32059 (__mpn_mul_1): Do not use BP_SYM.
32060 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32061 "bp-asm.h".
32062 (PARMS): Do not use macros from bp-asm.h.
32063 (STR): Likewise.
32064 (CHR): Likewise.
32065 (__rawmemchr): Do not use BP_SYM.
32066 (rawmemchr): Do not use BP_SYM in weak_alias.
32067 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32068 (PARMS): Do not use macros from bp-asm.h.
32069 (S): Likewise.
32070 (SIZE): Likewise.
32071 (__mpn_rshift): Do not use BP_SYM.
32072 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32073 (PARMS): Do not use macros from bp-asm.h.
32074 (SIGMSK): Likewise.
32075 (__sigsetjmp): Likewise. Do not use BP_SYM.
32076 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32077 (_start): Do not use BP_SYM.
32078 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32079 (PARMS): Do not use macros from bp-asm.h.
32080 (DEST): Likewise.
32081 (SRC): Likewise.
32082 (__stpcpy): Likewise. Do not use BP_SYM.
32083 (stpcpy): Do not use BP_SYM in weak_alias.
32084 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32085 "bp-asm.h".
32086 (PARMS): Do not use macros from bp-asm.h.
32087 (DEST): Likewise.
32088 (SRC): Likewise.
32089 (LEN): Likewise.
32090 (__stpncpy): Likewise. Do not use BP_SYM.
32091 (stpncpy): Do not use BP_SYM in weak_alias.
32092 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32093 (PARMS): Do not use macros from bp-asm.h.
32094 (STR): Likewise.
32095 (CHR): Likewise.
32096 (strchr): Likewise. Do not use BP_SYM.
32097 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32098 "bp-asm.h".
32099 (PARMS): Do not use macros from bp-asm.h.
32100 (STR): Likewise.
32101 (CHR): Likewise.
32102 (__strchrnul): Likewise. Do not use BP_SYM.
32103 (strchrnul): Do not use BP_SYM in weak_alias.
32104 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32105 "bp-asm.h".
32106 (PARMS): Do not use macros from bp-asm.h.
32107 (STOP): Likewise.
32108 (strcspn): Do not use BP_SYM.
32109 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32110 "bp-asm.h".
32111 (PARMS): Do not use macros from bp-asm.h.
32112 (STR): Likewise.
32113 (STOP): Likewise.
32114 (strpbrk): Likewise. Do not use BP_SYM.
32115 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32116 "bp-asm.h".
32117 (PARMS): Do not use macros from bp-asm.h.
32118 (STR): Likewise.
32119 (CHR): Likewise.
32120 (strrchr): Likewise. Do not use BP_SYM.
32121 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32122 (PARMS): Do not use macros from bp-asm.h.
32123 (SKIP): Likewise.
32124 (strspn): Do not use BP_SYM.
32125 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32126 (PARMS): Do not use macros from bp-asm.h.
32127 (STR): Likewise.
32128 (DELIM): Likewise.
32129 (SAVE): Likewise.
32130 (FUNCTION): Likewise. Do not use BP_SYM.
32131 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32132 aliases.
32133 (strtok_r): Likewise.
32134 (__GI___strtok_r): Likewise.
32135 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32136 (PARMS): Do not use macros from bp-asm.h.
32137 (S1): Likewise.
32138 (S2): Likewise.
32139 (SIZE): Likewise.
32140 (__mpn_sub_n): Do not use BP_SYM.
32141 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32142 "bp-asm.h".
32143 (PARMS): Do not use macros from bp-asm.h.
32144 (S1): Likewise.
32145 (SIZE): Likewise.
32146 (__mpn_submul_1): Do not use BP_SYM.
32147 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32148 <bp-sym.h>.
32149 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32150 and <bp-asm.h>.
32151 (PARMS): Do not use macros from bp-asm.h.
32152 (FLAGS): Likewise.
32153 (PTID): Likewise.
32154 (TLS): Likewise.
32155 (CTID): Likewise.
32156 (__clone): Do not use BP_SYM.
32157 (clone): Do not use BP_SYM in weak_alias.
32158 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32159 and <bp-asm.h>.
32160 (PARMS): Do not use macros from bp-asm.h.
32161 (LEN): Likewise.
32162 (__mmap64): Do not use BP_SYM.
32163 (mmap64): Do not use BP_SYM in weak_alias.
32164 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32165 <bp-sym.h> and <bp-asm.h>.
32166 (PARMS): Do not use macros from bp-asm.h.
32167 (__posix_fadvise64_l64): Do not use BP_SYM.
32168 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32169 (PARMS): Do not use macros from bp-asm.h.
32170 (NSOPS): Likewise.
32171 (semtimedop): Do not use BP_SYM.
32172 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32173 and <bp-asm.h>.
32174
582a3cff
AM
321752013-02-21 Allan McRae <allan@archlinux.org>
32176
32177 * manual/message.texi (Charset conversion in gettext):
32178 Move @end statement to beginning of line.
32179
bab8a695
SP
321802013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32181
80945231
SP
32182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32183 static.
32184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32185 Likewise.
32186
bab8a695
SP
32187 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32188 (denorm): Likewise.
32189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32191
e21d7aa7
AK
321922013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32193
32194 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32195 tail-call to the resolved function if pltexit isn't needed.
32196
4c7a4263
SP
321972013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32198
32199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32200 or Y being zero as being unlikely.
32201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32202 Likewise.
32203
41f49342
CD
322042013-02-20 Carlos O'Donell <carlos@redhat.com>
32205
32206 * manual/nss.texi (System Databases and Name Service Switch):
32207 Remove frobnicate @pxref.
32208
50022a93
TS
322092013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32210
32211 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32212 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32213
08cbd996
PM
322142013-02-20 Petr Machata <pmachata@redhat.com>
32215
32216 * elf/elf.h (R_ARM_TARGET1): New macro.
32217 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32218 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32219 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32220 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32221 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32222 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32223 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32224 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32225 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32226 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32227 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32228 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32229 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32230 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32231 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32232 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32233 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32234 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32235 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32236 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32237 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32238 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32239 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32240 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32241 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32242 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32243 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32244 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32245 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32246 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32247 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32248 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32249 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32250 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32251 (R_ARM_THM_GOT_BREL12): Likewise.
32252 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32253 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32254 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32255 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32256 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32257 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32258 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32259 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32260 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32261
c7b275d6
TS
322622013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32263
32264 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32265 __attribute_used__ to __attribute__ ((unused)).
32266
20cd7fb3
SP
322672013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32268
32269 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32270 powerpc mpa.c.
32271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32272 comment formatting.
32273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32274
92945b52
JM
322752013-02-19 Joseph Myers <joseph@codesourcery.com>
32276
32277 [BZ #13550]
32278 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32279 Remove macro.
32280 (ENTER): Remove both macro definitions.
32281 (LEAVE): Likewise.
32282 (CHECK_BOUNDS_LOW): Likewise.
32283 (CHECK_BOUNDS_HIGH): Likewise.
32284 (CHECK_BOUNDS_BOTH): Likewise.
32285 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32286 (RETURN_BOUNDED_POINTER): Likewise.
32287 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32288 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32289 (POP_ERRNO_LOCATION_RETURN): Likewise.
32290 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32291 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32292 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32293 macros.
32294 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32295 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32296 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32297 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32298 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32299 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32300 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32301 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32302 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32303 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32304 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32305 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32306 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32307 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32308 removed macros.
32309 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32310 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32311 macros.
32312 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32313 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32314 * sysdeps/i386/i586/memset.S (memset): Likewise.
32315 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32316 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32317 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32318 macros.
32319 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32320 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32321 Change uses of L(2) to L(out).
32322 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32323 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32324 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32325 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32326 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32327 removed macros.
32328 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32329 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32330 macros.
32331 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32332 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32333 (RETURN): Do not use macro LEAVE.
32334 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32335 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32336 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32337 * sysdeps/i386/i686/memset.S (memset): Likewise.
32338 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32339 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32340 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32341 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32342 Likewise.
32343 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32344 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32345 L(1_2) and L(1_3) into L(1).
32346 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32347 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32348 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32349 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32350 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32351 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32352 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32353 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32354 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32355 macros.
32356 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32357 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32358 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32359 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32360 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32361 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32362 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32363 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32364 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32365 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32366 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32367 * sysdeps/i386/strspn.S (strspn): Likewise.
32368 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32369 conditional code.
32370 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32371 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32372 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32373 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32374 L(1_3) into L(1_1).
32375 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32376 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32377 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32378 macros.
32379 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32380
2389741a
JJ
323812013-02-19 Jakub Jelinek <jakub@redhat.com>
32382
32383 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32384 macro.
32385
2016b3cd
SP
323862013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32387
e4f22324
SP
32388 * math/atest-exp.c (exp_mpn): Remove ROUND.
32389 * math/atest-exp2.c (exp_mpn): Likewise.
32390 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32391
2016b3cd
SP
32392 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32393 * stdlib/tst-tls-atexit-lib.c: Likewise.
32394 * stdlib/tst-tls-atexit.c: Likewise.
32395
4be9b544
MF
323962013-02-18 Mike Frysinger <vapier@gentoo.org>
32397
32398 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32399 and __attribute_alloc_size__.
32400
2f62b9ee
MF
324012013-02-18 Mike Frysinger <vapier@gentoo.org>
32402
32403 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32404 __attribute_alloc_size__.
32405 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32406 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32407
6ff444c4
MF
324082013-02-18 Mike Frysinger <vapier@gentoo.org>
32409
32410 * include/programs/xmalloc.h: New file.
32411 * catgets/gencat.c: Include it.
32412 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32413 * elf/pldd.c: Likewise.
32414 * iconv/iconv_charmap.c: Likewise.
32415 * iconv/iconvconfig.c: Likewise.
32416 * iconv/strtab.c: Likewise.
32417 * locale/programs/locale.c: Likewise.
32418 * locale/programs/localedef.h: Likewise.
32419 * locale/programs/simple-hash.c: Likewise.
32420 * nscd/nscd.h: Likewise.
32421 * nss/makedb.c: Likewise.
32422 * sysdeps/generic/ldconfig.h: Likewise.
32423
be179c8a
SP
324242013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32425
ba384f6e
SP
32426 * Versions.def: Add GLIBC_2.18.
32427 * include/link.h (struct link_map): New member l_tls_dtor_count.
32428 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32429 (__call_tls_dtors): Likewise.
32430 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32431 __cxa_thread_atexit_impl.
32432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32433 Likewise.
32434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32435 Likewise.
32436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32437 Likewise.
32438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32439 Likewise.
32440 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32442 Likewise.
32443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32444 Likewise.
32445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32447 Likewise.
32448 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32449 (tests): Add test case tst-tls-atexit.
32450 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32451 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32452 (GLIBC_PRIVATE): Add __call_tls_dtors.
32453 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32454 for libstdc++.
32455 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32456 * stdlib/tst-tls-atexit.c: New test case.
32457 * stdlib/tst-tls-atexit-lib.c: New test case.
32458
ffaa74cf 32459 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32460
be179c8a
SP
32461 * elf/Versions (ld): Add _dl_find_dso_for_object.
32462 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32463 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32464 (dl_open_worker): Use _dl_find_dso_for_object.
32465 * elf/dl-sym.c (do_sym): Likewise.
32466 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32467
f78b5caa
AK
324682013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32469
32470 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32471 Syntactic changes only.
32472 (_dl_runtime_profile): Do a tail-call to the resolved function.
32473
29691210
JM
324742013-02-17 Joseph Myers <joseph@codesourcery.com>
32475
32476 [BZ #13550]
32477 * sysdeps/x86_64/bp-asm.h: Remove file.
32478 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32479 <bp-sym.h> and <bp-asm.h>.
32480 (__clone): Do not use BP_SYM.
32481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32482 <bp-sym.h> and <bp-asm.h>.
32483 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32484 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32485 "bp-asm.h".
32486 (_setjmp): Do not use BP_SYM.
32487 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32488 "bp-asm.h".
32489 (setjmp): Do not use BP_SYM.
32490 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32491 libc_hidden_def.
32492 (mempcpy): Do not use BP_SYM in weak_alias.
32493 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32494 "bp-asm.h".
32495 (strchr): Do not use BP_SYM.
32496 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32497 "bp-asm.h".
32498 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32499 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32500 (_start): Do not use BP_SYM.
32501 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32502 "bp-asm.h".
32503 (strcat): Do not use BP_SYM.
32504 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32505 "bp-asm.h".
32506 (STRCMP): Do not use BP_SYM.
32507 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32508 "bp-asm.h".
32509 (STRCPY): Do not use BP_SYM.
32510 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32511 "bp-asm.h".
32512 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32513 "bp-asm.h".
32514 (FUNCTION): Do not use BP_SYM.
32515 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32516 weak_alias.
32517 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32518
f238fd19
AJ
325192013-02-17 Andreas Jaeger <aj@suse.de>
32520
32521 * time/Versions: Sort entries.
32522 * string/Versions: Likewise.
32523 * resolv/Versions: Likewise.
32524 * posix/Versions: Likewise.
32525 * iconv/Versions: Likewise.
32526 * elf/Versions: Likewise.
32527 * wcsmbs/Versions: Likewise.
32528
bd07f23c 325292013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32530
22af19f9
SP
32531 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32532 loop termination condition.
32533
4709fe76
SP
32534 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32535 variable to calculate EZ.
32536 (__sqr): Likewise.
2d0e0f29
SP
32537
32538 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32539 the lower precision input.
32540
daaa7713
JM
325412013-02-15 Joseph Myers <joseph@codesourcery.com>
32542
32543 [BZ #13550]
32544 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32545 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32546 (run-via-rtld-prefix): Do not handle %-bp tests.
32547 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32548 (all-object-suffixes): Remove .ob.
32549 (bppfx): Remove variable.
32550 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32551 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32552 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32553 [$(build-bounded) = yes] (libtype.ob): Likewise.
32554 * Makerules (elide-routines.ob): Remove variable.
32555 (do-tests-clean): Do not handle *-bp.out.
32556 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32557 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32558 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32559 (tests): Do not include $(tests-bp.out).
32560 (xtests): Do not include $(xtests-bp.out).
32561 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32562 [$(build-bounded) = yes] ($(addprefix
32563 $(objpfx),$(binaries-bounded))): Remove rule.
32564 ($(objpfx)%-bp.out): Remove rule.
32565 * config.make.in (build-bounded): Remove variable.
32566 * crypt/Makefile [$(build-bounded) = yes]
32567 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32568 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32569 append to variable.
32570 [$(build-bounded) = yes] (install-lib): Likewise.
32571 [$(build-bounded) = yes] (generated): Likewise.
32572 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32573 Remove rule.
32574 * intl/Makefile [$(build-bounded) = yes]
32575 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32576 * math/Makefile [$(build-bounded) = yes]
32577 ($(tests:%=$(objpfx)%-bp): Likewise.
32578 * misc/Makefile [$(build-bounded) = yes]
32579 ($(objpfx)tst-tsearch-bp): Likewise.
32580 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32581 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32582 Remove dependency.
32583 * string/Makefile (o-objects.ob): Remove variable.
32584 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32585 (CFLAGS-.ob): Remove variable.
32586 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32587 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32588 both definitions of variable.
32589 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32590 (ASFLAGS-.ob): Remove variable.
32591
e97ed6dd
JM
325922013-02-14 Joseph Myers <joseph@codesourcery.com>
32593
2bdd4ca6
JM
32594 [BZ #13550]
32595 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32596 Remove __BOUNDED_POINTERS__ from condition.
32597 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32598 * string/bits/string2.h [!__NO_STRING_INLINES &&
32599 !__BOUNDED_POINTERS__]: Likewise.
32600 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32601 Likewise.
32602 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32603 Remove conditional code.
32604 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32605 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32606 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32607 condition.
32608
e97ed6dd
JM
32609 [BZ #13550]
32610 * csu/libc-start.c: Do not include <bp-sym.h>.
32611 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32612 * elf/dl-open.c: Do not include <bp-sym.h>.
32613 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32614 * math/fegetenv.c: Do not include <bp-sym.h>.
32615 (fegetenv): Do not use BP_SYM in versioned symbols.
32616 * nptl/sysdeps/pthread/bits/libc-lockP.h
32617 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32618 <bp-sym.h>.
32619 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32620 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32621 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32622 (__pthread_mutex_destroy): Likewise.
32623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32624 (__pthread_mutex_lock): Likewise.
32625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32626 (__pthread_mutex_trylock): Likewise.
32627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32628 (__pthread_mutex_unlock): Likewise.
32629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32630 (__pthread_mutexattr_init): Likewise.
32631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32632 (__pthread_mutexattr_destroy): Likewise.
32633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32634 (__pthread_mutexattr_settype): Likewise.
32635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32636 (__pthread_rwlock_init): Likewise.
32637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32638 (__pthread_rwlock_destroy): Likewise.
32639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32640 (__pthread_rwlock_rdlock): Likewise.
32641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32642 (__pthread_rwlock_tryrdlock): Likewise.
32643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32644 (__pthread_rwlock_wrlock): Likewise.
32645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32646 (__pthread_rwlock_trywrlock): Likewise.
32647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32648 (__pthread_rwlock_unlock): Likewise.
32649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32650 (__pthread_key_create): Likewise.
32651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32652 (__pthread_setspecific): Likewise.
32653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32654 (__pthread_getspecific): Likewise.
32655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32656 Likewise.
32657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32658 (_pthread_cleanup_push_defer): Likewise.
32659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32660 (_pthread_cleanup_pop_restore): Likewise.
32661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32662 (pthread_setcancelstate): Likewise.
32663 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32664 <bp-sym.h>.
32665 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32666 (memchr): Do not use BP_SYM in weak_alias.
32667 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32668 (fegetenv): Do not use BP_SYM in versioned symbols.
32669 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32670 (fesetenv): Do not use BP_SYM in versioned symbols.
32671 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32672 (feupdateenv): Do not use BP_SYM in versioned symbols.
32673 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32674 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32675 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32676 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32677 (open64): Do not use BP_SYM in weak_alias.
32678 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32679 (fegetenv): Do not use BP_SYM in versioned symbols.
32680 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32681 (fesetenv): Do not use BP_SYM in versioned symbols.
32682 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32683 (feupdateenv): Do not use BP_SYM in versioned symbols.
32684 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32685 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32686 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32687 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32688 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32689 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32690 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32691 <bp-sym.h>.
32692 (__libc_start_main): Do not use BP_SYM.
32693
d6752ccd
SP
326942013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32695
cb57ce60
SP
32696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32697 redundant return line.
32698 (norm): Likewise.
32699 (denorm): Likewise.
32700 (dbl_mp): Likewise.
32701 (sub_magnitudes): Likewise.
32702 (__add): Likewise.
32703 (__sub): Likewise.
32704 (__mul): Likewise.
32705 (__inv): Likewise.
32706 (__dvd): Likewise.
32707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32708 (norm): Likewise.
32709 (denorm): Likewise.
32710 (dbl_mp): Likewise.
32711 (sub_magnitudes): Likewise.
32712 (__add): Likewise.
32713 (__sub): Likewise.
32714 (__mul): Likewise.
32715 (__inv): Likewise.
32716 (__dvd): Likewise.
32717
f414520d
SP
32718 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32719 instead of __mul.
32720 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32721 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32722 (cc32): Likewise.
32723
d6752ccd
SP
32724 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32725 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32726 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32727 of __mul for squares.
32728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32729 function
32730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32731 Likewise.
32732 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32733 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32734
70d9946a
JM
327352013-02-13 Joseph Myers <joseph@codesourcery.com>
32736
32737 [BZ #13550]
32738 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32739 code.
32740 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32741 prototype or function definition. Rename ubp_* variables and
32742 parameters. Remove argv definitions conditional on
32743 [__BOUNDED_POINTERS__].
32744 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32745 * elf/dl-runtime.c (_dl_fixup): Likewise.
32746 * include/set-hooks.h (RUN_HOOK): Likewise.
32747 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32748 definition.
32749 * string/strcpy.c (strcpy): Do not use __unbounded.
32750 * sysdeps/generic/frame.h (struct layout): Likewise.
32751 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32752 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32753 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32754 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32755 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32756 (__backtrace): Likewise.
32757 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32758 use __ptrvalue.
32759 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32760 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32761 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32762 Likewise.
32763 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32764 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32765 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32766 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32767 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32768 Do not use __unbounded.
32769 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32770 Rename __unboundedrlimits parameter to rlimits in prototype.
32771 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32772 Do not use __unbounded.
32773 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32774 not use __ptrvalue.
32775 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32776 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32777 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32778 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32779 __ptrvalue or __unbounded.
32780 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32781 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32782 use __unbounded.
32783 (__new_msgctl): Do not use __ptrvalue.
32784 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32785 __unbounded.
32786 (__libc_msgrcv): Do not use __ptrvalue.
32787 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32788 startup_info): Do not use __unbounded.
32789 (__libc_start_main): Likewise. Rename ubp_* variables and
32790 parameters. Remove argv definitions conditional on
32791 [__BOUNDED_POINTERS__].
32792 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32793 __ptrvalue.
32794 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32795 use __unbounded.
32796 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32797 or __ptrvalue.
32798 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32799 use __unbounded.
32800 (__new_shmctl): Do not use __ptrvalue.
32801 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32802 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32803 Likewise.
32804 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32805 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32806 (__libc_sigaction): Likewise.
32807 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32808 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32809 Likewise.
32810 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32811
cc7834d6
OB
328122013-02-13 Ondřej Bílka <neleai@seznam.cz>
32813
ffb1ec7b 32814 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32815
32816 * string/mempcpy.c: Implement by calling memcpy.
32817
bdf02814
SP
328182013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32819
c2af38aa
SP
32820 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32821
4e92d59e
SP
32822 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32823 evaluation.
32824
909279a5
SP
32825 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32826 values in the mantissa.
32827
bdf02814
SP
32828 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32829 minimize writes to Z.
32830 (sub_magnitudes): Simplify code a bit.
32831
cd525923
RM
328322013-02-12 Roland McGrath <roland@hack.frob.com>
32833
32834 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32835 from the message. The linker prefixes all warnings with that already.
32836
7e2f0d2d
AS
328372013-02-12 Andreas Schwab <schwab@suse.de>
32838
a445af0b
AS
32839 [BZ #15078]
32840 * posix/regexec.c (extend_buffers): Add parameter min_len.
32841 (check_matching): Pass minimum needed length.
32842 (clean_state_log_if_needed): Likewise.
32843 (get_subexp): Likewise.
32844 * posix/Makefile (tests): Add bug-regex34.
32845 (bug-regex34-ENV): Define.
32846 * posix/bug-regex34.c: New file.
32847
7e2f0d2d
AS
32848 [BZ #11561]
32849 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32850 elements compare against the byte sequence of it, not its name.
32851 * posix/Makefile (tests): Add bug-regex35.
32852 (bug-regex35-ENV): Define.
32853 * posix/bug-regex35.c: New file.
32854
a175b684
TV
328552013-02-11 Tom de Vries <tom@codesourcery.com>
32856
32857 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32858 comment.
32859 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32860 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32861 (CHECK_EOL): Add undef.
32862
310998fe 328632013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32864
32865 * bits/stdlib-bsearch.h: New file.
32866 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32867 * stdlib/stdlib.h: Likewise.
41eda41d 32868
8ded91fb
RM
328692013-02-11 Roland McGrath <roland@hack.frob.com>
32870
32871 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32872 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32873 declaration.
32874 * manual/search.texi (Array Search Function): Add missing const in
32875 lfind prototype.
32876 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32877 declaration to use rlim_t.
32878 (Basic Scheduling Functions): Remove erroneous const from
32879 sched_getparam prototype. Remove erroneous * from
32880 sched_get_priority_max and sched_get_priority_min prototypes.
32881 (Resource Usage): Fix summary @comment on vtimes to refer to
32882 sys/vtimes.h rather than vtimes.h.
32883 Add missing *s in vtimes prototype.
32884 (Limits on Resources): Fix ulimit prototype to return long int.
32885 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32886 prototypes to use long int rather than double.
32887 (BSD Random): Fix initstate and setstate to use char *, not void *.
32888 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32889 prototype to make second argument 'struct aiocb64 *const[]'.
32890 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32891 (Status of AIO Operations): Remove erroneous const in aio_return and
32892 aio_return64 prototypes.
32893 (Synchronizing I/O): Fix sync prototype to return void.
32894 * manual/startup.texi (Suboptions): Remove an erroneous const in
32895 getsubopt prototype.
32896 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32897 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32898 use size_t rather than int.
32899 (Scanning All Users): Likewise for getpwent_r.
32900 (Setting Groups): Add missing const to setgroups prototype.
32901 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32902 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32903 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32904 'const void *' rather than 'const char *'.
32905 (Host Address Functions): Likewise for inet_ntop.
32906 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32907 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32908 ssize_t for return value.
32909 (Sending Data): Likewise for send, sendto, sendmsg.
32910 (Socket Option Functions): Add a missing const in setsockopt prototype.
32911 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32912 use wchar_t for the argument.
32913 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32914 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32915 take no arguments.
32916 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32917 double/float/long double for second argument.
32918 Fix return types of significand, significandf, significandl.
32919 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32920 argument in fchmod prototype.
32921 (File Owner): Use uid_t and gid_t in fchown prototype.
32922 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32923 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32924 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32925 use 'const struct dirent **' as argument types to CMP function pointer
32926 argument.
32927 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32928 (File Times): Fix summary magic @comment for struct utimbuf and utime
32929 to refer to utime.h, not time.h.
32930 * manual/string.texi (Argz Functions): Add missing const in
32931 argz_extract and argz_next prototypes.
32932 (Finding Tokens in a String): Likewise for basename.
32933 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32934 (Copying and Concatenation): Fix typo in wmemmove prototype.
32935 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32936 (Signal Stack): Remove erroneous const in sigstack prototype.
32937 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32938 prototype.
32939 (Simple Calendar Time): Likewise for stime.
32940 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32941 prototype.
32942 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32943 say sys/sysctl.h instead.
32944 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32945 and vsyslog prototypes.
32946
fe77fe6d
TV
329472013-02-11 Tom de Vries <tom@codesourcery.com>
32948
32949 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32950 Remove.
32951
3a09b620
RM
329522013-02-11 Roland McGrath <roland@hack.frob.com>
32953
32954 * misc/sys/mman.h: Fix typo in mremap comment.
32955
550a0b89
RM
329562013-02-08 Roland McGrath <roland@hack.frob.com>
32957
32958 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32959 the '\0' terminator.
32960
a2da1673
JM
329612013-02-08 Joseph Myers <joseph@codesourcery.com>
32962
32963 [BZ #13550]
32964 * debug/segfault.c: Don't include <bp-checks.h>.
32965 * sysdeps/generic/bp-checks.h: Remove file.
32966 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32967 (__GETDENTS): Don't use CHECK_N.
32968 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32969 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32970 (__getgroups): Don't use CHECK_N.
32971 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32972 (setgroups): Don't use CHECK_N.
32973 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32974 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32975 (__libc_msgrcv): Don't use CHECK_N.
32976 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32977 (__libc_msgsnd): Don't use CHECK_N.
32978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32979 <bp-checks.h>.
32980 (__libc_pread): Don't use CHECK_N.
32981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32982 include <bp-checks.h>.
32983 (__libc_pread64): Don't use CHECK_N.
32984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32985 include <bp-checks.h>.
32986 (__libc_pwrite): Don't use CHECK_N.
32987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32988 include <bp-checks.h>.
32989 (__libc_pwrite64): Don't use CHECK_N.
32990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32991 <bp-checks.h>.
32992 (__libc_pread): Don't use CHECK_N.
32993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32994 include <bp-checks.h>.
32995 (__libc_pread64): Don't use CHECK_N.
32996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32997 include <bp-checks.h>.
32998 (__libc_pwrite): Don't use CHECK_N.
32999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33000 include <bp-checks.h>.
33001 (__libc_pwrite64): Don't use CHECK_N.
33002 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33003 (do_pread): Don't use CHECK_N.
33004 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33005 (do_pread64): Don't use CHECK_N.
33006 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33007 (do_pwrite): Don't use CHECK_N.
33008 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33009 (do_pwrite64): Don't use CHECK_N.
33010 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33011 (__libc_readv): Don't use CHECK_N.
33012 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33013 (semop): Don't use CHECK_N.
33014 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33015 <bp-checks.h>.
33016 (semtimedop): Don't use CHECK_N.
33017 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33018 (__libc_pread): Don't use CHECK_N.
33019 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33020 <bp-checks.h>.
33021 (__libc_pread64): Don't use CHECK_N.
33022 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33023 <bp-checks.h>.
33024 (__libc_pwrite): Don't use CHECK_N.
33025 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33026 <bp-checks.h>.
33027 (__libc_pwrite64): Don't use CHECK_N.
33028 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33029 <bp-checks.h>.
33030 (__libc_msgrcv): Don't use CHECK_N.
33031 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33032 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33033 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33034 (__libc_writev): Don't use CHECK_N.
33035
b84660a8
RM
330362013-02-08 Roland McGrath <roland@hack.frob.com>
33037
7f3e75f8
RM
33038 * string/strcpy.c: Removed unused variable.
33039
b84660a8
RM
33040 * Makeconfig (+sysdep-includes): Define with := rather than =.
33041 Use an existing include/ subdir of each sysdeps dir before it.
33042
471514d3
CD
330432013-02-08 Carlos O'Donell <carlos@redhat.com>
33044
33045 * nscd/connection.c (register_traced_file): Comment function.
33046 [HAVE_INOTIFY] (union __inev): Define.
33047 [HAVE_INOTIFY] (inotify_check_files): New function.
33048 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33049 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33050 clear_db_cache.
33051 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33052
b2d3c3be
CD
330532013-02-08 Carlos O'Donell <carlos@redhat.com>
33054
33055 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33056 loaded if not already and that a failure is permanent.
33057
b39949d2
CD
330582013-02-08 Carlos O'Donell <carlos@redhat.com>
33059
ddacd1db 33060 [BZ #15006]
b39949d2
CD
33061 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33062 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33063
b2c9eff4
JM
330642013-02-08 Joseph Myers <joseph@codesourcery.com>
33065
f3aae3f3
JM
33066 [BZ #13550]
33067 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33068 (CHECK_1_NULL_OK): Likewise.
33069 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33070 (__fxstat): Do not use CHECK_1.
33071 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33072 <bp-checks.h>.
33073 (___fxstat64): Do not use CHECK_1.
33074 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33075 <bp-checks.h>.
33076 (__fxstatat): Do not use CHECK_1.
33077 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33078 <bp-checks.h>.
33079 (__fxstatat64): Do not use CHECK_1.
33080 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33081 <bp-checks.h>.
33082 (__fxstat): Do not use CHECK_1.
33083 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33084 <bp-checks.h>.
33085 (__fxstatat): Do not use CHECK_1.
33086 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33087 <bp-checks.h>.
33088 (__getresgid): Do not use CHECK_1.
33089 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33090 <bp-checks.h>.
33091 (__getresuid): Do not use CHECK_1.
33092 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33093 <bp-checks.h>.
33094 (__lxstat): Do not use CHECK_1.
33095 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33096 <bp-checks.h>.
33097 (__old_msgctl): Do not use CHECK_1.
33098 (__new_msgctl): Likewise.
33099 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33100 <bp-checks.h>.
33101 (__new_setrlimit): Do not use CHECK_1.
33102 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33103 <bp-checks.h>.
33104 (__old_shmctl): Do not use CHECK_1.
33105 (__new_shmctl): Likewise.
33106 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33107 <bp-checks.h>.
33108 (__xstat): Do not use CHECK_1.
33109 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33110 (__lxstat): Do not use CHECK_1.
33111 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33112 <bp-checks.h>.
33113 (___lxstat64): Do not use CHECK_1.
33114 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33115 (__old_msgctl): Do not use CHECK_1.
33116 (__new_msgctl): Likewise.
33117 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33118 <bp-checks.h>.
33119 (__gettimeofday): Do not use CHECK_1.
33120 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33121 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33122 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33123 <bp-checks.h>.
33124 (__gettimeofday): Do not use CHECK_1.
33125 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33126 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33127 (__new_shmctl): Do not use CHECK_1.
33128 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33129 <bp-checks.h>.
33130 (do_sigtimedwait): Do not use CHECK_1.
33131 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33132 <bp-checks.h>.
33133 (do_sigwaitinfo): Do not use CHECK_1.
33134 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33135 <bp-checks.h>.
33136 (msgctl): Do not use CHECK_1.
33137 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33138 <bp-checks.h>.
33139 (shmctl): Do not use CHECK_1.
33140 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33141 (ustat): Do not use CHECK_1.
33142 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33143 <bp-checks.h>.
33144 (__fxstat): Do not use CHECK_1.
33145 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33146 <bp-checks.h>.
33147 (__fxstatat): Do not use CHECK_1.
33148 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33149 <bp-checks.h>.
33150 (__lxstat): Do not use CHECK_1.
33151 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33152 <bp-checks.h>.
33153 (__xstat): Do not use CHECK_1.
33154 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33155 (__xstat): Do not use CHECK_1.
33156 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33157 (___xstat64): Do not use CHECK_1.
33158
b2c9eff4
JM
33159 [BZ #13550]
33160 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33161 definitions.
33162 (CHECK_BOUNDS_HIGH): Likewise.
33163 * string/strcpy.c: Do not include <bp-checks.h>.
33164 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33165
f1d70dad
RM
331662013-02-07 Roland McGrath <roland@hack.frob.com>
33167
33168 * nscd/nscd-client.h (__nscd_drop_map_ref):
33169 Add __attribute__ ((unused)).
33170 * nis/nss-nisplus.h (niserr2nss): Likewise.
33171
33172 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33173 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33174
33175 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33176 Remove inline keyword.
33177 * include/rounding-mode.h (round_away): Likewise.
33178 * libio/wfileops.c (adjust_wide_data): Likewise.
33179 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33180 (__m128i_strloadu_tolower): Likewise.
33181 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33182 (__m128i_strloadu_tolower): Likewise.
33183 * time/mktime.c (ydhms_diff): Likewise.
33184 * locale/elem-hash.h (elem_hash): Likewise.
33185 * locale/setlocale.c (setdata): Likewise.
33186 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33187 (re_string_wchar_at): Likewise.
33188 (bitset_not, bitset_merge, bitset_mask): Likewise.
33189 [!(__GNUC__ > 3)] (inline): Remove macro.
33190 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33191 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33192 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33193 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33194 * string/memcmp.c (memcmp_bytes): Likewise.
33195 * locale/programs/locarchive.c (compute_hashval): Likewise.
33196 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33197 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33198 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33199 * nss/getent.c (print_rpc, print_protocols): Likewise.
33200 (print_passwd, print_group, print_aliases): Likewise.
33201 * nis/nss-nisplus.h (niserr2nss): Likewise.
33202 * nscd/connections.c (restart_p): Likewise.
33203 Change return type to bool.
33204
eab55bfb
RM
332052013-02-05 Roland McGrath <roland@hack.frob.com>
33206
7bd642f5
RM
33207 * Makeconfig (all-Depend-files): Add existing
33208 $(sorted-subdirs:=/Depend) files.
33209 (all-subdirs): Remove nss.
33210 * sysdeps/unix/inet/Subdirs: Add it here instead.
33211 * hesiod/Depend: New file.
33212
573c29b2
RM
33213 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33214 instead of calling alloca.
33215
b2e25af0
RM
33216 * io/lseek.c (__lseek): Rename to __libc_lseek.
33217 Define __lseek as an alias.
33218
eab55bfb
RM
33219 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33220
9a0d1941
CD
332212013-02-04 Carlos O'Donell <carlos@redhat.com>
33222
33223 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33224 else clause and remove check for non-standard endianness.
33225
b83bbec4
DM
332262013-02-04 David S. Miller <davem@davemloft.net>
33227
33228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33229
6277fdab
JM
332302013-02-04 Joseph Myers <joseph@codesourcery.com>
33231
33232 [BZ #13550]
33233 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33234 (__ubp_memchr): Remove prototype.
33235 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33236 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33237 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33238 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33239 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33240 Remove alias.
33241 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33242 (__ubp_memchr): Likewise.
33243 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33244 (__ubp_memchr): Likewise.
33245 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33246 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33247 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33248 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33249 CHECK_STRING.
33250 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33251 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33252 (__getcwd): Do not use CHECK_STRING.
33253 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33254 <bp-checks.h>.
33255 (__real_chown): Do not use CHECK_STRING.
33256 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33257 <bp-checks.h>.
33258 (fchownat): Do not use CHECK_STRING.
33259 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33260 CHECK_STRING.
33261 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33262 <bp-checks.h>.
33263 (__lchown): Do not use CHECK_STRING.
33264 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33265 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33266 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33267 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33269 include <bp-checks.h>.
33270 (truncate64): Do not use CHECK_STRING.
33271 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33272 <bp-checks.h>.
33273 (__real_chown): Do not use CHECK_STRING.
33274 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33275 <bp-checks.h>.
33276 (__lchown): Do not use CHECK_STRING.
33277 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33278 <bp-checks.h>.
33279 (__chown): Do not use CHECK_STRING.
33280 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33281 <bp-checks.h>.
33282 (truncate64): Do not use CHECK_STRING.
33283 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33284 Likewise.
33285 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33286 (__xmknod): Do not use CHECK_STRING.
33287 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33288 <bp-checks.h>.
33289 (__xmknodat): Do not use CHECK_STRING.
33290 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33291 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33292
903ae060
AS
332932013-02-04 Andreas Schwab <schwab@suse.de>
33294
33295 [BZ #14142]
33296 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33297 * include/netdb.h: Likewise for h_errno.
33298 * elf/tst-stackguard1.c: Include <tls.h>.
33299
542f9466
JK
333002013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33301
33302 * elf/link.h (struct link_map): Extend the l_addr comment.
33303 * include/link.h (struct link_map): Likewise.
33304
e782a927
JM
333052013-02-01 Joseph Myers <joseph@codesourcery.com>
33306
33307 [BZ #13550]
33308 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33309 (BOUNDED_1): Remove macro.
33310 * debug/backtrace.c: Don't include <bp-checks.h>.
33311 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33312 (__backtrace): Likewise.
33313 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33314 <bp-checks.h>.
33315 (__backtrace): Don't use BOUNDED_1.
33316 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33317 <bp-checks.h>.
33318 (__backtrace): Don't use BOUNDED_1.
33319 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33320 (__backtrace): Don't use BOUNDED_1.
33321 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33322 (shmat): Don't use BOUNDED_N.
33323
8cf28c5e
JM
333242013-01-31 Joseph Myers <joseph@codesourcery.com>
33325
3a7ac8a0
JM
33326 [BZ #13550]
33327 * sysdeps/generic/bp-start.h: Remove file.
33328 * csu/libc-start.c: Don't include <bp-start.h>.
33329 (LIBC_START_MAIN): Set up __environ directly instead of using
33330 INIT_ARGV_and_ENVIRON.
33331 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33332 <bp-start.h>.
33333
f3499f95
JM
33334 [BZ #13550]
33335 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33336 definitions.
33337 (CHECK_FCNTL): Likewise.
33338 (CHECK_N_PAGES): Likewise.
33339
32a45bea
JM
33340 [BZ #13550]
33341 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33342 definitions.
33343 (CHECK_SIGSET_NULL_OK): Likewise.
33344 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33345 <bp-checks.h>.
33346 (sigpending): Don't use CHECK_SIGSET.
33347 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33348 <bp-checks.h>.
33349 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33350 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33351 <bp-checks.h>.
33352 (do_sigsuspend): Don't use CHECK_SIGSET.
33353 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33354 use CHECK_SIGSET.
33355 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33356 (do_sigwait): Don't use CHECK_SIGSET.
33357 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33358 use CHECK_SIGSET.
33359 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33360 include <bp-checks.h>.
33361 (sigpending): Don't use CHECK_SIGSET.
33362 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33363 include <bp-checks.h>.
33364 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33365 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33366 <bp-checks.h>.
33367 (sigpending): Don't use CHECK_SIGSET.
33368 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33369 <bp-checks.h>.
33370 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33371
2e8a5c8c
JM
33372 [BZ #13550]
33373 * sysdeps/generic/bp-semctl.h: Remove file.
33374 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33375 <bp-checks.h> and <bp-semctl.h>.
33376 (__old_semctl): Don't use CHECK_SEMCTL.
33377 (__new_semctl): Likewise.
33378 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33379 and <bp-semctl.h>.
33380 (__old_semctl): Don't use CHECK_SEMCTL.
33381 (__new_semctl): Likewise.
33382 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33383 <bp-checks.h> and <bp-semctl.h>.
33384 (__old_semctl): Don't use CHECK_SEMCTL.
33385 (__new_semctl): Likewise.
33386 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33387 <bp-checks.h> and <bp-semctl.h>.
33388 (semctl): Don't use CHECK_SEMCTL.
33389
c2d54929
JM
33390 [BZ #13550]
33391 * Makerules (elide-bp-thunks): Remove variable.
33392 (elide-routines.oS): Don't use $(elide-bp-thunks).
33393 (elide-routines.os): Likewise.
33394 (elide-routines.o): Likewise.
33395 (elide-routines.op): Likewise.
33396 (elide-routines.og): Likewise.
33397 (objects): Don't use $(bp-thunks).
33398 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33399 include.
33400 (common-generated): Do not add s-proto-bp.d.
33401 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33402 (int): Likewise.
33403 (typ): Likewise.
33404 Do not generate makefile rules for bounded-pointer thunks.
33405 * sysdeps/generic/bp-thunks.h: Remove file.
33406 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33407 * sysdeps/unix/s-proto-bp.S: Likewise.
33408
8cf28c5e
JM
33409 [BZ #15062]
33410 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33411 parts of result separately when argument is not close to line from
33412 -i to i and one part of argument is small.
33413 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33414 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33415 * math/libm-test.inc (cacos_test): Add more tests.
33416 (casin_test): Likewise.
33417 (casinh_test): Likewise.
33418 * sysdeps/i386/fpu/libm-test-ulps: Update.
33419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33420
c4e33b8d
DM
334212013-01-31 David S. Miller <davem@davemloft.net>
33422
33423 * po/de.po: Update from translation team.
33424
3b60b421
MK
334252013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33426
33427 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33428
bb931195
TS
334292013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33430
b5a5da23
TS
33431 * configure.in (_AC_PROG_CC_C89): New definition.
33432 * configure: Regenerate.
33433
bb931195
TS
33434 * configure.in (AC_PROG_CPP): New definition.
33435 * configure: Regenerate.
33436
8c53a12c
JM
334372013-01-23 Joseph Myers <joseph@codesourcery.com>
33438
33439 * debug/tst-backtrace.h: New file.
33440 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33441 (ret): Remove variable.
33442 (x): Likewise.
33443 (FAIL): Remove macro.
33444 (NO_INLINE): Likewise.
33445 (fn1): Use match function instead of strstr.
33446 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33447 (ret): Remove variable.
33448 (x): Likewise.
33449 (FAIL): Remove macro.
33450 (NO_INLINE): Likewise.
33451 (fn): Use match function instead of strstr.
33452 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33453 (ret): Remove variable.
33454 (x): Likewise.
33455 (FAIL): Remove macro.
33456 (NO_INLINE): Likewise.
33457 (handle_signal): Use match function instead of strstr.
33458 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33459 (ret): Remove variable.
33460 (x): Likewise.
33461 (FAIL): Remove macro.
33462 (NO_INLINE): Likewise.
33463 (handle_signal): Use match function instead of strstr.
33464
4858fa2a
RM
334652013-01-23 Roland McGrath <roland@hack.frob.com>
33466
33467 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33468
bae8e7f5
DM
334692013-01-23 David S. Miller <davem@davemloft.net>
33470
33471 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33472 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33473 argument of CAS if possible.
33474 * sysdeps/sparc/sparc64/bits/atomic.h
33475 (__arch_compare_and_exchange_val_32_acq): Likewise.
33476 (__arch_compare_and_exchange_val_64_acq): Likewise.
33477
9cbbc4ae
PT
334782013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33479
33480 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33481 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33482 Include <limits.h>.
67b3f58c 33483 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33484
5655a0b5
AC
334852013-01-23 Adam Conrad <adconrad@0c3.net>
33486
33487 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33488 (LDFLAGS-tst-array5): Likewise.
33489
052aff95
JM
334902013-01-23 Joseph Myers <joseph@codesourcery.com>
33491
33492 [BZ #15036]
33493 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33494 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33495 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33496 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33497
7c1e01aa
DM
334982013-01-21 David S. Miller <davem@davemloft.net>
33499
33500 * sysdeps/sparc/backtrace.c: New file.
33501 * sysdeps/sparc/sparc32/backtrace.h: New file.
33502 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33503 * sysdeps/sparc/sparc64/backtrace.h: New file.
33504 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33505 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33506 -funwind-tables.
33507
ab087e0a
AS
335082013-01-21 Andreas Schwab <schwab@suse.de>
33509
33510 [BZ #15020]
33511 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33512 closed its stdout.
33513
ed689c2f
AS
335142013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33515
33516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33517 "mpa2.h".
33518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33519
31d470ac
JM
335202013-01-18 Joseph Myers <joseph@codesourcery.com>
33521 Mark Mitchell <mark@codesourcery.com>
33522 Tom de Vries <tom@codesourcery.com>
33523 Paul Pluzhnikov <ppluzhnikov@google.com>
33524
33525 * debug/tst-backtrace2.c: New file.
33526 * debug/tst-backtrace3.c: Likewise.
33527 * debug/tst-backtrace4.c: Likewise.
33528 * debug/tst-backtrace5.c: Likewise.
33529 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33530 (CFLAGS-tst-backtrace3.c): Likewise.
33531 (CFLAGS-tst-backtrace4.c): Likewise.
33532 (CFLAGS-tst-backtrace5.c): Likewise.
33533 (LDFLAGS-tst-backtrace2): Likewise.
33534 (LDFLAGS-tst-backtrace3): Likewise.
33535 (LDFLAGS-tst-backtrace4): Likewise.
33536 (LDFLAGS-tst-backtrace5): Likewise.
33537 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33538 tst-backtrace4 and tst-backtrace5.
33539
90567f30 335402013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33541 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33542
33543 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33544 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33545 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33546 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33548 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33549 "+r" and remove output regs list as redundant. Add explicit inline
33550 asm to specify register of return val to work around compiler codegen
33551 bug. Remove (int) cast on return value. Add return type parameter to
33552 use in macro so that this macro does not truncate return value for
33553 64-bit values.
33554 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33555 pass to INTERNAL_VSYSCALL_NCS.
33556 (INLINE_VSYSCALL): Add 'long int' as return type to
33557 INTERNAL_VSYSCALL_NCS macro invocation.
33558 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33559 INTERNAL_VSYSCALL_NCS macro invocation.
33560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33561
d3b9ea61
SP
335622013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33563
0b57daeb
SP
33564 [BZ #14496]
33565 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33566 Fix application of SIMD FP exception mask.
33567
caa99d06
SP
33568 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33569 mp_no from a power of two.
33570 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33571 __mpexp_twomm1. Use __pow_mp.
33572
d3b9ea61
SP
33573 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33574 multiplication.
33575
1dbaee3c
DM
335762013-01-17 David S. Miller <davem@davemloft.net>
33577
33578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33579
728d7b43
JM
335802013-01-17 Joseph Myers <joseph@codesourcery.com>
33581
33582 [BZ #15023]
33583 * include/complex.h: Condition contents on [!_COMPLEX_H].
33584 (__kernel_casinhf): New prototype.
33585 (__kernel_casinh): Likewise.
33586 (__kernel_casinhl): Likewise.
33587 * math/Makefile (libm_calls): Add k_casinh.
33588 * math/k_casinh.c: New file.
33589 * math/k_casinhf.c: Likewise.
33590 * math/k_casinhl.c: Likewise.
33591 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33592 finite nonzero arguments.
33593 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33594 finite nonzero arguments.
33595 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33596 finite nonzero arguments.
33597 * math/s_casinh.c: Do not include <float.h>.
33598 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33599 * math/s_casinhf.c: Do not include <float.h>.
33600 (__casinhf): Move code for finite nonzero arguments to
33601 k_casinhf.c.
33602 * math/s_casinhl.c: Do not include <float.h>.
33603 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33604 redefine.
33605 (__casinhl): Move code for finite nonzero arguments to
33606 k_casinhl.c.
33607 * math/libm-test.inc (cacos_test): Add more tests.
33608 * sysdeps/i386/fpu/libm-test-ulps: Update.
33609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33610
2a26ef3a
PT
336112013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33612
33613 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33614 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33615 [!HAVE_MREMAP]: Remove [defined linux] case.
33616 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33617
a897655d
SP
336182013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33619
33620 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33621
881ebe89 336222013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33623
33624 * elf/elf.h (R_386_SIZE32): New relocation.
33625 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33626 R_386_SIZE32.
33627 (elf_machine_rela): Likewise.
33628 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33629 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33630
59981e9b
JM
336312013-01-17 Joseph Myers <joseph@codesourcery.com>
33632
33633 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33634 (FP_FAST_FMA): Do not define.
33635 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33636 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33637 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33638 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33639 !_SOFT_FLOAT]: Likewise.
33640 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33641 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33642 value.
33643 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33644 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33645 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33646 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33647 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33648 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33649 file.
33650
cfa8054f
AS
336512013-01-16 Andreas Schwab <schwab@suse.de>
33652
33653 [BZ #14327]
33654 * include/stdlib.h (__mktemp): Add declaration.
33655 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33656 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33657
dd930cc5
SP
336582013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33659
881ebe89
SP
33660 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33661 definitions.
33662 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33663 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33664 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33665 definitions here.
33666 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33667 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33668 definitions.
33669 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33670 and ONE.
33671 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33672 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33673 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33674 definitions.
33675 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33676 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33677 definitions.
33678 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33679
dd930cc5
SP
33680 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33681
c19a9f89
DM
336822013-01-15 David S. Miller <davem@davemloft.net>
33683
1aa61767
DM
33684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33685 trunc{,f} to libm-sysdep_routes.
33686 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33688 file.
33689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33691 file.
33692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33693 file.
33694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33696 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33697 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33698 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33699 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33700 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33701 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33702
c42d5e98
DM
33703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33704 nearbyint{,f} to libm-sysdep_routes.
33705 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33707 New file.
33708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33709 file.
33710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33711 New file.
33712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33713 file.
33714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33716 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33717 file.
33718 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33719 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33720 file.
33721 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33722 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33723 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33724
c19a9f89
DM
33725 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33726 libc_feholdexcept and libc_fesetenv.
33727
357679d2
MF
337282013-01-15 Mike Frysinger <vapier@gentoo.org>
33729
33730 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33731
65a82e3d
DM
337322013-01-14 David S. Miller <davem@davemloft.net>
33733
8b954ab9
DM
33734 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33735 (SPARC_ASM_VIS2_IFUNC): Likewise.
33736 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33738 use of 'siam' instruction.
33739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33740 Likewise.
33741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33742 Likewise.
33743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33744 Likewise.
33745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33750 file.
33751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33752 file.
33753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33754 file.
33755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33756 file.
33757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33760 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33762 new VIS2 routines.
33763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33766 Likewise.
33767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33772 routines to libm-sysdep_routines.
33773 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33774
65a82e3d
DM
33775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33776 fdim/fdimf to libm-sysdep_routines.
33777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33778 file.
33779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33781 file.
33782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33785 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33786 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33787 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33788 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33789
e34ab705
SP
337902013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33791
2a91b573
SP
33792 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33793 to optimize copies.
33794
1066a534
SP
33795 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33798
e34ab705
SP
33799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33800 local variable MPTWO.
33801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33802 Likewise.
33803
aba5e596
MF
338042013-01-13 Mike Frysinger <vapier@gentoo.org>
33805
33806 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33807 GLOB_NOESCAPE.
33808
e557e9e5
MF
338092013-01-13 Mike Frysinger <vapier@gentoo.org>
33810
33811 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33812
0428cec9
MF
338132013-01-13 Mike Frysinger <vapier@gentoo.org>
33814
33815 * manual/pattern.texi (glob_t): Document gl_flags.
33816 (glob64_t): Likewise.
33817
8794a964
DM
338182013-01-11 David S. Miller <davem@davemloft.net>
33819
66438c3f
RM
33820 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33821 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33822 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33823 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33824 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33825 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33826 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33827 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33828 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33829 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33830 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33831 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33832 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33833
4ae4244d
DM
33834 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33835 sparc V9 rather than using V8 code.
33836 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33837 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33838
8794a964
DM
33839 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33840 Move to...
33841 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33842 Here.
33843
6270516e
RM
338442013-01-11 Roland McGrath <roland@hack.frob.com>
33845
33846 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33847 not in the main loop.
33848 * configure: Regenerated.
33849
6a57d931
JM
338502013-01-11 Joseph Myers <joseph@codesourcery.com>
33851
33852 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33853 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33854 to just #else.
33855 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33856 [!__GLIBC_HAVE_LONG_LONG] case.
33857 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33858 condition to just #else.
33859 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33860 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33861 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33862 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33863 unconditional.
33864 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33865 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33866 #elif condition to just #else.
33867 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33868 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33869 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33870 #elif condition to just #else.
33871
0e8529e9
SE
338722013-01-11 Steve Ellcey <sellcey@mips.com>
33873
33874 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33875 (EF_MIPS_ARCH_64): Fix value.
33876 (EF_MIPS_ARCH_32R2): New.
33877 (EF_MIPS_ARCH_64R2): New.
33878
740b3dbe
L
338792013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33880
33881 * Makeconfig (+link-pie-before-libc): New.
33882 (+link-pie-after-libc): Likewise.
33883 (+link-pie-tests): Likewise.
33884 (+link-pie): Rewritten.
33885 (link-before-libc): Remove $(config-LDFLAGS).
33886 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33887 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33888 (config-LDFLAGS): Renamed to ...
33889 (rtld-LDFLAGS): This.
33890 (rtld-tests-LDFLAGS): New macro.
33891 (link-libc-rpath-link): Likewise.
33892 (link-libc-tests-rpath-link): Likewise.
33893 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33894 (link-libc): Prepand $(link-libc-rpath-link).
33895 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33896 (test-program-prefix): New macro.
33897 (test-via-rtld-prefix): Likewise.
33898 (test-program-cmd): Likewise.
33899 (host-test-program-cmd): Likewise.
33900 * Makefile ($(common-objpfx)testrun.sh): Replace
33901 $(run-program-prefix) with $(test-program-prefix).
33902 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33903 $(rtld-LDFLAGS).
33904 ($(common-objpfx)shlib.lds): Likewise.
33905 (build-module-helper): Likewise.
33906 ($(common-objpfx)format.lds): Likewise.
33907 * Rules (binaries-pie-tests): New.
33908 (binaries-pie-notests): Likewise.
33909 (binaries-pie): Rewritten.
33910 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33911 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33912 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33913 (make-test-out): Replace $(host-built-program-cmd) with
33914 $(host-test-program-cmd).
33915 * config.make.in (build-hardcoded-path-in-tests): New variable.
33916 * configure.in (--enable-hardcoded-path-in-tests): New configure
33917 option.
33918 (hardcoded_path_in_tests): New AC_SUBST.
33919 * configure: Regenerated.
33920 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33921 $(built-program-cmd) with $(test-program-cmd).
33922 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33923 (test_program_cmd): This.
33924 * elf/Makefile ($(objpfx)order.out): Run test with
33925 $(test-program-prefix).
33926 ($(objpfx)order2.out): Likewise.
33927 ($(objpfx)tst-initorder.out): Likewise.
33928 ($(objpfx)tst-initorder2.out): Likewise.
33929 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33930 $(test-program-cmd).
33931 ($(objpfx)tst-array1-static.out): Likewise.
33932 ($(objpfx)tst-array2.out): Likewise.
33933 ($(objpfx)tst-array3.out): Likewise.
33934 ($(objpfx)tst-array4.out): Likewise.
33935 ($(objpfx)tst-array5.out): Likewise.
33936 ($(objpfx)tst-array5-static.out): Likewise.
33937 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33938 $(test-program-cmd).
33939 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33940 $(run-program-prefix) with $(test-program-prefix).
33941 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33942 (test_program_prefix): This.
33943 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33944 $(run-program-prefix) with $(test-program-prefix).
33945 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33946 (test_program_prefix): This.
33947 * iconvdata/tst-tables.sh: Likewise.
33948 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33949 $(run-program-prefix) with $(test-program-prefix).
33950 ($(objpfx)tst-translit.out): Likewise.
33951 ($(objpfx)tst-gettext2.out): Likewise.
33952 ($(objpfx)tst-gettext4.out): Likewise.
33953 ($(objpfx)tst-gettext6.out): Likewise.
33954 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33955 (test_program_prefix): This.
33956 * intl/tst-gettext2.sh: Likewise.
33957 * intl/tst-gettext4.sh Likewise.
33958 * intl/tst-gettext6.sh: Likewise.
33959 * intl/tst-translit.sh: Likewise.
33960 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33961 with $(test-program-cmd).
33962 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33963 $(run-program-prefix) with $(test-program-prefix).
33964 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33965 (test_program_prefix): This.
33966 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33967 $(run-program-prefix) with $(test-program-prefix).
33968 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33969 (test_program_prefix): This.
33970 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33971 * posix/Makefile ($(objpfx)globtest.out): Replace
33972 $(run-via-rtld-prefix) and $(test-wrapper) with
33973 $(test-program-prefix) and $(test-via-rtld-prefix).
33974 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33975 $(test-program-prefix).
33976 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33977 $(host-test-program-cmd).
33978 (tst-spawn-ARGS): Likewise.
33979 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33980 $(test-program-prefix).
33981 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33982 (test_via_rtld_prefix): This.
33983 (test_wrapper): Renamed to ...
33984 (test_program_prefix): This.
33985 (run_program_prefix): Replaced by test_program_prefix.
33986 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33987 (test_program_prefix): This.
33988 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33989 with $(host-test-program-cmd).
33990 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33991 $(run-program-prefix) with $(test-program-prefix).
33992 ($(objpfx)tst-printf.out): Likewise.
33993 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33994 $(test-program-cmd).
33995 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33996 (test_program_prefix): This.
33997 * stdio-common/tst-unbputc.sh: Likewise.
33998 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33999 $(run-program-prefix) with $(test-program-prefix).
34000 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34001 (test_program_prefix): This.
34002 * string/Makefile ($(objpfx)tst-svc.out): Replace
34003 $(built-program-cmd) with $(test-program-cmd).
34004
c6fe55cf
AJ
340052013-01-11 Andreas Jaeger <aj@suse.de>
34006
34007 [BZ #15003]
34008 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34009 value. Sync with Linux 3.7.
34010
9e6919c8
DM
340112013-01-10 David S. Miller <davem@davemloft.net>
34012
34013 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34014 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34015 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34016
1c9f1a02
RM
340172013-01-10 Roland McGrath <roland@hack.frob.com>
34018
34019 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34020 never set.
34021 * configure: Regenerated.
34022
b9de2dde
DM
340232013-01-10 David S. Miller <davem@davemloft.net>
34024
34025 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34026 sparc V9 rather than using V8 code.
34027 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34028 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34029
e7f68ef4
RM
340302013-01-10 Roland McGrath <roland@hack.frob.com>
34031
34032 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34033 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34034 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34035 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34036 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34037 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34038 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34039 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34040 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34041 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34042 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34043 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34044 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34045 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34046 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34047 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34048 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34049 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34050 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34051 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34052 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34053 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34054 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34055 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34056 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34057 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34058 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34059
5a47cc9c
DM
340602013-01-10 David S. Miller <davem@davemloft.net>
34061
34062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34063
4cf8f209
L
340642013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34065
34066 * posix/Makefile (tests-static): New variable.
34067 (tests): Add $(tests-static).
34068 (tst-exec-static-ARGS): New variable.
34069 (tst-spawn-static-ARGS): Likewise.
34070 * posix/tst-exec-static.c: New file.
34071 * posix/tst-spawn-static.c: Likewise.
34072 * posix/tst-exec.c: Support run directly.
34073 * posix/tst-spawn.c: Likewise.
34074
fed0faa1
JM
340752013-01-10 Joseph Myers <joseph@codesourcery.com>
34076
828beb13
JM
34077 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34078 long.
34079 * math/bits/mathcalls.h (llrint): Likewise.
34080 (llround): Likewise.
34081 * stdlib/stdlib.h (struct drand48_data): Likewise.
34082 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34083 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34084 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34085 Likewise.
34086 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34087 Likewise.
34088 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34089 (elf_greg_t): Likewise.
34090 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34091 (__jmp_buf): Likewise.
34092 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34093 definitions.
34094 (llrint): Likewise, for all definitions.
34095 (llrintl): Likewise.
34096
fed0faa1
JM
34097 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34098 Remove [__GNUC__] condition.
34099 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34100 condition to just [__USE_ISOC99].
34101 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34102
1a20cb20
L
341032013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34104
34105 [BZ #14200]
34106 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34107 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34108 defined.
34109 (_POSIX_V6_ILP32_OFF32): Likewise.
34110 (_XBS5_ILP32_OFF32): Likewise.
34111 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34112 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34113
751b85f7
SP
341142013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34115
7490eb81
SP
34116 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34117
751b85f7
SP
34118 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34119 doubles __mpexp_twomm1. Adjust usage.
34120 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34121 Remove.
34122
988197f0
AS
341232013-01-10 Andreas Schwab <schwab@suse.de>
34124
34125 [BZ #14964]
34126 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34127 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34128
e83d7298
DM
341292013-01-09 David S. Miller <davem@davemloft.net>
34130
034ed64b 34131 [BZ #15003]
57f41c40
AS
34132 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34133 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34134 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34135 (TCP_FASTOPEN): Define.
e83d7298
DM
34136 (tcp_repair_opt): New structure.
34137 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34138 enum values.
57f41c40
AS
34139 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34140 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34141 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
34142 (tcp_cookie_transactions): New structure.
34143
d5e0b9bd
AB
341442013-01-09 Anton Blanchard <anton@samba.org>
34145
34146 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34147 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34148 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34149 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34150
0c07e3ea
JM
341512013-01-09 Joseph Myers <joseph@codesourcery.com>
34152
34153 * include/features.h (__USE_ANSI): Remove.
34154
232f7002
RM
341552013-01-09 Roland McGrath <roland@hack.frob.com>
34156
ad98e30c
RM
34157 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34158
232f7002
RM
34159 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34160
950c99ca
SP
341612013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34162
b5792741
SP
34163 * sysdeps/s390/fpu/libm-test-ulps: Update.
34164
47cf2278
SP
34165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34166
950c99ca
SP
34167 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34168 (__acr): Likewise.
34169 (__cpy): Likewise.
34170 (norm): Likewise.
34171 (denorm): Likewise.
34172 (__mp_dbl): Likewise.
34173 (__dbl_mp): Likewise.
34174 (add_magnitudes): Likewise.
34175 (sub_magnitudes): Likewise.
34176 (__add): Likewise.
34177 (__sub): Likewise.
34178 (__mul): Likewise.
34179 (__inv): Likewise.
34180 (__dvd): Likewise.
34181 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34182 (__acr): Likewise.
34183 (__cpy): Likewise.
34184 (norm): Likewise.
34185 (denorm): Likewise.
34186 (__mp_dbl): Likewise.
34187 (__dbl_mp): Likewise.
34188 (add_magnitudes): Likewise.
34189 (sub_magnitudes): Likewise.
34190 (__add): Likewise.
34191 (__sub): Likewise.
34192 (__mul): Likewise.
34193 (__inv): Likewise.
34194 (__dvd): Likewise.
34195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34196 (__acr): Likewise.
34197 (__cpy): Likewise.
34198 (norm): Likewise.
34199 (denorm): Likewise.
34200 (__mp_dbl): Likewise.
34201 (__dbl_mp): Likewise.
34202 (add_magnitudes): Likewise.
34203 (sub_magnitudes): Likewise.
34204 (__add): Likewise.
34205 (__sub): Likewise.
34206 (__mul): Likewise.
34207 (__inv): Likewise.
34208 (__dvd): Likewise.
34209
eede9df9
JM
342102013-01-08 Joseph Myers <joseph@codesourcery.com>
34211
34212 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34213 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34214 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34215 2 && __USE_EXTERN_INLINES]: Likewise.
34216
c40ea3d9
AJ
342172013-01-08 Andreas Jaeger <aj@suse.de>
34218
34219 [BZ# 14985]
34220 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34221 Remove.
34222 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34223 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34224
2ccdea26
AB
342252013-01-07 Anton Blanchard <anton@samba.org>
34226
34227 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34228 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34229 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34230 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34231 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34232 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34233 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34234 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34236 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34237 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34238 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34239 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34240 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34241 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34242 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34243 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34244 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34245 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34246 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34247 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34248 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34249 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34250 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34251 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34252 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34253 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34254 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34255 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34256 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34257 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34259 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34260 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34261 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34262 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34263 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34264 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34265 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34266 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34267 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34268 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34269 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34270
a9708fed
JM
342712013-01-07 Joseph Myers <joseph@codesourcery.com>
34272
375607b9
JM
34273 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34274 (__MALLOC_PMT): Likewise.
34275 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34276 [__GNUC__], only on [_LIBC].
34277 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34278 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34279 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34280 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34281 forward declaration.
34282 (realloc_hook_ini): Likewise.
34283 (memalign_hook_ini): Likewise.
34284 (__libc_memalign): Do not use __MALLOC_PMT in variable
34285 declaration.
34286 (__libc_valloc): Likewise.
34287 (__libc_pvalloc): Likewise.
34288 (__libc_calloc): Likewise.
34289 (__posix_memalign): Likewise.
34290
a9708fed
JM
34291 [BZ #14996]
34292 * math/s_casinh.c: Include <float.h>.
34293 (__casinh): Do not do computation with squaring and square root
34294 for large arguments.
34295 * math/s_casinhf.c: Include <float.h>.
34296 (__casinhf): Do not do computation with squaring and square root
34297 for large arguments.
34298 * math/s_casinhl.c: Include <float.h>.
34299 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34300 (__casinhl): Do not do computation with squaring and square root
34301 for large arguments.
34302 * math/libm-test.inc (casin_test): Add more tests.
34303 (casinh_test): Likewise.
34304 * sysdeps/i386/fpu/libm-test-ulps: Update.
34305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34306
afec409a
L
343072013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34308
34309 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34310 (__x86_64_raw_data_cache_size): Likewise.
34311 (__x86_64_data_cache_size_half): Likewise.
34312 (__x86_64_raw_data_cache_size_half): Likewise.
34313 (__x86_64_shared_cache_size): Likewise.
34314 (__x86_64_raw_shared_cache_size): Likewise.
34315 (__x86_64_shared_cache_size_half): Likewise.
34316 (__x86_64_raw_shared_cache_size_half): Likewise.
34317 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34318 to ...
34319 (__x86_data_cache_size): This.
34320 (__x86_64_raw_data_cache_size): Renamed to ...
34321 (__x86_raw_data_cache_size): This.
34322 (__x86_64_data_cache_size_half): Renamed to ...
34323 (__x86_data_cache_size_half): This.
34324 (__x86_64_raw_data_cache_size_half): Renamed to ...
34325 (__x86_raw_data_cache_size_half): This.
34326 (__x86_64_shared_cache_size): Renamed to ...
34327 (__x86_shared_cache_size): This.
34328 (__x86_64_raw_shared_cache_size): Renamed to ...
34329 (__x86_raw_shared_cache_size): This.
34330 (__x86_64_shared_cache_size_half): Renamed to ...
34331 (__x86_shared_cache_size_half): This.
34332 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34333 (__x86_raw_shared_cache_size_half): This.
34334 * sysdeps/x86_64/memcpy.S: Updated.
34335 * sysdeps/x86_64/memset.S: Likewise.
34336 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34337 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34338 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34339
0b3986d0
DM
343402013-01-04 David S. Miller <davem@davemloft.net>
34341
34342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34343
e47686e9
AS
343442013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34345
d643bac1
AS
34346 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34347 1 to avoid redefinition warning.
34348 (__USE_GNU): Don't define.
34349 (init_signaling_nan): Protoize.
34350
e47686e9
AS
34351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34352
b18decba
SP
343532013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34354
fffb407f
SP
34355 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34357 (__cpymn): Likewise.
34358 (norm): Remove commented code.
34359 (denorm): Likewise.
34360 (__mp_dbl): Likewise.
34361 (__inv): Likewise.
34362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34363 (__cpymn): Likewise.
34364 (norm): Remove commented code.
34365 (denorm): Likewise.
34366 (__mp_dbl): Likewise.
34367 (__inv): Likewise.
34368
b18decba
SP
34369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34370 mp_no value for 1.0 and 2.0.
34371 (norm): Use RADIXI instead of radixi.d.
34372 (denorm): Likewise.
34373 (__mul): Use 0.0 instead of zero.d.
34374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34375 mp_no value for 1.0 and 2.0.
34376 (norm): Use RADIXI instead of radixi.d.
34377 (denorm): Likewise.
34378 (__mul): Use 0.0 instead of zero.d.
34379
cdc1c96f
JM
343802013-01-04 Joseph Myers <joseph@codesourcery.com>
34381
34382 [BZ #14994]
34383 * math/s_casinh.c (__casinh): Reduce finite argument to first
34384 quadrant then set signs of results at the end.
34385 * math/s_casinhf.c (__casinhf): Likewise.
34386 * math/s_casinhl.c (__casinhl): Likewise.
34387 * math/libm-test.inc (casin_test): Add more tests.
34388 (casinh_test): Likewise.
34389 * sysdeps/i386/fpu/libm-test-ulps: Update.
34390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34391
302913e1
SP
343922013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34393
6420d207
SP
34394 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34395
a9e48ab4
SP
34396 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34397
b7837264
SP
34398 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34399 declarations.
34400 (denorm): Likewise.
34401 (__mp_dbl): Likewise.
34402 (__inv): Likewise.
34403
f8af25d2
SP
34404 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34405 and adjust the header comment.
34406
302913e1
SP
34407 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34408 variable name from declaration.
34409
5d7dd1ca
L
344102013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34411
34412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34413 Initialize COMMON_CPUID_INDEX_7 element.
34414 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34415 (CPUID_RTM): Likewise.
34416 (HAS_RTM): Likewise.
34417 (COMMON_CPUID_INDEX_7): New enum.
34418
2f5f40f4
AS
344192013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34420
34421 [BZ #14981]
34422 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34423 size is zero, record memory as freed.
34424
4056f4a0
AJ
344252013-01-03 Andreas Jaeger <aj@suse.de>
34426
34427 * po/ia.po: Add new Interlingua translation.
34428
ab15736f 344292012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34430
34431 * locale/programs/localedef.c: Fix description of '--posix' flag.
34432
568035b7
JM
344332013-01-02 Joseph Myers <joseph@codesourcery.com>
34434
e6898b8d
JM
34435 * NEWS: Update dates in second copyright notice.
34436 * README: Update copyright dates in example.
34437 * manual/libc.texinfo: Update copyright dates.
34438 * scripts/test-installation.pl: Update copyright date in --version
34439 output.
34440
0e2f9562
JM
34441 * hurd/ctty-input.c: Fix copyright notice formatting.
34442 * hurd/ctty-output.c: Likewise.
34443 * hurd/dtable.c: Likewise.
34444 * hurd/hurd-raise.c: Likewise.
34445 * hurd/hurdprio.c: Likewise.
34446 * hurd/msgportdemux.c: Likewise.
34447 * misc/sys/file.h: Likewise.
34448 * misc/sys/ioctl.h: Likewise.
34449 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34450 * sysdeps/mach/hurd/chdir.c: Likewise.
34451 * sysdeps/mach/hurd/fchdir.c: Likewise.
34452 * sysdeps/mach/hurd/rename.c: Likewise.
34453 * sysdeps/mach/hurd/rmdir.c: Likewise.
34454 * sysdeps/mach/hurd/seekdir.c: Likewise.
34455 * sysdeps/mach/hurd/setsid.c: Likewise.
34456 * sysdeps/posix/wait3.c: Likewise.
34457
568035b7
JM
34458 * All files with FSF copyright notices: Update copyright dates
34459 using scripts/update-copyrights.
34460 * intl/plural.c: Regenerated.
34461 * locale/programs/charmap-kw.h: Likewise.
34462 * locale/programs/locfile-kw.h: Likewise.
34463
da08f647
SP
344642013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34465
0f5477af
SP
34466 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34467 four values.
34468
44e0d4c2
SP
34469 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34470 calculation loop and add branch prediction.
34471
4d55b4e5
SP
34472 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34473 check access beyond bounds of m1np.
34474
da08f647
SP
34475 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34476 MPTWO.
34477 (__inv): Remove local variable MPTWO to use the global
34478 constant.
34479 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34480 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34481 variable MPTWO.
34482 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34483 MP3HALFS static const.
34484
8e051029
DM
344852013-01-01 David S. Miller <davem@davemloft.net>
34486
34487 * po/ca.po: Update from translation team.
34488
f4cf5f2d
JM
344892013-01-01 Joseph Myers <joseph@codesourcery.com>
34490
34491 * scripts/update-copyrights: New file.
34492 * Makeconfig: Reformat copyright notice.
34493 * ctype/ctype.h: Likewise.
34494 * debug/swprintf_chk.c: Likewise.
34495 * elf/dl-cache.c: Likewise.
34496 * elf/dl-debug.c: Likewise.
34497 * elf/dl-object.c: Likewise.
34498 * grp/initgroups.c: Likewise.
34499 * hurd/Makefile: Likewise.
34500 * hurd/hurd/signal.h: Likewise.
34501 * hurd/hurdfault.c: Likewise.
34502 * hurd/hurdioctl.c: Likewise.
34503 * hurd/hurdlookup.c: Likewise.
34504 * hurd/intr-msg.c: Likewise.
34505 * iconv/gconv_open.c: Likewise.
34506 * libio/swprintf.c: Likewise.
34507 * locale/lc-ctype.c: Likewise.
34508 * locale/nl_langinfo.c: Likewise.
34509 * mach/Machrules: Likewise.
34510 * mach/Makefile: Likewise.
34511 * malloc/obstack.h: Likewise.
34512 * manual/Makefile: Likewise.
34513 * manual/tsort.awk: Likewise.
34514 * misc/bits/stab.def: Likewise.
34515 * nis/nis_print_group_entry.c: Likewise.
34516 * nis/nis_table.c: Likewise.
34517 * nis/nss_compat/compat-pwd.c: Likewise.
34518 * nis/nss_compat/compat-spwd.c: Likewise.
34519 * po/Makefile: Likewise.
34520 * posix/fnmatch.c: Likewise.
34521 * posix/regex.h: Likewise.
34522 * resolv/Makefile: Likewise.
34523 * resolv/nss_dns/dns-network.c: Likewise.
34524 * resolv/res_hconf.c: Likewise.
34525 * scripts/gen-sorted.awk: Likewise.
34526 * soft-fp/soft-fp.h: Likewise.
34527 * stdio-common/printf.h: Likewise.
34528 * stdlib/monetary.h: Likewise.
34529 * stdlib/random.c: Likewise.
34530 * stdlib/random_r.c: Likewise.
34531 * sysdeps/generic/Makefile: Likewise.
34532 * sysdeps/gnu/Makefile: Likewise.
34533 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34534 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34535 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34536 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34537 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34538 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34539 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34540 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34541 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34543 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34544 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34545 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34546 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34547 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34548 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34549 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34550 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34551 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34553 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34554 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34555 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34556 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34557 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34558 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34559 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34560 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34561 * sysdeps/mach/hurd/errnos.awk: Likewise.
34562 * sysdeps/mach/hurd/fork.c: Likewise.
34563 * sysdeps/mach/hurd/getcwd.c: Likewise.
34564 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34565 * sysdeps/mach/hurd/mmap.c: Likewise.
34566 * sysdeps/mach/hurd/utimes.c: Likewise.
34567 * sysdeps/mach/hurd/xmknod.c: Likewise.
34568 * sysdeps/posix/profil.c: Likewise.
34569 * sysdeps/posix/readdir_r.c: Likewise.
34570 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34571 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34572 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34573 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34575 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34576 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34577 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34579 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34580 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34581 * sysdeps/pthread/lio_listio.c: Likewise.
34582 * sysdeps/sparc/dl-procinfo.h: Likewise.
34583 * sysdeps/unix/i386/sysdep.S: Likewise.
34584 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34585 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34586 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34587 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34589 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34590 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34591 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34592 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34593 * sysdeps/wordsize-32/divdi3.c: Likewise.
34594 * time/sys/time.h: Likewise.
34595 * wcsmbs/Makefile: Likewise.
34596
0549fbba
DM
345972013-01-01 David S. Miller <davem@davemloft.net>
34598
a141f1a7
DM
34599 * po/fr.po: Update from translation team.
34600
0549fbba
DM
34601 * catgets/gencat.c: Update copyright year.
34602 * csu/version.c: Likewise.
34603 * debug/catchsegv.sh: Likewise.
34604 * debug/pcprofiledump.c: Likewise.
34605 * debug/xtrace.sh: Likewise.
34606 * elf/ldconfig.c: Likewise.
34607 * elf/ldd.bash.in: Likewise.
34608 * elf/pldd.c: Likewise.
34609 * elf/sotruss.ksh: Likewise.
34610 * elf/sprof.c: Likewise.
34611 * iconv/iconv_prog.c: Likewise.
34612 * iconv/iconvconfig.c: Likewise.
34613 * locale/programs/locale.c: Likewise.
34614 * locale/programs/localedef.c: Likewise.
34615 * login/programs/pt_chown.c: Likewise.
34616 * malloc/memusage.sh: Likewise.
34617 * malloc/memusagestat.c: Likewise.
34618 * malloc/mtrace.pl: Likewise.
34619 * nscd/nscd.c: Likewise.
34620 * nss/getent.c: Likewise.
34621 * nss/makedb.c: Likewise.
34622 * posix/getconf.c: Likewise.
34623
18ea052c
SP
346242012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34625
34626 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34627 numbers.
34628
9c89fca6
MF
346292012-12-30 Mike Frysinger <vapier@gentoo.org>
34630
34631 * math/bits/mathcalls.h (modf): Use __nonnull.
34632
085ec079
SP
346332012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34634
34635 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34636 (split): Use macro CN instead of the bare value.
34637 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34638 could be used.
34639 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34640 instead of the bare value.
34641 (power1): Likewise.
34642
6d9f97e1
SP
346432012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34644
d63f73be
SP
34645 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34646 __ATAN_TWOM.
34647 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34648
6d9f97e1
SP
34649 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34650 their values.
34651 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34652 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34653 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34654 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34655
4c4febf5
AJ
346562012-12-28 Andreas Jaeger <aj@suse.de>
34657
af5843ef
AJ
34658 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34659 values are from Linux 3.7.
34660
4c4febf5
AJ
34661 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34662 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34663
99136f82
SP
346642012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34665
2f216c3c 34666 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34667 TRUE case.
34668
99136f82
SP
34669 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34670 (norm): Likewise.
34671 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34672 variables with preprocessor constants.
34673 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34674 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34675 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34676
7fffbdff
BH
346772012-12-27 Bruno Haible <bruno@clisp.org>
34678
34679 [BZ #14317]
34680 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34681 only if needed.
34682
b76eb5f0
SP
346832012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34684
31a7fe5c
SP
34685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34686 and use variable directly.
34687 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34688
b76eb5f0
SP
34689 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34690 MPONE.
34691 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34692 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34693 variable MPONE.
34694 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34695 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34696 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34697 include directive. Remove local variable MPONE.
34698 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34699 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34700 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34701
2c8bfe7d
DM
347022012-12-25 David S. Miller <davem@davemloft.net>
34703
34704 * version.h (RELEASE): Set to "development".
34705 (VERSION): Set to "2.17.90".
34706 * NEWS: Add 2.18 section.
34707
147d03b0
DM
347082012-12-21 David S. Miller <davem@davemloft.net>
34709
34710 * po/hr.po: Update from translation team.
34711
a8ebb2b9
AK
347122012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34713
34714 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34715
95b4f1b6
SE
347162012-12-19 Steve Ellcey <sellcey@mips.com>
34717
b2d94007 34718 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 34719
cedb2a90
MS
347202012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34721
34722 * manual/contrib.texi (Contributors): Spelling correction.
34723
bbf527d6
DM
347242012-12-15 David S. Miller <davem@davemloft.net>
34725
34726 * po/ru.po: Update from translation team.
34727
bc38c906
DM
347282012-12-13 David S. Miller <davem@davemloft.net>
34729
85429b1a
DM
34730 * NEWS: Mention IFUNC testsuite enhancements.
34731
d283e353
DM
34732 * po/pl.po: Update from translation team.
34733 * po/bg.po: Likewise.
34734
bc38c906
DM
34735 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34736 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34737
a181b0d7
DM
347382012-12-11 David S. Miller <davem@davemloft.net>
34739
4641d57e
DM
34740 * po/sv.po: Update from translation team.
34741
f7bc6495
DM
34742 * po/vi.po: Update from translation team.
34743
6fc9048f
DM
34744 * po/cs.po: Update from translation team.
34745
a181b0d7
DM
34746 * po/de.po: Update from translation team.
34747 * po/eo.po: Likewise.
34748 * po/nl.po: Likewise.
34749
f70bfe80
SP
347502012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34751
3c8b4190
SP
34752 [BZ #14246]
34753 * manual/argp.texi (Argp Helper Functions): Move node to follow
34754 Argp Parsing State.
34755
f70bfe80
SP
34756 [BZ #14872]
34757 * manual/conf.texi (Limits on File System Capacity): Mention if
34758 terminating null is included in the max size.
34759
188f0adf
AJ
347602012-12-10 Andreas Jaeger <aj@suse.de>
34761
34762 * po/cs.po: Update from translation team.
34763
56e7d3ad
SP
347642012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34765
34766 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34767 void pointer and cast to uintptr_t.
34768 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34769 path.
34770 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34771 * sysdeps/s390/s390-64/memset.S: Likewise.
34772
76f2d2ea 347732012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34774
34775 [BZ #14833]
34776 * menual/message.texi (Message Translation): Fix typos.
34777 (Helper programs for gettext): Likewise.
34778
67cbf9a2
AS
347792012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34780
34781 [BZ #14898]
34782 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34783 Change to -1.
34784
682d0e9a
DM
347852012-12-07 David S. Miller <davem@davemloft.net>
34786
34787 * po/libc.pot: Update.
34788
573cd484
RH
347892012-12-07 Richard Henderson <rth@redhat.com>
34790
7e9da188 34791 [BZ #10114]
573cd484
RH
34792 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34793 normal/normal case to before the switch.
34794 (_FP_DIV): Likewise.
34795
e933a943
MF
347962012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34797 Mike Frysinger <vapier@gentoo.org>
34798
34799 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34800 check for __NR_fadvise64_64.
34801
82123268
CM
348022012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34803
34804 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34805 0, not just to plain "0" as a statement.
34806 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34807 with cw.
34808
d9814526
JM
348092012-12-06 Joseph Myers <joseph@codesourcery.com>
34810
34811 * NEWS: Use sourceware.org in Bugzilla URL.
34812
7728c574
SP
348132012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34814
f16946dd
SP
34815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34816 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34817
5704bbcb
SP
34818 * stdio-common/tst-put-error.c (do_test): Add newline to the
34819 padded test to ensure flush.
34820
17aa0516
JL
348212012-12-05 Jeff Law <law@redhat.com>
34822
34823 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34824
363313b5
JM
348252012-12-05 Joseph Myers <joseph@codesourcery.com>
34826
effbd42a
JM
34827 * README: Don't refer to ports add-on as distributed separately.
34828 Mention AArch64 in list of systems supported in the ports add-on.
34829
87600365
JM
34830 * LICENSES: Add more non-FSF copyright and license notices.
34831
a0d7066a
JM
34832 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34833 ((unused)).
34834
66ca5a5b
JM
34835 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34836
363313b5
JM
34837 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34838 10000 as width of padded output.
34839
b37984ad
JM
348402012-12-04 Joseph Myers <joseph@codesourcery.com>
34841
9003570a
JM
34842 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34843
b37984ad
JM
34844 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34845 variable LX with __attribute__ ((unused)).
34846 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34847 Likewise.
34848 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34849 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34850 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34851 with __attribute__ ((unused)).
34852
c8df52ec
DM
348532012-12-04 David S. Miller <davem@abraco.davemloft.net>
34854
34855 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34856
b3b099af
JM
348572012-12-04 Joseph Myers <joseph@codesourcery.com>
34858
c33aa6e3
JM
34859 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34860 (CFLAGS-nldbl-acos.c): New variable.
34861 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34862 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34863 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34864 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34865 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34866 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34867 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34868 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34869 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34870 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34871 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34872 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34873 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34874 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34875 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34876 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34877 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34878 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34879 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34880 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34881 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34882 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34883 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34884 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34885 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34886 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34887 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34888 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34889 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34890 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34891 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34892 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34893 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34894 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34895 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34896 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34897 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34898 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34899 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34900 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34901 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34902 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34903 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34904 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34905 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34906 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34907 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34908 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34909 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34910 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34911 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34912 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34913 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34914 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34915 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34916 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34917 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34918 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34919 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34920 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34921 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34922 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34923 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34924 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34925 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34926 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34927 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34928 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34929 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34930 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34931 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34932 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34933 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34934 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34935 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34936 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34937 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34938 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34939 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34940 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34941 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34942 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34943 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34944 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34945 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34946 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34947 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34948 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34949 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34950 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34951 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34952 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34953 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34954 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34955 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34956 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34957 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34958
20f0018d
JM
34959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34960 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34961
b3b099af
JM
34962 [BZ #14914]
34963 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34964 whole low double instead of just low 47 bits when splitting values
34965 into two parts.
34966
029264d1
AM
349672012-12-03 Allan McRae <allan@archlinux.org>
34968
34969 * manual/stdio.texi (Predefined Printf Handlers): Remove
34970 @hsep and @vsep usage.
34971
c9d6789e
MF
349722012-12-03 Mike Frysinger <vapier@gentoo.org>
34973
34974 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34975 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34976
4b7634a5
JL
349772012-12-03 Jeff Law <law@redhat.com>
34978
34979 * time/sys/time.h (settimeofday): Do not mark TV argument
34980 as __nonnull.
34981
eb6cbd24
MF
349822012-12-01 Mike Frysinger <vapier@gentoo.org>
34983
34984 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34985 when currently writing and seek to current position when not.
34986 * libio/Makefile (tests): Remove bug-fclose1.
34987 * libio/bug-fclose1.c: Delete.
34988
f638872a
JM
349892012-12-01 Joseph Myers <joseph@codesourcery.com>
34990
34991 * manual/arith.texi (feenableexcept): Fix typo.
34992 (fedisableexcept): Likewise.
34993
48085d14
RM
349942012-11-30 Roland McGrath <roland@hack.frob.com>
34995
34996 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34997 second, differently-typed declaration, rather than a cast.
34998
1a538b9f
SP
349992012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35000
35001 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35002 * include/rpc/svc.h: ... here.
35003
d07f2ff1 350042012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
35005
35006 [BZ #13013]
35007 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35008 depending n and resplen2 to catch cases where answer
35009 equals answerp2.
35010
c93ec1f0
CD
350112012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35012
35013 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35014 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35015
37db69de
MF
350162012-11-29 Mike Frysinger <vapier@gentoo.org>
35017
35018 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35019
e10c4e4f
RM
350202012-11-29 Roland McGrath <roland@hack.frob.com>
35021
35022 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35023
2af1b328
JL
350242012-11-28 Jeff Law <law@redhat.com>
35025
35026 [BZ #13761]
35027 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35028 dataset_temporary. Track alloca usage into alloca_used.
35029 If dataset is large allocate and release it via malloc/free.
35030
111db5b1
FW
350312012-06-04 Florian Weimer <fweimer@redhat.com>
35032
f06cc227 35033 [BZ #14197]
111db5b1
FW
35034 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35035
dd694abd
DM
350362012-11-28 David S. Miller <davem@davemloft.net>
35037
35038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35039
9984dd01
JM
350402012-11-28 Joseph Myers <joseph@codesourcery.com>
35041
35042 [BZ #14803]
35043 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35044 of pi/2 rounded to nearest to 64 bits.
35045 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35046 nearest to 64 bits.
35047 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35048 bits.
35049
14bc93a9
JL
350502012-11-28 Jeff Law <law@redhat.com>
35051 Martin Osvald <mosvald@redhat.com>
35052
35053 [BZ #14889]
35054 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35055 * sunrpc/svc.c: Include time.h.
35056 (__svc_accept_failed): New function.
35057 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35058 any reason other than EINTR, call __svc_accept_failed.
35059 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35060 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35061
e3c6aa3a
AS
350622012-11-28 Andreas Schwab <schwab@suse.de>
35063
35064 * scripts/abilist.awk: Also handle indirect functions in .opd
35065 section.
35066
1bead169
JM
350672012-11-28 Joseph Myers <joseph@codesourcery.com>
35068
35069 [BZ #13881]
35070 * sysdeps/x86/fpu/powl_helper.c: New file.
35071 * sysdeps/x86/fpu/Makefile: Likewise.
35072 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35073 (p3): New object.
35074 (__ieee754_powl): Use __powl_helper for finite arguments except
35075 integer exponents below 8.
35076 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35077 (p3): New object.
35078 (__ieee754_powl): Use __powl_helper for finite arguments except
35079 integer exponents below 8.
35080 * math/libm-test.inc (pow_test): Add more tests and enable some
35081 previously disabled tests.
35082 * sysdeps/i386/fpu/libm-test-ulps: Update.
35083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35084
0817d63d
SP
350852012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35086 Carlos O'Donell <carlos_odonell@mentor.com>
35087
35088 * nss/makedb.c (is_prime): Assert that input is odd and greater
35089 than 4. Note that fact in a comment too.
35090 (next_prime): Add 4 to input.
35091
de2fd463
SP
350922012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35093
35094 [BZ #11741]
35095 * libio/Makefile (tests): Add test case tst-fwrite-error.
35096 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35097 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35098 * libio/tst-fwrite-error.c: New test case.
35099
c515fb51
L
351002012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35101
35102 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35103 before casting to void *.
35104 * include/libc-internal.h (__pointer_type): New macro.
35105 (__integer_if_pointer_type_sub): Likewise.
35106 (__integer_if_pointer_type): Likewise.
35107 (cast_to_integer): Likewise.
35108 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35109 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35110 before casting to atomic64_t.
35111 (atomic_exchange_acq): Likewise.
35112 (__arch_exchange_and_add_body): Likewise.
35113 (__arch_add_body): Likewise.
35114 (atomic_add_negative): Likewise.
35115 (atomic_add_zero): Likewise.
35116
4cf77aa9
JM
351172012-11-26 Joseph Myers <joseph@codesourcery.com>
35118
35119 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35120 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35121 (add_fdes): Likewise.
35122 (linear_search_fdes): Likewise.
35123 (binary_search_unencoded_fdes): Likewise.
35124
d260b3b4
AS
351252012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35126
35127 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35128
67060746
AC
351292012-11-24 Adam Conrad <adconrad@0c3.net>
35130
35131 * configure.in: Autodetect C++ header directories.
35132 * configure: Regenerated.
35133
800938a1
MF
351342012-11-23 Mike Frysinger <vapier@gentoo.org>
35135
35136 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35137
4e6e34e6
AS
351382012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35139
35140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35141
7c7feb47
JM
351422012-11-22 Joseph Myers <joseph@codesourcery.com>
35143
7184dcdf
JM
35144 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35145 LDBL_MANT_DIG == 106]: Disable some tests.
35146 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35147 Likewise.
35148 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35149 Likewise.
35150
0a42601f
JM
35151 [BZ #14871]
35152 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35153 input for small inputs. Return +/- pi/2 for large inputs.
35154 * math/libm-test.inc (atan_test): Add more tests.
35155
79c9b9fe
JM
35156 * sysdeps/generic/unwind-dw2-fde-glibc.c
35157 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35158 __attribute__ ((unused)).
35159
c60d3bf2
JM
35160 [BZ #14645]
35161 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35162 x * y if x and y are nonzero and z is zero.
35163
ef1e0867
JM
35164 [BZ #14811]
35165 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35166 nonzero exponents with absolute value below 0x1p-117 to +/-
35167 0x1p-117.
35168
1468ded3
JM
35169 [BZ #14869]
35170 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35171 up arguments below 2**-450, not just those below 2**-500.
35172 * math/libm-test.inc (hypot_test): Add another test.
35173
8e27e3cc
JM
35174 [BZ #14868]
35175 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35176 Return a+b for ratio over 2**120, not 2**60.
35177 * math/libm-test.inc (hypot_test): Add another test.
35178
c9c0279b
JM
35179 * math/libm-test.inc (clog_test): Use
35180 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35181 (clog10_test): Likewise.
35182
7c7feb47
JM
35183 [BZ #6778]
35184 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35185
fff1530e
AS
351862012-11-22 Andreas Schwab <schwab@suse.de>
35187
35188 * sysdeps/i386/fpu/libm-test-ulps: Update.
35189
94558d30
PT
351902012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35191
35192 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35193 printf output with newline.
35194
7e1be741
L
351952012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35196
6bfea974
L
35197 [BZ #14865]
35198 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35199 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35200 -z nodlopen, -z initfirst and -z execstack support.
35201 * configure: Regenerated.
35202
7e1be741
L
35203 * elf/elf.h (DF_1_NODIRECT): New macro.
35204 (DF_1_IGNMULDEF): Likewise.
35205 (DF_1_NOKSYMS): Likewise.
35206 (DF_1_NOHDR): Likewise.
35207 (DF_1_EDITED): Likewise.
35208 (DF_1_NORELOC): Likewise.
35209 (DF_1_SYMINTPOSE): Likewise.
35210 (DF_1_GLOBAUDIT): Likewise.
35211 (DF_1_SINGLETON): Likewise.
35212 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35213 DT_1_SUPPORTED_MASK bits.
35214 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35215
105ce2ce
CD
352162012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35217
35218 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35219
123be9de
TS
352202012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35221
d072f3f7
TS
35222 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35223 macro.
35224
123be9de
TS
35225 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35226 (sendmmsg): Move declarations...
35227 * socket/sys/socket.h: ... here.
35228 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35229 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35230 include it from...
35231 * socket/recvmmsg.c: ... this new file.
35232 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35233 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35234 definition of __sendmmsg hidden.
35235 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35236 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35237 Move ENOSYS stub into and include it from...
35238 * socket/sendmmsg.c: ... this new file.
35239 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35240 (sysdep_routines): Move recvmmsg and sendmmsg...
35241 * socket/Makefile (routines): ... here.
35242 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35243 (GLIBC_PRIVATE): Add __sendmmsg.
35244 * include/sys/socket.h (__sendmmsg): Add declarations.
35245 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35246 sendmmsg.
35247
cf9a5d18
JM
352482012-11-20 Joseph Myers <joseph@codesourcery.com>
35249
35250 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35251 variable I1 with __attribute__ ((unused)).
35252 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35253
ecd4caf9
JM
352542012-11-19 Joseph Myers <joseph@codesourcery.com>
35255
be14d48f
JM
35256 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35257 DUMMY variables with __attribute__ ((unused)).
35258
ecd4caf9
JM
35259 * bits/byteswap.h: Include <bits/types.h>.
35260 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35261
986cab95
PT
352622012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35263
35264 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35265 string_t. Do not manually set errno.
35266 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35267 length with __strnlen. Make sure to both set errno and return it on
35268 failure.
35269
6d33cc9d
DM
352702012-11-19 David S. Miller <davem@davemloft.net>
35271
35272 With help from Joseph Myers.
35273 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35274 very large arguments properly.
35275 * math/libm-test.inc (atan_test): New tests.
35276 (atan2_test): New tests.
35277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35279
ee663277
JM
352802012-11-19 Joseph Myers <joseph@codesourcery.com>
35281
877f2d8e
JM
35282 [BZ #14856]
35283 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35284 Define to 3.
35285
116fc08a
JM
35286 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35287 [POSIX] (EADDRNOTAVAIL): Likewise.
35288 [POSIX] (EAFNOSUPPORT): Likewise.
35289 [POSIX] (EALREADY): Likewise.
35290 [POSIX] (ECONNABORTED): Likewise.
35291 [POSIX] (ECONNREFUSED): Likewise.
35292 [POSIX] (ECONNRESET): Likewise.
35293 [POSIX] (EDESTADDRREQ): Likewise.
35294 [POSIX] (EDQUOT): Likewise.
35295 [POSIX] (EHOSTUNREACH): Likewise.
35296 [POSIX] (EIDRM): Likewise.
35297 [POSIX] (EISCONN): Likewise.
35298 [POSIX] (ELOOP): Likewise.
35299 [POSIX] (EMULTIHOP): Likewise.
35300 [POSIX] (ENETDOWN): Likewise.
35301 [POSIX] (ENETUNREACH): Likewise.
35302 [POSIX] (ENOBUFS): Likewise.
35303 [POSIX] (ENODATA): Likewise.
35304 [POSIX] (ENOLINK): Likewise.
35305 [POSIX] (ENOMSG): Likewise.
35306 [POSIX] (ENOPROTOOPT): Likewise.
35307 [POSIX] (ENOSR): Likewise.
35308 [POSIX] (ENOSTR): Likewise.
35309 [POSIX] (ENOTCONN): Likewise.
35310 [POSIX] (ENOTSOCK): Likewise.
35311 [POSIX] (EOPNOTSUPP): Likewise.
35312 [POSIX] (EOVERFLOW): Likewise.
35313 [POSIX] (EPROTO): Likewise.
35314 [POSIX] (EPROTONOSUPPORT): Likewise.
35315 [POSIX] (EPROTOTYPE): Likewise.
35316 [POSIX] (ESTALE): Likewise.
35317 [POSIX] (ETIME): Likewise.
35318 [POSIX] (ETXTBSY): Likewise.
35319 [POSIX] (EWOULDBLOCK): Likewise.
35320 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35321 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35322 [POSIX] (SEEK_CUR): Likewise.
35323 [POSIX] (SEEK_END): Likewise.
35324 [POSIX || UNIX98] (mode_t): Do not require.
35325 [POSIX] (off_t): Likewise.
35326 [POSIX] (pid_t): Likewise.
35327 [POSIX] (sys/stat.h): Do not allow header.
35328 [POSIX] (unistd.h): Likewise.
35329 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35330 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35331 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35332 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35333 require.
35334 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35335 sigevent): Specify elements.
35336 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35337 entry.
35338 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35339 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35340
a483863f
JM
35341 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35342 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35343 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35344 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35345 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35346 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35347 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35348 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35349 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35350 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35351 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35352 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35353 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35354 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35355 Likewise.
35356 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35357 Likewise.
35358 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35359 Likewise.
35360 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35361 Likewise.
35362 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35363 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35364 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35365 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35366 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35367 Specify lower bound on value.
35368 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35369 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35370 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35371 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35372 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35373 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35374 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35375 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35376 value.
35377 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35378 as optional.
35379 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35380 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35381 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35382 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35383 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35384 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35385 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35386 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35387 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35388 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35389 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35390 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35391 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35392 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35393 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35394 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35395 entry.
35396 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35397 optional.
35398 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35399 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35400 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35401 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35402 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35403 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35404 Likewise.
35405 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35406 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35407 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35408 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35409 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35410 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35411 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35412 as optional.
35413 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35414 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35415 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35416 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35417 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35418 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35419 specify as optional.
35420 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35421 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35422 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35423 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35424 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35425 [XPG3] (NL_LANGMAX): Likewise.
35426 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35427 [POSIX || XPG3] (NL_NMAX): Likewise.
35428 [POSIX || XPG3] (NL_SETMAX): Likewise.
35429 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35430 [XPG3] (NZERO): Likewise.
35431 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35432 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35433 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35434 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35435 (REG_ERANGE): Expect.
35436 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35437 optional-constant.
35438 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35439 Use (void) in prototype.
35440 [POSIX] (*_t): Allow.
35441 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35442 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35443 (WRDE_BADVAL): Expect.
35444
5ba924e3
JM
35445 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35446 expect.
35447 [XPG3 || XPG4] (O_RSYNC): Likewise.
35448 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35449 Likewise.
35450 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35451 [XPG3 || XPG4] (sigqueue): Likewise.
35452 [XPG3 || XPG4] (sigtimedwait): Likewise.
35453 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35454 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35455 [XPG3 || XPG4] (vsnprintf): Likewise.
35456 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35457 Likewise.
35458 [XPG3 || XPG4] (blksize_t): Likewise.
35459 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35460 Likewise.
35461 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35462 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35463 [XPG3 || XPG4] (struct itimerspec): Likewise.
35464 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35465 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35466 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35467 [XPG3 || XPG4] (clockid_t): Likewise.
35468 [XPG3 || XPG4] (timer_t): Likewise.
35469 [XPG3 || XPG4] (clock_getres): Likewise.
35470 [XPG3 || XPG4] (clock_gettime): Likewise.
35471 [XPG3 || XPG4] (clock_settime): Likewise.
35472 [XPG3 || XPG4] (nanosleep): Likewise.
35473 [XPG3 || XPG4] (timer_create): Likewise.
35474 [XPG3 || XPG4] (timer_delete): Likewise.
35475 [XPG3 || XPG4] (timer_gettime): Likewise.
35476 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35477 [XPG3 || XPG4] (timer_settime): Likewise.
35478 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35479 [XPG3 || XPG4] (getlogin_r): Likewise.
35480 [XPG3 || XPG4] (pread): Likewise.
35481 [XPG3 || XPG4] (pthread_atfork): Likewise.
35482 [XPG3 || XPG4] (pwrite): Likewise.
35483
ee663277
JM
35484 [BZ #14835]
35485 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35486 <bits/siginfo.h>.
35487
942caa16
PT
354882012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35489
e19af380
PT
35490 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35491 finalizing MALLSTREAM.
35492
942caa16
PT
35493 * sysdeps/mach/hurd/syncfs.c: New file.
35494
cfde9b46
SP
354952012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35496
35497 [BZ #14719]
35498 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35499 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35500 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35501 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35502 (_nss_dns_gethostbyname4_r): Likewise.
35503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35504 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35505
f6da27e5
PH
355062012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35507
35508 [BZ #13763]
35509 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35510
6665d4a2
SM
355112012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35512
1f51ee92
SM
35513 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35514 * elf/cache.c (print_entry): Print ",AArch64" for
35515 FLAG_AARCH64_LIB64
35516
6665d4a2
SM
35517 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35518 * elf/cache.c (print_entry): Print ",hard-float" for
35519 FLAG_ARM_LIBHF.
35520
05b227bd
DM
355212012-11-18 David S. Miller <davem@davemloft.net>
35522
35523 With help from Joseph Myers.
35524 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35525 cutoff to 2**-13.
35526 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35527 cutoff to 2**-25.
35528 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35529 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35530 small.
35531 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35532 * math/libm-test.inc (y0_test): New tests.
35533 (y1_test): New tests.
35534 * sysdeps/i386/fpu/libm-test-ulps: Update.
35535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35537
786b0b67
AS
355382012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35539
35540 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35541 64-bit targets.
35542 * configure: Regenerated.
35543
8e18b86d
DM
355442012-11-17 David S. Miller <davem@davemloft.net>
35545
35546 [BZ #14811]
35547 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35548 nonzero exponents with absolute value below 0x1p-128 to +/-
35549 0x1p-128.
35550
531f1ae0
JM
355512012-11-17 Joseph Myers <joseph@codesourcery.com>
35552
12df29e2
JM
35553 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35554
150dc1a0
JM
35555 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35556
531f1ae0
JM
35557 * posix/getconf-speclist.c: New file.
35558 * posix/posix-envs.def: Likewise.
35559 * posix/confstr.c (START_ENV_GROUP): New macro.
35560 (END_ENV_GROUP): Likewise.
35561 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35562 (KNOWN_PRESENT_ENV_STRING): Likewise.
35563 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35564 (UNKNOWN_ENVIRONMENT): Likewise.
35565 (confstr): Include posix-envs.def instead of handling
35566 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35567 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35568 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35569 (END_ENV_GROUP): Likewise.
35570 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35571 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35572 (UNKNOWN_ENVIRONMENT): Likewise.
35573 (__sysconf): Include posix-envs.def instead of handling associated
35574 cases directly here.
35575 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35576 preprocessing getconf-speclist.c rather than running getconf or
35577 generating empty file.
35578
a93f9cbc
PT
355792012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35580
35581 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35582
d64d9f87
AL
355832012-11-16 Andrej Lajovic <natrij@gmail.com>
35584
35585 [BZ #14672]
35586 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35587
447885eb
DM
355882012-11-16 David S. Miller <davem@davemloft.net>
35589
35590 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35591 smaller than LDBL_EPSILON/2.0L, just return xm1.
35592
bcbf9830
L
355932012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35594
35595 * elf/tst-array1.c (init): Set constructor priority to 1000.
35596 (fini): Set destructor priority to 1000.
35597 * elf/tst-array2dep.c: Likewise.
35598
2b766585
SP
355992012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35600
35601 [BZ #11741]
35602 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35603 (_IO_new_file_xsputn): Also return EOF if none of the input
35604 data was written when overflow failed.
35605 * libio/iopadn.c (_IO_padn): Likewise.
35606 * libio/iowpadn.c (_IO_wpadn): Likewise.
35607 * stdio-common/tst-put-error.c: Add copyright notice.
35608 (do_test): Add case for printing padded string.
35609 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35610 _IO_padn returned error.
35611 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35612 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35613 return EOF.
35614
b1848fde
SP
356152012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35616
35617 * libio/libioP.h: Add comment note that the references to C++
35618 bits are now obsolete.
35619
2fd89785
MS
356202012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35621
35622 * math/libm-test.inc (check_complex): Use asprintf.
35623
e3ea5409
JM
356242012-11-14 Joseph Myers <joseph@codesourcery.com>
35625
35626 * debug/pcprofiledump.c (print_version): Update copyright year.
35627 * malloc/memusagestat.c (print_version): Likewise.
35628
2e64d265
L
356292012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35630
35631 [BZ #14831]
35632 * elf/Makefile (tests): Add tst-audit8.
35633 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35634 ($(objpfx)tst-audit8.out): New target.
35635 (tst-audit8-ENV): New variable.
35636 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35637 audit if l_reloc_result is NULL.
35638 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35639 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35640 * elf/tst-audit8.c: New file.
35641
c485e4d2
MS
356422012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35643
35644 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35645 * misc/Makefile (CFLAGS-select.c): Define.
35646 * posix/Makefile (CFLAGS-pause.c): Define.
35647
3a0d900a
DM
356482012-11-13 David S. Miller <davem@davemloft.net>
35649
35650 * crypt/Makefile: Move test targets after toplevel Rules
35651 inclusion. Grab any necessary sysdep routines when linking.
35652 * crypt/md5.c (md5_process_block): Remove define, we will always
35653 name it __md5_process_block.
35654 (md5_finish_ctx): Update md5_process_block call.
35655 (md5_stream): Likewise.
35656 (md5_process_bytes): Likewise.
35657 (md5_process_block): Rename to __md5_process_block and move to ...
35658 * crypt/md5-block.c: ... here.
35659 * crypt/sha256.c (sha256_process_block): Move to ...
35660 * crypt/sha256-block.c: ... here.
35661 * crypt/sha512.c (sha512_process_block): Move to ...
35662 * crypt/sha512-block.c: ... here.
35663 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35664 path.
35665 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35666 * sysdeps/sparc/sparc64/multiarch/Makefile
35667 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35668 crypt subdir.
35669 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35670 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35671 multiarch changes.
35672 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35673 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35674 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35675 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35676 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35677 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35678 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35679 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35680 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35681 file.
35682 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35683 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35684 file.
35685 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35686
8ca89318
JM
356872012-11-13 Joseph Myers <joseph@codesourcery.com>
35688
e27d476a
JM
35689 * timezone/tzselect.ksh: Update from tzcode git revision
35690 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35691 * timezone/zdump.c: Likewise.
35692 * timezone/zic.c: Likewise.
35693 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35694 in TZVERSION setting, not $(PKGVERSION).
35695 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35696 REPORT_BUGS_TO settings.
35697
8ca89318
JM
35698 [BZ #14838]
35699 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35700 macro.
35701
47594329
MS
357022012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35703
35704 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35705 detection to immediately after _FP_ROUND().
35706 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35707 bits are 0.
35708
640ac3f1
DM
357092012-11-11 David S. Miller <davem@davemloft.net>
35710
35711 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35712 inttypes.h
35713 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35714 __close rather than their public counterparts.
35715
3d2577bb
JM
357162012-11-10 Joseph Myers <joseph@codesourcery.com>
35717
35718 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35719 file.
35720 [UNIX98] (sem_timedwait): Do not expect.
35721 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35722 [XPG4 || UNIX98] (sockatmark): Do not expect.
35723 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35724 (clock_getcpuclockid): Do not expect.
35725 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35726 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35727 Do not expect.
35728 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35729 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35730 [UNIX98] (vwscanf): Likewise.
35731 [UNIX98] (vswscanf): Likewise.
35732
fb1ae1ee
JM
357332012-11-09 Joseph Myers <joseph@codesourcery.com>
35734
9ec6f8bd
JM
35735 * timezone/version.h: Remove file.
35736 * timezone/README: Do not refer to version.h.
35737 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35738 $(objpfx)version.h.
35739 ($(objpfx)zdump.o): Likewise.
c3f81911 35740 ($(objpfx)version.h): New target.
9ec6f8bd 35741
0aa8f8a1
JM
35742 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35743 2012i.
35744 * timezone/README: Don't mention modification to tzselect.ksh.
35745 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35746 work on unmodified tzselect.ksh. Substitute version numbers in
35747 tzselect.ksh.
35748
4e87147f
JM
35749 * Makefile (format-me): Remove.
35750 (INSTALL): Adjust indentation. Use commands directly instead of
35751 using $(format-me).
35752
8b748aed
JM
35753 * aclocal.m4 (ACX_PKGVERSION): New macro.
35754 (ACX_BUGURL): Likewise.
35755 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35756 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35757 (REPORT_BUGS_TO): Likewise.
35758 * configure: Regenerated.
35759 * config.h.in (PKGVERSION): New macro.
35760 (REPORT_BUGS_TO): Likewise.
35761 * config.make.in (PKGVERSION): New variable.
35762 (PKGVERSION_TEXI): Likewise.
35763 (REPORT_BUGS_TO): Likewise.
35764 (REPORT_BUGS_TEXI): Likewise.
35765 * Makefile (format-me): Use -I$(common-objpfx)manual.
35766 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35767 ($(common-objpfx)manual/%): New target.
35768 (manual/%): Remove target.
35769 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35770 (print_version): Use PKGVERSION.
35771 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35772 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35773 and REPORT_BUGS_TO.
35774 ($(objpfx)xtrace): Likewise.
35775 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35776 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35777 (print_version): Use PKGVERSION.
35778 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35779 (do_version): Use PKGVERSION.
35780 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35781 REPORT_BUGS_TO.
35782 (common-ldd-rewrite): Likewise.
35783 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35784 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35785 (print_version): Use PKGVERSION.
35786 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35787 * elf/pldd.c (argp_program_bug_address): Remove variable.
35788 (more_help): New function.
35789 (argp): Use more_help.
35790 (print_version): Use PKGVERSION.
35791 * elf/sln.c (main): Use PKGVERSION.
35792 (usage): Use REPORT_BUGS_TO.
35793 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35794 (top level): Use PKGVERSION.
35795 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35796 (print_version): Use PKGVERSION.
35797 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35798 (print_version): Use PKGVERSION.
35799 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35800 (print_version): Use PKGVERSION.
35801 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35802 (print_version): Use PKGVERSION.
35803 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35804 (print_version): Use PKGVERSION.
35805 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35806 (print_version): Use PKGVERSION.
35807 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35808 and BUGURL.
35809 ($(objpfx)memusage): Likewise.
35810 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35811 (do_version): Use PKGVERSION.
35812 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35813 (print_version): Use PKGVERSION.
35814 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35815 ($PKGVERSION): New variable.
35816 ($REPORT_BUGS_TO): Likewise.
35817 (usage): Use $REPORT_BUGS_TO.
35818 (top level): Use $PKGVERSION.
35819 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35820 ($(objpfx)pkgvers.texi): New rule.
35821 ($(objpfx)stamp-pkgvers): Likewise.
35822 * manual/install.texi: Include pkgvers.texi.
35823 (--with-pkgversion): Document new configure option.
35824 (--with-bugurl): Likewise.
35825 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35826 than necessarily for this particular distribution. Use
35827 REPORT_BUGS_TO for where to report bugs.
35828 * INSTALL: Regenerated.
35829 * manual/libc.texinfo: Include pkgvers.texi.
35830 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35831 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35832 (print_version): Use PKGVERSION.
35833 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35834 (print_version): Use PKGVERSION.
35835 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35836 (print_version): Use PKGVERSION.
35837 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35838 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35839 macro.
35840 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35841 (print_version): Use PKGVERSION.
35842 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35843 (print_version): Use PKGVERSION.
35844 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35845 and PKGVERSION.
35846
92e4b6a9
JM
35847 * timezone/checktab.awk: Update from tzcode 2012i.
35848 * timezone/ialloc.c: Likewise.
35849 * timezone/private.h: Likewise.
35850 * timezone/scheck.c: Likewise.
35851 * timezone/tzfile.h: Likewise.
35852 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35853 (TZVERSION): Hardcode tzcode version number.
35854 * timezone/zdump.c: Update from tzcode 2012i.
35855 * timezone/zic.c: Likewise.
35856 * timezone/version.h: New file.
35857 * timezone/README: Describe version.h. Update upstream location.
35858
9bde902c
JM
35859 [BZ #14824]
35860 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35861 (mktemp): Enable declaration.
35862 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35863 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35864 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35865 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35866 Likewise.
35867 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35868 Likewise.
35869 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35870 Likewise.
35871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35872 Likewise.
35873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35874 Likewise.
35875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35876 Likewise.
35877
fb1ae1ee
JM
35878 [BZ #14821]
35879 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35880 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35881 for copies of such integer values.
35882 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35883 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35884
2c1adbcb
AJ
358852012-11-09 Andreas Jaeger <aj@suse.de>
35886
35887 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35888 definitions and declarations that are provided by
35889 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35890
d0f8457e
AK
358912012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35892
3a235abb 35893 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35894 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35895 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35896 definition.
35897
57241e26
MS
358982012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35899
35900 * elf/elf.h: Update comment before AArch64 relocations.
35901
60e8270d
DM
359022012-11-07 David S. Miller <davem@davemloft.net>
35903
35904 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35905 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35906 (__start_context): Declare.
35907 (__makecontext_ret): Delete.
35908 (__makecontext): Hook up __start_context instead of
35909 __makecontext_ret.
35910 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35911 (sysdep_routines): Add __start_context when in stdlib.
35912
0fbb0fbc
JM
359132012-11-07 Joseph Myers <joseph@codesourcery.com>
35914
35915 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35916 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35917 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35918 hardcoded "nm".
35919 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35920 (READELF): New variable. Use it instead of hardcoded "readelf".
35921
eb48db7e
L
359222012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35923
35924 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35925 * sysdeps/x86/Makefile: Here.
35926 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35927 * sysdeps/x86/tst-xmmymm.sh: This.
35928
05bcf62a
JM
359292012-11-07 Joseph Myers <joseph@codesourcery.com>
35930
c4b6cf53
JM
35931 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35932 expectations.
35933 [UNIX98] (pthread_barrier_t): Do not expect.
35934 [UNIX98] (pthread_barrierattr_t): Likewise.
35935 [UNIX98] (pthread_spinlock_t): Likewise.
35936 [UNIX98] (pthread_barrier_destroy): Likewise.
35937 [UNIX98] (pthread_barrier_init): Likewise.
35938 [UNIX98] (pthread_barrier_wait): Likewise.
35939 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35940 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35941 [UNIX98] (pthread_barrierattr_init): Likewise.
35942 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35943 [UNIX98] (pthread_getcpuclockid): Likewise.
35944 [UNIX98] (pthread_mutex_timedlock): Likewise.
35945 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35946 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35947 [UNIX98] (pthread_sigmask): Likewise.
35948 [UNIX98] (pthread_spin_destroy): Likewise.
35949 [UNIX98] (pthread_spin_init): Likewise.
35950 [UNIX98] (pthread_spin_lock): Likewise.
35951 [UNIX98] (pthread_spin_trylock): Likewise.
35952 [UNIX98] (pthread_spin_unlock): Likewise.
35953 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35954 Do not expect.
35955 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35956 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35957 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35958 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35959 [XPG3 || XPG4] (pthread_key_t): Likewise.
35960 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35961 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35962 [XPG3 || XPG4] (pthread_once_t): Likewise.
35963 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35964 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35965 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35966 [XPG3 || XPG4] (pthread_t): Likewise.
35967
cbe6e120
JM
35968 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35969 not expect.
35970 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35971
1b126443
JM
35972 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35973 Change function return type to int.
35974
b961a573
JM
35975 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35976 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35977 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35978 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35979 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35980 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35981 [!POSIX] (posix_madvise): Likewise.
35982 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35983 && !UNIX98].
35984 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35985 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35986 (mode_t): Likewise.
35987 (posix_mem_offset): Likewise.
35988 (posix_typed_mem_get_info): Likewise.
35989 (posix_typed_mem_open): Likewise.
35990
9e188909
JM
35991 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35992 Change condition to [XOPEN2K8].
35993
05bcf62a
JM
35994 * conform/conformtest.pl: Preprocess allow-header data with -x c
35995 instead of from stdin.
35996 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35997 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35998 [C99-based standards] (cerfc): Likewise.
35999 [C99-based standards] (cexp2): Likewise.
36000 [C99-based standards] (cexpm1): Likewise.
36001 [C99-based standards] (clog10): Likewise.
36002 [C99-based standards] (clog1p): Likewise.
36003 [C99-based standards] (clog2): Likewise.
36004 [C99-based standards] (clgamma): Likewise.
36005 [C99-based standards] (ctgamma): Likewise.
36006 [C99-based standards] (cerff): Likewise.
36007 [C99-based standards] (cerfcf): Likewise.
36008 [C99-based standards] (cexp2f): Likewise.
36009 [C99-based standards] (cexpm1f): Likewise.
36010 [C99-based standards] (clog10f): Likewise.
36011 [C99-based standards] (clog1pf): Likewise.
36012 [C99-based standards] (clog2f): Likewise.
36013 [C99-based standards] (clgammaf): Likewise.
36014 [C99-based standards] (ctgammaf): Likewise.
36015 [C99-based standards] (cerfl): Likewise.
36016 [C99-based standards] (cerfcl): Likewise.
36017 [C99-based standards] (cexp2l): Likewise.
36018 [C99-based standards] (cexpm1l): Likewise.
36019 [C99-based standards] (clog10l): Likewise.
36020 [C99-based standards] (clog1pl): Likewise.
36021 [C99-based standards] (clog2l): Likewise.
36022 [C99-based standards] (clgammal): Likewise.
36023 [C99-based standards] (ctgammal): Likewise.
36024 * conform/data/inttypes.h-data [C99-based standards]: Include
36025 stdint.h-data. Remove all expectations for stdint.h contents.
36026 [C99-based standards] (PRI*): Do not allow.
36027 [C99-based standards] (SCN*): Likewise.
36028 [C99-based standards] (*_t): Likewise.
36029 [C99-based-standards] (PRId8): Expect macro.
36030 [C99-based-standards] (PRIi8): Likewise.
36031 [C99-based-standards] (PRIo8): Likewise.
36032 [C99-based-standards] (PRIu8): Likewise.
36033 [C99-based-standards] (PRIx8): Likewise.
36034 [C99-based-standards] (PRIX8): Likewise.
36035 [C99-based-standards] (SCNd8): Likewise.
36036 [C99-based-standards] (SCNi8): Likewise.
36037 [C99-based-standards] (SCNo8): Likewise.
36038 [C99-based-standards] (SCNu8): Likewise.
36039 [C99-based-standards] (SCNx8): Likewise.
36040 [C99-based-standards] (PRIdLEAST8): Likewise.
36041 [C99-based-standards] (PRIiLEAST8): Likewise.
36042 [C99-based-standards] (PRIoLEAST8): Likewise.
36043 [C99-based-standards] (PRIuLEAST8): Likewise.
36044 [C99-based-standards] (PRIxLEAST8): Likewise.
36045 [C99-based-standards] (PRIXLEAST8): Likewise.
36046 [C99-based-standards] (SCNdLEAST8): Likewise.
36047 [C99-based-standards] (SCNiLEAST8): Likewise.
36048 [C99-based-standards] (SCNoLEAST8): Likewise.
36049 [C99-based-standards] (SCNuLEAST8): Likewise.
36050 [C99-based-standards] (SCNxLEAST8): Likewise.
36051 [C99-based-standards] (PRIdFAST8): Likewise.
36052 [C99-based-standards] (PRIiFAST8): Likewise.
36053 [C99-based-standards] (PRIoFAST8): Likewise.
36054 [C99-based-standards] (PRIuFAST8): Likewise.
36055 [C99-based-standards] (PRIxFAST8): Likewise.
36056 [C99-based-standards] (PRIXFAST8): Likewise.
36057 [C99-based-standards] (SCNdFAST8): Likewise.
36058 [C99-based-standards] (SCNiFAST8): Likewise.
36059 [C99-based-standards] (SCNoFAST8): Likewise.
36060 [C99-based-standards] (SCNuFAST8): Likewise.
36061 [C99-based-standards] (SCNxFAST8): Likewise.
36062 [C99-based-standards] (PRId16): Likewise.
36063 [C99-based-standards] (PRIi16): Likewise.
36064 [C99-based-standards] (PRIo16): Likewise.
36065 [C99-based-standards] (PRIu16): Likewise.
36066 [C99-based-standards] (PRIx16): Likewise.
36067 [C99-based-standards] (PRIX16): Likewise.
36068 [C99-based-standards] (SCNd16): Likewise.
36069 [C99-based-standards] (SCNi16): Likewise.
36070 [C99-based-standards] (SCNo16): Likewise.
36071 [C99-based-standards] (SCNu16): Likewise.
36072 [C99-based-standards] (SCNx16): Likewise.
36073 [C99-based-standards] (PRIdLEAST16): Likewise.
36074 [C99-based-standards] (PRIiLEAST16): Likewise.
36075 [C99-based-standards] (PRIoLEAST16): Likewise.
36076 [C99-based-standards] (PRIuLEAST16): Likewise.
36077 [C99-based-standards] (PRIxLEAST16): Likewise.
36078 [C99-based-standards] (PRIXLEAST16): Likewise.
36079 [C99-based-standards] (SCNdLEAST16): Likewise.
36080 [C99-based-standards] (SCNiLEAST16): Likewise.
36081 [C99-based-standards] (SCNoLEAST16): Likewise.
36082 [C99-based-standards] (SCNuLEAST16): Likewise.
36083 [C99-based-standards] (SCNxLEAST16): Likewise.
36084 [C99-based-standards] (PRIdFAST16): Likewise.
36085 [C99-based-standards] (PRIiFAST16): Likewise.
36086 [C99-based-standards] (PRIoFAST16): Likewise.
36087 [C99-based-standards] (PRIuFAST16): Likewise.
36088 [C99-based-standards] (PRIxFAST16): Likewise.
36089 [C99-based-standards] (PRIXFAST16): Likewise.
36090 [C99-based-standards] (SCNdFAST16): Likewise.
36091 [C99-based-standards] (SCNiFAST16): Likewise.
36092 [C99-based-standards] (SCNoFAST16): Likewise.
36093 [C99-based-standards] (SCNuFAST16): Likewise.
36094 [C99-based-standards] (SCNxFAST16): Likewise.
36095 [C99-based-standards] (PRId32): Likewise.
36096 [C99-based-standards] (PRIi32): Likewise.
36097 [C99-based-standards] (PRIo32): Likewise.
36098 [C99-based-standards] (PRIu32): Likewise.
36099 [C99-based-standards] (PRIx32): Likewise.
36100 [C99-based-standards] (PRIX32): Likewise.
36101 [C99-based-standards] (SCNd32): Likewise.
36102 [C99-based-standards] (SCNi32): Likewise.
36103 [C99-based-standards] (SCNo32): Likewise.
36104 [C99-based-standards] (SCNu32): Likewise.
36105 [C99-based-standards] (SCNx32): Likewise.
36106 [C99-based-standards] (PRIdLEAST32): Likewise.
36107 [C99-based-standards] (PRIiLEAST32): Likewise.
36108 [C99-based-standards] (PRIoLEAST32): Likewise.
36109 [C99-based-standards] (PRIuLEAST32): Likewise.
36110 [C99-based-standards] (PRIxLEAST32): Likewise.
36111 [C99-based-standards] (PRIXLEAST32): Likewise.
36112 [C99-based-standards] (SCNdLEAST32): Likewise.
36113 [C99-based-standards] (SCNiLEAST32): Likewise.
36114 [C99-based-standards] (SCNoLEAST32): Likewise.
36115 [C99-based-standards] (SCNuLEAST32): Likewise.
36116 [C99-based-standards] (SCNxLEAST32): Likewise.
36117 [C99-based-standards] (PRIdFAST32): Likewise.
36118 [C99-based-standards] (PRIiFAST32): Likewise.
36119 [C99-based-standards] (PRIoFAST32): Likewise.
36120 [C99-based-standards] (PRIuFAST32): Likewise.
36121 [C99-based-standards] (PRIxFAST32): Likewise.
36122 [C99-based-standards] (PRIXFAST32): Likewise.
36123 [C99-based-standards] (SCNdFAST32): Likewise.
36124 [C99-based-standards] (SCNiFAST32): Likewise.
36125 [C99-based-standards] (SCNoFAST32): Likewise.
36126 [C99-based-standards] (SCNuFAST32): Likewise.
36127 [C99-based-standards] (SCNxFAST32): Likewise.
36128 [C99-based-standards] (PRId64): Likewise.
36129 [C99-based-standards] (PRIi64): Likewise.
36130 [C99-based-standards] (PRIo64): Likewise.
36131 [C99-based-standards] (PRIu64): Likewise.
36132 [C99-based-standards] (PRIx64): Likewise.
36133 [C99-based-standards] (PRIX64): Likewise.
36134 [C99-based-standards] (SCNd64): Likewise.
36135 [C99-based-standards] (SCNi64): Likewise.
36136 [C99-based-standards] (SCNo64): Likewise.
36137 [C99-based-standards] (SCNu64): Likewise.
36138 [C99-based-standards] (SCNx64): Likewise.
36139 [C99-based-standards] (PRIdLEAST64): Likewise.
36140 [C99-based-standards] (PRIiLEAST64): Likewise.
36141 [C99-based-standards] (PRIoLEAST64): Likewise.
36142 [C99-based-standards] (PRIuLEAST64): Likewise.
36143 [C99-based-standards] (PRIxLEAST64): Likewise.
36144 [C99-based-standards] (PRIXLEAST64): Likewise.
36145 [C99-based-standards] (SCNdLEAST64): Likewise.
36146 [C99-based-standards] (SCNiLEAST64): Likewise.
36147 [C99-based-standards] (SCNoLEAST64): Likewise.
36148 [C99-based-standards] (SCNuLEAST64): Likewise.
36149 [C99-based-standards] (SCNxLEAST64): Likewise.
36150 [C99-based-standards] (PRIdFAST64): Likewise.
36151 [C99-based-standards] (PRIiFAST64): Likewise.
36152 [C99-based-standards] (PRIoFAST64): Likewise.
36153 [C99-based-standards] (PRIuFAST64): Likewise.
36154 [C99-based-standards] (PRIxFAST64): Likewise.
36155 [C99-based-standards] (PRIXFAST64): Likewise.
36156 [C99-based-standards] (SCNdFAST64): Likewise.
36157 [C99-based-standards] (SCNiFAST64): Likewise.
36158 [C99-based-standards] (SCNoFAST64): Likewise.
36159 [C99-based-standards] (SCNuFAST64): Likewise.
36160 [C99-based-standards] (SCNxFAST64): Likewise.
36161 [C99-based-standards] (PRIdMAX): Likewise.
36162 [C99-based-standards] (PRIiMAX): Likewise.
36163 [C99-based-standards] (PRIoMAX): Likewise.
36164 [C99-based-standards] (PRIuMAX): Likewise.
36165 [C99-based-standards] (PRIxMAX): Likewise.
36166 [C99-based-standards] (PRIXMAX): Likewise.
36167 [C99-based-standards] (SCNdMAX): Likewise.
36168 [C99-based-standards] (SCNiMAX): Likewise.
36169 [C99-based-standards] (SCNoMAX): Likewise.
36170 [C99-based-standards] (SCNuMAX): Likewise.
36171 [C99-based-standards] (SCNxMAX): Likewise.
36172 [C99-based-standards] (PRIdPTR): Likewise.
36173 [C99-based-standards] (PRIiPTR): Likewise.
36174 [C99-based-standards] (PRIoPTR): Likewise.
36175 [C99-based-standards] (PRIuPTR): Likewise.
36176 [C99-based-standards] (PRIxPTR): Likewise.
36177 [C99-based-standards] (PRIXPTR): Likewise.
36178 [C99-based-standards] (SCNdPTR): Likewise.
36179 [C99-based-standards] (SCNiPTR): Likewise.
36180 [C99-based-standards] (SCNoPTR): Likewise.
36181 [C99-based-standards] (SCNuPTR): Likewise.
36182 [C99-based-standards] (SCNxPTR): Likewise.
36183 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36184 allow.
36185 * conform/data/stdint.h-data: Update comments to clarify
36186 requirements.
36187 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36188 type.
36189 [C99-based standards] (INT8_MAX): Likewise.
36190 [C99-based standards] (INT16_MIN): Likewise.
36191 [C99-based standards] (INT16_MAX): Likewise.
36192 [C99-based standards] (INT32_MIN): Likewise.
36193 [C99-based standards] (INT32_MAX): Likewise.
36194 [C99-based standards] (INT64_MIN): Likewise.
36195 [C99-based standards] (INT64_MAX): Likewise.
36196 [C99-based standards] (UINT8_MAX): Likewise.
36197 [C99-based standards] (UINT16_MAX): Likewise.
36198 [C99-based standards] (UINT32_MAX): Likewise.
36199 [C99-based standards] (UINT64_MAX): Likewise.
36200 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36201 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36202 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36203 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36204 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36205 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36206 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36207 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36208 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36209 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36210 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36211 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36212 [C99-based standards] (INT_FAST8_MIN): Likewise.
36213 [C99-based standards] (INT_FAST8_MAX): Likewise.
36214 [C99-based standards] (INT_FAST16_MIN): Likewise.
36215 [C99-based standards] (INT_FAST16_MAX): Likewise.
36216 [C99-based standards] (INT_FAST32_MIN): Likewise.
36217 [C99-based standards] (INT_FAST32_MAX): Likewise.
36218 [C99-based standards] (INT_FAST64_MIN): Likewise.
36219 [C99-based standards] (INT_FAST64_MAX): Likewise.
36220 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36221 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36222 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36223 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36224 [C99-based standards] (INTPTR_MIN): Likewise.
36225 [C99-based standards] (INTPTR_MAX): Likewise.
36226 [C99-based standards] (UINTPTR_MAX): Likewise.
36227 [C99-based standards] (INTMAX_MIN): Likewise.
36228 [C99-based standards] (INTMAX_MAX): Likewise.
36229 [C99-based standards] (UINTMAX_MAX): Likewise.
36230 [C99-based standards] (PTRDIFF_MIN): Likewise.
36231 [C99-based standards] (PTRDIFF_MAX): Likewise.
36232 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36233 [C99-based standards] (SIZE_MAX): Likewise.
36234 [C99-based standards] (WCHAR_MAX): Likewise.
36235 [C99-based standards] (WINT_MAX): Likewise.
36236 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36237 constraint on value.
36238 [C99-based standards] (WCHAR_MIN): Likewise.
36239 [C99-based standards] (WINT_MIN): Likewise.
36240 [C99-based standards] (*_t): Allow.
36241 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36242 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36243 Include math.h-data and complex.h-data. Remove all expectations
36244 of math.h and complex.h contents.
36245 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36246 at end of line.
36247 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36248 (struct tm): Expect tag.
36249 [C99-based-standards] (wcstof): Expect function.
36250 [C99-based-standards] (wcstold): Likewise.
36251 [C99-based-standards] (wcstoll): Likewise.
36252 [C99-based-standards] (wcstoull): Likewise.
36253 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36254 macro-int-constant. Specify type.
36255 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36256 constraint on value.
36257 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36258 Specify type.
36259 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36260 Specify value.
36261 [ISO C standards]: Do not allow headers.
36262 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36263 wcs[abcdefghijklmnopqrstuvwxyz]*.
36264 [ISO C standards] (*_t): Do not allow.
36265 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36266 Expect function.
36267 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36268 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36269 Specify type.
36270 [ISO C standards]: Do not allow headers.
36271 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36272 is[abcdefghijklmnopqrstuvwxyz]*.
36273 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36274 to[abcdefghijklmnopqrstuvwxyz]*.
36275 [ISO C standards] (*_t): Do not allow.
36276 * conform/data/stdalign.h-data: New file.
36277 * conform/data/stdbool.h-data: Likewise.
36278 * conform/data/stdnoreturn.h-data: Likewise.
36279
7514feb8
RM
362802012-11-07 Roland McGrath <roland@hack.frob.com>
36281
36282 [BZ #14815]
36283 * manual/filesys.texi (Directory Entries): Typo fix.
36284 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36285
19b2ecfc
MS
362862012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36287
36288 * elf/elf.h (EM_AARCH64): New macro.
36289 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36290 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36291 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36292 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36293 (R_AARCH64_TLSDESC): Likewise.
36294 (NT_ARM_TLS): Likewise.
36295 (NT_ARM_HW_BREAK): Likewise.
36296 (NT_ARM_HW_WATCH): Likewise.
36297
60e235ee
JM
362982012-11-07 Joseph Myers <joseph@codesourcery.com>
36299
36300 [BZ #14811]
36301 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36302 (__ieee754_powl): Saturate nonzero exponents with absolute value
36303 below 0x1p-79 to +/- 0x1p-79.
36304 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36305 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36306 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36307 nonzero exponents with absolute value below 0x1p-32 to +/-
36308 0x1p-32.
36309 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36310 (__ieee754_powl): Saturate nonzero exponents with absolute value
36311 below 0x1p-79 to +/- 0x1p-79.
36312 * math/libm-test.inc (pow_test): Add more tests.
36313
0ab234b7
AK
363142012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36315
36316 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36317 _dl_s390_cap_flags with kernel. Increase string length.
36318 (_dl_s390_platforms): Add z196 and zEC12.
36319
45832f74
JM
363202012-11-07 Joseph Myers <joseph@codesourcery.com>
36321
36322 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36323 Change XOPEN21K to XOPEN2K.
36324
19218757
MK
363252012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36326
36327 * string/memmove.c: Use memcpy when possible.
36328
c5f45721
AJ
363292012-11-06 Andreas Jaeger <aj@suse.de>
36330
36331 * po/eo.po: Update from translation team.
36332
82477c28
JM
363332012-11-06 Joseph Myers <joseph@codesourcery.com>
36334
36335 [BZ #14793]
36336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36337 exponent and small x and y exponents, scale x or y up. Increase
36338 by 2 the exponent used in scaling up.
36339 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36340 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36341 * math/libm-test.inc (fma_test): Add more tests.
36342 (fma_test_towardzero): Likewise.
36343 (fma_test_downward): Likewise.
36344 (fma_test_upward): Likewise.
36345
99252c8c
JM
363462012-11-05 Joseph Myers <joseph@codesourcery.com>
36347
acfa885f
JM
36348 [BZ #14805]
36349 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36350 fenv_t *.
36351
99252c8c
JM
36352 [BZ #14801]
36353 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36354 namespace for names of struct fields.
36355 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36356 fenv_t fields.
36357 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36358 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36359
d6d98dea
ST
363602012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36361
36362 [BZ #3665]
36363 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36364
e10bb107
TS
363652012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36366
36367 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36368 PTR_DEMANGLE.
36369
36370 [BZ #5246]
36371 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36372 PTR_DEMANGLE.
36373
a0c2940d
JM
363742012-11-04 Joseph Myers <joseph@codesourcery.com>
36375
36376 [BZ #14797]
36377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36378 definitely overflow as x * y not x * y + z.
36379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36380 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36381 * math/libm-test.inc (fma_test): Add more tests.
36382 (fma_test_towardzero): Likewise.
36383 (fma_test_downward): Likewise.
36384 (fma_test_upward): Likewise.
36385
b830319d
TS
363862012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36387
36388 [BZ #157]
36389
36390 * include/stub-tag.h: Remove file.
36391 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36392 '#include' of it.
36393 * manual/maint.texi (Porting): Don't reference it.
36394 * Makerules ($(objpfx)stubs): Likewise.
36395 * dirent/closedir.c: Don't include <stub-tag.h>.
36396 * dirent/dirfd.c: Likewise.
36397 * dirent/fdopendir.c: Likewise.
36398 * dirent/getdents.c: Likewise.
36399 * dirent/getdents64.c: Likewise.
36400 * dirent/opendir.c: Likewise.
36401 * dirent/readdir.c: Likewise.
36402 * dirent/readdir64.c: Likewise.
36403 * dirent/readdir64_r.c: Likewise.
36404 * dirent/readdir_r.c: Likewise.
36405 * dirent/rewinddir.c: Likewise.
36406 * dirent/seekdir.c: Likewise.
36407 * dirent/telldir.c: Likewise.
36408 * gmon/profil.c: Likewise.
36409 * grp/setgroups.c: Likewise.
36410 * inet/if_index.c: Likewise.
36411 * io/access.c: Likewise.
36412 * io/chdir.c: Likewise.
36413 * io/chmod.c: Likewise.
36414 * io/chown.c: Likewise.
36415 * io/close.c: Likewise.
36416 * io/dup.c: Likewise.
36417 * io/dup2.c: Likewise.
36418 * io/dup3.c: Likewise.
36419 * io/euidaccess.c: Likewise.
36420 * io/faccessat.c: Likewise.
36421 * io/fchdir.c: Likewise.
36422 * io/fchmod.c: Likewise.
36423 * io/fchmodat.c: Likewise.
36424 * io/fchown.c: Likewise.
36425 * io/fchownat.c: Likewise.
36426 * io/fcntl.c: Likewise.
36427 * io/flock.c: Likewise.
36428 * io/fstatfs.c: Likewise.
36429 * io/fstatfs64.c: Likewise.
36430 * io/fstatvfs.c: Likewise.
36431 * io/fstatvfs64.c: Likewise.
36432 * io/futimens.c: Likewise.
36433 * io/fxstat.c: Likewise.
36434 * io/fxstat64.c: Likewise.
36435 * io/fxstatat.c: Likewise.
36436 * io/fxstatat64.c: Likewise.
36437 * io/getcwd.c: Likewise.
36438 * io/isatty.c: Likewise.
36439 * io/lchmod.c: Likewise.
36440 * io/lchown.c: Likewise.
36441 * io/link.c: Likewise.
36442 * io/linkat.c: Likewise.
36443 * io/lseek.c: Likewise.
36444 * io/lseek64.c: Likewise.
36445 * io/lxstat64.c: Likewise.
36446 * io/mkdir.c: Likewise.
36447 * io/mkdirat.c: Likewise.
36448 * io/mkfifo.c: Likewise.
36449 * io/mkfifoat.c: Likewise.
36450 * io/open.c: Likewise.
36451 * io/open64.c: Likewise.
36452 * io/openat.c: Likewise.
36453 * io/openat64.c: Likewise.
36454 * io/pipe.c: Likewise.
36455 * io/pipe2.c: Likewise.
36456 * io/poll.c: Likewise.
36457 * io/posix_fadvise.c: Likewise.
36458 * io/posix_fadvise64.c: Likewise.
36459 * io/posix_fallocate.c: Likewise.
36460 * io/posix_fallocate64.c: Likewise.
36461 * io/read.c: Likewise.
36462 * io/readlink.c: Likewise.
36463 * io/readlinkat.c: Likewise.
36464 * io/rmdir.c: Likewise.
36465 * io/sendfile.c: Likewise.
36466 * io/sendfile64.c: Likewise.
36467 * io/statfs.c: Likewise.
36468 * io/statfs64.c: Likewise.
36469 * io/statvfs.c: Likewise.
36470 * io/statvfs64.c: Likewise.
36471 * io/symlink.c: Likewise.
36472 * io/symlinkat.c: Likewise.
36473 * io/ttyname.c: Likewise.
36474 * io/ttyname_r.c: Likewise.
36475 * io/umask.c: Likewise.
36476 * io/unlink.c: Likewise.
36477 * io/unlinkat.c: Likewise.
36478 * io/utime.c: Likewise.
36479 * io/utimensat.c: Likewise.
36480 * io/write.c: Likewise.
36481 * io/xmknod.c: Likewise.
36482 * io/xmknodat.c: Likewise.
36483 * io/xstat.c: Likewise.
36484 * io/xstat64.c: Likewise.
36485 * login/getpt.c: Likewise.
36486 * login/grantpt.c: Likewise.
36487 * login/unlockpt.c: Likewise.
36488 * math/e_acoshl.c: Likewise.
36489 * math/e_acosl.c: Likewise.
36490 * math/e_asinl.c: Likewise.
36491 * math/e_atan2l.c: Likewise.
36492 * math/e_atanhl.c: Likewise.
36493 * math/e_coshl.c: Likewise.
36494 * math/e_expl.c: Likewise.
36495 * math/e_fmodl.c: Likewise.
36496 * math/e_gammal_r.c: Likewise.
36497 * math/e_hypotl.c: Likewise.
36498 * math/e_j0l.c: Likewise.
36499 * math/e_j1l.c: Likewise.
36500 * math/e_jnl.c: Likewise.
36501 * math/e_lgammal_r.c: Likewise.
36502 * math/e_log10l.c: Likewise.
36503 * math/e_log2l.c: Likewise.
36504 * math/e_logl.c: Likewise.
36505 * math/e_powl.c: Likewise.
36506 * math/e_rem_pio2l.c: Likewise.
36507 * math/e_sinhl.c: Likewise.
36508 * math/e_sqrtl.c: Likewise.
36509 * math/fclrexcpt.c: Likewise.
36510 * math/fedisblxcpt.c: Likewise.
36511 * math/feenablxcpt.c: Likewise.
36512 * math/fegetenv.c: Likewise.
36513 * math/fegetexcept.c: Likewise.
36514 * math/fegetround.c: Likewise.
36515 * math/feholdexcpt.c: Likewise.
36516 * math/fesetenv.c: Likewise.
36517 * math/fesetround.c: Likewise.
36518 * math/feupdateenv.c: Likewise.
36519 * math/fgetexcptflg.c: Likewise.
36520 * math/fraiseexcpt.c: Likewise.
36521 * math/fsetexcptflg.c: Likewise.
36522 * math/ftestexcept.c: Likewise.
36523 * math/k_cosl.c: Likewise.
36524 * math/k_rem_pio2l.c: Likewise.
36525 * math/k_sinl.c: Likewise.
36526 * math/k_tanl.c: Likewise.
36527 * math/s_asinhl.c: Likewise.
36528 * math/s_atanl.c: Likewise.
36529 * math/s_cbrtl.c: Likewise.
36530 * math/s_erfl.c: Likewise.
36531 * math/s_expm1l.c: Likewise.
36532 * math/s_log1pl.c: Likewise.
36533 * math/s_tanhl.c: Likewise.
36534 * misc/acct.c: Likewise.
36535 * misc/brk.c: Likewise.
36536 * misc/chflags.c: Likewise.
36537 * misc/chroot.c: Likewise.
36538 * misc/fchflags.c: Likewise.
36539 * misc/fgetxattr.c: Likewise.
36540 * misc/flistxattr.c: Likewise.
36541 * misc/fremovexattr.c: Likewise.
36542 * misc/fsetxattr.c: Likewise.
36543 * misc/fsync.c: Likewise.
36544 * misc/ftruncate.c: Likewise.
36545 * misc/futimes.c: Likewise.
36546 * misc/futimesat.c: Likewise.
36547 * misc/getdomain.c: Likewise.
36548 * misc/getdtsz.c: Likewise.
36549 * misc/gethostid.c: Likewise.
36550 * misc/gethostname.c: Likewise.
36551 * misc/getloadavg.c: Likewise.
36552 * misc/getpagesize.c: Likewise.
36553 * misc/getsysstats.c: Likewise.
36554 * misc/getxattr.c: Likewise.
36555 * misc/gtty.c: Likewise.
36556 * misc/ioctl.c: Likewise.
36557 * misc/lgetxattr.c: Likewise.
36558 * misc/listxattr.c: Likewise.
36559 * misc/llistxattr.c: Likewise.
36560 * misc/lremovexattr.c: Likewise.
36561 * misc/lsetxattr.c: Likewise.
36562 * misc/lutimes.c: Likewise.
36563 * misc/madvise.c: Likewise.
36564 * misc/mincore.c: Likewise.
36565 * misc/mlock.c: Likewise.
36566 * misc/mlockall.c: Likewise.
36567 * misc/mmap.c: Likewise.
36568 * misc/mprotect.c: Likewise.
36569 * misc/msync.c: Likewise.
36570 * misc/munlock.c: Likewise.
36571 * misc/munlockall.c: Likewise.
36572 * misc/munmap.c: Likewise.
36573 * misc/preadv.c: Likewise.
36574 * misc/preadv64.c: Likewise.
36575 * misc/ptrace.c: Likewise.
36576 * misc/pwritev.c: Likewise.
36577 * misc/pwritev64.c: Likewise.
36578 * misc/readv.c: Likewise.
36579 * misc/reboot.c: Likewise.
36580 * misc/remap_file_pages.c: Likewise.
36581 * misc/removexattr.c: Likewise.
36582 * misc/revoke.c: Likewise.
36583 * misc/select.c: Likewise.
36584 * misc/setdomain.c: Likewise.
36585 * misc/setegid.c: Likewise.
36586 * misc/seteuid.c: Likewise.
36587 * misc/sethostid.c: Likewise.
36588 * misc/sethostname.c: Likewise.
36589 * misc/setregid.c: Likewise.
36590 * misc/setreuid.c: Likewise.
36591 * misc/setxattr.c: Likewise.
36592 * misc/sstk.c: Likewise.
36593 * misc/stty.c: Likewise.
36594 * misc/swapoff.c: Likewise.
36595 * misc/swapon.c: Likewise.
36596 * misc/sync.c: Likewise.
36597 * misc/syncfs.c: Likewise.
36598 * misc/syscall.c: Likewise.
36599 * misc/truncate.c: Likewise.
36600 * misc/ualarm.c: Likewise.
36601 * misc/usleep.c: Likewise.
36602 * misc/ustat.c: Likewise.
36603 * misc/utimes.c: Likewise.
36604 * misc/vhangup.c: Likewise.
36605 * misc/writev.c: Likewise.
36606 * posix/_exit.c: Likewise.
36607 * posix/alarm.c: Likewise.
36608 * posix/execve.c: Likewise.
36609 * posix/fexecve.c: Likewise.
36610 * posix/fork.c: Likewise.
36611 * posix/fpathconf.c: Likewise.
36612 * posix/getaddrinfo.c: Likewise.
36613 * posix/getegid.c: Likewise.
36614 * posix/geteuid.c: Likewise.
36615 * posix/getgid.c: Likewise.
36616 * posix/getgroups.c: Likewise.
36617 * posix/getlogin.c: Likewise.
36618 * posix/getlogin_r.c: Likewise.
36619 * posix/getpgid.c: Likewise.
36620 * posix/getpid.c: Likewise.
36621 * posix/getppid.c: Likewise.
36622 * posix/getresgid.c: Likewise.
36623 * posix/getresuid.c: Likewise.
36624 * posix/getsid.c: Likewise.
36625 * posix/getuid.c: Likewise.
36626 * posix/glob64.c: Likewise.
36627 * posix/nanosleep.c: Likewise.
36628 * posix/pathconf.c: Likewise.
36629 * posix/pause.c: Likewise.
36630 * posix/posix_madvise.c: Likewise.
36631 * posix/pread.c: Likewise.
36632 * posix/pread64.c: Likewise.
36633 * posix/pwrite.c: Likewise.
36634 * posix/pwrite64.c: Likewise.
36635 * posix/sched_getaffinity.c: Likewise.
36636 * posix/sched_getp.c: Likewise.
36637 * posix/sched_gets.c: Likewise.
36638 * posix/sched_primax.c: Likewise.
36639 * posix/sched_primin.c: Likewise.
36640 * posix/sched_rr_gi.c: Likewise.
36641 * posix/sched_setaffinity.c: Likewise.
36642 * posix/sched_setp.c: Likewise.
36643 * posix/sched_sets.c: Likewise.
36644 * posix/sched_yield.c: Likewise.
36645 * posix/setgid.c: Likewise.
36646 * posix/setlogin.c: Likewise.
36647 * posix/setpgid.c: Likewise.
36648 * posix/setresgid.c: Likewise.
36649 * posix/setresuid.c: Likewise.
36650 * posix/setsid.c: Likewise.
36651 * posix/setuid.c: Likewise.
36652 * posix/sleep.c: Likewise.
36653 * posix/spawni.c: Likewise.
36654 * posix/sysconf.c: Likewise.
36655 * posix/times.c: Likewise.
36656 * posix/wait.c: Likewise.
36657 * posix/wait3.c: Likewise.
36658 * posix/wait4.c: Likewise.
36659 * posix/waitpid.c: Likewise.
36660 * resolv/gai_sigqueue.c: Likewise.
36661 * resource/getpriority.c: Likewise.
36662 * resource/getrlimit.c: Likewise.
36663 * resource/getrusage.c: Likewise.
36664 * resource/nice.c: Likewise.
36665 * resource/setpriority.c: Likewise.
36666 * resource/setrlimit.c: Likewise.
36667 * resource/ulimit.c: Likewise.
36668 * rt/aio_cancel.c: Likewise.
36669 * rt/aio_fsync.c: Likewise.
36670 * rt/aio_read.c: Likewise.
36671 * rt/aio_sigqueue.c: Likewise.
36672 * rt/aio_suspend.c: Likewise.
36673 * rt/aio_write.c: Likewise.
36674 * rt/clock_getres.c: Likewise.
36675 * rt/clock_gettime.c: Likewise.
36676 * rt/clock_nanosleep.c: Likewise.
36677 * rt/clock_settime.c: Likewise.
36678 * rt/lio_listio.c: Likewise.
36679 * rt/mq_close.c: Likewise.
36680 * rt/mq_getattr.c: Likewise.
36681 * rt/mq_notify.c: Likewise.
36682 * rt/mq_open.c: Likewise.
36683 * rt/mq_receive.c: Likewise.
36684 * rt/mq_send.c: Likewise.
36685 * rt/mq_setattr.c: Likewise.
36686 * rt/mq_timedreceive.c: Likewise.
36687 * rt/mq_timedsend.c: Likewise.
36688 * rt/mq_unlink.c: Likewise.
36689 * rt/shm_open.c: Likewise.
36690 * rt/shm_unlink.c: Likewise.
36691 * rt/timer_create.c: Likewise.
36692 * rt/timer_delete.c: Likewise.
36693 * rt/timer_getoverr.c: Likewise.
36694 * rt/timer_gettime.c: Likewise.
36695 * rt/timer_settime.c: Likewise.
36696 * setjmp/__longjmp.c: Likewise.
36697 * setjmp/setjmp.c: Likewise.
36698 * signal/kill.c: Likewise.
36699 * signal/killpg.c: Likewise.
36700 * signal/raise.c: Likewise.
36701 * signal/sigaction.c: Likewise.
36702 * signal/sigaltstack.c: Likewise.
36703 * signal/sigblock.c: Likewise.
36704 * signal/sigignore.c: Likewise.
36705 * signal/sigintr.c: Likewise.
36706 * signal/signal.c: Likewise.
36707 * signal/sigpause.c: Likewise.
36708 * signal/sigpending.c: Likewise.
36709 * signal/sigqueue.c: Likewise.
36710 * signal/sigreturn.c: Likewise.
36711 * signal/sigset.c: Likewise.
36712 * signal/sigsetmask.c: Likewise.
36713 * signal/sigstack.c: Likewise.
36714 * signal/sigsuspend.c: Likewise.
36715 * signal/sigtimedwait.c: Likewise.
36716 * signal/sigvec.c: Likewise.
36717 * signal/sigwait.c: Likewise.
36718 * signal/sigwaitinfo.c: Likewise.
36719 * signal/sysv_signal.c: Likewise.
36720 * socket/accept.c: Likewise.
36721 * socket/accept4.c: Likewise.
36722 * socket/bind.c: Likewise.
36723 * socket/connect.c: Likewise.
36724 * socket/getpeername.c: Likewise.
36725 * socket/getsockname.c: Likewise.
36726 * socket/getsockopt.c: Likewise.
36727 * socket/isfdtype.c: Likewise.
36728 * socket/listen.c: Likewise.
36729 * socket/recv.c: Likewise.
36730 * socket/recvfrom.c: Likewise.
36731 * socket/recvmsg.c: Likewise.
36732 * socket/send.c: Likewise.
36733 * socket/sendmsg.c: Likewise.
36734 * socket/sendto.c: Likewise.
36735 * socket/setsockopt.c: Likewise.
36736 * socket/shutdown.c: Likewise.
36737 * socket/sockatmark.c: Likewise.
36738 * socket/socket.c: Likewise.
36739 * socket/socketpair.c: Likewise.
36740 * stdio-common/ctermid.c: Likewise.
36741 * stdio-common/cuserid.c: Likewise.
36742 * stdio-common/remove.c: Likewise.
36743 * stdio-common/rename.c: Likewise.
36744 * stdio-common/renameat.c: Likewise.
36745 * stdio-common/tempname.c: Likewise.
36746 * stdlib/getcontext.c: Likewise.
36747 * stdlib/makecontext.c: Likewise.
36748 * stdlib/setcontext.c: Likewise.
36749 * stdlib/swapcontext.c: Likewise.
36750 * stdlib/system.c: Likewise.
36751 * streams/fattach.c: Likewise.
36752 * streams/fdetach.c: Likewise.
36753 * streams/getmsg.c: Likewise.
36754 * streams/getpmsg.c: Likewise.
36755 * streams/putmsg.c: Likewise.
36756 * streams/putpmsg.c: Likewise.
36757 * sysdeps/unix/bsd/getpt.c: Likewise.
36758 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36759 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36760 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36762 Likewise.
36763 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36764 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36765 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36766 * sysvipc/msgctl.c: Likewise.
36767 * sysvipc/msgget.c: Likewise.
36768 * sysvipc/msgrcv.c: Likewise.
36769 * sysvipc/msgsnd.c: Likewise.
36770 * sysvipc/semctl.c: Likewise.
36771 * sysvipc/semget.c: Likewise.
36772 * sysvipc/semop.c: Likewise.
36773 * sysvipc/semtimedop.c: Likewise.
36774 * sysvipc/shmat.c: Likewise.
36775 * sysvipc/shmctl.c: Likewise.
36776 * sysvipc/shmdt.c: Likewise.
36777 * sysvipc/shmget.c: Likewise.
36778 * termios/tcdrain.c: Likewise.
36779 * termios/tcflow.c: Likewise.
36780 * termios/tcflush.c: Likewise.
36781 * termios/tcgetattr.c: Likewise.
36782 * termios/tcgetpgrp.c: Likewise.
36783 * termios/tcsendbrk.c: Likewise.
36784 * termios/tcsetattr.c: Likewise.
36785 * termios/tcsetpgrp.c: Likewise.
36786 * time/adjtime.c: Likewise.
36787 * time/clock.c: Likewise.
36788 * time/getitimer.c: Likewise.
36789 * time/gettimeofday.c: Likewise.
36790 * time/setitimer.c: Likewise.
36791 * time/settimeofday.c: Likewise.
36792 * time/stime.c: Likewise.
36793 * time/time.c: Likewise.
36794
367952012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36796
a20492cf
PT
36797 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36798 /usr/old/bin.
36799
72e182e3
PT
36800 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36801 instead of spaces.
36802 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36803
fbeafede
JM
368042012-11-03 Joseph Myers <joseph@codesourcery.com>
36805
5b5b04d6
JM
36806 [BZ #14796]
36807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36808 FE_TONEAREST before applying Dekker multiplication and Knuth
36809 addition. Clear inexact exceptions and check for exact zero
36810 results afterwards.
36811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36812 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36813 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36814 * math/libm-test.inc (fma_test): Add more tests.
36815 (fma_test_towardzero): Likewise.
36816 (fma_test_downward): Likewise.
36817 (fma_test_upward): Likewise.
36818 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36819 function.
36820 (libc_fesetround): New macro.
36821 (libc_fesetroundf): Likewise.
36822 (libc_fesetroundl): Likewise.
36823 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36824 function.
36825 (libc_fesetround_387): Likewise.
36826 (libc_fesetroundf): New macro.
36827 (libc_fesetround): Likewise.
36828 (libc_fesetroundl): Likewise.
36829 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36830 function.
36831 (libc_fesetroundf): New macro.
36832 (libc_fesetround): Likewise.
36833 (libc_fesetroundl): Likewise.
36834 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36835 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36836 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36837 libm_hidden_ver.
36838 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36839 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36840 libm_hidden_def.
36841 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36842 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36843 libm_hidden_ver.
36844 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36845 libm_hidden_def.
36846
fbeafede
JM
36847 [BZ #3439]
36848 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36849 integer constant usable in #if and use that to give value to enum
36850 constant.
36851 (FE_DIVBYZERO): Likewise.
36852 (FE_UNDERFLOW): Likewise.
36853 (FE_OVERFLOW): Likewise.
36854 (FE_INVALID): Likewise.
36855 (FE_INVALID_SNAN): Likewise.
36856 (FE_INVALID_ISI): Likewise.
36857 (FE_INVALID_IDI): Likewise.
36858 (FE_INVALID_ZDZ): Likewise.
36859 (FE_INVALID_IMZ): Likewise.
36860 (FE_INVALID_COMPARE): Likewise.
36861 (FE_INVALID_SOFTWARE): Likewise.
36862 (FE_INVALID_SQRT): Likewise.
36863 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36864 (FE_TONEAREST): Likewise.
36865 (FE_TOWARDZERO): Likewise.
36866 (FE_UPWARD): Likewise.
36867 (FE_DOWNWARD): Likewise.
36868 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36869 (FE_DIVBYZERO): Likewise.
36870 (FE_OVERFLOW): Likewise.
36871 (FE_UNDERFLOW): Likewise.
36872 (FE_INEXACT): Likewise.
36873 (FE_TONEAREST): Likewise.
36874 (FE_DOWNWARD): Likewise.
36875 (FE_UPWARD): Likewise.
36876 (FE_TOWARDZERO): Likewise.
36877 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36878 (FE_UNDERFLOW): Likewise.
36879 (FE_OVERFLOW): Likewise.
36880 (FE_DIVBYZERO): Likewise.
36881 (FE_INVALID): Likewise.
36882 (FE_TONEAREST): Likewise.
36883 (FE_TOWARDZERO): Likewise.
36884 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36885 (FE_OVERFLOW): Likewise.
36886 (FE_UNDERFLOW): Likewise.
36887 (FE_DIVBYZERO): Likewise.
36888 (FE_INEXACT): Likewise.
36889 (FE_TONEAREST): Likewise.
36890 (FE_TOWARDZERO): Likewise.
36891 (FE_UPWARD): Likewise.
36892 (FE_DOWNWARD): Likewise.
36893 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36894 (FE_DIVBYZERO): Likewise.
36895 (FE_OVERFLOW): Likewise.
36896 (FE_UNDERFLOW): Likewise.
36897 (FE_INEXACT): Likewise.
36898 (FE_TONEAREST): Likewise.
36899 (FE_DOWNWARD): Likewise.
36900 (FE_UPWARD): Likewise.
36901 (FE_TOWARDZERO): Likewise.
36902
105ca950
CM
369032012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36904
36905 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36906
a542b389
AS
369072012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36908
36909 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36910 commands. Quote $PWD.
36911 (blacklist_exports): Don't use remove_newlines. Replace "declare
36912 -x" by "export".
36913 (remove_newlines): Remove.
36914
f62c8abc
L
369152012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36916
36917 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36918 * stdlib/stdlib.h (atof): Moved to ...
36919 * include/bits/stdlib-float.h: Here. New file.
36920 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36921 * stdlib/bits/stdlib-float.h: New file.
36922 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36923 -mno-sse -mno-mmx.
36924 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36925 <xmmintrin.h>.
36926
0155d5b2
JM
369272012-11-02 Joseph Myers <joseph@codesourcery.com>
36928
a68d0680
JM
36929 * conform/conformtest.pl (@headers): Add fenv.h.
36930 * conform/data/fenv.h-data: New file.
36931 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36932 include of <math/fenv.h>.
36933
caf7f573
JM
36934 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36935 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36936 && !UNIX98]. Enables tests for XOPEN2K8.
36937 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36938 POSIX2008]: Likewise.
36939
6c073ad6
JM
36940 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36941 (struct rusage): Do not expect type or its members.
36942
0155d5b2
JM
36943 [BZ #3439]
36944 * math/math.h (FP_NAN): Define macro to integer constant usable in
36945 #if and use that to give value to enum constant.
36946 (FP_INFINITE): Likewise.
36947 (FP_ZERO): Likewise.
36948 (FP_SUBNORMAL): Likewise.
36949 (FP_NORMAL): Likewise.
36950
b5dcacb4
AS
369512012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36952
36953 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36954 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36955 arguments.
36956
f7934be8
RM
369572012-11-02 Roland McGrath <roland@hack.frob.com>
36958
36959 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36960 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36961 autoconf-time if not.
36962 * configure.in: Remove AC_PREREQ.
36963
d7d08bde
TMQMF
369642012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36965
36966 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36967 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36968 of the internal implementation.
36969
dcdae19a
JM
369702012-11-02 Joseph Myers <joseph@codesourcery.com>
36971
36972 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36973 except include of <misc/sys/syslog.h>.
36974
d6cffd3e
AS
369752012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36976
36977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36978 function returns with a NULL context exit with zero.
36979
b3563932
TMQMF
369802012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36981
36982 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36983
b288a93d
L
369842012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36985
36986 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36987 (run_program_cmd): This.
36988 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36989 (tst_langinfo): New variable. Use it.
36990
a2421a68
SAS
369912012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36992
36993 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36994 floating point opcodes.
36995
6f796e1b
TS
369962012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36997
7402596b
TS
36998 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36999 variable.
37000
d0d4f868
TS
37001 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37002
6f796e1b
TS
37003 * sysdeps/mach/hurd/powerpc: Remove directory.
37004 * sysdeps/mach/powerpc: Likewise.
37005
4da224a2
AS
370062012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37007
37008 * scripts/check-local-headers.sh: Ignore c++ headers.
37009
341dd673
TS
370102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37011
37012 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37013 __libc_cleanup_region_start argument.
37014
473611b2
JM
370152012-11-01 Joseph Myers <joseph@codesourcery.com>
37016
37017 [BZ #14784]
37018 [BZ #14785]
37019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37020 x * y using scaling, not as x * y + z.
37021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37022 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37023 * math/libm-test.inc (fma_test): Add more tests.
37024 (fma_test_towardzero): Likewise.
37025 (fma_test_downward): Likewise.
37026 (fma_test_upward): Likewise.
37027
4078da3d
TS
370282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37029
37030 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37031
903252aa
JM
370322012-10-31 Joseph Myers <joseph@codesourcery.com>
37033
37034 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37035 New variable.
37036
cbc818d0
TS
370372012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37038
37039 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37040
5a03cb1e
AS
370412012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37042
37043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37044 Fix sort order.
37045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37046 Likewise.
37047
90aff2ff
TMQMF
370482012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37049
37050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37051 Fix the order of the list for glibc 2.17.
37052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37053 Likewise.
37054
1818fcb7
AS
370552012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37056
37057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37058
ef82f4da
JM
370592012-10-31 Joseph Myers <joseph@codesourcery.com>
37060
16a0e2ec
JM
37061 [BZ #14610]
37062 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37063 for low part of x being zero before using __atanl (y).
37064 * math/libm-test.inc (atan2_test): Add another test.
37065
0eb69512
JM
37066 * manual/install.texi (Configuring and compiling): Document
37067 general use of test-wrapper and test-wrapper-env.
37068 * INSTALL: Regenerated.
37069
ef82f4da
JM
37070 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37071 (__fma): Do not extract and scale down low bits on after-rounding
37072 systems when result rounded to normal precision would have normal
37073 exponent.
37074 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37075 (__fmal): Do not extract and scale down low bits on after-rounding
37076 systems when result rounded to normal precision would have normal
37077 exponent.
37078 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37079 (__fmal): Do not extract and scale down low bits on after-rounding
37080 systems when result rounded to normal precision would have normal
37081 exponent.
37082 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37083 macro.
37084 (fma_test): Add more tests.
37085 (fma_test_towardzero): Likewise.
37086 (fma_test_downward): Likewise.
37087 (fma_test_upward): Likewise.
37088
954ef0d9
L
370892012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37090
37091 * sysdeps/i386/tininess.h: Renamed to ...
37092 * sysdeps/x86/tininess.h: This.
37093 * sysdeps/x86_64/tininess.h: Removed.
37094
df61ffb2
JM
370952012-10-30 Joseph Myers <joseph@codesourcery.com>
37096
37097 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37098 input. Use $(build-program-cmd).
37099 ($(objpfx)tst-array1-static.out): Likewise.
37100 ($(objpfx)tst-array2.out): Likewise.
37101 ($(objpfx)tst-array3.out): Likewise.
37102 ($(objpfx)tst-array4.out): Likewise.
37103 ($(objpfx)tst-array5.out): Likewise.
37104 ($(objpfx)tst-array5-static.out): Likewise.
37105
01767843
CM
371062012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37107
47cc1490
CM
37108 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37109 if defined.
37110
01767843
CM
37111 * nss/nsswitch.h (nss_interface_function): Provide new
37112 macro for use with NSS functions.
37113 * grp/initgroups.c: Use new macro.
37114 * nss/getXXbyYY.c: Likewise.
37115 * nss/getXXbyYY_r.c: Likewise.
37116 * nss/getXXent.c: Likewise.
37117 * nss/getXXent_r.c: Likewise.
37118 * sysdeps/posix/getaddrinfo.c: Likewise.
37119
8321aa97
AJ
371202012-10-30 Andreas Jaeger <aj@suse.de>
37121
37122 * po/ru.po: Update Russion translation from translation project.
37123
2a27fd6d
JM
371242012-10-30 Joseph Myers <joseph@codesourcery.com>
37125
8627a232
JM
37126 [BZ #14152]
37127 [BZ #14783]
37128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37129 result and shift together with sticky bit instead of replicating
37130 round-to-nearest rounding.
37131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37132 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37133 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37134 missing underflow exceptions.
37135 (fma_test_towardzero): Add more tests.
37136 (fma_test_downward): Likewise.
37137 (fma_test_upward): Likewise.
37138
2a27fd6d
JM
37139 [BZ #14047]
37140 * sysdeps/generic/tininess.h: New file.
37141 * sysdeps/i386/tininess.h: Likewise.
37142 * sysdeps/sh/tininess.h: Likewise.
37143 * sysdeps/x86_64/tininess.h: Likewise.
37144 * stdlib/tst-strtod-underflow.c: Likewise.
37145 * stdlib/tst-tininess.c: Likewise.
37146 * stdlib/strtod_l.c: Include <tininess.h>.
37147 (round_and_return): Do not set errno for exact underflow cases.
37148 Force an underflow exception when setting errno for underflow.
37149 Determine underflow based on rounding to normal precision if
37150 TININESS_AFTER_ROUNDING.
37151 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37152 ERANGE for exact underflow cases.
37153 * stdlib/Makefile (tests): Add tst-tininess and
37154 tst-strtod-underflow.
37155 ($(objpfx)tst-tininess): Use $(link-libm).
37156 ($(objpfx)tst-strtod-underflow): Likewise.
37157
e7170363
AJ
371582012-10-30 Andreas Jaeger <aj@suse.de>
37159
e5088dc6
AJ
37160 [BZ#14767]
37161 * elf/Makefile (tests): Remove conditional for have-initfini-array
37162 since this is now always required and the variable does not exist
37163 anymore.
37164 (tests-static): Likewise.
37165 (modules-names): Likewise.
37166
e7170363 37167 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37168
37169 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37170 merged with constructor/destructor.
37171 (init_array): Likewise.
37172 * elf/tst-array2dep.c (fini_array): Likewise.
37173 (init_array): Likewise.
37174
60457d8a
MF
371752012-10-29 Mike Frysinger <vapier@gentoo.org>
37176
37177 * manual/message.texi: Delete @cartouche tags.
37178
8bece752
PT
371792012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37180
94ce799f
PT
37181 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37182 EOPNOTSUPP.
37183 * sysdeps/mach/hurd/fsync.c: Likewise.
37184
8bece752
PT
37185 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37186 [_POSIX_REALTIME_SIGNALS]: Change condition to
37187 [_POSIX_REALTIME_SIGNALS > 0].
37188
86ebe6b1
AJ
371892012-10-27 Andreas Jaeger <aj@suse.de>
37190
37191 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37192 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37193 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37194 [__WORDSIZE != 64]: Likewise.
37195
54399c08
L
371962012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37197
37198 * iconvdata/tst-table.sh: Remove ${SHELL}.
37199 * iconvdata/tst-tables.sh: Likewise.
37200
e2211bed
DM
372012012-10-25 David S. Miller <davem@davemloft.net>
37202
37203 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37204 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37205 of strtoull.
37206
f303f97c
DM
37207 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37208 ifunc-impl-list.c
37209 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37210 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37211 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37212 file.
37213
1e9d84cd
RM
372142012-10-25 Roland McGrath <roland@hack.frob.com>
37215
37216 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37217 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37218 __getdirentries.
37219
df381762
JM
372202012-10-25 Joseph Myers <joseph@codesourcery.com>
37221 Jim Blandy <jimb@codesourcery.com>
37222
37223 * scripts/cross-test-ssh.sh: New file.
37224 * manual/install.texi (Configuring and compiling): Document use of
37225 cross-test-ssh.sh.
37226 * INSTALL: Regenerated.
37227
bff64913
PT
372282012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37229
37230 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37231 EOPNOTSUPP.
37232
25fe8932
JM
372332012-10-25 Joseph Myers <joseph@codesourcery.com>
37234
37235 * Makeconfig (run-program-prefix): Fix comment.
37236
cc1290d0
JM
372372012-10-24 Joseph Myers <joseph@codesourcery.com>
37238 Jim Blandy <jimb@codesourcery.com>
37239
37240 * Makeconfig (test-wrapper): New variable,
37241 (test-wrapper-env): Likewise.
37242 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37243 (run-built-tests): Define to yes.
37244 (run-program-prefix): Use $(test-wrapper).
37245 (built-program-cmd): Likewise.
37246 * Rules (make-test-out): Use $(test-wrapper-env) and
37247 $(host-built-program-cmd).
37248 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37249 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37250 tst-pathopt.sh.
37251 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37252 $(test-wrapper-env) to tst-rtld-load-self.sh.
37253 ($(objpfx)order2.out): Use $(test-wrapper).
37254 ($(objpfx)tst-initorder.out): Likewise.
37255 ($(objpfx)tst-initorder2.out): Likewise.
37256 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37257 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37258 (test_wrapper_env): New variable. Use it to run ld.so.
37259 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37260 Use it to run ld.so.
37261 (test_wrapper_env): Likewise.
37262 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37263 $(test-wrapper) to run-iconv-test.sh.
37264 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37265 (ICONV): Use $test_wrapper.
37266 * posix/Makefile ($(objpfx)globtest.out): Pass
37267 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37268 globtest.sh, not $(run-program-prefix).
37269 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37270 (test_wrapper): Likewise.
37271 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37272 set together with run_via_rtld_prefix.
37273 (run_program_prefix): Define in terms of test_wrapper and
37274 run_via_rtld_prefix.
37275
6e6249d0
RM
372762012-10-24 Roland McGrath <roland@hack.frob.com>
37277
37278 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37279 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37280 Targets removed.
37281
37282 [BZ #14743]
37283 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37284 Declare __clock_getres, __clock_gettime, __clock_settime,
37285 __clock_nanosleep, and __clock_getcpuclockid.
37286 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37287 Remove librt_hidden_def (clock_gettime).
37288 * sysdeps/unix/clock_gettime.c: Likewise.
37289 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37290 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37291 * rt/clock_getres.c: Define __clock_getres as an alias.
37292 * sysdeps/posix/clock_getres.c: Likewise.
37293 * rt/clock_settime.c: Define __clock_settime as an alias.
37294 * sysdeps/unix/clock_settime.c: Likewise.
37295 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37296 * sysdeps/unix/clock_nanosleep.c: Likewise.
37297 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37298 * rt/clock-compat.c: New file.
37299 * rt/Makefile (librt-routines): Add clock-compat and move
37300 $(clock-routines) to ...
37301 (routines): ... here, new variable.
37302 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37303 Don't add get_clockfreq here.
37304 * rt/Versions (libc: GLIBC_2.17): New version set.
37305 Add clock_* symbols here.
37306 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37307 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37308 (GLIBC_2.17): Add clock_* symbols.
37309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37311 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37313 Likewise.
37314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37315 Likewise.
37316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37320 * NEWS: Mention the move.
37321
37322 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37323 Use __open, __read, __close rather than their public counterparts.
37324 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37325 (__get_clockfreq_via_cpuinfo): Likewise.
37326 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37327 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37328
37329 * config.h.in (HAVE_IFUNC): New #undef.
37330 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37331 was successful.
37332 * configure: Regenerated.
37333
0cae3f4b
MF
373342012-10-24 Mike Frysinger <vapier@gentoo.org>
37335
37336 * configure.in: Move READELF check to start of file.
37337 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37338 libc_cv_asm_gnu_indirect_function in the process.
37339 * configure: Regenerated.
37340
8175a253
MF
373412012-10-24 Mike Frysinger <vapier@gentoo.org>
37342
37343 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37344 send the output to /dev/null.
37345 (libc_cv_cc_with_libunwind): Likewise.
37346 (libc_cv_as_noexecstack): Likewise.
37347 * configure: Regenerate.
37348
0708a7d1
JM
373492012-10-24 Joseph Myers <joseph@codesourcery.com>
37350
10b40d85
JM
37351 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37352
0708a7d1
JM
37353 * posix/globtest.sh (TMPDIR): Do not set.
37354 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37355 (testout): Likewise.
37356
9fddec1a
AJ
373572012-10-24 Andreas Jaeger <aj@suse.de>
37358
3a8db22f
AJ
37359 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37360 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37361 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37362 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37363 posix_fadvise64, posix_fallocate64.
37364
9fddec1a
AJ
37365 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37366 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37367 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37368 Likewise.
37369 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37370 Likewise.
37371 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37372
37373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37374 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37375 <bits/fcntl-linux.h>.
37376 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37377
37378 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37379 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37380 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37381 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37382 [__WORDSIZE != 64]: Likewise.
37383
ebfd1bbd
JM
373842012-10-23 Joseph Myers <joseph@codesourcery.com>
37385
03ac099f
JM
37386 * Makeconfig (run-built-tests): New variable.
37387 * Rules [$(cross-compiling) = yes]: Change condition to
37388 [$(run-built-tests) = no].
37389 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37390 to [$(run-built-tests) = yes].
37391 * elf/Makefile [$(cross-compiling) = no]: Likewise
37392 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37393 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37394 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37395 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37396 * io/Makefile [$(cross-compiling) = no]: Likewise.
37397 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37398 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37399 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37400 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37401 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37402 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37403 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37404 * string/Makefile [$(cross-compiling) = no]: Likewise.
37405
ebfd1bbd
JM
37406 * posix/Makefile ($(objpfx)globtest.out): Pass
37407 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37408 $(rtld-installed-name).
37409 * posix/globtest.sh (elf_objpfx): Remove variable.
37410 (rtld_installed_name): Likewise.
37411 (library_path): Likewise.
37412 (run_program_prefix): New variable. Use for running globtest
37413 binary.
37414
166bca24
JB
374152012-10-23 Jim Blandy <jimb@codesourcery.com>
37416 Joseph Myers <joseph@codesourcery.com>
37417
37418 * Makeconfig (host-built-program-cmd): New variable.
37419 * elf/Makefile (tst-stackguard1-ARGS): Use
37420 $(host-built-program-cmd).
37421 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37422 (tst-spawn-ARGS): Likewise.
37423 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37424
88866099
JM
374252012-10-23 Joseph Myers <joseph@codesourcery.com>
37426 Jim Blandy <jimb@codesourcery.com>
37427
37428 * Makeconfig (run-via-rtld-prefix): New variable.
37429 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37430 (built-program-cmd): Likewise.
37431
b4b4c296
AJ
374322012-10-22 Andreas Jaeger <aj@suse.de>
37433
37434 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37435 __O_RSYNC if it exists, otherwise to O_SYNC.
37436
6fb54a22
JB
374372012-10-22 Jim Blandy <jimb@codesourcery.com>
37438 Joseph Myers <joseph@codesourcery.com>
37439
37440 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37441 /dev/null.
37442 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37443 from /dev/null
37444 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37445 /dev/null.
37446
481b90b9
AJ
374472012-10-22 Andreas Jaeger <aj@suse.de>
37448
2a0e2669
AJ
37449 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37450 Define always.
37451 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37452
76e38f9a
AJ
37453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37454 bits/fcntl-linux.h.
37455
7cd37b43
AJ
37456 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37457 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37458
481b90b9
AJ
37459 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37460 to __O_LARGEFILE.
37461 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37462 to __O_LARGEFILE.
37463
aba75984
JB
374642012-10-21 Jim Blandy <jimb@codesourcery.com>
37465 Joseph Myers <joseph@codesourcery.com>
37466
37467 * config.make.in (NM): New variable.
37468
88d4247f
AJ
374692012-10-21 Andreas Jaeger <aj@suse.de>
37470
37471 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37472 definitions and declarations that are provided by
37473 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37474
f2eed205
L
374752012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37476
37477 [BZ #14683]
37478 * elf/Makefile (tests-static): Add tst-leaks1-static.
37479 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37480 ($(objpfx)tst-leaks1-static): New rule.
37481 ($(objpfx)tst-leaks1-static-mem): Likewise.
37482 (tst-leaks1-static-ENV): New macro.
37483 * elf/dl-open.c (dl_open_worker): Check the main application
37484 only if SHARED is defined.
37485 * elf/tst-leaks1-static.c: New file.
37486
335e6931
AJ
374872012-10-20 Andreas Jaeger <aj@suse.de>
37488
37489 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37490 generic values for Linux.
37491 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37492 and declarations that are provided by <bits/fcntl-linux.h> and
37493 include <bits/fcntl-linux.h>.
37494 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37496
ac5c94d3
RM
374972012-10-20 Roland McGrath <roland@hack.frob.com>
37498
37499 * io/fcntl.h: Move include of <bits/types.h> to the top and
37500 include it unconditionally.
37501
de54b33a
L
375022012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37503
228cfb01
L
37504 * wcsmbs/Makefile (tests-ifunc): New variable.
37505 (tests): Add $(tests-ifunc).
37506 * wcsmbs/test-wcschr-ifunc.c: New file.
37507 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37508 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37509 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37510 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37511 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37512
69f07e5f
L
37513 * string/Makefile (tests-ifunc): New variable.
37514 (tests): Add $(tests-ifunc).
37515 * string/test-memccpy.c (TEST_NAME): New macro.
37516 * string/test-memchr.c (TEST_NAME): Likewise.
37517 * string/test-memcmp.c (TEST_NAME): Likewise.
37518 * string/test-memcpy.c (TEST_NAME): Likewise.
37519 * string/test-memmem.c (TEST_NAME): Likewise.
37520 * string/test-memmove.c (TEST_NAME): Likewise.
37521 * string/test-memset.c (TEST_NAME): Likewise.
37522 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37523 * string/test-stpcpy.c (TEST_NAME): Likewise.
37524 * string/test-stpncpy.c (TEST_NAME): Likewise.
37525 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37526 * string/test-strcasestr.c (TEST_NAME): Likewise.
37527 * string/test-strcat.c (TEST_NAME): Likewise.
37528 * string/test-strchr.c (TEST_NAME): Likewise.
37529 * string/test-strcmp.c(TEST_NAME): Likewise.
37530 * string/test-strcpy.c (TEST_NAME): Likewise.
37531 * string/test-strcspn.c (TEST_NAME): Likewise.
37532 * string/test-strlen.c (TEST_NAME): Likewise.
37533 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37534 * string/test-strncmp.c (TEST_NAME): Likewise.
37535 * string/test-strncpy.c (TEST_NAME): Likewise.
37536 * string/test-strnlen.c (TEST_NAME): Likewise.
37537 * string/test-strpbrk.c (TEST_NAME): Likewise.
37538 * string/test-strrchr.c (TEST_NAME): Likewise.
37539 * string/test-strspn.c (TEST_NAME): Likewise.
37540 * string/test-strstr.c (TEST_NAME): Likewise.
37541 * string/test-bcopy-ifunc.c: New file.
37542 * string/test-bzero-ifunc.c: Likewise.
37543 * string/test-memccpy-ifunc.c: Likewise.
37544 * string/test-memchr-ifunc.c: Likewise.
37545 * string/test-memcmp-ifunc.c: Likewise.
37546 * string/test-memcpy-ifunc.c: Likewise.
37547 * string/test-memmem-ifunc.c: Likewise.
37548 * string/test-memmove-ifunc.c: Likewise.
37549 * string/test-mempcpy-ifunc.c: Likewise.
37550 * string/test-memset-ifunc.c: Likewise.
37551 * string/test-rawmemchr-ifunc.c: Likewise.
37552 * string/test-stpcpy-ifunc.c: Likewise.
37553 * string/test-stpncpy-ifunc.c: Likewise.
37554 * string/test-strcasecmp-ifunc.c: Likewise.
37555 * string/test-strcasestr-ifunc.c: Likewise.
37556 * string/test-strcat-ifunc.c: Likewise.
37557 * string/test-strchr-ifunc.c: Likewise.
37558 * string/test-strchrnul-ifunc.c: Likewise.
37559 * string/test-strcmp-ifunc.c: Likewise.
37560 * string/test-strcpy-ifunc.c: Likewise.
37561 * string/test-strcspn-ifunc.c: Likewise.
37562 * string/test-strlen-ifunc.c: Likewise.
37563 * string/test-strncasecmp-ifunc.c: Likewise.
37564 * string/test-strncat-ifunc.c: Likewise.
37565 * string/test-strncmp-ifunc.c: Likewise.
37566 * string/test-strncpy-ifunc.c: Likewise.
37567 * string/test-strnlen-ifunc.c: Likewise.
37568 * string/test-strpbrk-ifunc.c: Likewise.
37569 * string/test-strrchr-ifunc.c: Likewise.
37570 * string/test-strspn-ifunc.c: Likewise.
37571 * string/test-strstr-ifunc.c: Likewise.
37572
de54b33a
L
37573 * debug/Makefile (tests-ifunc): New variable.
37574 (tests): Add $(tests-ifunc).
37575 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37576 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37577 * debug/test-stpcpy_chk-ifunc.c: New file.
37578 * debug/test-strcpy_chk-ifunc.c: Likewise.
37579
88481c16
SP
375802012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37581
37582 [BZ #13601]
37583 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37584 header is not read in.
37585
135948bd
JM
375862012-10-19 Joseph Myers <joseph@codesourcery.com>
37587
89f1c388
JM
37588 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37589 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37590 directly. Pass built executable to script as
37591 $(built-program-cmd).
37592 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37593 $testprogram without using LD_LIBRARY_PATH and $ldso.
37594
e40a0d21
JM
37595 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37596 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37597 $(rtld-installed-name).
37598 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37599 (rtld_installed_name): Likewise.
37600 (library_path): Likewise.
37601 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37602 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37603 $(run-program-prefix) to tst-tables.sh.
37604 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37605 it to run tst-table-from and tst-table-to.
37606 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37607 Pass it to tst-table.sh.
37608 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37609 $(run-program-prefix) to tst-gettext.sh.
37610 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37611 tst-translit.sh.
37612 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37613 tst-gettext2.sh.
37614 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37615 to run tst-gettext.
37616 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37617 to run tst-gettext2.
37618 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37619 to run tst-translit.
37620 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37621 $(run-program-prefix) to tst-mtrace.sh.
37622 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37623 to run tst-mtrace.
37624 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37625 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37626 $(rtld-installed-name).
37627 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37628 (rtld_installed_name): Likewise.
37629 (run_program_prefix): New variable. Use it to run wordexp-test.
37630
728e272a
JM
37631 * Makeconfig (ARCH): Remove all definitions.
37632 (machine): Likewise.
37633 [ARCH]: Remove conditional code.
37634 [!objdir]: Give error.
37635 [!objdir] (objpfx): Remove.
37636 [!objdir] (common-objpfx): Likewise.
37637 [!objdir] (common-objdir): Likewise.
37638 * configure.in (config_makefile): Remove. Hardcode Makefile in
37639 AC_CONFIG_FILES call.
37640 * configure: Regenerated.
37641
d528cdcf
JM
37642 [BZ #13888]
37643 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37644 or TMPDIR.
37645 (testout): Likewise.
37646
135948bd
JM
37647 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37648 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37649 $(rtld-installed-name).
37650 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37651 (rtld_installed_name): Likwise.
37652 (runit): Remove function.
37653 (run_getconf): New variable, Use it for running getconf binary.
37654
38c78296
L
376552012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37656
37657 [BZ #14716]
37658 * string/test-memmem.c (check_result): New function.
37659 (do_one_test): Use it.
37660 (check1): New function.
37661 (test_main): Use it.
37662
d077f65f
MT
376632012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37664
37665 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37666
ced52c71
JM
376672012-10-18 Joseph Myers <joseph@codesourcery.com>
37668
37669 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37670 (_G_LSEEK64): Likewise.
37671 (_G_MMAP64): Likewise.
37672 (_G_FSTAT64): Likewise.
37673 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37674 (_G_LSEEK64): Likewise.
37675 (_G_MMAP64): Likewise.
37676 (_G_FSTAT64): Likewise.
37677 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37678 unconditional. Call __mmap64 directly.
37679 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37680 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37681 __lseek64 directly.
37682 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37683 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37684 __mmap64 directly.
37685 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37686 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37687 __lseek64 directly.
37688 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37689 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37690 __lseek64 directly.
37691 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37692 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37693 __lseek64 directly.
37694 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37695 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37696 __fxstat64 directly.
37697 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37698 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37699 unconditional.
37700 (freopen64) [!_G_OPEN64]: Remove conditional code.
37701 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37702 unconditional.
37703 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37704 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37705 unconditional.
37706 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37707 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37708 unconditional.
37709 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37710 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37711 unconditional.
37712 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37713 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37714 unconditional.
37715 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37716 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37717 unconditional.
37718 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37719 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37720 unconditional.
37721 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37722
b741de23
SP
377232012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37724
37725 [BZ #12140]
37726 * manual/memory.texi (Malloc Tunable Parameters): Add note
37727 about free list pointers overwriting some perturb bytes.
37728 Wording suggested by Roland McGrath.
37729
f9b9d9c9
JM
377302012-10-17 Joseph Myers <joseph@codesourcery.com>
37731
37732 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37733 (lgamma_test): Likewise.
37734 (tgamma_test): Likewise.
37735
172a631a
FW
377362012-10-16 Florian Weimer <fweimer@redhat.com>
37737
37738 [BZ #14700]
37739 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37740 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37741
e9f37252
MK
377422012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37743
37744 * NEWS: Mention BZ #14716.
37745 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37746 when removing AVAILABLE1_USES_J macro.
37747
d394eb74
L
377482012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37749
37750 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37751 (__bswap_64): __uint64_t for unsigned 64-bit int.
37752
ca38dc17
AS
377532012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37754
37755 * include/string.h (memmem): Declare libc hidden alias.
37756 * string/memmem.c (memmem): Define libc hidden alias.
37757 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37758 __read, __close instead of open, read, close.
37759
9a387d1f
L
377602012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37761
ac49ecaf
L
37762 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37763 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37764 global and hidden.
37765 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37766 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37767 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37768 Likewise.
37769 (__rawmemchr_sse2): Likewise.
37770 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37771 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37772 (__strchr_sse2): Likewise.
37773 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37774 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37775 (__strcasecmp_sse2): Likewise.
37776 (__strncasecmp_sse2): Likewise.
37777 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37778 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37779 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37780 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37781 (__strrchr_sse2): Likewise.
37782 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37783 ifunc-impl-list.c.
37784 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37785 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37786 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37787 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37788 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37789 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37790 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37791 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37792 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37793 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37794 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37795 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37796 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37797 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37798 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37799 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37800 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37801 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37802 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37803 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37804 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37805 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37806 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37807 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37808 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37809 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37810 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37811 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37812 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37813 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37814
b090e8ea
L
37815 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37816 global and hidden.
37817 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37818 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37819 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37820 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37821 Likewise.
37822 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37823 Likewise.
37824 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37825 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37826 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37827 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37828 ifunc-impl-list.c.
37829 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37830 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37831 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37832 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37833 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37834 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37835 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37836 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37837 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37838 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37839 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37840 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37841 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37842 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37843 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37844 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37845 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37846 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37847 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37848 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37849 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37850 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37851 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37852 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37853 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37854 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37855 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37856 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37857 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37858 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37859 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37860 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37861 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37862 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37863 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37864 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37865 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37866 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37867 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37868 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37869 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37870
11dd4af6
L
37871 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37872 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37873 * include/ifunc-impl-list.h: New file.
37874 * misc/ifunc-impl-list.c: Likewise.
37875 * misc/Makefile (routines): Add ifunc-impl-list.
37876 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37877 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37878 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37879 TEST_NAME]: New variables.
11dd4af6
L
37880 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37881 are defined.
37882 (test_init): Call __libc_ifunc_impl_list to initialize
37883 func_list if TEST_IFUNC and TEST_NAME are defined.
37884
9a387d1f
L
37885 * string/Makefile (strop-tests): Add bcopy and bzero.
37886 * string/test-bcopy.c: New file.
37887 * string/test-bzero.c: Likewise.
37888 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37889 defined.
37890 * string/test-memset.c: Support bzero test if TEST_BZERO is
37891 defined.
37892 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37893 __libc_memmove.
37894 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37895 __libc_memset.
37896 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37897 of memset.
37898
472371b9
JM
378992012-10-10 Joseph Myers <joseph@codesourcery.com>
37900
1e4a9536
JM
37901 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37902 * configure: Regenerated.
37903
d173d12e
JM
37904 * Makeconfig (+link-static-before-libc): Don't include
37905 $(link-static-libc).
37906
472371b9
JM
37907 * libio/libio.h (_IO_pos_t): Remove.
37908
89a3ad0b
AO
379092012-10-10 Alexandre Oliva <aoliva@redhat.com>
37910
37911 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37912 McGrath.
37913
e7451425
AO
379142012-10-10 Alexandre Oliva <aoliva@redhat.com>
37915
37916 * crypt/crypt-entry.c: Include fips-private.h.
37917 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37918 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37919 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37920 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37921
4ba74a35
AO
379222012-10-10 Alexandre Oliva <aoliva@redhat.com>
37923
37924 * crypt/crypt-private.h: Include stdbool.h.
37925 (_ufc_setup_salt_r): Return bool.
37926 * crypt/crypt-entry.c: Include errno.h.
37927 (__crypt_r): Return NULL with EINVAL for bad salt.
37928 * crypt/crypt_util.c (bad_for_salt): New.
37929 (_ufc_setup_salt_r): Check that salt is long enough and within
37930 the specified alphabet.
37931 * crypt/badsalttest.c: New file.
37932 * crypt/Makefile (tests): Add it.
37933 ($(objpfx)badsalttest): New.
37934
f96f1242
MK
379352012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37936
37937 * NEWS: Add entry for BZ #14602.
37938
0e8e0c1c
JM
379392012-10-09 Joseph Myers <joseph@codesourcery.com>
37940
37941 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37942 type-generic.
37943 * math/libm-test.inc: Update comment listing what functions and
37944 macros are tested.
37945 (isgreater_test): New function.
37946 (isgreaterequal_test): Likewise.
37947 (isless_test): Likewise.
37948 (islessequal_test): Likewise.
37949 (islessgreater_test): Likewise.
37950 (isunordered_test): Likewise.
37951 (main): Call the new functions.
37952
273edc5e
RM
379532012-10-09 Roland McGrath <roland@hack.frob.com>
37954
b8493de0
RM
37955 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37956 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37957 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37958 * sysdeps/i386/configure: Regenerated.
37959 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37960 * sysdeps/mach/configure: Regenerated.
37961 * sysdeps/mach/hurd/configure: Regenerated.
37962 * sysdeps/powerpc/configure: Regenerated.
37963 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37964 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37965 * sysdeps/s390/s390-32/configure: Regenerated.
37966 * sysdeps/s390/s390-64/configure: Regenerated.
37967 * sysdeps/sh/configure: Regenerated.
37968 * sysdeps/sparc/configure: Regenerated.
37969 * sysdeps/unix/sysv/linux/configure: Regenerated.
37970 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37971 * sysdeps/x86_64/configure: Regenerated.
37972
273edc5e
RM
37973 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37974 defined. Don't check if MAP is NULL.
37975
c8450f70
JM
379762012-10-09 Joseph Myers <joseph@codesourcery.com>
37977
37978 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37979 (_G_stat64): Likewise.
37980 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37981 (_G_stat64): Likewise.
37982 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37983 instead of struct _G_stat64.
37984 * libio/fileops.c (mmap_remap_check): Likewise.
37985 (decide_maybe_mmap): Likewise.
37986 (_IO_new_file_seekoff): Likewise.
37987 (_IO_file_stat): Likewise.
37988 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37989 _G_off64_t.
37990 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37991 instead of struct _G_stat64.
37992 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37993
57e605ba
MK
379942012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37995
37996 [BZ #14602]
37997 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37998 Replace with ...
37999 (CHECK_EOL): New macro.
38000 (two_way_short_needle): Check beginning of haystack for EOL. Use
38001 CHECK_EOL.
38002 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38003 Replace with CHECK_EOL.
38004 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38005 Replace with CHECK_EOL.
38006
ef1bb361
JM
380072012-10-08 Joseph Myers <joseph@codesourcery.com>
38008
38009 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38010 type-generic.
38011 * math/libm-test.inc: Update comment listing what functions and
38012 macros are tested.
38013 (finite_test): New function.
38014 (isinf_test): Likewise.
38015 (isnan_test): Likewise.
38016 (fpclassify_test): Test subnormal input.
38017 (isfinite_test): Likewise.
38018 (isnormal_test): Likewise.
38019 (main): Call the new functions.
38020
55f11534
JN
380212012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38022
38023 [BZ #14660]
38024 * Makerules (%.dynsym): Force C locale when running
38025 $(OBJDUMP) --dynamic-syms.
38026
1ab29350
AS
380272012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38028
38029 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38030 <stdint.h>.
38031
f1ecb7ef
DM
380322012-10-06 David S. Miller <davem@davemloft.net>
38033
38034 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38035 upper 32-bits of the length value in %o2 since we use branch-on-register
38036 tests which consider the entire 64-bit register.
38037
5d41d91a
L
380382012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38039
38040 * string/test-strstr.c (check2): Add a test for page boundary.
38041
3baddb72
DM
380422012-10-05 David S. Miller <davem@davemloft.net>
38043
38044 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38045 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38046 file.
38047 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38048 sysdep_routines.
38049 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38050 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38051 and bzero when HWCAP_SPARC_CRYPTO is present.
38052
9cee5585
L
380532012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38054
d7e0dab9
L
38055 [BZ #14602]
38056 * string/test-strstr.c (check2): New function.
38057 (test_main): Call check2.
38058
03759f47
L
38059 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38060 and bug-strchr1.
38061 * string/bug-strcasestr1.c (do_test): Moved to ...
38062 * string/test-strcasestr.c (check1): Here. New function.
38063 (do_one_test): Break out result checking code into ...
38064 (check_result): This. New function.
38065 (do_one_test): Call check_result.
38066 (test_main): Call check1.
38067 * string/bug-strchr1.c (do_test): Moved to ...
38068 * string/test-strchr.c (check1): Here. New function.
38069 (do_one_test): Break out result checking code into ...
38070 (check_result): This. New function.
38071 (do_one_test): Call check_result.
38072 (test_main): Call check1.
38073 * string/bug-strstr1.c (main): Moved to ...
046f153e 38074 * string/test-strstr.c (check1): Here. New function.
03759f47
L
38075 (do_one_test): Break out result checking code into ...
38076 (check_result): This. New function.
38077 (do_one_test): Call check_result.
38078 (test_main): Call check1.
38079 * string/bug-strcasestr1.c: Removed.
38080 * string/bug-strchr1.c: Likewise.
38081 * string/bug-strstr1.c: Likewise.
38082
53cea63e
L
38083 * elf/Makefile (dl-routines): Add hwcaps.
38084 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38085 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38086 (_dl_important_hwcaps): Moved to ...
38087 * elf/dl-hwcaps.c: Here. New file.
38088 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38089
9cee5585 38090 [BZ #14557]
bb859b06
L
38091 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38092 if IS_IN_rtld isn't defined.
38093
9cee5585
L
38094 * elf/dl-support.c (_dl_sysinfo_map): New.
38095 Include "get-dynamic-info.h" and "setup-vdso.h".
38096 (_dl_non_dynamic_init): Call setup_vdso.
38097 * elf/dynamic-link.h: Don't include <assert.h>.
38098 (elf_get_dynamic_info): Moved to ...
38099 * elf/get-dynamic-info.h: Here. New file.
38100 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38101 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38102 * elf/setup-vdso.h: Here. New file.
38103 * elf/rtld.c: Include "setup-vdso.h".
38104 (dl_main): Call setup_vdso.
38105
23c31b76
JM
381062012-10-05 Joseph Myers <joseph@codesourcery.com>
38107
28234b07
JM
38108 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38109 creal in comment listing functions tested. List finite, isinf,
38110 isnan, isless, islessequal, isgreater, isgreaterequal,
38111 islessgreater, isunordered, lgamma_r and pow10 as functions and
38112 macros not tested. Mention which functions not tested are aliases
38113 for other functions. Fix typo. Note that signs of NaNs are not
38114 tested.
38115
23c31b76
JM
38116 * scripts/config.guess: Update from config.git.
38117 * scripts/config.sub: Likewise.
38118
9043e228
RM
381192012-10-04 Roland McGrath <roland@hack.frob.com>
38120
38121 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38122 * misc/madvise.c (madvise): Renamed to __madvise.
38123 Make madvise a weak alias.
38124 * include/sys/mman.h: Declare __madvise.
38125 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38126 * sysdeps/unix/syscalls.list
38127 (madvise): Make __madvise the strong name, and madvise a weak alias.
38128 * sysdeps/unix/sysv/linux/syscalls.list
38129 (madvise, mmap): Remove redundant entries.
38130 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38131 * malloc/malloc.c (mtrim): Likewise.
38132 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38133
f57f8055
RM
381342012-10-03 Roland McGrath <roland@hack.frob.com>
38135
38136 * sysdeps/mach/hurd/dl-cache.c: File removed.
38137 * config.h.in (USE_LDCONFIG): New #undef.
38138 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38139 * configure: Regenerated.
38140 * elf/Makefile (dl-routines): Add dl-cache only under
38141 [$(use-ldconfig) = yes].
38142 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38143 cache on [USE_LDCONFIG].
38144 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38145 [USE_LDCONFIG].
38146 * elf/rtld.c (dl_main): Likewise.
38147
5bb0c10a
PT
381482012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38149
38150 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38151 _SC_LEVEL4_CACHE_LINESIZE.
38152
010188c6
RM
381532012-10-03 Roland McGrath <roland@hack.frob.com>
38154
38155 * sysdeps/unix/bsd/confstr.h: File removed.
38156
b6c5ec07
AO
381572012-10-02 Alexandre Oliva <aoliva@redhat.com>
38158
38159 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38160 sys/sdt-config.h.
38161
408223d4
RM
381622012-10-02 Roland McGrath <roland@hack.frob.com>
38163
38164 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38165 Make 'mapoff' field ElfW(Off) rather than off_t.
38166
bb9510dc
DL
381672012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38168
fc997c6e
DL
38169 * nscd/Makefile: Remove nscd-cflags and all its users.
38170 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38171 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38172
bb9510dc
DL
38173 [BZ #10631]
38174 * malloc.c (malloc_printerr): Clarify error message.
38175
05699367
L
381762012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38177
38178 [BZ #14648]
38179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38180 Set bit_FMA_Usable if FMA is supported.
38181 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38182 macro.
38183 (bit_FMA4_Usable): Updated.
38184 (index_FMA_Usable): New macro.
38185 (CPUID_FMA): Likewise
38186 (HAS_FMA): Defined with bit_FMA_Usable.
38187
51367701
RM
381882012-10-01 Roland McGrath <roland@hack.frob.com>
38189
38190 * bits/types.h (__swblk_t): Type removed.
38191 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38192 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38193 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38194 (__SWBLK_T_TYPE): Likewise.
38195 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38196 (__SWBLK_T_TYPE): Likewise.
38197 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38198 (__SWBLK_T_TYPE): Likewise.
38199 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38200 (__SWBLK_T_TYPE): Likewise.
38201
4d57bf63 382022012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38203 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38204
38205 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38206 (xdr_mapname): Use YPMAXMAP as maxsize.
38207 (xdr_peername): Use YPMAXPEER as maxsize.
38208 (xdr_keydat): Use YPAXRECORD as maxsize.
38209 (xdr_valdat): Use YPMAXRECORD as maxsize.
38210
93c65d43
RM
382112012-10-01 Roland McGrath <roland@hack.frob.com>
38212
497a03d6
RM
38213 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38214
93c65d43
RM
38215 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38216 * csu/init-first.c: ... here.
38217 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38218 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38219 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38220 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38221 * sysdeps/i386/init-first.c: File removed.
38222 * sysdeps/sh/init-first.c: File removed.
38223
bec749fd
JM
382242012-10-01 Joseph Myers <joseph@codesourcery.com>
38225
38226 [BZ #14645]
38227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38228 if x * y might underflow to zero and z is zero.
38229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38230 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38231 * math/libm-test.inc (min_subnorm_value): New variable.
38232 (fma_test): Add more tests.
38233 (fma_test_towardzero): Likewise.
38234 (fma_test_downward): Likewise
38235 (fma_test_upward): Likewise.
38236 (initialize): Set min_subnorm_value.
38237
8ec5b013
JM
382382012-09-29 Joseph Myers <joseph@codesourcery.com>
38239
38240 [BZ #14638]
38241 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38242 0 + 0.
38243 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38244 mode for addition resulting in exact zero.
38245 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38246 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38247 exact 0 + 0.
38248 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38249 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38250 * math/libm-test.inc (fma_test): Add more tests.
38251 (fma_test_towardzero): New function.
38252 (fma_test_downward): Likewise.
38253 (fma_test_upward): Likewise.
38254 (main): Call the new functions.
38255
b1fa802e
DM
382562012-09-28 David S. Miller <davem@davemloft.net>
38257
38258 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38259
d3b9fd9e
RM
382602012-09-28 Roland McGrath <roland@hack.frob.com>
38261
ea4d37b3
RM
38262 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38263 instead of SIGALRM.
38264
ac51c949
RM
38265 * sysdeps/gnu/_G_config.h: Moved to ...
38266 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38267 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38268 * sysdeps/generic/_G_config.h: ... here.
38269
28c195f7
RM
38270 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38271
848917f9
RM
38272 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38273
6bacf05b
RM
38274 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38275 Conditionalize target on [libnss_test1.so-version].
38276
91363dbb
RM
38277 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38278
cc87f7d8
RM
38279 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38280 (elfobjdir): Move out of conditionals.
38281
b1c608fe
RM
38282 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38283 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38284 (__nss_lookup_function): Conditionalize label remove_from_tree on
38285 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38286
1d9a6d96
DM
382872012-09-28 David S. Miller <davem@davemloft.net>
38288
38289 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38290 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38291 file.
38292 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38293 sysdep_routines.
38294 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38295 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38296 when HWCAP_SPARC_CRYPTO is present.
38297
72581615
PT
382982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38299
38300 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38301
715a900c
JL
383022012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38303
38304 [BZ #6530]
38305 * stdio-common/vfprintf.c (process_string_arg): Revert
38306 2000-07-22 change.
38307
383082011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38309
38310 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38311 for testcase.
38312 * stdio-common/tst-sprintf.c: Include <locale.h>
38313 (main): Test sprintf's handling of incomplete multibyte
38314 characters.
38315
9bac1d86
L
383162012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38317
38318 * elf/dl-runtime.c (VERSYMIDX): Removed.
38319 * elf/dl-version.c (VERSYMIDX): Likewise.
38320 * elf/do-rel.h (VERSYMIDX): Likewise.
38321 (VALIDX): Likewise.
38322 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38323 * elf/rtld.c (VALIDX): Likewise.
38324 (ADDRIDX): Likewise.
9bac1d86
L
38325 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38326 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38327 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38328 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38329 (VALIDX): Likewise.
38330 (ADDRIDX): Likewise.
9bac1d86 38331
b31606c0
PT
383322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38333
38334 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38335
11541177
JL
383362012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38337
38338 [BZ #11438]
38339 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38340 to global scope.
38341 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38342 addresses are in the same scope as 192.0.2/24.
38343 * posix/gai.conf: Document new scope table defaults.
38344
adb26fae
SP
383452012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38346
38347 [BZ #5298]
38348 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38349 for ftell. Compute offsets from write pointers instead.
38350 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38351
4573c6b0
SP
383522012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38353
38354 [BZ #14543]
38355 * libio/Makefile (tests): New test case tst-fseek.
38356 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38357 combination works in wide mode.
38358 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38359 state when the external buffer state changes.
38360
aa9bbfe6
DM
383612012-09-27 David S. Miller <davem@davemloft.net>
38362
38363 [BZ #14376]
38364 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38365 pass reloc->r_addend in as the 'high' argument to
38366 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38367
784421e7
DM
38368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38369
c39bc8b8
PT
383702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38371
38372 * rt/tst-aio2.c: Include <pthread.h>.
38373 * rt/tst-aio3.c: Likewise.
38374
1ccc2399
SE
383752012-09-27 Steve Ellcey <sellcey@mips.com>
38376
38377 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38378
31ed4153
L
383792012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38380
25f5f885
L
38381 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38382 contents on [SHARED].
31ed4153 38383
b7bfe116
MP
383842012-09-26 Marek Polacek <polacek@redhat.com>
38385
38386 [BZ #14530]
38387 [BZ #13741]
38388 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38389 for C++ and GCC <4.3 as well as for non GCC compilers.
38390
43c4edba
MT
383912012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38392
38393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38394
6a1bf82f
RM
383952012-09-25 Roland McGrath <roland@hack.frob.com>
38396
38397 * Makefile.in (all, install): Declare with .PHONY.
38398 Reported by Michael Hope <michael.hope@linaro.org>.
38399
8ad11b9a
TMQMF
384002012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38401
38402 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38403 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38404 system header.
38405 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38406 Likewise.
38407 (sydep_routines): Add the new and the internal functions.
38408 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38409 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38411 (GLIBC_2.17): Add the new function.
38412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38413 (GLIBC_2.17): Likewise.
38414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38415 (GLIBC_2.17): Likewise.
38416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38417 (GLIBC_2.17): Likewise.
38418 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38419
7e2fca8d
AM
384202012-09-25 Alan Modra <amodra@gmail.com>
38421
38422 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38423 Add release barrier before setting once_control to say
38424 initialisation is done. Add hints on lwarx. Use macro in
38425 place of isync.
38426 (clear_once_control): Add release barrier.
38427
b87c4b24
JM
384282012-09-25 Joseph Myers <joseph@codesourcery.com>
38429
d032e0d2
JM
38430 [BZ #13629]
38431 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38432 specially.
38433 * math/s_clog10.c (__clog10): Likewise.
38434 * math/s_clog10f.c (__clog10f): Likewise.
38435 * math/s_clog10l.c (__clog10l): Likewise.
38436 * math/s_clogf.c (__clogf): Likewise.
38437 * math/s_clogl.c (__clogl): Likewise.
38438 * math/Makefile (libm-calls): Add x2y2m1.
38439 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38440 (__x2y2m1): Likewise.
38441 (__x2y2m1l): Likewise.
38442 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38443 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38444 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38445 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38446 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38447 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38448 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38449 * sysdeps/i386/fpu/libm-test-ulps: Update.
38450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38451
b87c4b24
JM
38452 [BZ #14621]
38453 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38454 int as type of variable DEPTH.
38455 (glob): Use size_t instead of int as type of variables NEWCOUNT
38456 and OLD_PATHC.
38457
6d3bf199
LD
384582012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38459
22bf5c17
LD
38460 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38461 Add s_sincosf-sse2.
38462 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38463 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38464 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38465 macros for using routine as __sincosf_ia32.
38466 Use macro for function declaration and weak_alias.
38467 * sysdeps/i386/fpu/libm-test-ulps: Update.
38468
38469 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38471
38472 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38473 subnormal argument.
38474 * math/s_cexpf.c (__cexpf): Likewise.
38475 * math/s_csinf.c (__csinf): Likewise.
38476 * math/s_csinhf.c (__csinhf): Likewise.
38477 * math/s_ctanf.c (__ctanf): Likewise.
38478 * math/s_ctanhf.c (__ctanhf): Likewise.
38479 * math/s_ccosh.c (__ccoshf): Likewise.
38480 * math/s_cexp.c (__cexpl): Likewise.
38481 * math/s_csin.c (__csin): Likewise.
38482 * math/s_csinh.c (__csinh): Likewise.
38483 * math/s_ctan.c (__ctan): Likewise.
38484 * math/s_ctanh.c (ctanh): Likewise.
38485 * math/s_ccoshl.c (__ccoshl): Likewise.
38486 * math/s_cexpl.c (__cexpl): Likewise.
38487 * math/s_csinl.c (__csinl): Likewise.
38488 * math/s_csinhl.c (__csinhl): Likewise.
38489 * math/s_ctanl.c (__ctanl): Likewise.
38490 * math/s_ctanhl.c (__ctanhl): Likewise.
38491
203e5603
JM
384922012-09-25 Joseph Myers <joseph@codesourcery.com>
38493
38494 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38495 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38496 (_IO_off_t): Define to __off_t, not _G_off_t.
38497 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38498 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38499 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38500 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38501 type of __dummy and __dummy2 fields.
38502 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38503 (_G_ssize_t): Likewise.
38504 (_G_off_t): Likewise.
38505 (_G_pid_t): Likewise.
38506 (_G_uid_t): Likewise.
38507 (_G_wchar_t): Likewise.
38508 (_G_wint_t): Likewise.
38509 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38510 (_G_ssize_t): Likewise.
38511 (_G_off_t): Likewise.
38512 (_G_pid_t): Likewise.
38513 (_G_uid_t): Likewise.
38514 (_G_wchar_t): Likewise.
38515 (_G_wint_t): Likewise.
38516 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38517 (_G_ssize_t): Likewise.
38518 (_G_off_t): Likewise.
38519 (_G_pid_t): Likewise.
38520 (_G_uid_t): Likewise.
38521 (_G_wchar_t): Likewise.
38522 (_G_wint_t): Likewise.
38523
9fab36eb
SP
385242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38525
38526 * malloc/arena.c: Include malloc-sysdep.h.
38527 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38528 is sufficient to shrink the heap or an unmap is needed.
38529 * sysdeps/generic/malloc-sysdep.h: New file. Define
38530 new function check_may_shrink_heap.
38531 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38532 new function check_may_shrink_heap.
38533
2b4f00d1
SP
385342012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38535
38536 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38537 comments.
38538
9a9028b1
DL
385392012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38540
57c69bef
DL
38541 * catgets/test-gencat.sh: Add "set -e".
38542 * elf/tst-pathopt.sh: Likewise.
38543 * grp/tst_fgetgrent.sh: Likewise.
38544 * iconvdata/run-iconv-test.sh: Likewise.
38545 * intl/tst-gettext.sh: Likewise.
38546 * intl/tst-gettext2.sh: Likewise.
38547 * intl/tst-gettext4.sh: Likewise.
38548 * intl/tst-gettext6.sh: Likewise.
38549 * intl/tst-translit.sh: Likewise.
38550 * io/ftwtest-sh: Likewise.
38551 * libio/test-freopen.sh: Likewise.
38552 * malloc/tst-mtrace.sh: Likewise.
38553 * posix/globtest.sh: Likewise.
38554 * posix/tst-getconf.sh: Likewise.
38555 * posix/wordexp-tst.sh: Likewise.
38556 * stdio-common/tst-printf.sh: Likewise.
38557 * stdio-common/tst-unbputc.sh: Likewise.
38558 * stdlib/tst-fmtmsg.sh: Likewise.
38559 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38560 * catgets/Makefile: Do not specify -e option when running
38561 testsuite shell scripts.
38562 * elf/Makefile: Likewise.
38563 * grp/Makefile: Likewise.
38564 * iconvdata/Makefile: Likewise.
38565 * intl/Makefile: Likewise.
38566 * io/Makefile: Likewise.
38567 * libio/Makefile: Likewise.
38568 * malloc/Makefile: Likewise.
38569 * posix/Makefile: Likewise.
38570 * stdio-common/Makefile: Likewise.
38571 * stdlib/Makefile: Likewise.
38572 * sysdeps/x86_64/Makefile: Likewise.
38573
9a9028b1
DL
38574 * io/ftwtest-sh: Add copyright header.
38575 * posix/globtest.sh: Likewise.
38576 * posix/tst-getconf.sh: Likewise.
38577 * posix/wordexp-tst.sh: Likewise.
38578 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38579
ced6f16e
L
385802012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38581
94b32c39
L
38582 [BZ #13679]
38583 * Makeconfig (+link): Defined as $(+link-static) if
38584 $(build-shared) isn't yes.
38585 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38586 isn't yes.
38587 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38588
189e935b
L
38589 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38590
ced6f16e
L
38591 [BZ #14562]
38592 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38593 new chunk size with MALLOC_ALIGN_MASK.
38594
a9f8e53a
JM
385952012-09-24 Joseph Myers <joseph@codesourcery.com>
38596
38597 [BZ #5044]
38598 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38599 <rounding-mode.h>.
38600 (__printf_fphex): Determine rounding using get_rounding_mode and
38601 round_away.
38602 * stdio-common/tst-printf-round.c (struct hex_test): New
38603 structure.
38604 (hex_tests): New variable.
38605 (test_hex_in_one_mode): New function.
38606 (do_test): Also run tests for hex float output.
38607
43153109
JM
386082012-09-21 Joseph Myers <joseph@codesourcery.com>
38609
38610 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38611 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38612 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38613 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38614 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38615 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38616 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38617 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38618
8a26625d
JM
386192012-09-20 Joseph Myers <joseph@codesourcery.com>
38620
38621 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38622 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38623 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38624 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38625
f3fd569c
DL
386262012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38627
38628 [BZ #14579]
38629 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38630 mode only.
38631 * elf/tst-rtld-load-self.sh: New test.
38632 * elf/Makefile: Run it.
38633
63bbedd4
JM
386342012-09-18 Joseph Myers <joseph@codesourcery.com>
38635
38636 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38637 (tst-writev-ENV): Remove.
38638 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38639
626f8b6a
CM
386402012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38641
38642 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38643
b7aaa4d6
JM
386442012-09-17 Joseph Myers <joseph@codesourcery.com>
38645
38646 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38647 unconditional.
38648 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38649 Likewise.
38650 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38651 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38652 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38653 Likewise.
38654
65513990
L
386552012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38656
38657 [BZ #14587]
38658 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38659 * config.make.in (have-cpp-asm-debuginfo): Removed.
38660 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38661 * configure: Regenerated.
38662
784761be
JM
386632012-09-14 Joseph Myers <joseph@codesourcery.com>
38664
38665 [BZ #5044]
38666 * stdio-common/printf_fp.c: Include <stdbool.h> and
38667 <rounding-mode.h>.
38668 (___printf_fp): Determine rounding using get_rounding_mode and
38669 round_away.
38670 * stdio-common/tst-printf-round.c: New file.
38671 * stdio-common/Makefile (tests): Add tst-printf-round.
38672 (link-libm): New variable.
38673 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38674
9503345f
L
386752012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38676
38677 [BZ #14576]
38678 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38679 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38680 Likewise.
38681 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38682 Likewise.
38683
ad35fc00
JM
386842012-09-13 Joseph Myers <joseph@codesourcery.com>
38685
38686 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38687 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38688 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38689 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38690
6c9b0f68
JM
386912012-09-12 Joseph Myers <joseph@codesourcery.com>
38692
38693 [BZ #14518]
38694 * include/rounding-mode.h: New file.
38695 * sysdeps/generic/get-rounding-mode.h: Likewise.
38696 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38697 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38698 (MAX_VALUE): New macro.
38699 (MIN_VALUE): Likewise.
38700 (overflow_value): New function.
38701 (underflow_value): Likewise.
38702 (round_and_return): Use overflow_value and underflow_value to
38703 determine return values in overflow and underflow cases. Use
38704 round_away to determine rounding depending on rounding mode.
38705 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38706 determine return values in overflow and underflow cases.
38707 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38708 (struct test_results): New structure.
38709 (struct test): Use struct test_results to store expected results
38710 for all rounding modes.
38711 (TEST): Include expected results for all rounding modes.
38712 (test_in_one_mode): New function.
38713 (do_test): Use test_in_one_mode to compute and check results.
38714 Check results for all rounding modes.
38715 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38716 $(link-libm).
38717
19fcedd5
AM
387182012-12-09 Allan McRae <allan@archlinux.org>
38719
1e9d84cd 38720 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 38721
8bbfd2f1
JM
387222012-09-11 Joseph Myers <joseph@codesourcery.com>
38723
38724 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38725 (_G_int32_t): Likewise.
38726 (_G_uint16_t): Likewise.
38727 (_G_uint32_t): Likewise.
38728 (_G_HAVE_BOOL): Likewise.
38729 (_G_HAVE_ATEXIT): Likewise.
38730 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38731 (_G_HAVE_IO_FILE_OPEN): Likewise.
38732 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38733 (_G_int32_t): Likewise.
38734 (_G_uint16_t): Likewise.
38735 (_G_uint32_t): Likewise.
38736 (_G_HAVE_BOOL): Likewise.
38737 (_G_HAVE_ATEXIT): Likewise.
38738 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38739 (_G_HAVE_IO_FILE_OPEN): Likewise.
38740 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38741 (_G_int32_t): Likewise.
38742 (_G_uint16_t): Likewise.
38743 (_G_uint32_t): Likewise.
38744 (_G_HAVE_BOOL): Likewise.
38745 (_G_HAVE_ATEXIT): Likewise.
38746 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38747 (_G_HAVE_IO_FILE_OPEN): Likewise.
38748
b1dc5912
L
387492012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38750
38751 * csu/libc-tls.c: Update copyright years.
38752
0e886ef9
JM
387532012-09-10 Joseph Myers <joseph@codesourcery.com>
38754
28361c5e
JM
38755 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38756 [!_G_USING_THUNKS]: Remove conditional code.
38757 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38758 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38759
0e886ef9
JM
38760 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38761 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38762 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38763 (_G_VTABLE_LABEL_PREFIX): Likewise.
38764 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38765 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38766 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38767 (_G_VTABLE_LABEL_PREFIX): Likewise.
38768 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38769 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38770 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38771 (_G_VTABLE_LABEL_PREFIX): Likewise.
38772 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38773
bcba7aa2
L
387742012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38775
38776 * libio/Makefile: Include ../Makeconfig before tests.
38777 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38778 only if $(build-shared) is yes.
38779
06585ee8
L
38780 * iconv/gconv_db.c: Update copyright years.
38781
80ccd52c
LD
387822012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38783
38784 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38785 unwind info if defined PIC. Fix special cases description.
38786 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38787
38788 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38789 DP_HI_MASK entry.
38790 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38791
691bc9c1
L
387922012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38793
3d9b46b3
L
38794 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38795
de2139a9
L
38796 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38797 is NULL.
38798
5ca78dd0
L
38799 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38800 (LDLIBS-tst-chk4): This.
38801 (LDFLAGS-tst-chk5): Renamed to ...
38802 (LDLIBS-tst-chk5): This.
38803 (LDFLAGS-tst-chk6): Renamed to ...
38804 (LDLIBS-tst-chk6): This.
38805 (LDFLAGS-tst-lfschk4): Renamed to ...
38806 (LDLIBS-tst-lfschk4): This.
38807 (LDFLAGS-tst-lfschk5): Renamed to ...
38808 (LDLIBS-tst-lfschk5): This.
38809 (LDFLAGS-tst-lfschk6): Renamed to ...
38810 (LDLIBS-tst-lfschk6): This.
38811
691bc9c1
L
38812 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38813 on $(common-objpfx)soversions.mk.
38814
65cafb1c
JM
388152012-09-07 Joseph Myers <joseph@codesourcery.com>
38816
38817 [BZ #10014]
38818 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38819 example host name.
38820
c78ab094
SP
388212012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38822
38823 * malloc/arena.c (arena_get_retry): New function that gets
38824 another arena for the caller to try its request on.
38825 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38826 current arena cannot fulfill the request.
38827 (__libc_memalign): Likewise.
38828 (__libc_memalign): Likewise.
38829 (__libc_pvalloc): Likewise.
38830 (__libc_calloc): Likewise.
38831
01f49f59
JT
388322012-09-05 John Tobey <john.tobey@gmail.com>
38833
38834 [BZ #13542]
38835 * manual/arith.texi (Operations on Complex): Fix description
38836 of carg branch cut.
38837
4c23fed5
JM
388382012-09-06 Joseph Myers <joseph@codesourcery.com>
38839
1d3c8572
JM
38840 [BZ #10014]
38841 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38842 host name.
38843
4c23fed5
JM
38844 [BZ #10038]
38845 * manual/memory.texi (Memory): Make order of menu items match
38846 order of sections.
38847
04570aaa
L
388482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38849
38850 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38851 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38852 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38853
b80af2f4
L
388542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38855
38856 * csu/libc-tls.c (static_dtv): Renamed to ...
38857 (_dl_static_dtv): This. Make it global.
38858 (_dl_initial_dtv): Removed.
38859 (__libc_setup_tls): Updated.
38860 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38861 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38862 DL_INITIAL_DTV.
38863
2abe9f15
PM
388642012-09-06 Petr Machata <pmachata@redhat.com>
38865
38866 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38867 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38868 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38869 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38870
0948c3af
L
388712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38872
38873 [BZ #14545]
38874 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38875 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38876 freeing dtv[-1].
38877
a5055ad1
L
388782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38879
38880 [BZ #14544]
38881 * Makeconfig (link-static-before-libc): Replace $(+prector)
38882 with $(+prectorT).
38883 (link-static-after-libc): Replace $(+postctor) with
38884 $(+postctorT).
38885 (link-bounded): Replace $(+prector)/$(+postctor) with
38886 $(+prectorT)/$(+postctorT).
38887 (+prectorT): New macro.
38888 (+postctorT): Likewise.
38889
ed8c2ecd
JM
388902012-09-06 Joseph Myers <joseph@codesourcery.com>
38891
38892 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38893 (round_str): Handle values above the maximum for IBM long double
38894 as inexact.
38895 * stdlib/tst-strtod-round.c (tests): Regenerated.
38896
14c996c8
AK
388972012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38898
38899 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38900 assembler flag.
38901 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38902 zarch_nohighgprs around the zarch optimized routines.
38903 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38904 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38905 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38906 for zarch.
38907
430d6ce6
DM
389082012-09-05 David S. Miller <davem@davemloft.net>
38909
38910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38911
57f41c40
AS
38912 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38913 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38914 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38915 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38916 entries.
38917
24d4e01b
AO
389182012-09-05 Alexandre Oliva <aoliva@redhat.com>
38919
38920 * malloc/arena.c: Fold copyright years.
38921 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38922
61d58174
AO
389232012-09-05 Alexandre Oliva <aoliva@redhat.com>
38924
38925 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38926
20196a5e
AO
389272012-09-05 Alexandre Oliva <aoliva@redhat.com>
38928
38929 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38930
5c447383
AO
389312012-09-05 Alexandre Oliva <aoliva@redhat.com>
38932
38933 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38934 change internal state upon failure.
38935
fad64255
AO
389362012-09-05 Alexandre Oliva <aoliva@redhat.com>
38937
38938 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38939 * malloc/memusage.c (mmap): Likewise.
38940 (mmap64, mremap): Likewise. Adjust name in comment.
38941
1ffb8c90
SP
389422012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38943
38944 * libio/fileops.c: Fix typos in comments.
38945 * libio/oldfileops.c: Likewise.
38946 * libio/wfileops.c: Likewise.
38947
6ef9cc37
SP
389482012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38949
38950 [BZ #1349]
38951 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38952 (tst-malloc-usable-ENV): Set environment for test case.
38953 * malloc/hooks.c (malloc_check_get_size): New function to get
38954 requested size.
38955 * malloc/malloc.c (musable): Use malloc_check_get_size.
38956 * malloc/tst-malloc-usable.c: New test case.
38957
4d038ae3
AS
389582012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38959
38960 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38961
c4e85184
AM
389622012-09-05 Allan McRae <allan@archlinux.org>
38963
b9dafc56 38964 [BZ #13966]
c4e85184
AM
38965 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38966 determine header location.
38967 * configure: Regenerated.
38968
e1343020
AS
389692012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38970
38971 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38972 float format.
38973 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
38974 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38975 format.
e1343020
AS
38976 (test): Regenerate.
38977
0a9f1987
DM
389782012-09-04 David S. Miller <davem@davemloft.net>
38979
38980 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38981 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38982 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38983
29237804
FW
389842012-09-04 Florian Weimer <fweimer@redhat.com>
38985
38986 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38987 failures.
38988
edb3cb88
FW
38989 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38990
60160d83
JM
389912012-09-04 Joseph Myers <joseph@codesourcery.com>
38992
38993 [BZ #9914]
38994 * libio/iogetdelim.c: Include <limits.h>.
38995 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38996 + len + 1 would overflow.
38997
bcd6c8dc
AJ
389982012-09-03 Andreas Jaeger <aj@suse.de>
38999
39000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39001 * sysdeps/i386/fpu/libm-test-ulps: Update.
39002
4ffffbd2
LD
390032012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39004
39005 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39006 Add s_sinf-sse2, s_conf-sse2.
39007
39008 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39009 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39010 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39011 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39012
39013 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39014 for using routine as __sinf_ia32.
39015 Use macro for function declaration and weak_alias.
39016 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39017 for using routine as __cosf_ia32.
39018 Use macro for function declaration and weak_alias.
39019
39020 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39021 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39022
39023 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39024 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39026
39027 * math/libm-test.inc (cos_test): Add more test cases.
39028 (sin_test): Likewise.
39029 (sincos_test): Likewise.
39030
511fa286
AK
390312012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39032
39033 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39034 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39035 hidden.
39036 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39037
5f30cfec
L
390382012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39039
39040 [BZ #14538]
39041 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39042 first element of the GOT.
39043 (elf_machine_load_address): Return the difference between
39044 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39045
0786794f
AM
390462012-09-01 Allan McRae <allan@archlinux.org>
39047
5f30cfec
L
39048 [BZ #13412]
39049 * configure.in (AWK): Require gawk version 3.0 or later.
39050 * configure: Regenerated.
0786794f 39051
26889eac
JM
390522012-09-01 Joseph Myers <joseph@codesourcery.com>
39053
39054 * sysdeps/unix/sysv/linux/kernel-features.h
39055 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39056 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39057 [__NR_clock_getres]: Make code unconditional.
39058 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39059 (clock_getcpuclockid): Remove code left unreachable by removal of
39060 conditionals.
39061 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39062 code unconditional.
39063 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39064 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39065 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39066 Make code unconditional.
39067 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39068 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39069 * sysdeps/unix/sysv/linux/clock_settime.c
39070 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39071 conditional code.
39072 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39073 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39074
d22e28b0
L
390752012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39076
39077 [BZ #14476]
39078 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39079 scripts/test-installation.pl.
39080
39081 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39082 and $ld_so_version if it is set.
39083
050af9c4
SP
390842012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39085
39086 [BZ #14516]
39087 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39088 failure if reading from procfs failed.
39089 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39090
ad845c0b
JM
390912012-08-27 Joseph Myers <joseph@codesourcery.com>
39092
39093 * sysdeps/unix/sysv/linux/kernel-features.h
39094 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39095 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39096 Remove conditional code.
39097 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39098 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39099 Remove conditional code.
39100 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39101 * sysdeps/unix/sysv/linux/i386/fxstat.c
39102 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39103 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39104 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39105 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39106 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39107 * sysdeps/unix/sysv/linux/i386/lxstat.c
39108 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39109 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39110 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39111 Remove conditional code.
39112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39113 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39114 Remove conditional code.
39115 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39116 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39117 <kernel-features.h>.
39118 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39119 Remove.
39120 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39121 Remove conditional code.
39122 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39123 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39124 Remove conditional.
39125
5dbf56af
MF
391262012-08-27 Mike Frysinger <vapier@gentoo.org>
39127
39128 [BZ #5400]
39129 * NEWS: Add fixed bug number.
39130
d6e70f43
JM
391312012-08-27 Joseph Myers <joseph@codesourcery.com>
39132
7efb4737
JM
39133 [BZ #14519]
39134 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39135 underflowing exponent in case of negative sign.
39136 * stdlib/tst-strtod-round-data: Add more tests.
39137 * stdlib/tst-strtod-round.c (tests): Regenerated.
39138
af92131a
JM
39139 [BZ #3479]
39140 * stdlib/strtod_l.c (NDIG): Remove.
39141 (HEXNDIG): Likewise.
39142 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39143 smallest representable value.
39144 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39145 lie within an exact representation of 1/2 ulp of the result.
39146 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39147 unconditionally.
39148 (TENS_P9_IDX): Define unconditionally.
39149 (TENS_P9_SIZE): Likewise.
39150 (TENS_P10_IDX): Likewise.
39151 (TENS_P10_SIZE): Likewise.
39152 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39153 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39154 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39155 entries for 10^2^13 and 10^2^14.
39156 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39157 (TENS_P13_IDX): Define.
39158 (TENS_P13_SIZE): Likewise.
39159 (TENS_P14_IDX): Likewise.
39160 (TENS_P14_SIZE): Likewise.
39161 (_fpioconst_pow10): Change array size to
39162 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39163 unconditional.
39164 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39165 1024]: Add entries for 10^2^13 and 10^2^14.
39166 [LAST_POW10 > _LAST_POW10]: Remove #error.
39167 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39168 (_fpioconst_pow10): Change array size to
39169 FPIOCONST_POW10_ARRAY_SIZE.
39170 * stdlib/gen-fpioconst.c: New file.
39171 * stdlib/gen-tst-strtod-round.c: Likewise.
39172 * stdlib/tst-strtod-round-data: Likewise.
39173 * stdlib/tst-strtod-round.c: Likewise.
39174 * stdlib/Makefile (tests): Add tst-strtod-round.
39175
d6e70f43
JM
39176 [BZ #14459]
39177 * stdlib/strtod_l.c: Include <stdint.h>.
39178 (NDEBUG): Do not define.
39179 (round_and_return): Change EXPONENT parameter to type intmax_t.
39180 Rearrange calculations to avoid internal overflow possibilities.
39181 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39182 Rearrange calculations to avoid internal overflow possibilities.
39183 Assert that number fits inside MPNSIZE limbs.
39184 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39185 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39186 calculations and add assertions to avoid internal overflow
39187 possibilities. Add casts to avoid signed/unsigned operations.
39188 * stdlib/tst-strtod-overflow.c: New file.
39189 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39190
1f529f7d
MP
391912012-08-25 Marek Polacek <polacek@redhat.com>
39192
39193 * time/time.h: Fix some typos in comments.
39194
59a629f1
RM
391952012-08-23 Roland McGrath <roland@hack.frob.com>
39196
39197 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39198 * posix/tst-rfc3484-2.c: Likewise.
39199 * posix/tst-rfc3484-3.c: Likewise.
39200
d3bafbc9
SM
392012012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39202
39203 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39204 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39205
4efcc022
JM
392062012-08-23 Joseph Myers <joseph@codesourcery.com>
39207
39208 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39209 #include of fxstatat64.c.
39210
3cc3ef96
RM
392112012-08-22 Roland McGrath <roland@hack.frob.com>
39212
f04e2132
RM
39213 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39214 * shadow/getspent_r.c: Likewise.
39215 * shadow/getspnam.c: Likewise.
39216 * shadow/getspnam_r.c: Likewise.
39217 * gshadow/getsgent.c: Likewise.
39218 * gshadow/getsgent_r.c: Likewise.
39219 * gshadow/getsgnam.c: Likewise.
39220 * gshadow/getsgnam_r.c: Likewise.
39221 * inet/getnetbyad.c: Likewise.
39222 * inet/getnetbyad_r.c: Likewise.
39223 * inet/getnetbynm.c: Likewise.
39224 * inet/getnetbynm_r.c: Likewise.
39225 * inet/getnetent.c: Likewise.
39226 * inet/getnetent_r.c: Likewise.
39227 * inet/getproto.c: Likewise.
39228 * inet/getproto_r.c: Likewise.
39229 * inet/getprtent.c: Likewise.
39230 * inet/getprtent_r.c: Likewise.
39231 * inet/getprtname.c: Likewise.
39232 * inet/getprtname_r.c: Likewise.
39233 * inet/getrpcbyname.c: Likewise.
39234 * inet/getrpcbyname_r.c: Likewise.
39235 * inet/getrpcbynumber.c: Likewise.
39236 * inet/getrpcbynumber_r.c: Likewise.
39237 * inet/getrpcent.c: Likewise.
39238 * inet/getrpcent_r.c: Likewise.
39239 * inet/getaliasent.c: Likewise.
39240 * inet/getaliasent_r.c: Likewise.
39241 * inet/getaliasname.c: Likewise.
39242 * inet/getaliasname_r.c: Likewise.
39243 * nscd/getgrgid_r.c: Likewise.
39244 * nscd/getgrnam_r.c: Likewise.
39245 * nscd/gethstbyad_r.c: Likewise.
39246 * nscd/gethstbynm3_r.c: Likewise.
39247 * nscd/getpwnam_r.c: Likewise.
39248 * nscd/getpwuid_r.c: Likewise.
39249 * nscd/getsrvbynm_r.c: Likewise.
39250 * nscd/getsrvbypt_r.c: Likewise.
39251 * nscd/gai.c: Likewise.
39252
c53d909c
RM
39253 * configure.in (build_nscd): New substituted variable, set
39254 by --disable-build-nscd and defaults to $use_nscd.
39255 * configure: Regenerated.
39256 * config.make.in (build-nscd): New substituted variable.
39257 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39258 Change conditional to require [$(build-nscd) = yes] as well.
39259 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39260
3cc3ef96
RM
39261 [BZ# 13696]
39262 * configure.in (use_nscd): New substituted variable, set by
39263 --disable-nscd. If enabled, define USE_NSCD.
39264 * configure: Regenerated.
39265 * config.h.in: Add USE_NSCD.
39266 * config.make.in (use-nscd): New substituted variable.
39267 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39268 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39269 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39270 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39271 (CFLAGS-getgrnam_r.c): Likewise.
39272 (CFLAGS-initgroups.c): Likewise.
39273 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39274 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39275 Variables removed.
39276 * inet/getnetgrent_r.c
39277 (nscd_setnetgrent): New function, broken out of ...
39278 (setnetgrent): ... here. Call it.
39279 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39280 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39281 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39282 * nscd/Makefile (routines, aux): Move definitions after include of
39283 Makeconfig. Conditionalize on [$(use-nscd) != no].
39284 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39285 Conditionalize on [USE_NSCD].
39286 (is_nscd, nscd_init_cb): Likewise.
39287 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39288 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39289 * nss/nss_db/db-init.c: Likewise.
39290 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39291 [USE_NSCD].
39292 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39293 (make_request): Use it.
39294 (cache_valid_p): New function.
39295 (__check_pf): Use it.
39296 * NEWS: Add item for --disable-nscd.
39297
07e51550
DL
392982012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39299
39300 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39301 to support sed >= 4.2.1-20-ga9bf076.
39302 * configure: Regenerated.
39303
35a5b08b
RM
393042012-08-22 Roland McGrath <roland@hack.frob.com>
39305
39306 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39307 Conditionalize whole body on [IREL].
39308
8479f23a
JL
393092012-08-22 Jeff Law <law@redhat.com>
39310
39311 [BZ #14505]
39312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39313 if the family is PF_UNSPEC.
39314
48da0b21
MF
393152012-08-22 Mike Frysinger <vapier@gentoo.org>
39316
39317 * Makerules (lib-version): Rename from V.
39318 (install-lib-nosubdir): Change V to lib-version.
39319
15d0da8c
WS
393202012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39321
39322 [BZ #14252]
39323 * powerpc32/power6/wcschr.c: New file.
39324 * powerpc32/power6/wcscpy.c: New file.
39325 * powerpc32/power6/wcsrchr.c: New file.
39326 * powerpc64/power6/wcschr.c: New file.
39327 * powerpc64/power6/wcscpy.c: New file.
39328 * powerpc64/power6/wcsrchr.c: New file.
39329
bcca0895
MK
393302012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39331
39332 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39333 (two_way_short_needle): Use it.
5a4aaa33
RM
39334 * string/strstr.c (AVAILABLE1_USES_J): Define.
39335 * string/strcasestr.c: Likewise.
99677e57
MK
39336
39337 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39338 array references.
39339 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39340
400726de
MK
39341 [BZ #11607]
39342 * NEWS: Add an entry.
39343 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39344 define their defaults.
39345 (two_way_short_needle): Detect end-of-string on-the-fly.
39346 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39347 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39348 * string/bug-strcasestr1.c: New test.
39349 * string/Makefile: Run it.
39350
20a71f2c
MK
393512012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39352
39353 [BZ #11607]
39354 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39355 the first character.
39356
21ad0558
RM
393572012-08-21 Roland McGrath <roland@hack.frob.com>
39358
39359 * csu/elf-init.c (__libc_csu_irel): Function removed.
39360 * csu/libc-start.c (apply_irel): New function.
39361 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39362
0e1d9911
JM
393632012-08-21 Joseph Myers <joseph@codesourcery.com>
39364
39365 * sysdeps/unix/sysv/linux/kernel-features.h
39366 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39367 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39368 <kernel-features.h>.
39369 [__NR_fadvise64_64]: Make code unconditional.
39370 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39371 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39372 !__NR_fadvise64_64)]: Likewise.
39373 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39374 !__NR_fadvise64_64))]: Likewise.
39375 [__NR_fadvise64]: Make code unconditional.
39376 [!__NR_fadvise64]: Remove conditional code.
39377 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39378 <kernel-features.h>.
39379 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39380 unconditional.
39381 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39382 conditional code.
39383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39384 not include <kernel-features.h>.
39385 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39386 unconditional.
39387 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39388 conditional code.
39389 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39390 include <kernel-features.h>.
39391 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39392 unconditional.
39393 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39394 conditional code.
39395
14a50c9d
WS
393962012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39397
39398 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39399 slight instruction rearrangements per scrollpipe analysis.
39400 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39401
c0f4faf0
RM
394022012-08-20 Roland McGrath <roland@hack.frob.com>
39403
696da859
RM
39404 * manual/syslog.texi (syslog; vsyslog, closelog):
39405 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39406 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39407
c0f4faf0
RM
39408 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39409 DSOCAPS to match condition on defining it.
39410
348363b2
JM
394112012-08-20 Joseph Myers <joseph@codesourcery.com>
39412
a35cbf28
JM
39413 * sysdeps/unix/sysv/linux/kernel-features.h
39414 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39416 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39417 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39419 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39420 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39422 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39423 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39424
445f7ecd
JM
39425 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39426 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39427
348363b2
JM
39428 * sysdeps/unix/sysv/linux/kernel-features.h
39429 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39430 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39431 unconditional.
39432 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39433 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39434 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39435 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39436 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39437 Make code unconditional.
39438 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39439 (__mmap64) [!__NR_mmap2]: Likewise.
39440 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39441 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39442 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39443 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39444 [__NR_mmap2]: Make code unconditional.
39445 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39446 (__mmap64) [!__NR_mmap2]: Likewise.
39447
bc5bc0e5
AK
394482012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39449
39450 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39451
88d506de
AJ
394522012-08-18 Andreas Jaeger <aj@suse.de>
39453
39454 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39455
493387d2
MF
394562012-08-18 Mike Frysinger <vapier@gentoo.org>
39457
39458 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39459 * include/unistd.h (__have_sock_cloexec): Likewise.
39460 (__have_pipe2): Likewise.
39461 (__have_dup3): Likewise.
39462
a277af22
MF
394632012-08-18 Mike Frysinger <vapier@gentoo.org>
39464
39465 [BZ #9685]
39466 * include/unistd.h (__have_pipe2): Change define into an extern int.
39467 (__have_dup3): Likewise.
39468 * socket/have_sock_cloexec.c: Include fcntl.h.
39469 (__have_pipe2): New variable.
39470 (__have_dup3): Likewise.
39471
fdab8fd3
MF
394722012-08-17 Mike Frysinger <vapier@gentoo.org>
39473
39474 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39475
31035e80
MP
394762012-08-17 Marek Polacek <polacek@redhat.com>
39477
39478 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39479 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39480
3bd9e993
RM
394812012-08-17 Roland McGrath <roland@hack.frob.com>
39482
c91c505f
RM
39483 * configure.in: Add AC_SUBST for sysheaders.
39484 * configure: Regenerated.
39485 * config.make.in (sysheaders): New substituted variable.
39486
7c6f9d53
RM
39487 * sysdeps/unix/mkfifo.c: Moved ...
39488 * sysdeps/posix/mkfifo.c: ... here.
39489 * sysdeps/unix/mkfifoat.c: Moved ...
39490 * sysdeps/posix/mkfifoat.c: ... here.
39491
39492 * sysdeps/unix/utime.c: Moved ...
39493 * sysdeps/posix/utime.c: ... here.
39494
39495 * sysdeps/unix/time.c: Moved ...
39496 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
39497 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39498 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
39499
39500 * sysdeps/unix/nice.c: Moved ...
39501 * sysdeps/posix/nice.c: ... here.
39502
39503 * sysdeps/unix/alarm.c: Moved ...
39504 * sysdeps/posix/alarm.c: ... here.
39505
3bd9e993
RM
39506 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39507
d1f09384
JL
395082012-08-17 Jeff Law <law@redhat.com>
39509
39510 * intl/Makefile (codeset_mo): New variable.
39511 ($(codeset_mo)): New target.
39512 (tst-codeset.out): Depend on that. Remove explicit rule.
39513 (tst-gettext3.out, tst-gettext5.out): Likewise.
39514 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39515 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39516 * intl/tst-codeset.sh: Remove.
39517 * intl/tst-gettext3.sh: Likewise.
39518 * intl/tst-gettext5.sh: Likewise.
39519
2ae1ae5c
RM
395202012-08-17 Roland McGrath <roland@hack.frob.com>
39521
c31fdb83
RM
39522 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39523 * sysdeps/unix/syscalls.list: ... here.
39524
a0844057
RM
39525 * sysdeps/posix/getaddrinfo.c
39526 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39527 (gaiconf_init, gaiconf_reload): Use them.
39528 [!_STATBUF_ST_NSEC]
39529 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39530 Define using time_t rather than struct timespec.
39531
750c1f2a
RM
39532 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39533 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39534 Macros removed.
39535 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39536 [!NO_THREADS].
39537 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39538 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39539 Likewise.
39540
2ae1ae5c
RM
39541 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39542 __libc_cleanup_push argument.
39543
e66a42f5
RM
39544 * bits/param.h: New file.
39545 * misc/sys/param.h: New file.
39546 * include/sys/param.h: New file.
39547 * misc/Makefile (headers): Add bits/param.h.
39548 * sysdeps/generic/sys/param.h: File removed.
39549 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39550 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39551 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39552 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39553
b7c08a66
RM
39554 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39555 last change.
39556
b2e1c562
RM
39557 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39558 [_IO_MTSAFE_IO].
39559 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39560 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39561 New macros.
39562
c75ccd4c
RM
39563 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39564 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39565 rather than -D_IO_MTSAFE_IO conditionally.
39566 * stdio-common/Makefile (CPPFLAGS): Likewise.
39567 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39568 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39569 Use $(libio-mtsafe).
39570 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39571 of -D_IO_MTSAFE_IO.
39572 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39573 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39574 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39575 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39576 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39577 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39578 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39579 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39580 (CFLAGS-fread_u_chk.c): Likewise.
39581 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39582 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39583 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39584 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39585 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39586 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39587 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39588 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39589 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39590
39591 * libio/Makefile: Test [$(libc-reentrant) = yes]
39592 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39593
39594 * Makeconfig
39595 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39596 * sysdeps/pthread/configure: File removed.
39597 * sysdeps/pthread/Makeconfig: New file.
39598 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39599 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39600
d9195db8
GB
396012012-08-16 Gary Benson <gbenson@redhat.com>
39602
39603 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39604 unmapping the first object in a namespace.
39605
86466cd9
RM
396062012-08-16 Roland McGrath <roland@hack.frob.com>
39607
39608 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39609 (__internal_setnetgrent): ... this. Add internal_function to
39610 definition. Add libc_hidden_def.
39611 (setnetgrent): Update caller.
39612 (internal_endnetgrent): Renamed to ...
39613 (__internal_endnetgrent): ... this. Add internal_function to
39614 definition. Add libc_hidden_def.
39615 (endnetgrent): Update caller.
39616 (internal_getnetgrent_r): Renamed to ...
39617 (__internal_getnetgrent_r): ... this. Add internal_function to
39618 definition. Add libc_hidden_def.
39619 (__getnetgrent_r): Update caller.
39620 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39621
c3c8283c
JM
396222012-08-16 Joseph Myers <joseph@codesourcery.com>
39623
39624 * stdlib/longlong.h: Update from GCC.
39625
db1ee0a8
RM
396262012-08-16 Roland McGrath <roland@hack.frob.com>
39627
39628 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39629 on _QL, which is set by umul_ppmm but never used.
39630 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39631 variables, which are set by GMP macros but never used.
39632 * stdio-common/_itowa.c (_itowa): Likewise.
39633 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39634 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39635
30f69637
CD
396362012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39637
39638 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39639 struct La_sh_regs is not constant.
39640 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39641 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39642 and struct La_sparc64_regs are not constant.
39643
93a78ac4
JM
396442012-08-16 Joseph Myers <joseph@codesourcery.com>
39645
39646 * sysdeps/unix/sysv/linux/kernel-features.h
39647 (__ASSUME_POSIX_TIMERS): Remove.
39648 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39649 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39650 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39651 Make code unconditional.
39652 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39653 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39654 Make code unconditional.
39655 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39656 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39657 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39658 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39659 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39660 Make code unconditional.
39661 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39662 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39663 (__libc_missing_posix_timers): Remove.
39664
dd924cd7
RM
396652012-08-15 Roland McGrath <roland@hack.frob.com>
39666
4b4f2771
RM
39667 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39668 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39669
601c888b
RM
39670 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39671
176790a7
RM
39672 * elf/dl-sym.c: Include <stdlib.h>.
39673
329bc018
RM
39674 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39675 constants, which avoids warnings in 32-bit builds.
39676
e04e272d
RM
39677 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39678 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39679
952bf94a
RM
39680 * misc/lseek.c: File moved to ...
39681 * io/lseek.c: ... here.
39682
7c99b50a
RM
39683 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39684
dd924cd7
RM
39685 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39686 shifting LEN more than 31 bits at once.
39687
b3f479a8
LD
396882012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39689
39690 [BZ #14195]
8c4ae0d4
RM
39691 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39692 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39693 * string/test-strncasecmp.c (check1): Renamed to...
39694 (bz12205): ...this.
39695 (bz14195): Add new testcase for two empty input strings and N > 0.
39696 (test_main): Call new testcase, adapt for renamed function.
39697
9c55864e
AJ
396982012-08-15 Andreas Jaeger <aj@suse.de>
39699
39700 [BZ #14090]
39701 * crypt/md5test2.c: New test, based on test supplied by Serge
39702 Belyshev <belyshev@depni.sinp.msu.ru>.
39703 * crypt/Makefile (xtests): Add md5test-giant..
39704 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39705
02dcb6c5
PE
397062012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39707
39708 [BZ #14090]
39709 * crypt/md5.c (md5_process_block): Don't assume the buffer
39710 length is less than 2**32.
39711 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39712 length is less than 2**64.
39713
a3f95dcc
RM
397142012-08-15 Roland McGrath <roland@hack.frob.com>
39715
be75d758
RM
39716 * string/str-two-way.h: Include <sys/param.h>.
39717 (MAX): Macro removed.
39718
7312ca90
RM
39719 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39720 Move #define and #undef of memmove to just before and after
39721 including <string.h>.
39722
9a0a5486
RM
39723 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39724 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39725 and after including <string.h>. Move declarations of
39726 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39727 to before #include "string/memmove.c".
39728
67cc348d
RM
39729 * include/dirent.h: Declare __getdirentries.
39730
a3f95dcc
RM
39731 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39732 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39733
ca98e171
MF
397342012-08-14 Mike Frysinger <vapier@gentoo.org>
39735
39736 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39737 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39738 * sysdeps/i386/configure: Regenerated.
39739 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39740 STABS_CURRENT_FILE, and STABS_FUN.
39741 (END): Remove call to STABS_FUN_END.
39742 (STABS_CURRENT_FILE1): Delete.
39743 (STABS_CURRENT_FILE): Likewise.
39744 (STABS_FUN): Likewise.
39745 (STABS_FUN_END): Likewise.
39746 (STABS_FUN2): Likewise.
39747 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39748 * sysdeps/x86_64/configure: Regenerated.
39749
5908bf46
RM
397502012-08-14 Roland McGrath <roland@hack.frob.com>
39751
39752 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39753 * elf/dl-lookup.c: Likewise.
5908bf46 39754
f2c05b9e
JM
397552012-08-14 Joseph Myers <joseph@codesourcery.com>
39756
39757 * sysdeps/unix/sysv/linux/kernel-features.h
39758 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39759 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39760 unconditionally.
39761 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39762 unconditionally.
39763 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39764 condition on __ASSUME_CLONE_THREAD_FLAGS.
39765
e11f5155
AJ
397662012-08-14 Andreas Jaeger <aj@suse.de>
39767
39768 * sysdeps/i386/fpu/libm-test-ulps: Update.
39769
51a9ba86
MK
397702012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39771
2fdd4f78
AJ
39772 * include/atomic.h (atomic_exchange_and_add): Split into ...
39773 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39774 New atomic macros.
51a9ba86 39775
ba6cba9e
MT
397762012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39777
39778 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39779
42443a47
JL
397802012-08-13 Jeff Law <law@redhat.com>
39781
39782 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39783 null byte in the output string.
39784
121dce05
JM
397852012-08-10 Joseph Myers <joseph@codesourcery.com>
39786
39787 * sysdeps/unix/sysv/linux/kernel-features.h
39788 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39789 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39790 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39791 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39792 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39793 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39794 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39795
bf51f568
JL
397962012-08-09 Jeff Law <law@redhat.com>
39797
39798 [BZ #13939]
39799 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39800 When avoid_arena is set, don't retry in the that arena. Pick the
39801 next one, whatever it might be.
39802 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39803 (arena_lock): Pass in new parameter to arena_get2.
39804 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39805 arena_get2.
39806 (__libc_malloc): Unify retrying after main arena failure with
39807 __libc_memalign version.
39808 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39809
f85fa270
L
398102012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39811
39812 [BZ #14166]
39813 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39814 to __redirect_strstr.
39815 (__strstr_sse42): Use typeof __redirect_strstr.
39816 (__strstr_ia32): Likewise.
39817 (__libc_strstr): New prototype.
39818 (strstr): Renamed to ...
39819 (__libc_strstr): This.
39820 (strstr): New strong alias of __libc_strstr.
39821 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39822 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39823 __redirect_time.
39824 Include <time.h>.
39825 (__libc_time): New prototype.
39826 (time_ifunc): Replace time with __libc_time.
39827 (time): New strong alias and hidden definition of __libc_time.
39828 (__GI_time): Remove strong alias.
39829 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39830 Include <stddef.h>.
39831 (memmove): Redefined to __redirect_memmove.
39832 (__memmove_sse2): Use typeof __redirect_memmove.
39833 (__memmove_ssse3): Likewise.
39834 (__memmove_ssse3_back): Likewise.
39835 (__libc_memmove): New prototype.
39836 (memmove): Renamed to ...
39837 (__libc_memmove): This.
39838 (memmove): New strong alias of __libc_memmove.
39839
33b4a91e
MS
398402012-08-08 Mark Salter <msalter@redhat.com>
39841
39842 * elf/elf.h
39843 (R_MN10300_TLS_GD): Define.
39844 (R_MN10300_TLS_LD): Likewise.
39845 (R_MN10300_TLS_LDO): Likewise.
39846 (R_MN10300_TLS_GOTIE): Likewise.
39847 (R_MN10300_TLS_IE): Likewise.
39848 (R_MN10300_TLS_LE): Likewise.
39849 (R_MN10300_TLS_DTPMOD): Likewise.
39850 (R_MN10300_TLS_DTPOFF): Likewise.
39851 (R_MN10300_TLS_TPOFF): Likewise.
39852 (R_MN10300_SYM_DIFF): Likewise.
39853 (R_MN10300_ALIGN): Likewise.
39854 (R_MN10300_NUM): Update.
39855
b36137f1
JM
398562012-08-08 Joseph Myers <joseph@codesourcery.com>
39857
39858 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39859 Remove.
39860
cdd915fd
RM
398612012-08-08 Roland McGrath <roland@hack.frob.com>
39862
a2433aac
RM
39863 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39864
cdd915fd
RM
39865 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39866 sysdeps/unix -> sysdeps/posix move.
39867 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39868
bf9b740a
AM
398692012-08-07 Allan McRae <allan@archlinux.org>
39870
39871 [BZ #14303]
39872 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39873 (SUNOS_CPP): Likewise.
39874 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39875 not found.
39876 (open_input): Call CPP using execvp.
39877
93df14ee
JM
398782012-08-07 Joseph Myers <joseph@codesourcery.com>
39879
39880 * sysdeps/unix/sysv/linux/kernel-features.h
39881 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39882 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39883 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39884 (__ASSUME_WAITID_SYSCALL): Likewise.
39885 * sysdeps/unix/sysv/linux/dl-execstack.c
39886 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39887 code unconditional.
39888 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39889 conditional code.
39890 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39891 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39892 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39893 code.
39894 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39895 unconditional.
39896 [__ASSUME_WAITID_SYSCALL]: Likewise.
39897 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39898
d34689de
RM
398992012-08-07 Roland McGrath <roland@hack.frob.com>
39900
a281decc
RM
39901 * sysdeps/unix/closedir.c: Renamed to ...
39902 * sysdeps/posix/closedir.c: ... here.
39903 * sysdeps/unix/dirfd.c: Renamed to ...
39904 * sysdeps/posix/dirfd.c: ... here.
39905 * sysdeps/unix/dirstream.h: Renamed to ...
39906 * sysdeps/posix/dirstream.h: ... here.
39907 * sysdeps/unix/fdopendir.c: Renamed to ...
39908 * sysdeps/posix/fdopendir.c: ... here.
39909 * sysdeps/unix/opendir.c: Renamed to ...
39910 * sysdeps/posix/opendir.c: ... here.
39911 * sysdeps/unix/readdir.c: Renamed to ...
39912 * sysdeps/posix/readdir.c: ... here.
39913 * sysdeps/unix/readdir_r.c: Renamed to ...
39914 * sysdeps/posix/readdir_r.c: ... here.
39915 * sysdeps/unix/rewinddir.c: Renamed to ...
39916 * sysdeps/posix/rewinddir.c: ... here.
39917 * sysdeps/unix/seekdir.c: Renamed to ...
39918 * sysdeps/posix/seekdir.c: ... here.
39919 * sysdeps/unix/telldir.c: Renamed to ...
39920 * sysdeps/posix/telldir.c: ... here.
39921 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39922 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39923 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39924 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39925
22895b47
RM
39926 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39927 * bits/fcntl.h: ... here.
39928
707a53b6
RM
39929 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39930 not 0.
39931 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39932 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39933 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39934 (struct flock): Move l_start, l_len to the beginning.
39935 Use __pid_t for l_pid.
39936 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39937 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39938 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39939 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39940 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39941 [__USE_LARGEFILE64] (struct flock64): New type.
39942 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39943
f0bd3e25
RM
39944 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39945 * bits/dirent.h: ... here.
39946
d34689de
RM
39947 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39948 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39949
6dad2c06
JM
399502012-08-07 Joseph Myers <joseph@codesourcery.com>
39951
39952 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39953 Change from 2.6.0 to 2.6.16.
39954 * sysdeps/unix/sysv/linux/configure: Regenerated.
39955 * sysdeps/unix/sysv/linux/kernel-features.h
39956 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39957 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39958 version.
39959 (__ASSUME_UTIMES): Likewise.
39960 (__ASSUME_CLONE_STOPPED): Remove.
39961 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39962 architectures, not kernel version.
39963 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39964 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39965 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39966 (__ASSUME_WAITID_SYSCALL): Likewise.
39967 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39968 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39969 * README: State 2.6.16 as minimum Linux kernel version. Do not
39970 refer to older versions.
39971
03af9520
RM
399722012-08-06 Roland McGrath <roland@hack.frob.com>
39973
8e49df1d
RM
39974 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39975 Define alphasort64 as an alias.
39976 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39977 Define versionsort64 as an alias.
39978 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39979 Define scandir64 as an alias.
39980 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39981 Define scandirat64 as an alias.
39982 * dirent/alphasort64.c (alphasort64):
39983 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39984 * dirent/versionsort64.c: Likewise.
39985 * dirent/scandir64.c: Likewise.
39986 * dirent/scandirat64.c: Likewise.
39987 * sysdeps/wordsize-64/alphasort.c: File removed.
39988 * sysdeps/wordsize-64/alphasort64.c: File removed.
39989 * sysdeps/wordsize-64/scandir.c: File removed.
39990 * sysdeps/wordsize-64/scandir64.c: File removed.
39991 * sysdeps/wordsize-64/scandirat.c: File removed.
39992 * sysdeps/wordsize-64/scandirat64.c: File removed.
39993 * sysdeps/wordsize-64/versionsort.c: File removed.
39994 * sysdeps/wordsize-64/versionsort64.c: File removed.
39995 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39996 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39997 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39998 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39999 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40000 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40001 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40002 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40003
40004 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40005 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40006 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40007 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40008 [defined __arch64__ || defined __sparcv9]
40009 (__INO_T_MATCHES_INO64_T): New macro.
40010 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40011 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40012 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40013 * sysdeps/unix/sysv/linux/bits/dirent.h
40014 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40015 (_DIRENT_MATCHES_DIRENT64): New macro.
40016
03af9520
RM
40017 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40018 Define lockf64 as an alias.
40019 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40020 Define fseeko64 as an alias.
40021 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40022 Define ftello64 as an alias.
40023 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40024 Define _IO_fgetpos64 and fgetpos64 as aliases.
40025 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40026 Define _IO_fsetpos64 and fsetpos64 as aliases.
40027 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40028 Conditionalize body on this.
40029 * libio/fseeko64.c: Likewise.
40030 * libio/ftello64.c: Likewise.
40031 * libio/iofgetpos64.c: Likewise.
40032 * libio/iofsetpos64.c: Likewise.
40033 * sysdeps/wordsize-64/lockf.c: File removed.
40034 * sysdeps/wordsize-64/lockf64.c: File removed.
40035 * sysdeps/wordsize-64/fseeko.c: File removed.
40036 * sysdeps/wordsize-64/fseeko64.c: File removed.
40037 * sysdeps/wordsize-64/ftello.c: File removed.
40038 * sysdeps/wordsize-64/ftello64.c: File removed.
40039 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40040 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40041 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40042 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40043 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40044 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40045 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40046 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40047 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40048 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40049 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40050 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40051 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40052 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40053
40054 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40055 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40056 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40057 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40058 [defined __arch64__ || defined __sparcv9]
40059 (__OFF_T_MATCHES_OFF64_T): New macro.
40060 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40061 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40063 (__OFF_T_MATCHES_OFF64_T): New macro.
40064
c5757acd
L
400652012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40066
40067 * stdlib/secure-getenv.c (__secure_getenv): Replace
40068 GLIBC_2_16 with GLIBC_2_17.
40069
3a31811e
L
400702012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40071
40072 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40073 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40074
faa2bccb
DM
400752012-08-03 David S. Miller <davem@davemloft.net>
40076
40077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40078
85fe1997
JM
400792012-08-03 Joseph Myers <joseph@codesourcery.com>
40080
40081 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40082 Remove.
40083 (__ASSUME_CORRECT_SI_PID): Likewise.
40084 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40085 (__ASSUME_TMPFS_NAME): Likewise.
40086 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40087 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40088 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40089 (HAVE_AUX_SECURE): Make definition unconditional.
40090 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40091 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40092
4f75b7a0
RM
400932012-08-03 Roland McGrath <roland@hack.frob.com>
40094
40095 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40096 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40097 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40098 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40099 __eloop_threshold instead of SYMLOOP_MAX.
40100
40101 * sysdeps/generic/eloop-threshold.h: New file.
40102 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40103 of MAXSYMLINKS.
40104 * elf/chroot_canon.c (chroot_canon): Likewise.
40105
7aab07e4
JM
401062012-08-03 Joseph Myers <joseph@codesourcery.com>
40107
40108 [BZ #13717]
40109 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40110 Change to 2.6.0 everywhere.
40111 * sysdeps/unix/sysv/linux/configure: Regenerated.
40112 * sysdeps/unix/sysv/linux/kernel-features.h
40113 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40114 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40115 kernel versions.
40116 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40117 (__ASSUME_FUTEX_REQUEUE): Remove.
40118 (__ASSUME_STATFS64): Define unconditionally.
40119 (__ASSUME_AT_SECURE): Likewise.
40120 (__ASSUME_CORRECT_SI_PID): Likewise.
40121 (__ASSUME_TGKILL): Define without depending on kernel version for
40122 i386.
40123 (__ASSUME_UTIMES): Likewise.
40124 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40125 kernel version.
40126 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40127 (__ASSUME_TMPFS_NAME): Likewise.
40128 * README: Update reference to Linux kernel versions.
40129
b67e9372
MP
401302012-08-02 Marek Polacek <polacek@redhat.com>
40131
1f529f7d 40132 [BZ# 14150]
b67e9372
MP
40133 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40134 libc_cv_asm_type_prefix with %.
40135 * configure: Regenerated.
d2441631
RM
40136 * include/libc-symbols.h: Remove comment about
40137 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
40138 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40139 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40140 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40141 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40142 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40143 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40144 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40145 * elf/tst-unique2mod1.c: Likewise.
40146 * elf/tst-unique1mod2.c: Likewise.
40147 * elf/tst-unique1mod1.c: Likewise.
40148 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40149 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40150 Replace ASM_TYPE_DIRECTIVE with .type.
40151 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40152 * sysdeps/i386/sysdep.h: Likewise.
40153 * sysdeps/x86_64/sysdep.h: Likewise.
40154 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
40155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40156 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 40157 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
40158 * sysdeps/powerpc/powerpc32/sysdep.h:
40159 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
40160 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40161 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40162 * sysdeps/i386/fpu/e_powf.S: Likewise.
40163 * sysdeps/i386/fpu/e_expl.S: Likewise.
40164 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40165 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40166 * sysdeps/i386/fpu/e_pow.S: Likewise.
40167 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40168 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40169 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40170 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40171 * sysdeps/i386/fpu/e_log2.S: Likewise.
40172 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40173 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40174 * sysdeps/i386/fpu/e_powl.S: Likewise.
40175 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40176 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40177 * sysdeps/i386/fpu/e_logl.S: Likewise.
40178 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40179 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40180 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40181 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40182 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40183 * sysdeps/i386/fpu/e_log.S: Likewise.
40184 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40185 * sysdeps/i386/fpu/e_logf.S: Likewise.
40186 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40187 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40188 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40189 * sysdeps/i386/fpu/e_log10.S: Likewise.
40190 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40191 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40192 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40193 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40194 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40195 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40196 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40197 * sysdeps/i386/i686/strtok.S: Likewise.
40198 * sysdeps/i386/i386-mcount.S: Likewise.
40199 * sysdeps/i386/strtok.S: Likewise.
40200 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40201 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40202 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40203 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40204 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40205 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40206 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40207 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40208 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40209 * sysdeps/x86_64/_mcount.S: Likewise.
40210 * sysdeps/x86_64/strtok.S: Likewise.
40211 * sysdeps/sh/_mcount.S: Likewise.
40212
2747bf9a
RM
402132012-08-01 Roland McGrath <roland@hack.frob.com>
40214
40215 * libio/iofopen.c: Include <fcntl.h>.
40216 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40217 (_IO_fopen64, fopen64): Define as aliases.
40218 * libio/iofopen64.c: Include <fcntl.h>.
40219 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40220 Conditionalize body on this.
40221 * sysdeps/wordsize-64/iofopen.c: File removed.
40222 * sysdeps/wordsize-64/iofopen64.c: File removed.
40223
3fb791b8
MP
402242012-08-01 Marek Polacek <polacek@redhat.com>
40225
40226 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40227 Use dlfcn directly instead of a variable.
40228 (binfmt-subdir): Do not define.
40229 (dlfcn): Likewise.
40230
a9f1039f
JM
402312012-08-01 Joseph Myers <joseph@codesourcery.com>
40232
23bddc06
JM
40233 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40234 Remove all definitions.
40235 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40236 <kernel-features.h>.
40237 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40238 (miss_F_GETOWN_EX): Remove all definitions.
40239 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40240 macro definition.
40241 [!__ASSUME_FCNTL64]: Remove conditional code.
40242 [__ASSUME_FCNTL64]: Make code unconditional.
40243 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40244 <kernel-features.h>.
40245 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40246 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40247 (lockf64) [__NR_fcntl64]: Make code unconditional.
40248 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40249
a9f1039f
JM
40250 * sysdeps/unix/sysv/linux/kernel-features.h
40251 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40252 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40253 Make code unconditional.
40254 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40255 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40257 [__NR_vfork]: Make code unconditional.
40258 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40259 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40261 [__NR_vfork]: Make code unconditional.
40262 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40263 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40264
09c0ee5f
RM
402652012-08-01 Roland McGrath <roland@hack.frob.com>
40266
48aec5b9
RM
40267 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40268 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40269
cd97c966
RM
40270 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40271 Define mkstemp64 as an alias.
3f55550c
RM
40272 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40273 Define mkstemps64 as an alias.
cd97c966
RM
40274 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40275 Define mkostemp64 as an alias.
b8625cfc
RM
40276 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40277 Define mkostemps64 as an alias.
cd97c966
RM
40278 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40279 Conditionalize body on this.
40280 * misc/mkostemp64.c: Likewise.
b8625cfc 40281 * misc/mkostemps64.c: Likewise.
3f55550c 40282 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40283 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40284 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40285 * sysdeps/wordsize-64/mkostemp.c: File removed.
40286 * sysdeps/wordsize-64/mkstemp.c: File removed.
40287 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40288 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40289 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40290 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40291
09c0ee5f
RM
40292 [BZ #14138]
40293 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40294 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40295 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40296 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40297
40298 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40299 compat_symbol macros from <shlib-compat.h> rather than the underlying
40300 default_symbol_version and symbol_version macros, so that DEFAULT
40301 lines in shlib-versions are respected.
40302 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40303
7e66ee51
FW
403042012-08-01 Florian Weimer <fweimer@redhat.com>
40305
40306 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40307 Declare with warn_unused_result.
40308 (setgid, setregid, setegid, setresgid): Likewise.
40309 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40310 Likewise.
40311 * WUR-REPORT: Remove set*id functions.
40312
d2a54255
PT
403132012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40314
40315 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40316
7ecdb005
RM
403172012-07-31 Roland McGrath <roland@hack.frob.com>
40318
b4180a5e 40319 [BZ #10191]
789bd351
RM
40320 * include/sys/socket.h (__libc_accept, __libc_accept4):
40321 Add attribute_hidden.
40322 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40323
40ce302d
RM
40324 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40325 use of PTR_MANGLE.
40326 * inet/getnetgrent_r.c (setup): Likewise.
40327
7ecdb005
RM
40328 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40329
e2eabb2c
DM
403302012-07-31 David S. Miller <davem@davemloft.net>
40331
40332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40333
d0419dbf
JM
403342012-07-31 Joseph Myers <joseph@codesourcery.com>
40335
40336 [BZ #13629]
40337 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40338 value between 1.0 and 2.0 and smaller part has absolute value less
40339 than 1.0.
40340 * math/s_clog10.c (__clog10): Likewise.
40341 * math/s_clog10f.c (__clog10f): Likewise.
40342 * math/s_clog10l.c (__clog10l): Likewise.
40343 * math/s_clogf.c (__clogf): Likewise.
40344 * math/s_clogl.c (__clogl): Likewise.
40345 * math/libm-test.inc (clog_test): Add more tests.
40346 (clog10_test): Likewise.
40347 * sysdeps/i386/fpu/libm-test-ulps: Update.
40348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40349
2bc13872
FW
403502012-07-31 Florian Weimer <fweimer@redhat.com>
40351
40352 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40353 Exit with zero in case no suitable GID is found, and write a
40354 message to standard error.
40355
bea9b193
RM
403562012-07-30 Roland McGrath <roland@hack.frob.com>
40357
40358 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40359 rather than to 1.
40360 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40361 (MAXPATHLEN): Removed.
40362 (NOGROUP, NODEV): New macros.
40363 (setbit, clrbit, isset, isclr): New macros.
40364 (howmany, roundup, powerof2): New macros.
40365 (DEV_BSIZE): New macro.
40366
40367 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40368 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40369
40370 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40371 definition on [!__NO_LONG_DOUBLE_MATH].
40372
40373 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40374 PTR_MANGLE and PTR_DEMANGLE.
40375
40376 * socket/accept4.c (accept4): Rename to __libc_accept4.
40377 Define accept4 as a weak alias.
40378
40379 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40380 on [_DIRENT_HAVE_D_TYPE].
40381 * io/ftw.c (ftw_dir): Likewise.
40382
40383 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40384
40385 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40386
40387 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40388 Use the BSD numbers rather than the arbitrary ones we had.
40389 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40390 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40391 (SIGXCPU, SIGXFSZ): New macros.
40392 (_NSIG): Now 32.
40393
40394 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40395 initializer on [_LIBC_REENTRANT].
40396
40397 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40398 definitions inside [_POSIX_MAPPED_FILES].
40399
40400 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40401
40402 * dirent/opendir.c: Include <fcntl.h>.
40403
40404 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40405 (__libc_getspecific): Likewise.
40406 (__libc_key_create): Likewise.
40407
40408 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40409 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40410 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40411 (tmpfile64): Define as alias.
40412 * sysdeps/wordsize-64/tmpfile.c: File removed.
40413 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40414 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40415 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40416
40417 * stdio-common/vfscanf.c: Include <stdbool.h>.
40418 * nss/makedb.c: Likewise.
40419 * stdio-common/_i18n_number.h: Likewise.
40420 * argp/argp-help.c: Likewise.
40421 * posix/wordexp.c: Likewise.
40422 * sysdeps/posix/spawni.c: Likewise.
40423 * nss/nss_files/files-initgroups.c: Likewise.
40424 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40425 * nss/nss_files/files-initgroups.c: Likewise.
40426 * nss/nss_db/db-netgrp.c: Likewise.
40427 * nss/nss_db/db-initgroups.c: Likewise.
40428 * io/fchmodat.c: Include <sys/stat.h>.
40429
40430 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40431 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40432
40433 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40434 [HAVE_MMAP].
40435
40436 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40437 Add multiple inclusion protection.
40438
e5abc686
DM
404392012-07-27 David S. Miller <davem@davemloft.net>
40440
40441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40442
815e6fa3
GB
404432012-07-27 Gary Benson <gbenson@redhat.com>
40444
40445 [BZ #14298]
40446 * elf/rtld.c: Include <stap-probe.h>.
40447 (dl_main): Added static probes "init_start" and "init_complete".
40448 * elf/dl-load.c: Include <stap-probe.h>.
40449 (lose): Take new parameter "nsid".
40450 Added static probe "map_failed".
40451 (_dl_map_object_from_fd): Pass namespace id to lose.
40452 Added static probe "map_start".
40453 (open_verify): Pass namespace id to lose.
40454 * elf/dl-open.c: Include <stap-probe.h>.
40455 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40456 and "reloc_complete".
40457 * elf/dl-close.c: Include <stap-probe.h>.
40458 (_dl_close_worker): Added static probes "unmap_start" and
40459 "unmap_complete".
40460 * elf/rtld-debugger-interface.txt: New file documenting the above.
40461
9f98c16c
RM
404622012-07-26 Roland McGrath <roland@hack.frob.com>
40463
40464 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40465 rather than a string variable.
40466 * sunrpc/rpc_main.c (h_output): Likewise.
40467 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40468
f3c22df3
PT
404692012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40470
40471 * inet/check_native.c: New file.
40472
3129cfc6
JM
404732012-07-26 Joseph Myers <joseph@codesourcery.com>
40474
da865e95
JM
40475 [BZ #13629]
40476 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40477 if larger part has absolute value 1.0.
40478 * math/s_clog10.c (__clog10): Likewise.
40479 * math/s_clog10f.c (__clog10f): Likewise.
40480 * math/s_clog10l.c (__clog10l): Likewise.
40481 * math/s_clogf.c (__clogf): Likewise.
40482 * math/s_clogl.c (__clogl): Likewise.
40483 * math/libm-test.inc (clog_test): Add more tests.
40484 (clog10_test): Likewise.
40485 * sysdeps/i386/fpu/libm-test-ulps: Update.
40486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40487
3129cfc6
JM
40488 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40489 (pltexit): Likewise.
40490 (La_regs): Likewise.
40491 (La_retval): Likewise.
40492 (int_retval): Likewise.
40493 Update #error for removed macros to refer only to definitions in
40494 tst-audit.h.
40495 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40496 macro.
40497 (pltexit): Likewise.
40498 (La_regs): Likewise.
40499 (La_retval): Likewise.
40500 (int_retval): Likewise.
40501 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40502 macro.
40503 (pltexit): Likewise.
40504 (La_regs): Likewise.
40505 (La_retval): Likewise.
40506 (int_retval): Likewise.
40507 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40508 macro.
40509 (pltexit): Likewise.
40510 (La_regs): Likewise.
40511 (La_retval): Likewise.
40512 (int_retval): Likewise.
40513 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40514 macro.
40515 (pltexit): Likewise.
40516 (La_regs): Likewise.
40517 (La_retval): Likewise.
40518 (int_retval): Likewise.
40519 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40520 macro.
40521 (pltexit): Likewise.
40522 (La_regs): Likewise.
40523 (La_retval): Likewise.
40524 (int_retval): Likewise.
40525 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40526 macro.
40527 (pltexit): Likewise.
40528 (La_regs): Likewise.
40529 (La_retval): Likewise.
40530 (int_retval): Likewise.
40531 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40532 macro definitions in tst-audit.h.
40533 * sysdeps/i386/tst-audit.h: New file.
40534 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40535 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40536 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40537 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40538 * sysdeps/sh/tst-audit.h: Likewise.
40539 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40540 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40541 * sysdeps/x86_64/tst-audit.h: Likewise.
40542
bfc07087
AJ
405432012-07-26 Andreas Jaeger <aj@suse.de>
40544
b1b2aaf8
AJ
40545 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40546 ptrace.
40547
40548 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40549 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40550 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40551 PTRACE_O_MASK.
40552 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40553 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40554 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40555
bfc07087
AJ
40556 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40557 value.
40558
40559 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40560 _sigsys.
40561 (si_call_addr, si_syscall, si_arch): Define new macro.
40562 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40563 _sigsys.
40564 (si_call_addr, si_syscall, si_arch): Define new marcro.
40565 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40566 _sigsys.
40567 (si_call_addr, si_syscall, si_arch): Define new macro.
40568 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40569 _sigsys.
40570 (si_call_addr, si_syscall, si_arch): Define new macro.
40571
89b4b02f
JM
405722012-07-25 Joseph Myers <joseph@codesourcery.com>
40573
40574 [BZ #13717]
40575 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40576 Change to 2.4.21 where previously 2.4.1.
40577 * sysdeps/unix/sysv/linux/configure: Regenerated.
40578 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40579 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40580 Linux kernel version.
40581 (__ASSUME_STD_AUXV): Remove.
40582 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40583 kernel version.
40584 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40585 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40586 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40587 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40588 (__ASSUME_NETLINK_SUPPORT): Likewise.
40589 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40590 (__no_netlink_support): Remove conditional definition.
40591 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40592 Remove.
40593 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40594 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40595 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40596 (if_nameindex_ioctl): Remove.
40597 (if_nameindex_netlink): Do not handle __no_netlink_support.
40598 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40599 code.
40600 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40601 Remove conditional code.
40602 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40603 code.
40604 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40605 unconditional.
40606 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40607 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40608 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40609 Remove.
40610 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40611 [!__ASSUME_STD_AUXV]: Remove conditional code.
40612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40613 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40614 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40616 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40617 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40618 code.
40619 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40621 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40622 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40623 conditional code.
40624 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40626 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40627 code.
40628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40629 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40630 conditional code.
40631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40632 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40633 code unconditional.
40634 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40635 conditional code.
40636 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40637 unconditional.
40638 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40639 conditional code.
40640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40641 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40642 unconditional.
40643 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40644 conditional code.
40645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40646 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40647 code unconditional.
40648 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40649 conditional code.
40650 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40651 unconditional.
40652 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40653 conditional code.
40654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40655 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40656 code unconditional.
40657 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40658 conditional code.
40659 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40660 unconditional.
40661 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40662 conditional code.
40663
842a39cd
AS
406642012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40665
40666 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40667 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40668 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40669 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40670 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40671 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40672 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40673 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40674 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40675 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40676 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40677 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40678 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40679 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40680 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40681 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40682 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40683 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40684 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40686 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40687 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40688 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40689
84b3fd84
FW
406902012-07-25 Florian Weimer <fweimer@redhat.com>
40691
40692 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40693 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40694 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40695 Introduce __libc_secure_getenv.
0c7936d5
FW
40696 * stdlib/Versions (2.17): Add secure_getenv
40697 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40698 * stdlib/secure-getenv.c: Rename __secure_getenv to
40699 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40700 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40701 * stdlib/tst-secure-getenv.c: New.
40702 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40703 * manual/startup.texi (Environment Access): Document
40704 secure_getenv.
84b3fd84
FW
40705 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40706 __libc_secure_getenv.
40707 * inet/ruserpass.c (ruserpass): Likewise.
40708 * malloc/mtrace.c (mtrace): Likewise.
40709 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40710 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40711 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40712 * sysdeps/posix/tempname.c: Likewise. Evaluate
40713 HAVE_SECURE_GETENV.
40714 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40715 __secure_getenv to __libc_secure_getenv.
84b3fd84 40716 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
40717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40718 Likewise.
40719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40720 Likewise.
40721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40723 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40728
56e49b71
JM
407292012-07-25 Joseph Myers <joseph@codesourcery.com>
40730
40731 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40732 (struct La_i86_retval): Likewise.
40733 (struct La_x86_64_regs): Likewise.
40734 (struct La_x86_64_retval): Likewise.
40735 (struct La_x32_regs): Likewise.
40736 (struct La_x32_retval): Likewise.
40737 (struct La_ppc32_regs): Likewise.
40738 (struct La_ppc32_retval): Likewise.
40739 (struct La_ppc64_regs): Likewise.
40740 (struct La_ppc64_retval): Likewise.
40741 (struct La_sh_regs): Likewise.
40742 (struct La_sh_retval): Likewise.
40743 (struct La_s390_32_regs): Likewise.
40744 (struct La_s390_32_retval): Likewise.
40745 (struct La_s390_64_regs): Likewise.
40746 (struct La_s390_64_retval): Likewise.
40747 (struct La_sparc32_regs): Likewise.
40748 (struct La_sparc32_retval): Likewise.
40749 (struct La_sparc64_regs): Likewise.
40750 (struct La_sparc64_retval): Likewise.
40751 (struct audit_ifaces): Remove architecture-specific pltenter and
40752 pltexit members.
40753 * sysdeps/i386/ldsodefs.h: New file.
40754 * sysdeps/powerpc/ldsodefs.h: Likewise.
40755 * sysdeps/s390/ldsodefs.h: Likewise.
40756 * sysdeps/sh/ldsodefs.h: Likewise.
40757 * sysdeps/sparc/ldsodefs.h: Likewise.
40758 * sysdeps/x86_64/ldsodefs.h: Likewise.
40759
354691b7
MP
407602012-07-25 Marek Polacek <polacek@redhat.com>
40761
40762 [BZ #6808]
40763 * math/libm-test.inc (yn_test): Add another test.
40764 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40765 to ERANGE when the result is +-Inf.
40766 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40767 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40768 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40769 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40770
bf9e2071
JM
407712012-07-24 Joseph Myers <joseph@codesourcery.com>
40772
40773 * conform/data/time.h-data (NULL): Use macro-constant. Require
40774 equal to 0.
40775 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40776 clock_t.
40777 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40778
57633811
TS
407792012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40780
40781 * configure.in <sysdeps resolving>: Correct printing
40782 Implies_before.
40783 * configure: Regenerate.
40784
c23c33b0
TS
407852012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40786
40787 * math/w_ilogb.c: Include <limits.h>.
40788 * math/w_ilogbl.c: Likewise.
40789
b5982523
JM
407902012-07-20 Joseph Myers <joseph@codesourcery.com>
40791
40792 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40793 va_copy. Document allowing for unavailable va_copy only as
40794 pre-C99 compatibility.
40795 * manual/string.texi (Copying and Concatenation): Use va_copy
40796 instead of __va_copy in concat example.
40797
ac4ea442
PT
407982012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40799
40800 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40801 (__sendto): Use create_address_port. Initialize APORT and deallocate
40802 it if not null.
40803
f98eafbd
PT
40804 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40805 with O_NOLINK passed to __file_name_lookup.
40806
898c7aab
PT
40807 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40808 with O_NOLINK passed to __file_name_lookup.
40809
0ced335a
PT
40810 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40811 negative N or less than NGIDS.
40812
b3404dbd
PT
40813 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40814 type to string_t. Set ERANGE as errno and return it if NAME is not big
40815 enough. Use memcpy instead of strncpy.
40816
0f48659e
JM
408172012-07-20 Joseph Myers <joseph@codesourcery.com>
40818
40819 * elf/Makefile (check-data): Remove.
40820 (localplt.data): New vpath directive.
40821 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40822 instead of $(check-data).
40823 * scripts/data/localplt-generic.data: Move to ...
40824 * sysdeps/generic/localplt.data: ... here.
40825 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40826 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40827 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40829 ... here.
40830 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40832 ... here.
40833 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40835 ... here.
40836 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40838 ... here.
40839 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40841 ... here.
40842 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40844 ... here.
40845
d37cbdaa
AZ
408462012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40847
40848 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40849 PPC32 and PPC64 files.
40850 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40851 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40852
46f85fc2
AK
408532012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40854
40855 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40856 __makecontext_ret to ...
40857 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40858 ... here and call exit if uc_link is NULL. New file.
40859 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40860 __makecontext_ret.S.
40861 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40862 __makecontext_ret to ...
40863 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40864 ... here and call exit if uc_link is NULL. New file.
40865 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40866 __makecontext_ret.S.
40867
08f43f9b
AK
408682012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40869
40870 * elf/elf.h (R_390_IRELATIVE): New definition.
40871 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40872 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40873 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40874 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40875 (elf_machine_lazy_rel): Likewise.
40876 * sysdeps/s390/dl-irel.h: New file.
40877 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40878 * sysdeps/s390/s390-64/memset.S: New asm code.
40879 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40880 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40881 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40882 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40883 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40884 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40885 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40886 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40887 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40888 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40889 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40890 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40891 * sysdeps/s390/s390-32/memset.S: New asm code.
40892 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40893
3b05db33
MP
408942012-07-17 Marek Polacek <polacek@redhat.com>
40895
40896 [BZ #14349]
40897 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40898 * sysdeps/s390/s390-64/configure.in: Likewise.
40899 * sysdeps/sparc/configure.in: Likewise.
40900 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40901 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40902 * sysdeps/i386/configure.in: Likewise.
40903 * sysdeps/x86_64/configure.in: Likewise.
40904 * sysdeps/sh/configure.in: Likewise.
40905 * sysdeps/s390/s390-32/configure: Regenerated.
40906 * sysdeps/s390/s390-64/configure: Likewise.
40907 * sysdeps/x86_64/configure: Likewise.
40908 * sysdeps/sh/configure: Likewise.
40909 * sysdeps/powerpc/powerpc64/configure: Likewise.
40910 * sysdeps/powerpc/powerpc32/configure: Likewise.
40911 * sysdeps/sparc/configure: Likwise.
40912 * sysdeps/i386/configure: Likewise.
40913
a66877c6
MP
40914 * elf/dl-open.c: Comment fixes.
40915
cfc82fd8
JM
409162012-07-17 Joseph Myers <joseph@codesourcery.com>
40917
bd29910a
JM
40918 * Makefile [CXX] (check-data): Remove.
40919 [CXX] (c++-types.data): New vpath directive.
40920 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40921 vpath. Do not allow for C++ type data being missing.
40922 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40923 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40924 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40925 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40926 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40927 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40928 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40930 ... here.
40931 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40933 ... here.
40934 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40936 ... here.
40937 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40939 ... here.
40940 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40942 ... here.
40943 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40945 ... here.
40946 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40948 ... here.
40949 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40951
cfc82fd8
JM
40952 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40953 definitions to architecture-specific files.
40954 (TLS_IE): Likewise.
40955 (TLS_LD): Likewise.
40956 (TLS_GD): Likewise.
40957 * sysdeps/i386/tls-macros.h: New file.
40958 * sysdeps/powerpc/tls-macros.h: Likewise.
40959 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40960 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40961 * sysdeps/sh/tls-macros.h: Likewise.
40962 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40963 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40964 * sysdeps/x86_64/tls-macros.h: Likewise.
40965
f7db3170
TS
409662012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40967
07cbfc23
TS
40968 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40969 zero value for regular exit case.
40970
f7db3170
TS
40971 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40972 (__start_context): Preserve zero value for regular exit case.
40973
dc97c227
TS
409742012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40975 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40976
40977 * manual/setjmp.texi (setcontext): Clarify normal process
40978 termination when uc_link is the null pointer.
40979 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40980 exit call.
40981
d0cd7d02
AS
409822012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40983
40984 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40985 preprocessor. Test for each exception mask separately.
40986
dd318934
AJ
409872012-07-16 Andreas Jaeger <aj@suse.de>
40988
40989 * po/ru.po: Update from translation team.
40990
8048311a
JM
409912012-07-15 Joseph Myers <joseph@codesourcery.com>
40992
40993 * conform/data/string.h-data (NULL): Use macro-constant. Require
40994 equal to 0.
40995 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40996 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40997 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40998 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40999 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41000
b637d46e
AJ
410012012-07-13 Andreas Jaeger <aj@suse.de>
41002
41003 * po/fr.po: Update from translation team.
41004
541428fe
MP
410052012-07-12 Marek Polacek <polacek@redhat.com>
41006
41007 [BZ #14173]
41008 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41009 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41010 loop condition.
41011
ec332e94
JM
410122012-07-12 Joseph Myers <joseph@codesourcery.com>
41013
41014 [BZ #13717]
41015 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41016 Change to 2.4.1 where previously 2.4.0.
41017 * sysdeps/unix/sysv/linux/configure: Regenerated.
41018 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41019 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41020 version.
41021 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41022 (__ASSUME_AT_CLKTCK): Remove.
41023 (__ASSUME_AT_PAGESIZE): Likewise.
41024 (__ASSUME_AT_XID): Likewise.
41025 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41026 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41027 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41028 unconditionally.
41029 (HAVE_AUX_PAGESIZE): Likewise.
41030 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41031 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41032 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41033
7b6e99be
JB
410342012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41035
41036 [BZ #14307]
41037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41038 the temporary buffer used to invoke __gethostbyname2_r,
41039 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41040 host_data / struct gaih_addrtuple.
41041 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41042 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41043 header file nss/nsswitch.h.
41044 * nss/nsswitch.h (global scope): Add definition of implementation
41045 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41046 resolv/nss_dns/dns-host.c).
41047
608404eb
AJ
410482012-07-11 Andreas Jaeger <aj@suse.de>
41049
41050 * po/fr.po: Update from translation team.
41051
71220aca
AJ
41052 * po/sv.po: Update from translation team
41053 * po/fr.po: Another update from translation team.
41054
28cfe843
AZ
410552012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41056
41057 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41058 for subnormals or multiply small sinh result by itself.
41059 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41061
6b90f981
DM
410622012-07-11 David S. Miller <davem@davemloft.net>
41063
41064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41065
c6825772
AS
410662012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41067
41068 [BZ #14347]
41069 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41070 (INTERNAL_MARK): Shift it here.
41071
7b8e0d49
MP
410722012-07-10 Marek Polacek <polacek@redhat.com>
41073
41074 [BZ #14151]
41075 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41076 libc_cv_asm_global_directive with .globl.
41077 * configure: Regenerated.
41078 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41079 with .globl.
41080 * sysdeps/i386/configure: Regenerated.
41081 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41082 with .globl.
41083 * sysdeps/x86_64/configure: Regenerated.
41084 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41085 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41086 * elf/tst-unique2mod2.c: Likewise.
41087 * elf/tst-unique2mod1.c: Likewise.
41088 * elf/tst-unique1mod2.c: Likewise.
41089 * elf/tst-unique1mod1.c: Likewise.
41090 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41091 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41092 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41093 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41094 * sysdeps/mach/sysdep.h: Likewise.
41095 * sysdeps/i386/sysdep.h: Likewise.
41096 * sysdeps/i386/i386-mcount.S: Likewise.
41097 * sysdeps/x86_64/_mcount.S: Likewise.
41098 * sysdeps/x86_64/sysdep.h: Likewise.
41099 * sysdeps/sh/_mcount.S: Likewise.
41100 * sysdeps/sh/sysdep.h: Likewise.
41101 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41102 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41103 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41104 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41105 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41106 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41107 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41108 * locale/localeinfo.h: Likewise.
41109 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41110 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41111
6c55cda3
RM
411122012-07-09 Roland McGrath <roland@hack.frob.com>
41113
41114 [BZ #14336]
41115 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41116 system".
41117 * manual/message.texi (The Uniforum approach): Likewise.
41118 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41119 (glibc iconv Implementation): Likewise.
41120
638a572e
JM
411212012-07-09 Joseph Myers <joseph@codesourcery.com>
41122
41123 [BZ #14337]
41124 * math/s_clog.c (__clog): Avoid scaling a value down where that
41125 could result in underflow.
41126 * math/s_clog10.c (__clog10): Likewise.
41127 * math/s_clog10f.c (__clog10f): Likewise.
41128 * math/s_clog10l.c (__clog10l): Likewise.
41129 * math/s_clogf.c (__clogf): Likewise.
41130 * math/s_clogl.c (__clogl): Likewise.
41131 * math/libm-test.inc (clog_test): Add more tests.
41132 (clog10_test): Likewise.
41133 * sysdeps/i386/fpu/libm-test-ulps: Update.
41134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41135
261f4859
AS
411362012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41137
0abaf3e4
AS
41138 [BZ #14283]
41139 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41140 by 7 not 8 to examine high bit of fractional part.
41141
261f4859
AS
41142 [BZ #14042]
41143 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41144 for call to __mcount_internal.
41145 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41146 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41147 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41148
f17ac40d
JM
411492012-07-06 Joseph Myers <joseph@codesourcery.com>
41150
9ad63c23
JM
41151 [BZ #14154]
41152 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41153 approximation for values within 0x1p-13f of an odd multiple of
41154 pi/4.
41155 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41156 exception. Add more tests.
41157 * sysdeps/i386/fpu/libm-test-ulps: Update.
41158
f17ac40d
JM
41159 [BZ #6778]
41160 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41161 inputs and return -1 for them. Do not check for +Inf in case not
41162 reachable for +Inf.
41163 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41164 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41165 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41166 and return -1 for them. Do not check for +Inf in case not
41167 reachable for +Inf.
41168 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41169 define.
41170 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41171 and return -1 for them. Do not check for +Inf in case not
41172 reachable for +Inf.
41173 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41174 spurious underflow.
41175 * sysdeps/i386/fpu/libm-test-ulps: Update.
41176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41177
fb21f89b
MF
411782012-07-06 Mike Frysinger <vapier@gentoo.org>
41179
41180 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41181
cdfe2c5e
JM
411822012-07-05 Joseph Myers <joseph@codesourcery.com>
41183
41184 [BZ #14157]
41185 [BZ #14331]
41186 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41187 could result in spurious underflow. Scale down values above
41188 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41189 * math/s_csqrtf.c (__csqrtf): Likewise.
41190 * math/s_csqrtl.c (__csqrtl): Likewise.
41191 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41192 spurious underflow.
41193 * sysdeps/i386/fpu/libm-test-ulps: Update.
41194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41195
70d35b67
AS
411962012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41197
704bc459
AS
41198 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41199 xopen-msg.sed.
41200 * catgets/xopen-msg.awk: New file.
41201 * catgets/xopen-msg.sed: Removed.
41202
70d35b67
AS
41203 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41204 po2text.sed.
41205 * intl/po2test.awk: New file.
41206 * intl/po2test.sed: Removed.
41207
ca61cf32
JM
412082012-07-04 Joseph Myers <joseph@codesourcery.com>
41209
41210 [BZ #14328]
41211 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41212 or multiply small sinh result by itself.
41213 * math/s_ctanf.c (__ctanf): Likewise.
41214 * math/s_ctanh.c (__ctanh): Likewise.
41215 * math/s_ctanhf.c (__ctanhf): Likewise.
41216 * math/s_ctanhl.c (__ctanhl): Likewise.
41217 * math/s_ctanl.c (__ctanl): Likewise.
41218 * math/libm-test.inc (ctan_test_tonearest): New function.
41219 (ctan_test_towardzero): Likewise.
41220 (ctan_test_downward): Likewise.
41221 (ctan_test_upward): Likewise.
41222 (ctanh_test_tonearest): Likewise.
41223 (ctanh_test_towardzero): Likewise.
41224 (ctanh_test_downward): Likewise.
41225 (ctanh_test_upward): Likewise.
41226 (main): Call these new functions.
41227 * sysdeps/i386/fpu/libm-test-ulps: Update.
41228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41229
ca48a46a
MF
412302012-07-03 Mike Frysinger <vapier@gentoo.org>
41231
41232 * .gitignore: Delete /ports entry.
41233
9d63d37d
AJ
412342012-07-03 Andreas Jaeger <aj@suse.de>
41235
41236 * po/bg.po: Update from translation team.
41237 * po/cs.po: Likewise.
41238 * po/de.po: Likewise.
41239 * po/hr.po: Likewise.
41240 * po/nl.pl: Likewise.
41241 * po/pl.po: Likewise.
41242 * po/vi.po: Likewise.
41243
370ca3d2
JM
412442012-07-03 Joseph Myers <joseph@codesourcery.com>
41245
95f5a9a8
JM
41246 * Makeconfig [!+link] (+link-before-libc): New variable.
41247 [!+link] (+link-after-libc): Likewise.
41248 [!+link] (+link-tests): Likewise.
41249 [!+link] (+link): Define in terms of $(+link-before-libc) and
41250 $(+link-after-libc).
41251 [!+link-static] (+link-static-before-libc): New variable.
41252 [!+link-static] (+link-static-after-libc): Likewise.
41253 [!+link-static] (+link-static-tests): Likewise.
41254 [!+link-static] (+link-static): Define in terms of
41255 $(+link-static-before-libc) and $(+link-static-after-libc).
41256 [build-shared] (link-libc-before-gnulib): New variable.
41257 [build-shared] (link-libc-tests): Likewise.
41258 [build-shared] (link-libc): Define in terms of
41259 $(link-libc-before-gnulib).
41260 [!build-shared] (link-libc-tests): New variable.
41261 (link-libc-static-tests): New variable.
41262 [!gnulib] (gnulib-arch): New variable.
41263 [!gnulib] (gnulib-tests): Likewise.
41264 [!gnulib] (static-gnulib-arch): Likewise.
41265 [!gnulib] (static-gnulib-tests): Likewise.
41266 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41267 Define with "=" instead of ":=".
41268 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41269 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41270 * Rules (binaries-all-notests): New variable.
41271 (binaries-all-tests): Likewise.
41272 (binaries-static-notests): Likewise.
41273 (binaries-static-tests): Likewise.
41274 (binaries-all): Define using $(binaries-all-notests) and
41275 $(binaries-all-tests).
41276 (binaries-static): Define using $(binaries-static-notests) and
41277 $(binaries-static-tests).
41278 (binaries-shared-tests): New variable.
41279 (binaries-shared-notests): Likewise.
41280 (binaries-shared): Remove variable.
41281 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41282 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41283 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41284 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41285 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41286 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41287 * elf/Makefile (sln-modules): New variable.
41288 (extra-objs): Add $(sln-modules:=.o).
41289 (ldconfig-modules): Add static-stubs.
41290 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41291 * elf/static-stubs.c: New file.
41292
7a845b2c
JM
41293 [BZ #14283]
41294 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41295 by 7 not 8 to examine high bit of fractional part. Use volatile
41296 variables when splitting into final array of floats if
41297 __FLT_EVAL_METHOD__ != 0.
41298 * math/libm-test.inc (cos_test): Add another test.
41299 (sin_test): Likewise.
41300 * sysdeps/i386/fpu/libm-test-ulps: Update.
41301
e2283f38
JM
41302 [BZ #14273]
41303 * math/libm-test.inc (cosh_test): Add more tests.
41304
370ca3d2
JM
41305 * version.h (RELEASE): Set to "development".
41306 (VERSION): Set to "2.16.90".
41307
ee9247c3
CD
413082012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41309
41310 * NEWS: Update copyright. Remove last-updated date.
41311 Mention math library bug fixes and timezone data changes.
41312 * README: Mention GNU/Hurd, x32, and HPPA support status.
41313
4648c381
TS
413142012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41315
41316 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41317
aac78a43
AJ
413182012-06-27 Andreas Jaeger <aj@suse.de>
41319
41320 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41321
ed3dbfad
AJ
413222012-06-25 Andreas Jaeger <aj@suse.de>
41323
41324 * sysdeps/s390/fpu/libm-test-ulps: Update.
41325
4d0ee855
AS
413262012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41327 Thomas Schwinge <thomas@codesourcery.com>
41328
41329 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41330 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41331 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41332 fanotify_mark.
41333
af1bce34
TS
413342012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41335
a9fa33ba
TS
41336 * sysdeps/mach/start.c: Remove file.
41337 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41338 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41339 * sysdeps/sh/init-first.c: Likewise.
41340
58f902b8
TS
41341 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41342 registers for frame unwinding purposes, add CFI directives.
41343 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41344 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41345 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41346 Likewise.
41347
1518f58b
TS
41348 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41349 __fortify_fail returning.
41350 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41351
db9b5059
TS
41352 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41353 sysdeps/sh/____longjmp_chk.S.
41354 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41355 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41356 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41357 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41358
967705fe
TS
41359 * sysdeps/sh/abort-instr.h: New file.
41360 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41361 process in case exit returns.
41362
a9def8c4
TS
41363 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41364 initialize the GOT register before use.
41365
2a649725
TS
41366 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41367 calculation of ARGC > 4.
41368
af1bce34
TS
41369 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41370 meaningful names to some local labels.
41371
d230f50a
KK
413722012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41373 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41374
41375 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41376 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41377 (__arch_compare_and_exchange_val_16_acq): Likewise.
41378 (__arch_compare_and_exchange_val_32_acq): Likewise.
41379 (atomic_exchange_and_add): Fix gUSA sequence.
41380 (atomic_add): Likewise.
41381 (atomic_add_negative): Likewise.
41382 (atomic_add_zero): Likewise.
41383 (atomic_bit_test_set): Likewise.
41384
0479b305
AS
413852012-06-22 Andreas Schwab <schwab@redhat.com>
41386
41387 [BZ #13579]
41388 * include/link.h (struct link_map): Add l_free_initfini.
41389 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41390 l_initfini.
41391 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41392 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41393 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41394 set.
41395
0e3933b9
CD
413962012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41397
41398 * configure.in: Use AC_LANG_SOURCE.
41399 * configure: Regenerate.
41400
4248b1b1
RM
414012012-06-22 Roland McGrath <roland@hack.frob.com>
41402
41403 * configure.in (libc_cv_localstatedir): New substituted variable.
41404 * configure: Regenerated.
41405 * config.make.in (localstatedir): New variable, substituted from
41406 libc_cv_localstatedir.
41407 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41408 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41409 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41410 * sysdeps/gnu/configure: Regenerated.
41411
006dd861
JL
414122012-06-21 Jeff Law <law@redhat.com>
41413
41414 [BZ #14277]
41415 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41416 free. Simplify list management for _LIBC case.
41417
79662d42
JM
414182012-06-21 Joseph Myers <joseph@codesourcery.com>
41419
b7abb4bf
JM
41420 [BZ #14273]
41421 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41422 Clear sign bit of 64-bit integer value before comparing against
41423 overflow value.
41424
79662d42
JM
41425 * sysdeps/mach/configure: Regenerated.
41426
1f150908
L
414272012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41428
41429 [BZ #14278]
41430 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41431
28363bbf
JL
414322012-06-21 Jeff Law <law@redhat.com>
41433
41434 [BZ #13882]
41435 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41436 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41437 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41438 * elf/dl-open.c (dl_open_worker): Likewise.
41439
09615db4
CD
414402012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41441
41442 * scripts/list-sources.sh: Scan PORTS for translations.
41443 * po/libc.pot: Regenerated.
41444
2174c6dd
AJ
414452012-06-21 Andreas Jaeger <aj@suse.de>
41446
41447 [BZ #12194]
41448 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41449 warning.
41450 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41451 * bits/byteswap-16.h (__bswap_16): Likewise.
41452 * bits/byteswap.h (__bswap_constant_16): Likewise.
41453
3ee947b1
L
414542012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41455
41456 [BZ #14117]
a2f34833
L
41457 * sysdeps/i386/fpu_control.h: Removed.
41458 * sysdeps/x86_64/fpu_control.h: Moved to ...
41459 * sysdeps/x86/fpu_control.h: Here.
41460
3ee947b1
L
41461 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41462 (_FPU_SETCW): Likewise.
41463
ed1825f8
L
414642012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41465
25f1282a
L
41466 [BZ #14117]
41467 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41468 * sysdeps/x86/fpu/bits/mathinline.h: This.
41469 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41470
ed1825f8
L
41471 [BZ #14050]
41472 [BZ #14117]
41473 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41474 functions if __x86_64__ is defined.
41475
36d54b74
CLT
414762012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41477
41478 * string/endian.h: Add !__ASSEMBLER__ condition for including
41479 conversion interfaces.
41480
10285c21
JM
414812012-06-15 Joseph Myers <joseph@codesourcery.com>
41482
41483 [BZ #14241]
41484 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41485 of ABS(x) in calculating zero to negative powers other than odd
41486 integers.
41487 * math/libm-test.inc (pow_test): Add more tests.
41488
06c5abbd
AJ
414892012-06-15 Andreas Jaeger <aj@suse.de>
41490
41491 * manual/contrib.texi (Contributors): Update entry of Liubov
41492 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41493 Machado Filho.
41494
a3aeac40
CH
414952012-06-15 Cyril Hrubis <metan@ucw.cz>
41496
41497 * string/string.h: Add __wur to GNU version of strerror_r.
41498
49bdf4c1
L
414992012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41500
41501 [BZ #14229]
41502 * string/Makefile (tests): Add tst-strtok_r.
41503 * string/tst-strtok_r.c: New file.
41504 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41505 RAX_LP/RDX_LP on SAVE_PTR.
41506
834f9b8d
RM
415072012-06-14 Roland McGrath <roland@hack.frob.com>
41508
41509 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41510
75fa1921
JM
415112012-06-14 Joseph Myers <joseph@codesourcery.com>
41512
41513 * libm_test.inc (csqrt_test): Allow more spurious underflow
41514 exceptions.
41515 (j0_test): Likewise.
41516 (j1_test): Likewise.
41517 (y0_test): Likewise.
41518 (y1_test): Likewise.
41519
771766df
CD
415202012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41521
41522 * po/Makefile (libc.pot): Use UTF-8 charset.
41523
ceb9e56b
PP
415242012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41525
41526 [BZ #14210]
41527 Suppress sign-conversion warning from FD_SET.
41528 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41529 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41530 not unsigned long int.
41531 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41532
ddb28975
L
415332012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41534
41535 [BZ #14050]
41536 [BZ #14117]
41537 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41538 __extern_always_inline instead of __extern_inline.
41539 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41540 (__signbit): Likewise.
41541 (__signbitl): Support C++ namespace.
41542 (lrintf): New inline function.
41543 (lrint): Likewise.
41544 (llrintf): Likewise.
41545 (llrint): Likewise.
41546 (fmaxf): Likewise.
41547 (fmax): Likewise.
41548 (fminf): Likewise.
41549 (fmin): Likewise.
41550 (rint): Likewise.
41551 (rintf): Likewise.
41552 (ceil): Likewise.
41553 (ceilf): Likewise.
41554 (floor): Likewise.
41555 (floorf): Likewise.
41556 (nearbyint): Likewise.
41557 (nearbyintf): Likewise.
41558
d7b4fb26
TS
415592012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41560
41561 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41562 non-default versions.
41563
eb55f5c2
RM
415642012-06-11 Roland McGrath <roland@hack.frob.com>
41565
41566 [BZ #14218]
41567 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41568
366af02c
TS
415692012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41570
99ff6e5c
TS
41571 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41572 (FE_UPWARD, FE_DOWNWARD): Don't define.
41573 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41574 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41575
366af02c
TS
41576 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41577 reading it.
41578 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41579 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41580
793ea851
KK
415812012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41582
41583 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41584 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41585 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41586 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41587
a728a38f
L
415882012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41589
41590 [BZ #14117]
c08010c7
L
41591 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41592 * sysdeps/i386/fpu/Implies: New file.
41593 * sysdeps/x86_64/fpu/Implies: Likewise.
41594 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41595 * sysdeps/x86/fpu/bits/fenv.h: This.
41596
a728a38f
L
41597 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41598 __SSE_MATH__.
41599
6e230d11
SP
416002012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41601
41602 [BZ #14134]
41603 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41604 character 0xffff that matches the last element of the
41605 conversion table.
41606
1b671feb
AZ
416072012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41608
41609 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41610 fmodl commit.
41611
6043738b
AZ
416122012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41613
41614 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41615 values higher than 25.6283.
41616
34ae0b32
AZ
416172012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41618
41619 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41620 subnormal exponent extraction and add some __builtin_expect.
41621 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41622 Fix for subnormal mantissa calculation.
41623
1214ec8f
MF
416242012-06-04 Mike Frysinger <vapier@gentoo.org>
41625
41626 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41627 cpu2 is -1 and errno is not ENOSYS.
41628
f3d1f93c
L
416292012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41630
41631 [BZ #14117]
0e4a3cd7
L
41632 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41633 * sysdeps/x86/bits/string.h: This.
41634 * sysdeps/x86_64/bits/string.h: Removed.
41635
6704c645
L
41636 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41637 if not compiling for x86-64, but compiling for >= i486.
41638
48495318
L
41639 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41640 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41641
14adcbfc
L
41642 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41643 New macro from Linux kernel 3.4.0.
41644 (FP_XSTATE_MAGIC2): Likewise.
41645 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41646 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41647 (struct _fpx_sw_bytes): New struct.
41648 (struct _xsave_hdr): Likewise.
41649 (struct _ymmh_state): Likewise.
41650 (struct _xstate): Likewise.
41651
68e408ab
L
41652 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41653 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41654 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41655 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41656 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41657 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41658
f3d1f93c
L
41659 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41660 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41661 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41662 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41663 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41664 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41665
d9dc34cd
TMQMF
416662012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41667
41668 [BZ #13743]
41669 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41670 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41671 (sysdep_headers): Include sys/platform/ppc.h.
41672 * sysdeps/powerpc/test-gettimebase.c: Test for
41673 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41674 * manual/Makefile (appendices): Include platform.texi.
41675 * manual/contrib.texi (Contributors): Update @node pointers.
41676 * manual/maint.texi (Maintenance): Likewise.
41677 (Platform): New node.
41678 * manual/platform.texi: New file. Document the new features.
41679
4af3879c
SP
416802012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41681 Jakub Jelinek <jakub@redhat.com>
41682
41683 [BZ #14188]
41684 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41685 where __builtin_expect is unavailable.
41686
2fd6ff13
DM
416872012-06-03 David S. Miller <davem@davemloft.net>
41688
41689 * stdlib/longlong.h: Updated from GCC.
41690
173f7220
AS
416912012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41692
41693 [BZ #14042]
41694 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41695 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41696 __mcount_internal.
41697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41698 (GLIBC_2.16): Likewise.
41699
f34a1c6f
L
417002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41701
41702 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41703
88a4576f
JM
417042012-06-01 Joseph Myers <joseph@codesourcery.com>
41705
ea32bcdd
JM
41706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41707 (default-abi): New variable.
41708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41709 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41710 variable.
41711 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41712 Likewise.
41713 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41714 Likewise.
41715 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41716 Likewise.
41717
88a4576f
JM
41718 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41719 definition. Document in comment.
41720
402fe938
DM
417212012-06-01 David S. Miller <davem@davemloft.net>
41722
41723 * stdlib/longlong.h: Updated from GCC.
41724
3553723f
L
417252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41726
41727 [BZ #14117]
3bd872c4
L
41728 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41729 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41730 sys/debugreg.h sys/io.h here.
41731 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41732 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41733 sys/io.h.
41734 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41735 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41736 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41737 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41738 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41739 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41740
3553723f
L
41741 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41742 Define only if __x86_64__ is defined.
41743
4842e4fe
JM
417442012-06-01 Joseph Myers <joseph@codesourcery.com>
41745
c5bfe3d5
JM
41746 [BZ #14048]
41747 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41748 Use int64_t for variable i.
41749 * math/libm-test.inc (fmod_test): Add more tests.
41750
4842e4fe
JM
41751 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41752 z computation is not scheduled after fetestexcept.
41753 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41754 Use math_force_eval instead of asm to ensure calculation scheduled
41755 before exception test.
41756 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41757 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41758
efb73488
AJ
417592012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41760
41761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41762 computation is not scheduled after fetestexcept.
41763
29bcce7c
L
417642012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41765
41766 [BZ #14117]
41767 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41768 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41769
73a68f94
AZ
417702012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41771
41772 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41773 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41774
67b6df78
L
417752012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41776
edf2933a 41777 [BZ #14117]
ebc64a18
L
41778 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41779 <bits/wordsize.h>.
41780 (__WCHAR_MIN): Support __WORDSIZE == 64.
41781 (__WCHAR_MAX): Likewise.
41782
edf2933a
L
41783 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41784 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41785
57c6cf40
L
41786 [BZ #14183]
41787 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41788 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41789
67b6df78 41790 [BZ #14117]
8eb6281e
L
41791 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41792 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41793
aac639f4
L
41794 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41795 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41796
67b6df78
L
41797 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41798 Defined to 1 if __x86_64__ isn't defined.
41799 (_STAT_VER_LINUX_OLD): New.
41800 (st_atime): Remove duplicate.
41801 (st_mtime): Likewise.
41802 (st_ctime): Likewise.
41803
1c2cfe81
DM
418042012-05-31 David S. Miller <davem@davemloft.net>
41805
41806 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41807 entries.
41808
5be8418c
AS
418092012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41810
e7725326
AS
41811 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41812 gen-libm-test.pl.
41813
5be8418c
AS
41814 [BZ #14132]
41815 * elf/dl-reloc.c: Include <_itoa.h>.
41816 (_dl_reloc_bad_type): Remove use of INTUSE.
41817 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41818 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41819 * stdio-common/psiginfo.c (psiginfo): Likewise.
41820 * stdio-common/psignal.c (psignal): Likewise.
41821 * string/strsignal.c (strsignal): Likewise.
41822 * include/signal.h (_sys_siglist): Declare hidden proto.
41823 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41824 INTVARDEF with libc_hidden_data_def.
41825 * stdio-common/itoa-udigits.c: Likewise.
41826 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41827 (_itoa_lower_digits_internal): Remove declaration.
41828 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41829 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41830 (_sys_sigabbrev_internal): Remove aliases.
41831 (_sys_siglist): Define hidden alias.
41832
507352f1
MT
418332012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41834
41835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41836 bits/sysctl.h.
41837
42bbb1c3
L
418382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41839
41840 [BZ #14117]
6bd784b6
L
41841 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41842 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41843
8bca20f0
L
41844 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41845 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41846 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41847 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41848 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41849 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41850
f9e890a9
L
41851 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41852 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41853 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41854
471101a1
L
41855 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41856 with __addr.
41857 (insw): Likewise.
41858 (insl): Likewise.
41859 (outsb): Likewise.
41860 (outsw): Likewise.
41861 (outsl): Likewise.
41862
6451c862
L
41863 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41864 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41865 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41866
a254b8c9
L
41867 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41868 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41869 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41870 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41871 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41872 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41873
b8dfdd92
L
41874 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41875 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41876
578cd270
L
41877 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41878 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41879
de662f5f
L
41880 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41881 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41882 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41883
25653439
L
41884 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41885 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41886 to ...
41887 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41888
6bad24a0
L
41889 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41890 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41891 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41892
42bbb1c3
L
41893 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41894 for x86-64.
41895 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41896
2d10d547
JM
418972012-05-31 Joseph Myers <joseph@codesourcery.com>
41898
41899 * math/math.h (M_El): Use two more decimal places.
41900 (M_LOG2El): Likewise.
41901 (M_LOG10El): Likewise.
41902 (M_LN2l): Likewise.
41903 (M_LN10l): Likewise.
41904 (M_PIl): Likewise.
41905 (M_PI_2l): Likewise.
41906 (M_PI_4l): Likewise.
41907 (M_1_PIl): Likewise.
41908 (M_2_PIl): Likewise.
41909 (M_2_SQRTPIl): Likewise.
41910 (M_SQRT2l): Likewise.
41911 (M_SQRT1_2l): Likewise.
41912
f230c29b
DM
419132012-05-31 David S. Miller <davem@davemloft.net>
41914
41915 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41916 values between float registers.
41917 * sysdeps/sparc/sparc64/memset.S: Likewise.
41918 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41919
fed806c3
MF
419202012-05-31 Mike Frysinger <vapier@gentoo.org>
41921
41922 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41923 -D_FORTIFY_SOURCE=1.
41924 (CPPFLAGS-tst-longjmp_chk.c): Define.
41925 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41926 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41927 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41928 CFLAGS-tst-wchar-h.c.
41929
30917259
MP
419302012-05-31 Marek Polacek <polacek@redhat.com>
41931
41932 [BZ #14132]
41933 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41934 __endmntent_internal): Remove declaration.
41935 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41936 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41937 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41938
1c58d5dc
DM
419392012-05-30 David S. Miller <davem@davemloft.net>
41940
41941 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41942 (___Q_simulate_exceptions): Use real FP ops rather than writing
41943 into the %fsr.
41944 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41945 Likewise.
41946
7dc00e0d
L
419472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41948
41949 [BZ #14117]
0bd53985
L
41950 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41951 * sysdeps/x86/bits/xtitypes.h: This.
41952
3a257e66
L
41953 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41954 * sysdeps/x86/bits/wordsize.h: This.
41955
62f62904
L
41956 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41957 * sysdeps/x86/bits/huge_vall.h: This.
41958
404fe9d9
L
41959 * sysdeps/i386/bits/select.h: Removed.
41960 * sysdeps/x86_64/bits/select.h: Renamed to ...
41961 * sysdeps/x86/bits/select.h: This.
41962
d48d0446
L
41963 * sysdeps/i386/bits/setjmp.h: Removed.
41964 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41965 * sysdeps/x86/bits/setjmp.h: This.
41966
7dc00e0d
L
41967 * sysdeps/i386/bits/mathdef.h: Removed.
41968 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41969 * sysdeps/x86/bits/mathdef.h: This.
41970
03277f8f
AS
419712012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41972
41973 [BZ #14132]
41974 * include/sys/socket.h (__connect_internal)
41975 (__libc_sa_len_internal): Remove declaration.
41976 (__connect, __libc_sa_len): Declare hidden_proto.
41977 (SA_LEN): Remove use of INTUSE.
41978 * socket/connect.c: Add libc_hidden_def.
41979 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41980 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41981 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41982 alias.
41983 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41984 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41985 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41986 of adding _internal alias.
41987
13764867
L
419882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41989
41990 [BZ #14117]
6bd97696
L
41991 * sysdeps/i386/bits/link.h: Removed.
41992 * sysdeps/i386/bits/linkmap.h: Likewise.
41993 * sysdeps/x86_64/bits/link.h: Renamed to ...
41994 * sysdeps/x86/bits/link.h: This.
41995 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41996 * sysdeps/x86/bits/linkmap.h: This.
41997
f726f0bb
L
41998 * sysdeps/i386/bits/endian.h: Removed.
41999 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42000 * sysdeps/x86/bits/endian.h: This.
42001
13764867
L
42002 * sysdeps/i386/bits/byteswap.h: Removed.
42003 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42004 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42005 * sysdeps/x86/bits/byteswap.h: This.
42006 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42007 * sysdeps/x86/bits/byteswap-16.h: This.
42008 * sysdeps/i386/Implies: Add x86.
42009 * sysdeps/x86_64/Implies: Likewise.
42010
ae251b0b
DM
420112012-05-30 David S. Miller <davem@davemloft.net>
42012
42013 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42014 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42015 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42016 (FP_TRAPPING_EXCEPTIONS): Define.
42017 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42018 (FP_TRAPPING_EXCEPTIONS): Define.
42019 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42020 subnormals only when inexact has been signalled or underflow
42021 exceptions are enabled.
42022 (_FP_PACK_CANONICAL): Likewise.
42023
d5c90867
L
420242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42025
42026 [BZ #14183]
42027 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42028 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42029
63f1549e
RH
420302012-05-30 Richard Henderson <rth@twiddle.net>
42031
8d8f2279
RH
42032 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42033 with #ifndef NOT_IN_libc.
42034
63f1549e
RH
42035 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42036 marked to avoid plt entry.
42037
0ab0291b
L
420382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42039
42040 [BZ #14112]
42041 * Makeconfig (default-abi): New macro.
42042 (abi-includes): Likewise.
42043 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42044 $(abi-$(default-abi)-lib-soname) for soname if defined.
42045 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42046 abi-variants.
42047 * Makefile (installed-stubs): Likewise.
42048 * include/stubs-biarch.h: Removed.
42049 * scripts/lib-names.awk: Only handle one library at a time.
42050 * scripts/soversions.awk: Remove WORDSIZE support.
42051 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42052 entries.
42053 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42054 Removed.
42055 (syscall-list-default-condition): Likewise.
42056 (syscall-list-default-condition): Likewise.
42057 (syscall-list-includes): Likewise.
42058 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42059 syscall-list-* with abi-*. Handle undefined abi-variants.
42060 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42061 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42062 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42063 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42064 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42065 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42066 Removed.
42067 (syscall-list-32-options): Likewise.
42068 (syscall-list-32-condition): Likewise.
42069 (syscall-list-64-options): Likewise.
42070 (syscall-list-64-condition): Likewise.
42071 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42072 macro.
42073 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42074 Renamed to ...
42075 (abi-*): This.
42076 (abi-64-ld-soname): New macro.
42077 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42078 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42079 Renamed to ...
42080 (abi-*): This.
42081 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42082 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42083
4da0431d
JM
420842012-05-30 Joseph Myers <joseph@codesourcery.com>
42085
3a85279c
JM
42086 * sysdeps/unix/sysv/linux/kernel-features.h
42087 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42088 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42089 include <kernel-features.h>.
42090 [!__NR_ftruncate64]: Remove conditional code.
42091 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42092 [__NR_ftruncate64]: Make code unconditional.
42093 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42094 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42095 include <kernel-features.h>.
42096 [!__NR_ftruncate64]: Remove conditional code.
42097 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42098 [__NR_ftruncate64]: Make code unconditional.
42099 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42101 include <kernel-features.h>.
42102 [!__NR_ftruncate64]: Remove conditional code.
42103 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42104 [__NR_ftruncate64]: Make code unconditional.
42105 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42107 include <kernel-features.h>.
42108 [!__NR_ftruncate64]: Remove conditional code.
42109 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42110 [__NR_ftruncate64]: Make code unconditional.
42111 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42112
4da0431d
JM
42113 * configure.in (libc_cv_fpie): Weaken to a compile test using
42114 LIBC_TRY_CC_OPTION.
42115 * configure: Regenerated.
42116
11ef492c
AK
421172012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42118
42119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42123 Refreshed.
42124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42130 Refreshed.
42131
d66ef399
DM
421322012-05-27 David S. Miller <davem@davemloft.net>
42133
42134 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42135 (___Q_zero): New.
42136 (__Q_simulate_exceptions): Return void. Change to simulate
42137 exceptions by writing into the %fsr.
42138 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42139 (__Qp_handle_exceptions): Likewise.
42140 (numbers): Delete.
42141 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42142 __Qp_handle_exceptions.
42143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42144 __Qp_handle_exceptions.
42145 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42146 as unused and give dummy FP_RND_NEAREST initializer.
42147 (FP_INHIBIT_RESULTS): Define.
42148 (___Q_simulate_exceptions): Update declaration.
42149 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42150 formatting.
42151 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42152 as unused and give dummy FP_RND_NEAREST initializer.
42153 (__Qp_handle_exceptions): Update declaration.
42154 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42155 formatting.
42156
04fb54b5
TS
421572012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42158
42159 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42160 the temporary FPU control word.
42161 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42162 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42163 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42164 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42165 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42166 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42167 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42168 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42169 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42170 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42171 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42172
3f99608f
KK
421732012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42174
42175 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42176 fields.
42177
65a4de4e
CLT
421782012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42179
42180 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42181 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42182 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42183 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42184 Likewise.
42185 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42186 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42187 Likewise.
42188
15749d40
UD
421892012-05-27 Ulrich Drepper <drepper@gmail.com>
42190
42191 * po/h.po: Update from translation team.
42192
25dbcb27
AS
421932012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42194
3d3f8e55
AS
42195 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42196
25dbcb27
AS
42197 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42198 handling of denormals.
42199 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42200 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42201 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42202 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42203 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42204 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42205 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42206 Likewise.
42207
7ad47a80 422082012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42209
42210 [BZ #14152]
42211 * math/libm-test.inc (fma_test): Don't always expect underflow
42212 exception.
42213
9c6ea9fa
SP
422142012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42215
42216 [BZ #12416]
42217 * elf/tst-execstack.c: Include stackinfo.h.
42218 (do_test): Adjust test case to ensure that pthread_getattr_np
42219 behaviour remains the same after marking stack executable.
42220
a8239222
JM
422212012-05-25 Joseph Myers <joseph@codesourcery.com>
42222
42223 * sysdeps/unix/sysv/linux/kernel-features.h
42224 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42225 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42226 kernel-features.h.
42227 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42228 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42229 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42230 kernel-features.h.
42231 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42232 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42233
918b5606
L
422342012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42235
42236 * configure.in: Define the default includes to being none.
42237 * configure: Regenerated.
42238
3a097cc7
RM
422392012-05-25 Roland McGrath <roland@hack.frob.com>
42240
8422c9a5
RM
42241 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42242 * sysdeps/x86_64/setjmp.S: Likewise.
42243 * sysdeps/i386/bsd-setjmp.S: Likewise.
42244 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42245 * sysdeps/i386/setjmp.S: Likewise.
42246 * sysdeps/i386/__longjmp.S: Likewise.
42247 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42248 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42249
3a097cc7
RM
42250 * include/stap-probe.h: New file.
42251 * configure.in: Handle --enable-systemtap.
42252 * configure: Regenerated.
42253 * config.h.in (USE_STAP_PROBE): New #undef.
42254 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42255 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42256 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42257
21708942
JM
422582012-05-25 Joseph Myers <joseph@codesourcery.com>
42259
42260 [BZ #13717]
42261 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42262 to 2.4.0 where earlier.
42263 * sysdeps/unix/sysv/linux/configure: Regenerated.
42264 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42265 <kernel-features.h>.
42266 [__ASSUME_32BITUIDS]: Make code unconditional.
42267 [!__ASSUME_32BITUIDS]: Remove conditional code.
42268 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42269 <kernel-features.h>.
42270 [__ASSUME_32BITUIDS]: Make code unconditional.
42271 [!__ASSUME_32BITUIDS]: Remove conditional code.
42272 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42273 [__ASSUME_32BITUIDS]: Make code unconditional.
42274 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42275 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42276 <kernel-features.h>.
42277 [__ASSUME_32BITUIDS]: Make code unconditional.
42278 [!__ASSUME_32BITUIDS]: Remove conditional code.
42279 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42280 <kernel-features.h>.
42281 [__ASSUME_32BITUIDS]: Make code unconditional.
42282 [!__ASSUME_32BITUIDS]: Remove conditional code.
42283 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42284 <kernel-features.h>.
42285 [__ASSUME_32BITUIDS]: Make code unconditional.
42286 [!__ASSUME_32BITUIDS]: Remove conditional code.
42287 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42288 <kernel-features.h>.
42289 [__ASSUME_32BITUIDS]: Make code unconditional.
42290 [!__ASSUME_32BITUIDS]: Remove conditional code.
42291 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42292 <kernel-features.h>.
42293 [__ASSUME_32BITUIDS]: Make code unconditional.
42294 [!__ASSUME_32BITUIDS]: Remove conditional code.
42295 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42296 <kernel-features.h>.
42297 [__ASSUME_32BITUIDS]: Make code unconditional.
42298 [!__ASSUME_32BITUIDS]: Remove conditional code.
42299 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42300 <kernel-features.h>.
42301 [__ASSUME_32BITUIDS]: Make code unconditional.
42302 [!__ASSUME_32BITUIDS]: Remove conditional code.
42303 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42304 <kernel-features.h>.
42305 [__ASSUME_32BITUIDS]: Make code unconditional.
42306 [!__ASSUME_32BITUIDS]: Remove conditional code.
42307 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42308 <kernel-features.h>.
42309 [__ASSUME_32BITUIDS]: Make code unconditional.
42310 [!__ASSUME_32BITUIDS]: Remove conditional code.
42311 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42312 <kernel-features.h>.
42313 [__ASSUME_32BITUIDS]: Make code unconditional.
42314 [!__ASSUME_32BITUIDS]: Remove conditional code.
42315 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42316 <kernel-features.h>.
42317 [__NR_setresgid] (__setresgid): Do not declare.
42318 [__ASSUME_32BITUIDS]: Make code unconditional.
42319 [!__ASSUME_32BITUIDS]: Remove conditional code.
42320 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42321 <kernel-features.h>.
42322 [__NR_setresuid] (__setresuid): Do not declare.
42323 [__ASSUME_32BITUIDS]: Make code unconditional.
42324 [!__ASSUME_32BITUIDS]: Remove conditional code.
42325 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42326 <kernel-features.h>.
42327 [__ASSUME_32BITUIDS]: Make code unconditional.
42328 [!__ASSUME_32BITUIDS]: Remove conditional code.
42329 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42330 <kernel-features.h>.
42331 [__ASSUME_32BITUIDS]: Make code unconditional.
42332 [!__ASSUME_32BITUIDS]: Remove conditional code.
42333 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42334 <kernel-features.h>.
42335 [__ASSUME_32BITUIDS]: Make code unconditional.
42336 [!__ASSUME_32BITUIDS]: Remove conditional code.
42337 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42338 <kernel-features.h>.
42339 [__ASSUME_32BITUIDS]: Make code unconditional.
42340 [!__ASSUME_32BITUIDS]: Remove conditional code.
42341 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42342 <kernel-features.h>.
42343 [__ASSUME_32BITUIDS]: Make code unconditional.
42344 [!__ASSUME_32BITUIDS]: Remove conditional code.
42345 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42346 <kernel-features.h>.
42347 [__ASSUME_32BITUIDS]: Make code unconditional.
42348 [!__ASSUME_32BITUIDS]: Remove conditional code.
42349 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42350 <kernel-features.h>.
42351 [__ASSUME_32BITUIDS]: Make code unconditional.
42352 [!__ASSUME_32BITUIDS]: Remove conditional code.
42353 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42354 <kernel-features.h>.
42355 [__ASSUME_32BITUIDS]: Make code unconditional.
42356 [!__ASSUME_32BITUIDS]: Remove conditional code.
42357 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42358 <kernel-features.h>.
42359 [__ASSUME_32BITUIDS]: Make code unconditional.
42360 [!__ASSUME_32BITUIDS]: Remove conditional code.
42361 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42362 <kernel-features.h>.
42363 [__ASSUME_32BITUIDS]: Make code unconditional.
42364 [!__ASSUME_32BITUIDS]: Remove conditional code.
42365 * sysdeps/unix/sysv/linux/kernel-features.h
42366 (__ASSUME_SETRESUID_SYSCALL): Remove.
42367 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42368 (__ASSUME_32BITUIDS): Likewise.
42369 (__ASSUME_LDT_WORKS): Likewise.
42370 (__ASSUME_O_DIRECTORY): Likewise.
42371 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42372 architecture but not kernel version.
42373 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42374 (__ASSUME_MMAP2_SYSCALL): Likewise.
42375 (__ASSUME_STAT64_SYSCALL): Likewise.
42376 (__ASSUME_IPC64): Likewise.
42377 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42378 <kernel-features.h>.
42379 [__ASSUME_32BITUIDS]: Make code unconditional.
42380 [!__ASSUME_32BITUIDS]: Remove conditional code.
42381 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42382 <kernel-features.h>.
42383 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42384 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42385 132096]: Remove conditional code.
42386 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42387 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42388 <kernel-features.h>.
42389 [__ASSUME_32BITUIDS]: Make code unconditional.
42390 [!__ASSUME_32BITUIDS]: Remove conditional code.
42391 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42392 <kernel-features.h>.
42393 [__ASSUME_32BITUIDS]: Make code unconditional.
42394 [!__ASSUME_32BITUIDS]: Remove conditional code.
42395 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42396 <kernel-features.h>.
42397 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42398 unconditional.
42399 (__setresgid): Do not declare.
42400 [__ASSUME_32BITUIDS]: Make code unconditional.
42401 [!__ASSUME_32BITUIDS]: Remove conditional code.
42402 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42403 <kernel-features.h>.
42404 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42405 unconditional.
42406 (__setresuid): Do not declare.
42407 [__ASSUME_32BITUIDS]: Make code unconditional.
42408 [!__ASSUME_32BITUIDS]: Remove conditional code.
42409 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
42414 <kernel-features.h>.
42415 [__ASSUME_32BITUIDS]: Make code unconditional.
42416 [!__ASSUME_32BITUIDS]: Remove conditional code.
42417
a386f1cc
RH
424182012-05-25 Richard Henderson <rth@twiddle.net>
42419
42420 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42421 dl_hwcap to ifunc resolver.
42422 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42423 elf_ifunc_invoke.
42424 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42425 dl_hwcap to ifunc resolver.
42426 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42427
b6550497
JM
424282012-05-24 Joseph Myers <joseph@codesourcery.com>
42429
42430 [BZ #14153]
42431 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42432 for |x| <= 2**-26, not 2**-57.
42433 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42434 exception.
42435
b0bc23a1
JL
424362012-05-24 Jeff Law <law@redhat.com>
42437
42438 * stdio-common/Makefile (tests): Add bug25.
42439 * stdio-common/bug25.c: New test.
42440
347c92e9
L
424412012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42442
42443 [BZ #13576]
42444 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42445 multiple of MALLOC_ALIGNMENT in size.
42446 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42447
6bcc8b3f
JM
424482012-05-24 Joseph Myers <joseph@codesourcery.com>
42449
42450 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42451 Require >= 256.
42452 (FILENAME_MAX): Use macro-int-constant.
42453 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42454 (_IOFBF): Use macro-int-constant.
42455 (_IOLBF): Likewise.
42456 (_IONBF): Likewise.
42457 (SEEK_CUR): Likewise.
42458 (SEEK_END): Likewise.
42459 (SEEK_SET): Likewise.
42460 (TMP_MAX): Likewise.
42461 (EOF): Use macro-int-constant. Require < 0.
42462 (NULL): Use macro-constant. Require == 0.
42463 (stdin): Require type to be FILE *.
42464 (stdout): Likewise.
42465 (stderr): Likewise.
42466 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42467 macro-int-constant.
42468 (EXIT_SUCCESS): Likewise.
42469 (NULL): Use macro-constant. Require == 0.
42470 (RAND_MAX): Use macro-int-constant.
42471 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42472 [C99-based standards] (strtof): Require function.
42473 [C99-based standards] (strtold): Likewise.
42474 [C99-based standards] (strtoll): Likewise.
42475 [C99-based standards] (strtoull): Likewise.
42476 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42477 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42478 [ISO || ISO99 || ISO11] (math.h): Likewise.
42479 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42480 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42481 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42482
d18ea0c5
AS
424832012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42484
42485 [BZ #14132]
56d25bb8
AS
42486 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42487 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42488 * intl/dgettext.c (DCGETTEXT): Likewise.
42489 * intl/gettext.c (DCGETTEXT): Likewise.
42490 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42491 * posix/regex_internal.h (gettext): Likewise.
42492 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42493 Remove declaration.
42494 * include/argz.h (__argz_count_internal)
42495 (__argz_stringify_internal): Remove declaration.
42496 (__argz_count, __argz_stringify): Declare hidden proto.
42497 * intl/dcgettext.c: Remove use of INTDEF.
42498 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42499 * string/argz-stringify.c: Likewise.
42500 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42501 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42502 Declare hidden proto.
d18ea0c5
AS
42503 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42504 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42505 Declare hidden proto.
42506 * include/stdio.h (__asprintf_internal): Don't declare.
42507 (__asprintf): Don't define as macro. Declare hidden proto.
42508 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42509 (__fsetlocking): Declare hidden proto.
42510 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42511 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42512 hidden proto.
42513 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42514 (_IO_setlinebuf): Remove use of INTUSE.
42515 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42516 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42517 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42518 Remove declaration.
42519 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42520 (_IO_do_flush): Remove use of INTUSE.
42521 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42522 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42523 (_IO_adjust_column, _IO_least_wmarker)
42524 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42525 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42526 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42527 (_IO_default_doallocate, _IO_wdefault_doallocate)
42528 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42529 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42530 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42531 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42532 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42533 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42534 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42535 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42536 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42537 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42538 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42539 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42540 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42541 proto.
42542 (_IO_flush_all_internal, _IO_adjust_column_internal)
42543 (_IO_default_uflow_internal, _IO_default_finish_internal)
42544 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42545 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42546 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42547 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42548 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42549 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42550 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42551 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42552 (_IO_file_close_internal, _IO_file_close_it_internal)
42553 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42554 (_IO_file_init_internal, _IO_file_attach_internal)
42555 (_IO_file_fopen_internal, _IO_file_read_internal)
42556 (_IO_file_sync_internal, _IO_file_seek_internal)
42557 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42558 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42559 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42560 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42561 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42562 (_IO_list_all_internal, _IO_link_in_internal)
42563 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42564 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42565 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42566 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42567 (_IO_do_write_internal, _IO_padn_internal)
42568 (_IO_getline_info_internal, _IO_getline_internal)
42569 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42570 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42571 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42572 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42573 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42574 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42575 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42576 with libc_hidden_ver, remove use of INTUSE.
42577 * libio/genops.c: Likewise.
42578 * libio/freopen.c: Likewise.
42579 * libio/freopen64.c: Likewise.
42580 * libio/iofclose.c: Likewise.
42581 * libio/iofdopen.c: Likewise.
42582 * libio/iofflush.c: Likewise.
42583 * libio/iofflush_u.c: Likewise.
42584 * libio/iofgets.c: Likewise.
42585 * libio/iofgets_u.c: Likewise.
42586 * libio/iofopen.c: Likewise.
42587 * libio/iofopncook.c: Likewise.
42588 * libio/iofread.c: Likewise.
42589 * libio/iofread_u.c: Likewise.
42590 * libio/ioftell.c: Likewise.
42591 * libio/iofwrite.c: Likewise.
42592 * libio/iogetline.c: Likewise.
42593 * libio/iogets.c: Likewise.
42594 * libio/iogetwline.c: Likewise.
42595 * libio/iopadn.c: Likewise.
42596 * libio/iopopen.c: Likewise.
42597 * libio/ioseekoff.c: Likewise.
42598 * libio/ioseekpos.c: Likewise.
42599 * libio/iosetbuffer.c: Likewise.
42600 * libio/iosetvbuf.c: Likewise.
42601 * libio/ioungetc.c: Likewise.
42602 * libio/ioungetwc.c: Likewise.
42603 * libio/iovdprintf.c: Likewise.
42604 * libio/iovsprintf.c: Likewise.
42605 * libio/iovsscanf.c: Likewise.
42606 * libio/memstream.c: Likewise.
42607 * libio/obprintf.c: Likewise.
42608 * libio/oldfileops.c: Likewise.
42609 * libio/oldiofclose.c: Likewise.
42610 * libio/oldiofdopen.c: Likewise.
42611 * libio/oldiofopen.c: Likewise.
42612 * libio/oldiopopen.c: Likewise.
42613 * libio/oldstdfiles.c: Likewise.
42614 * libio/putc.c: Likewise.
42615 * libio/setbuf.c: Likewise.
42616 * libio/setlinebuf.c: Likewise.
42617 * libio/stdfiles.c: Likewise.
42618 * libio/strops.c: Likewise.
42619 * libio/vasprintf.c: Likewise.
42620 * libio/vscanf.c: Likewise.
42621 * libio/vsnprintf.c: Likewise.
42622 * libio/vswprintf.c: Likewise.
42623 * libio/wfiledoalloc.c: Likewise.
42624 * libio/wfileops.c: Likewise.
42625 * libio/wgenops.c: Likewise.
42626 * libio/wmemstream.c: Likewise.
42627 * libio/wstrops.c: Likewise.
42628 * libio/__fpurge.c: Likewise.
42629 * libio/__fsetlocking.c: Likewise.
42630 * assert/assert.c: Likewise.
42631 * debug/fgets_chk.c: Likewise.
42632 * debug/fgets_u_chk.c: Likewise.
42633 * debug/fread_chk.c: Likewise.
42634 * debug/fread_u_chk.c: Likewise.
42635 * debug/gets_chk.c: Likewise.
42636 * debug/obprintf_chk.c: Likewise.
42637 * debug/vasprintf_chk.c: Likewise.
42638 * debug/vdprintf_chk.c: Likewise.
42639 * debug/vsnprintf_chk.c: Likewise.
42640 * debug/vsprintf_chk.c: Likewise.
42641 * malloc/mtrace.c: Likewise.
42642 * misc/error.c: Likewise.
42643 * misc/syslog.c: Likewise.
42644 * stdio-common/asprintf.c: Likewise.
42645 * stdio-common/fxprintf.c: Likewise.
42646 * stdio-common/getw.c: Likewise.
42647 * stdio-common/isoc99_fscanf.c: Likewise.
42648 * stdio-common/isoc99_scanf.c: Likewise.
42649 * stdio-common/isoc99_vfscanf.c: Likewise.
42650 * stdio-common/isoc99_vscanf.c: Likewise.
42651 * stdio-common/isoc99_vsscanf.c: Likewise.
42652 * stdio-common/printf-prs.c: Likewise.
42653 * stdio-common/printf_fp.c: Likewise.
42654 * stdio-common/printf_fphex.c: Likewise.
42655 * stdio-common/printf_size.c: Likewise.
42656 * stdio-common/putw.c: Likewise.
42657 * stdio-common/scanf.c: Likewise.
42658 * stdio-common/sprintf.c: Likewise.
42659 * stdio-common/tmpfile.c: Likewise.
42660 * stdio-common/vfprintf.c: Likewise.
42661 * stdio-common/vfscanf.c: Likewise.
42662 * stdlib/strfmon_l.c: Likewise.
42663 * sunrpc/openchild.c: Likewise.
42664 * sunrpc/xdr_stdio.c: Likewise.
42665 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42666 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42667
d6c33fda
RM
426682012-05-24 Roland McGrath <roland@hack.frob.com>
42669
c1487492
RM
42670 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42671
42672 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42673 in the third column, to generate for the shared library an IFUNC
42674 that uses _dl_vdso_vsym.
42675 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42676 * Makeconfig (object-suffixes-noshared): New variable.
42677
42678 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42679 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42680 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42681 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42682
d6c33fda
RM
42683 [BZ #14132]
42684 * include/sys/time.h (__gettimeofday): Remove macro.
42685 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42686 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42687 Remove INTDEF.
42688 (__gettimeofday): Add libc_hidden_def.
42689 (gettimeofday): Add libc_hidden_weak.
42690 * sysdeps/mach/gettimeofday.c: Likewise.
42691 * sysdeps/posix/gettimeofday.c: Likewise.
42692 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42693 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42695 (__gettimeofday_internal): Remove strong_alias.
42696 (__gettimeofday): Add libc_hidden_def.
42697 (gettimeofday): Add libc_hidden_weak.
42698 * sysdeps/unix/syscalls.list (gettimeofday):
42699 Remove __gettimeofday_internal alias.
42700
b5a2bbe6
L
427012012-05-24 Daniel Jacobowitz <drow@false.org>
42702 H.J. Lu <hongjiu.lu@intel.com>
42703
42704 [BZ #12495]
42705 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42706 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42707 (largebin_index_32_big): New.
42708 (largebin_index): Use it for 16-byte alignment.
42709 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42710 correction with front_misalign.
42711
cfba4fda
L
427122012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42713
7f907421
L
42714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42716 Likewise.
42717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42718 Likewise.
42719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42720 Likewise.
42721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42722 Likewise.
42723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42724 Likewise.
42725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42726 Likewise.
42727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42728 Likewise.
42729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42730 Likewise.
42731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42732 Likewise.
42733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42734 Likewise.
42735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42736 Likewise.
42737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42738 Likewise.
42739
cfba4fda
L
42740 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42741 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42742
80bad0cc
JM
427432012-05-24 Joseph Myers <joseph@codesourcery.com>
42744
7a25eb06
JM
42745 [BZ #10846]
42746 [BZ #14036]
42747 * math/libm-test.inc (exp_test): Add test from bug 14036.
42748 (pow_test): Add test from bug 10846.
42749
795405f9
JM
42750 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42751 and other flags.
42752 (special_function): Do not include flags in test name.
42753 (parse_args): Likewise.
42754 * sysdeps/i386/fpu/libm-test-ulps: Update.
42755 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42756 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42757 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42759
80bad0cc
JM
42760 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42761 exceptions.
42762 * math/libm-test.inc ("Philosophy"): Update comment about
42763 exception testing.
42764 (UNDERFLOW_EXCEPTION): New macro.
42765 (UNDERFLOW_EXCEPTION_OK): Likewise.
42766 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42767 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42768 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42769 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42770 (INVALID_EXCEPTION_OK): Update value.
42771 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42772 (OVERFLOW_EXCEPTION_OK): Likewise.
42773 (IGNORE_ZERO_INF_SIGN): Likewise.
42774 (test_exceptions): Handle underflow exceptions.
42775 (acos_test): Update for underflow exception expectations.
42776 (cexp_test): Likewise.
42777 (clog_test): Likewise.
42778 (clog10_test): Likewise.
42779 (csqrt_test): Likewise.
42780 (ctan_test): Likewise.
42781 (ctanh_test): Likewise.
42782 (exp_test): Likewise.
42783 (exp10_test): Likewise.
42784 (exp2_test): Likewise.
42785 (expm1_test): Likewise.
42786 (fma_test): Likewise.
42787 (j0_test): Likewise.
42788 (jn_test): Likewise.
42789 (nexttoward_test): Likewise.
42790 (pow_test): Likewise.
42791 (scalbn_test): Likewise.
42792 (scalbln_test): Likewise.
42793 (tan_test): Likewise.
42794 (y1_test): Likewise.
42795 * sysdeps/i386/fpu/libm-test-ulps: Update.
42796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42797
9e0e3d0b
DM
427982012-05-23 David S. Miller <davem@davemloft.net>
42799
42800 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42801 (__libc_sigaction): Remove unused local variables.
42802
ccd0a08f
L
428032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42804
42805 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42806
62bdf9a6
PE
428072012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42808
f8591f80
PE
42809 mktime: avoid signed integer overflow
42810 * time/mktime.c (__mktime_internal): Do not mishandle the case
42811 where diff == INT_MIN.
42812
94c7d826
PE
42813 mktime: simplify computation of average
42814 * time/mktime.c (ranged_convert): Use new time_t_avg function
42815 instead of rolling our own (probably-slower) code.
42816
ce73d683
PE
42817 mktime: do not assume signed right shift propagates sign bit
42818 * time/mktime.c (isdst_differ): New static function.
42819 (__mktime_internal): No need to normalize tm_isdst now.
42820 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42821 tm_isdst values.
42822
72a22e59
PE
42823 mktime: merge another wrapv change from gnulib
42824 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42825 from some compilers.
42826
68605433
PE
42827 mktime: remove incorrect attempt at unusual arithmetics
42828 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42829 The code didn't really work on such machines anyway.
42830 (TYPE_MINIMUM): Assume two's complement.
42831 (twos_complement_arithmetic): Verify that long_int and time_t
42832 are two's complement (or unsigned, in the latter case).
42833
03cf7fe3
PE
42834 mktime: check signed shifts on long_int and time_t, too
42835 * time/mktime.c (SHR): Check that shifts work as desired
42836 on the types long_int and time_t too, as SHR is used on
42837 such types.
42838
f04dfbc2
PE
42839 mktime: do not assume 'long' is wide enough
42840 * time/mktime.c (verify): Move decl up.
42841 (long_int): New type.
42842 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42843 to remove assumption in the code that 'long' is wide enough to
42844 store year values. This assumption is not true on x32 and on
42845 some non-glibc platforms.
42846
62bdf9a6
PE
42847 mktime: merge wrapv change from gnulib
42848 * time/mktime.c (WRAPV): New macro.
42849 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42850 (guess_time_tm, __mktime_internal): Do not assume that signed
42851 integer overflow wraps around; modern compilers generate code
42852 where this assumption is no longer valid.
42853
5e292e4f
L
428542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42855
42856 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42857 Replace "jmp L(pseudo_end)" with "ret".
42858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42859 Likewise.
42860
8caf8c87
AJ
428612012-05-23 Andreas Jaeger <aj@suse.de>
42862
42863 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42864 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42865
1a09dc56
AJ
428662012-05-23 Andreas Jaeger <aj@suse.de>
42867 Maximilian Attems <max@stro.at>
42868
42869 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42870 New macros.
42871
1c87aba0
L
428722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42873
42874 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42875 code so that pseudo_end is just ret and the stack pointer is
42876 correct also for static library in error case.
42877
40e45bd5
JM
428782012-05-23 Joseph Myers <joseph@codesourcery.com>
42879
c2670533
JM
42880 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42881 move to syscalls.list.
42882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42886
40e45bd5
JM
42887 * manual/install.texi (Running make install): Do not mention Linux
42888 kernel version for which pt_chown is not needed.
42889 (Linux): Do not mention problems with nscd with 2.0 kernels.
42890 * INSTALL: Regenerated.
42891
be08eda5
AJ
428922012-05-23 Andreas Jaeger <aj@suse.de>
42893
42894 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42895 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42896 macro.
42897 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42898 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42899 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42900 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42901 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42902 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42903 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42904 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42905 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42906 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42907 * sysdeps/unix/sysv/linux/bits/in.h
42908 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42909
a6a056bb
RM
429102012-05-22 Roland McGrath <roland@hack.frob.com>
42911
42912 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42913 (PREPARE_VERSION): Just use assert instead, it will be elided
42914 under [NDEBUG] anyway.
42915
c9009328
L
429162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42917
42918 * sysdeps/unix/sysv/linux/Makefile: Include
42919 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42920 (sysdep_routines): Remove sysctl.
c9009328
L
42921 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42922 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42923 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42924 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42925 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42926
73338355
AJ
429272012-05-22 Andreas Jaeger <aj@suse.de>
42928
42929 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42930 that pseudo_end is just ret and the stack pointer is correct also
42931 for static library in error case.
42932
d44638b0
PP
429332012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42934
42935 [BZ #14122]
42936 * nss/nsswitch.c (defconfig_entries): New variable.
42937 (__nss_database_lookup): Don't leak defconfig entries.
42938 (nss_parse_service_list): Don't leak on error paths.
42939 (free_database_entries): New function.
42940 (free_defconfig): New function.
42941 (free_mem): Move common code to free_database_entries.
42942
31a39bd8
L
429432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42944
da0331a8
L
42945 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42946 Add arch_prctl.
42947 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42948
31a39bd8
L
42949 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42950 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42951 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42952 New macro.
42953 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42954 (INTERNAL_SYSCALL_TYPES): Likewise.
42955 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42956 (LOAD_REGS_TYPES_[1-6]): Likewise.
42957 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42958 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42959
45470df3
AZ
429602012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42961
42962 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42963 copysignl for GLIBC_2_0.
42964 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42965 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42966 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42967 logbl for GLIBC_2_0.
42968 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42969 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42970
98a61bcb
L
429712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42972
a4f6e481
L
42973 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42974 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42975
f63d5db6
L
42976 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42977 Use "neg %eax".
42978
98a61bcb
L
42979 * time/mktime.c: Update copyright years.
42980
95770f14
PE
429812012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42982
6226efbd
PE
42983 mktime: merge comment-quoting-style change from gnulib
42984 * time/mktime.c: Quote 'like this' in comments.
42985 The GNU coding standards suggest that we no longer quote `like this',
42986 as "`" and "'" are typically rendered asymmetrically nowadays.
42987 The typical gnulib style is to quote 'like this' when quoting
42988 code, and "like this" when quoting English.
42989
b99e4f78
PE
42990 * time/mktime.c (compile-command): Add "-I.".
42991
643e01e6
PE
42992 mktime: merge mktime-internal.h change from gnulib
42993 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42994
2554247d
PE
42995 mktime: merge time_r change from gnulib
42996 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42997
826dd0ab
PE
42998 mktime: merge DEBUG change from gnulib
42999 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43000 case system <time.h> has a #define.
43001
bd83aabe
PE
43002 mktime: merge <sys/types.h> change from gnulib
43003 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43004 since <time.t> is now guaranteed to define time_t.
43005
95770f14
PE
43006 mktime: merge HAVE_CONFIG_H change from gnulib
43007 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43008
5e1a27a9
L
430092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43010
0e44a77e
L
43011 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43012 Use "neg %eax".
43013
5e1a27a9
L
43014 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43015 __rlim_t cast.
43016 (struct rusage): Use anonymous union to pad each field to
43017 __syscall_slong_t.
43018
46259bec
DM
430192012-05-21 David S. Miller <davem@davemloft.net>
43020
43021 * Makefules (o-iterator): Remove .s cases.
43022 (compile-command.s): Delete.
43023 (COMPILE.s): Delete.
43024 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43025
59f0c22e
JM
430262012-05-21 Joseph Myers <joseph@codesourcery.com>
43027
43028 * configure.in (libc_cv_predef_stack_protector): Only consider
43029 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43030 * configure: Regenerated.
43031
20c07380
L
430322012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43033
bbb3154b
L
43034 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43035 New macro. Use R*LP on int and pointer.
43036 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
43037 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43038 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
43039 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43040
20c07380
L
43041 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43042 [__WORDSIZE_TIME64_COMPAT32] instead of
43043 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43044 (struct utmp): Likewise.
43045 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43046 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43047 Renamed to ...
43048 (__WORDSIZE_TIME64_COMPAT32): This.
43049 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43050 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43051 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43052 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43053 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43054 (__WORDSIZE_TIME64_COMPAT32): New macro.
43055
d8d1017e
AJ
430562012-05-21 Andreas Jaeger <aj@suse.de>
43057
43058 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43059 only if [SHARED]. Add prototype for __wcschr_ia32.
43060
6c7fb145
RM
430612012-05-21 Roland McGrath <roland@hack.frob.com>
43062
43063 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43064 of %rbp unmolested in the jmp_buf while mangling the low bits.
43065 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43066 unmolested high bits of %rbp while demangling the low bits.
43067 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43068
66274218
AJ
430692012-05-21 Andreas Jaeger <aj@suse.de>
43070
07c58f8f
AJ
43071 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43072 * sunrpc/svc_simple.c: Use it for registerrpc.
43073 * sunrpc/xcrypt.c: Use it for passwd2des.
43074
66274218
AJ
43075 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43076
61f65140
L
430772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43078
43079 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43080 Don't define if [__SYSCALL_WORDSIZE != 32].
43081 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43082 New macro.
43083
5fefb436
AJ
430842012-05-21 Bruno Haible <bruno@clisp.org>
43085 Andreas Jaeger <aj@suse.de>
43086
43087 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43088 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43089 inptr and inend for must_buffer_ch.
43090 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43091 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43092 * stdio-common/Makefile (tests): Remove bug15.
43093 (bug15-ENV): Remove macro.
43094 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43095 anymore.
43096
d8e272ab
AJ
430972012-05-19 Andreas Jaeger <aj@suse.de>
43098 Roland McGrath <roland@hack.frob.com>
43099
43100 * manual/contrib.texi: Completely rewritten. It contains now an
43101 alphabetical list of contributors and their contributions.
43102
4a56a162
RH
431032012-05-21 Richard Henderson <rth@twiddle.net>
43104
43105 * misc/getauxval.c (__getauxval): Use unsigned long int.
43106 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43107 (getauxval): Use unsigned long int.
43108
d024d23c
L
431092012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43110
43111 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43112
cbc00a03
RM
431132012-05-21 Roland McGrath <roland@hack.frob.com>
43114
43115 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43116 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43117 __alignof__ (long double).
43118
478143fa
AZ
431192012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43120
43121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43122
c7683a6d
RH
431232012-05-20 Richard Henderson <rth@twiddle.net>
43124
43125 * misc/getauxval.c: New file.
43126 * misc/sys/auxv.h: New file.
43127 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43128 (routines): Add getauxval.
43129 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43130 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43131 * elf/dl-sysdep.c (_dl_auxv): Remove.
43132 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43133 * elf/dl-support.c (_dl_auxv): New variable.
43134 (_dl_aux_init): Initialize it.
43135 * manual/startup.texi (Auxiliary Vector): New node.
43136 * sysdeps/generic/bits/hwcap.h: New file.
43137 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43138 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43139 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43140 * sysdeps/sparc/sysdep.h: ... here. Include it.
43141 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43142 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
43143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43144 Update.
c7683a6d
RH
43145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43153
a6f1845d
AZ
431542012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43155
43156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43157
cbcbe830
DM
431582012-05-19 David S. Miller <davem@davemloft.net>
43159
43160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43161
e0b16cc2
JM
431622012-05-19 Joseph Myers <joseph@codesourcery.com>
43163
43164 [BZ #14123]
43165 * math/s_ccosh.c: Include <float.h>
43166 (__ccosh): Avoid internal overflow calculating sinh and cosh
43167 values before multiplying by sin and cos values.
43168 * math/s_ccoshf.c: Likewise.
43169 * math/s_ccoshl.c: Likewise.
43170 * math/s_csin.c: Likewise.
43171 * math/s_csinf.c: Likewise.
43172 * math/s_csinl.c: Likewise.
43173 * math/s_csinh.c: Likewise.
43174 * math/s_csinhf.c: Likewise.
43175 * math/s_csinhl.c: Likewise.
43176 * math/libm-test.inc (ccos_test): Add more tests.
43177 (ccosh_test): Likewise.
43178 (csin_test): Likewise.
43179 (csinh_test): Likewise.
43180 * sysdeps/i386/fpu/libm-test-ulps: Update.
43181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43182
6ad13e08
L
431832012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43184
f66f0ce8
L
43185 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43186 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43187
6ad13e08
L
43188 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43189
b1d072a7
JM
431902012-05-19 Joseph Myers <joseph@codesourcery.com>
43191
43192 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43193 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43194 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43195 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43196 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43197 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43198 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43199 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43200 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43201 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43202 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43203 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43204 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43205 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43206 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43207 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43208 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43209 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43210 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43211 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43212 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43213 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43214 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43215 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43216 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43217 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43218 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43219 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43220 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43221 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43222 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43223
9eae47cb
AJ
432242012-05-18 Andreas Jaeger <aj@suse.de>
43225
43226 * csu/.gitignore: Delete.
43227
bb07f69f
L
432282012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43229
43230 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43231 (timex): Use __syscall_slong_t.
43232
e6bdb741
AJ
432332012-05-18 Andreas Jaeger <aj@suse.de>
43234 Carlos O'Donell <carlos_odonell@mentor.com>
43235
43236 * manual/install.texi (Configuring and compiling): Update
43237 description about files modified in the source directory.
d6c33fda 43238 * INSTALL: Regenerated.
e6bdb741 43239
1b74487e
L
432402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43241
43242 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43243 value. Use "or" to set return value to -1.
43244 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43245 negate return value.
43246
a88b64b9
TMQMF
432472012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43248
57f41c40
AS
43249 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43250 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43251 failure if the compiler has Graphite support disabled.
43252 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43253 Likewise.
57f41c40
AS
43254 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43255 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43256 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43257 Likewise.
43258
3707636e
L
432592012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43260
610b8622
L
43261 * sysdeps/x86_64/x32/_itoa.h: New file.
43262
7cd195df
L
43263 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43264 getdents system call only if kernel and user dirents have the
43265 same d_ino and d_off.
43266
94b07d20
L
43267 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43268 LLONG_MAX != LONG_MAX.
43269 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43270 (_fitoa_word): Likewise.
43271
18298070
L
43272 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43273 years.
43274 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43275 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43276 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43277
553c7ea4
L
43278 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43279 include <bits/wordsize.h>. Check __x86_64__ instead of
43280 __WORDSIZE.
43281 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43282 if __x86_64__ is defined. Use anonymous union on fpstate.
43283
3707636e
L
43284 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43285 anonymous union.
43286
b53ef01a
AS
432872012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43288
37fb1dc0
AS
43289 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43290 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43291 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43292 Refer to _rtld_local_ro instead of _rtld_global_ro.
43293 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43294 Likewise.
43295 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43296 Likewise.
43297 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43298 Likewise.
43299 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43300 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43301 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43302
b53ef01a
AS
43303 * sysdeps/powerpc/powerpc32/dl-machine.c
43304 (__elf_machine_runtime_setup) [PROF]: Don't reference
43305 _dl_prof_resolve.
43306
7a185db2
AJ
433072012-05-18 Andreas Jaeger <aj@suse.de>
43308
43309 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43310 function only available for GCCs before 3.4 since GCC 3.4
43311 introduced a builtin.
43312 (lrint): Likewise.
43313 (llrintf): Likewise.
43314 (llrint): Likewise.
43315 (fmaxf): Likewise.
43316 (fmax): Likewise.
43317 (fminf): Likewise.
43318 (fmin): Likewise.
43319 (rint): Likewise.
43320 (rintf): Likewise.
43321 (nearbyint): Likewise.
43322 (nearbyintf): Likewise.
43323 (ceil): Likewise.
43324 (ceilf): Likewise.
43325 (floor): Likewise.
43326 (floorf): Likewise.
43327
3e5aef87
L
433282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43329
428bd707
L
43330 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43331 on both fields and cast pointer to __syscall_ulong_t.
43332
3e5aef87
L
43333 * bits/types.h (__fsword_t): New type.
43334 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43335 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43336 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43337 (__FSWORD_T_TYPE): Likewise.
43338 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43339 (__FSWORD_T_TYPE): Likewise.
43340 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43341 (__FSWORD_T_TYPE): Likewise.
43342 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43343 (__FSWORD_T_TYPE): Likewise.
43344 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43345 __SWORD_TYPE with __fsword_t.
43346 (statfs64): Likewise.
43347
1ba7c3dc
DM
433482012-05-17 David S. Miller <davem@davemloft.net>
43349
43350 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43351
59910343
AJ
433522012-05-17 Andreas Jaeger <aj@suse.de>
43353
43354 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43355 warning.
43356
2e4c1e9e
L
433572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43358
43359 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43360
de7f5ce7
AJ
433612012-05-17 Andreas Jaeger <aj@suse.de>
43362
43363 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43364 when it is used.
43365
286abc3d
CM
433662012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43367
43368 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43369
477cc68e
L
433702012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43371
43372 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43373 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43374
1a0994f5
CD
433752012-05-17 Andreas Jaeger <aj@suse.de>
43376 Carlos O'Donell <carlos_odonell@mentor.com>
43377
43378 [BZ #14059]
43379 * sysdeps/x86_64/multiarch/init-arch.h
43380 (bit_YMM_Usable): Rename to...
43381 (bit_AVX_Usable): ... this.
43382 (bit_FMA4_Usable): New macro.
43383 (bit_XMM_state): New macro.
43384 (bit_YMM_state): New macro.
43385 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43386 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43387 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43388 (CPUID_OSXSAVE): New macro.
43389 (CPUID_AVX): New macro.
43390 (CPUID_FMA4): New macro.
43391 (index_YMM_Usable): Rename to...
43392 (index_AVX_Usable): ... this.
43393 (HAS_AVX): Use HAS_ARCH_FEATURE.
43394 (HAS_FMA4): Likewise.
43395 (HAS_YMM_USABLE): Remove.
43396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43397 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43398 are present.
43399 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43400 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43401 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43402 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43403 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43404
0af797de
CM
434052012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43406
43407 * math/libm-test.c: Support platforms without multiple rounding modes.
43408 * math/bug-nextafter.c: Support platforms without FP exceptions.
43409 * math/bug-nexttoward.c: Likewise.
43410 * math/test-fenv.c: Likewise.
43411 * math/test-misc.c: Likewise.
43412 * stdlib/bug-getcontext.c: Likewise.
43413
e39745ff
AJ
434142012-05-17 Andreas Jaeger <aj@suse.de>
43415
43416 * manual/examples/search.c (critter_cmp): Change signature to
43417 avoid warnings.
43418 * manual/string.texi (Collation Functions): Likewise.
43419
48970aba
L
434202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43421
43422 * bits/types.h: Fold copyright years.
43423 * bits/typesizes.h: Likewise.
43424 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43425 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43427 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43428 * time/time.h: Likewise.
43429
bedee953
PP
434302012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43431
43432 [BZ #208]
43433 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43434 in instead of returning them. Return void.
43435 (__libc_mallinfo): Accumulate over all arenas.
43436 (__malloc_stats): Adjust for change in int_mallinfo interface.
43437
61653dfb
RM
434382012-05-16 Roland McGrath <roland@hack.frob.com>
43439
30b99d79
RM
43440 [BZ #10375]
43441 * configure.in (NM): Add AC_CHECK_TOOL for it.
43442 (libc_extra_cflags): New substituted variable.
43443 Check for -fstack-protector being used implicitly.
43444 * configure: Regenerated.
43445 * config.make.in (config-extra-cflags): New variable,
43446 gets @libc_extra_cflags@.
43447 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43448
61653dfb
RM
43449 [BZ #10375]
43450 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43451 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43452 * configure: Regenerated.
43453 * config.make.in (CPPUNDEFS): New substituted variable.
43454 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43455 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43456 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43457
661768bb
L
434582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43459
43460 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43461 (mq_attr): Use __syscall_slong_t.
43462
d4261567
L
434632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43464
43465 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43466 Check __x86_64__ instead of __WORDSIZE.
43467 (_STAT_VER_LINUX): Likewise.
43468 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43469 __syscall_ulong_t and __syscall_slong_t.
43470 (stat64): Likewise.
43471
cf3ff365
L
434722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43473
43474 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43475
76cf3e4d
L
434762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43477
43478 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43479
a637753a
L
434802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43481
43482 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43483 __syscall_ulong_t.
43484
d5e05119
L
43485 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43486 include <bits/wordsize.h>. Check __x86_64__ instead of
43487 __WORDSIZE.
43488 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43489 defined.
43490 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43491
f62ee380
L
43492 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43493 include <bits/wordsize.h>. Check __x86_64__ instead of
43494 __WORDSIZE.
43495 (user_regs_struct): Use "__extension__ unsigned long long"
43496 instead of "unsigned long" if __x86_64__ is defined.
43497 (user): Likewise. Pad after pointer field if __ILP32__ is
43498 defined.
43499
4e124ced
JM
435002012-05-16 Joseph Myers <joseph@codesourcery.com>
43501
6a3951a0
JM
43502 * configure.in (makeinfo): Require version 4.5 or later. Allow
43503 versions 5 to 9.
43504 * configure: Regenerated.
43505 * manual/install.texi (texinfo): Increase version requirement to
43506 4.5 or later.
43507 * INSTALL: Regenerated.
43508
4e124ced
JM
43509 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43510
953ca31a
L
435112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43512
43513 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43514
617aca05
L
43515 * sysdeps/x86_64/x32/ffs.c: New file.
43516
5762f7ae
L
43517 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43518 __syscall_ulong_t.
43519 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43520 defined. Use __syscall_ulong_t.
43521 (shminfo): Use __syscall_ulong_t.
43522 (shm_info): Likewise.
43523
a26b6856
L
43524 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43525 __syscall_ulong_t.
43526
cb2b9ef7
L
43527 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43528 <bits/wordsize.h>.
43529 (msgqnum_t): Use __syscall_ulong_t.
43530 (msglen_t): Likewise.
43531 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43532 __syscall_ulong_t.
43533
34683bb0
L
43534 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43535 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43536
84a68786
L
43537 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43538
48baa5f1
L
43539 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43540 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43541
180be88b
L
43542 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43543 __syscall_slong_t.
43544
5e90c8ad
L
43545 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43546 include <bits/wordsize.h>. Check __x86_64__ instead of
43547 __WORDSIZE.
43548
23dfb58b
L
43549 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43550 "unsigned long long int" if __x86_64__ is defined.
43551 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43552
ce5d54b0
L
43553 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43554 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43555 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43556
13dc9eac
L
43557 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43558 <stdint.h>.
43559 (GET_PC): Cast to uintptr_t first.
43560 (GET_FRAME): Likewise.
43561 (GET_STACK): Likewise.
43562
a7895d15
L
43563 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43564 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43565 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43566 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43567 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43568 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43569 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43570 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43571 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43572 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43573 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43574 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43575 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43576 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43577 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43578 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43579 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43580 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43581 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43582 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43583 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43584 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43585 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43586 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43587 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43588 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43589 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43590 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43591 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43592
656416c9
AS
435932012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43594
5bd66283
AS
43595 * Makerules (+depfiles): Also collect depfiles from .oS in
43596 $(extra-objs).
43597 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43598 .oS, $(libnldbl-routines)).
43599
656416c9
AS
43600 * Makerules (native-compile-mkdep-flags): Define.
43601 * sunrpc/Makefile (extra-objs): Add $(addprefix
43602 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43603 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43604 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43605 calling $(make-target-directory).
43606
a46f2169
L
436072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43608
43609 * bits/types.h (__snseconds_t): Removed.
43610 * time/time.h (struct timespec): Replace __snseconds_t with
43611 __syscall_slong_t.
43612 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43613 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43614 Likewise.
43615 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43616 (__SNSECONDS_T_TYPE): Likewise.
43617 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43618 (__SNSECONDS_T_TYPE): Likewise.
43619 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43620 (__SNSECONDS_T_TYPE): Likewise.
43621
6af6528b
L
436222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43623
43624 * sysdeps/mach/hurd/bits/typesizes.h
43625 (__SYSCALL_SLONG_TYPE): New macro.
43626 (__SYSCALL_ULONG_TYPE): Likewise.
43627
de986b56
L
436282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43629
43630 * bits/types.h (__syscall_slong_t): New type.
43631 (__syscall_ulong_t): Likewise.
43632
43633 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43634 (__SYSCALL_ULONG_TYPE): Likewise.
43635 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43636 (__SYSCALL_SLONG_TYPE): Likewise.
43637 (__SYSCALL_ULONG_TYPE): Likewise.
43638 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43639 (__SYSCALL_SLONG_TYPE): Likewise.
43640 (__SYSCALL_ULONG_TYPE): Likewise.
43641 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43642 (__SYSCALL_SLONG_TYPE): Likewise.
43643 (__SYSCALL_ULONG_TYPE): Likewise.
43644
85736dc7
L
436452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43646
43647 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43648 Add sigaltstack-offsets.sym.
43649 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43650 <sigaltstack-offsets.h>.
43651 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43652 longjmp_msg pointer.
43653 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43654 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43655 signal stack.
43656 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43657
cc03b296
JM
436582012-05-15 Joseph Myers <joseph@codesourcery.com>
43659
a9538892
JM
43660 * elf/stackguard-macros.h: Remove file.
43661 * sysdeps/generic/stackguard-macros.h: New file.
43662 * sysdeps/i386/stackguard-macros.h: Likewise.
43663 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43664 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43665 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43666 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43667 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43668 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43669 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43670 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43671 <elf/stackguard-macros.h>.
43672
cc03b296
JM
43673 [BZ #14109]
43674 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43675 __aligned__ in attribute.
43676 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43677 (gregset_t): Likewise.
43678
93171016
L
436792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43680
43681 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43682 * sysdeps/x86_64/64/Implies-after: Here. New file.
43683 * sysdeps/x86_64/x32/Implies-after: New file.
43684
d86813a0
L
436852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43686
43687 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43688 and access return value for _dl_profile_fixup. Use R10_LP to
43689 load frame size.
43690
2953ec75
L
436912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43692
43693 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43694
3b550e9e
L
436952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43696
43697 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43698 * sysdeps/x86_64/x32/sysdep.h: New file.
43699
eda41706
L
437002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43701
43702 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43703 * sysdeps/x86_64/setjmp.S: Likewise.
43704
9ea01d93
AZ
437052012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43706
43707 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43708 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43709 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43710 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43711 remove unused global constant.
43712
02a91938
CM
437132012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43714
43715 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43716 include of <not-cancel.h>.
43717
6540185f
RM
437182012-05-15 Roland McGrath <roland@hack.frob.com>
43719
43720 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43721
509072a0
AJ
437222012-05-15 Jeff Law <law@redhat.com>
43723 Andreas Jaeger <aj@suse.de>
43724
43725 [BZ #13594]
43726 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43727 out from...
43728 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43729 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43730 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43731 code changing __hst_map_handle.map.
43732
ba75122d
RM
437332012-05-15 Roland McGrath <roland@hack.frob.com>
43734
43735 * configure.in (sysnames): Look for Implies-before and Implies-after
43736 files.
43737 * configure: Regenerated.
43738
890d8bd8
L
437392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43740
43741 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43742 8-byte data alignment with LP_SIZE alignment.
43743
f6ee6623
L
437442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43745
43746 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43747 into R10_LP.
43748
ea2626f6
L
437492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43750
43751 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43752
085f715e
L
437532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43754
43755 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43756 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43757 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43758 Likewise.
43759 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43760
be8498fc
L
437612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43762
43763 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43764 (stackinfo_sub_sp): Likewise.
43765
70bc83b9
L
437662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43767
43768 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43769 RAX_LP.
43770
9bc0b730
L
437712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43772
43773 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43774 into R*_LP.
43775
6d2850e7
L
437762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43777
43778 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43779 sizes into R*_LP.
43780
3cb84561
L
437812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43782
43783 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43784
54e2ed81
L
437852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43786
43787 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43788 into R11_LP and load __x86_64_shared_cache_size_half into
43789 R8_LP.
43790
8a17f349
L
437912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43792
43793 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43794 R8_LP.
43795
777b1eea
AZ
437962012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43797
43798 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43799 logb for POWER7.
43800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43801 logbf for POWER7.
43802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43803 logbl for POWER7.
43804 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43805 powerpc32/power7/fpu/s_logb.c via #include.
43806 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43807 powerpc32/power7/fpu/s_logbf.c via #include.
43808 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43809 powerpc32/power7/fpu/s_logbl.c via #include.
43810
d20d4ac2
JM
438112012-05-15 Joseph Myers <joseph@codesourcery.com>
43812
43813 * README.libm: Remove file.
43814
6cdef1ab
L
438152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43816
43817 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43818 count for x32. Use R*_LP and omit operand-size suffix.
43819
0b254d8f
L
438202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43821
43822 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43823 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43824 * sysdeps/x86_64/x32/shlib-versions: New file.
43825
ceb809dc
RM
438262012-05-14 Roland McGrath <roland@hack.frob.com>
43827
43828 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43829 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43830 Use _dl_fatal_printf instead.
43831
37f1abd4
JM
438322012-05-14 Joseph Myers <joseph@codesourcery.com>
43833
43834 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43835 set if not set by the user. Do not allow for being unset.
43836 * sysdeps/unix/sysv/linux/configure: Regenerated.
43837
11de3a33
L
438382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43839
43840 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43841 the `q' suffix from lea and replace .quad with ASM_ADDR.
43842
e02f153a
L
438432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43844
43845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43846 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43847 instead of $17.
43848 (PTR_DEMANGLE): Likewise.
43849
520ae0fd
L
438502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43851
43852 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43853 (LP_OP): Likewise.
43854 (ASM_ADDR): Likewise.
43855 (RAX_LP): Likewise.
43856 (RBP_LP): Likewise.
43857 (RBX_LP): Likewise.
43858 (RCX_LP): Likewise.
43859 (RDI_LP): Likewise.
43860 (RSI_LP): Likewise.
43861 (RSP_LP): Likewise.
43862 (R8_LP): Likewise.
43863 (R9_LP): Likewise.
43864 (R10_LP): Likewise.
43865 (R10_LP): Likewise.
43866 (R11_LP): Likewise.
43867 (R12_LP): Likewise.
43868 (R13_LP): Likewise.
43869 (R14_LP): Likewise.
43870 (R15_LP): Likewise.
43871
b985be81
L
438722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43873
43874 * sysdeps/x86_64/x32/dl-machine.h: New file.
43875
6a4888ff
AJ
438762012-05-14 Andreas Jaeger <aj@suse.de>
43877
43878 * manual/Makefile (subdir): Remove export of subdir.
43879 (all): Remove target.
43880 (.PHONY): Remove all from list.
43881 (mkinstalldirs): Remove.
43882 (.PHONY): Remove installdirs from list.
43883 ($(inst_infodir)/libc.info): Use make-target-directory.
43884 (installdirs): Remove.
43885 (subdir_%): Remove.
43886 (glibc-targets): Remove.
43887 (lib): Remove.
43888 (stubs): Remove.
43889 ($(objpfx)stubs ../po/manual.pot): Remove.
43890 ($(objpfx)stamp%): Remove.
43891 (make-target-directory): Remove.
43892 (subdir_install): Remove.
43893 (routines): Remove.
43894 (aux): Remove.
43895 (sources): Remove.
43896 (objects): Remove.
43897 (headers): Remove.
43898
43899 [BZ #13750]
43900 * manual/.gitignore: Remove, it's not needed anymore.
43901 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43902 all files in it.
43903 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43904 directory.
43905 (texis): Renamed to $(objpfx)texis.
43906 (texis-path): New, contains path to generated files.
43907 (chapters.%): Use texis-path for complete path, add extra argument
43908 libc-texinfo.sh.
43909 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43910 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43911 (summary,texi, stamp-summary): Use complete path of
43912 files. Generate files in build dir.
43913 (dir-add.texi): Build in build dir.
43914 (libm-err.texi,stamp-libm-err): Likewise.
43915 (version.texi, stamp-version): Likewise.
43916 (.%c.texi): Likewise.
43917 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43918 (mostlyclean): Remove target.
43919 (realclean): Remove target.
43920 (generated): Add new variable with contents from mostlyclean and
43921 realclean, remove entries duplicated in common-mostlyclean, add
43922 stamp-libm-err and stamp-version.
43923 (generated-dirs): Add libc directory.
43924 ($(inst_infodir)/libc.info): Install files from build dir.
43925
43926 * manual/install.texi (Configuring and compiling): Adjust since
43927 the info files are not part of the tar ball anymore.
43928
7ac77294
AJ
439292012-05-14 Andreas Jaeger <aj@suse.de>
43930
43931 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43932 variable.
43933
ffb7875d
JM
439342012-05-14 Joseph Myers <joseph@codesourcery.com>
43935
43936 [BZ #13717]
43937 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43938 to 2.2.0 where earlier.
43939 * sysdeps/unix/sysv/linux/configure: Regenerated.
43940 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43941 Remove conditional code.
43942 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43943 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43944 Remove conditional code.
43945 [!__NR_lchown]: Likewise.
43946 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43947 [__NR_lchown]: Likewise.
43948 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43949 comment referencing __ASSUME_LCHOWN_SYSCALL.
43950 * sysdeps/unix/sysv/linux/i386/sigaction.c
43951 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43952 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43953 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43954 Remove conditional code.
43955 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43956 (__protocol_available): Remove #if 0 code.
43957 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43958 conditional code.
43959 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43960 * sysdeps/unix/sysv/linux/kernel-features.h
43961 (__ASSUME_GETCWD_SYSCALL): Don't define.
43962 (__ASSUME_REALTIME_SIGNALS): Likewise.
43963 (__ASSUME_PREAD_SYSCALL): Likewise.
43964 (__ASSUME_PWRITE_SYSCALL): Likewise.
43965 (__ASSUME_POLL_SYSCALL): Likewise.
43966 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43967 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43968 non-SPARC.
43969 (__ASSUME_SIOCGIFNAME): Don't define.
43970 (__ASSUME_MSG_NOSIGNAL): Likewise.
43971 (__ASSUME_SENDFILE): Define unconditionally.
43972 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43973 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43974 conditional code.
43975 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43976 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43977 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43978 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43979 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43980 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43981 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43983 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43984 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43986 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43987 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43989 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43990 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43992 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43993 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43995 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43998 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43999 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44001 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44002 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44004 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44005 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44006 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44007 Remove conditional code.
44008 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44009 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44010 Remove conditional code.
44011 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44012 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44013 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44014 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44015 Remove conditional code.
44016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44017 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44018 Remove conditional code.
44019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44020 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44021 Remove conditional code.
44022 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44023 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44024 Remove conditional code.
44025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44026 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44027 Remove conditional code.
44028 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44029 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44030 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44031 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44032 * sysdeps/unix/sysv/linux/sigaction.c
44033 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44034 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44035 * sysdeps/unix/sysv/linux/sigpending.c
44036 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44037 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44038 * sysdeps/unix/sysv/linux/sigprocmask.c
44039 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44040 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44041 * sysdeps/unix/sysv/linux/sigsuspend.c
44042 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44043 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44044 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44045 (__libc_missing_rt_sigs): Remove.
44046 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44047 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44048 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44049 Remove conditional code.
44050 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44051 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44052 return 1.
44053 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44054 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44055 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44056 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44057
1bfb7291
AJ
440582012-05-14 Andreas Jaeger <aj@suse.de>
44059
caae5a81
AJ
44060 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44061 it's not used in glibc.
44062 (__coshm1): Likewise.
44063 (__acosh1p): Likewise.
44064 (__sgn): Likewise.
44065
1bfb7291
AJ
44066 * manual/string.texi (Copying and Concatenation): Add missing
44067 variable in concat example.
44068 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44069
c044d724
L
440702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44071
144c5467 44072 [BZ #14103]
c044d724
L
44073 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44074 __builtin_clzl with __builtin_clzll.
44075
2523c62b
L
440762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44077
44078 [BZ #14104]
44079 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44080 libc_freeres_ptr.
44081
d7bb4c42
LD
440822012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44083
44084 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44085 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44086 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44087 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44088
9dc4e1fb
MF
440892012-05-14 Mike Frysinger <vapier@gentoo.org>
44090
44091 * NEWS: Update ia64 info.
44092
c7df0112
AS
440932012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44094
44095 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44096 used as bcopy.
44097
dc70356c
TS
440982012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44099
44100 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44101 * sysdeps/unix/syscalls.list (dup3): Likewise.
44102 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44103 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44104
9fb1a21f
L
441052012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44106
44107 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44108 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44109
4822a2a5
L
441102012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44111
44112 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44113 thread pointer.
44114 (TLS_IE): Use mov/add instead of movq/addq to load thread
44115 pointer.
44116 (TLS_GD_PREFIX): New.
44117 (TLS_GD): Use it.
44118
842b81d6
DM
441192012-05-11 David S. Miller <davem@davemloft.net>
44120
44121 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44122 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44123 (_FPU_SETCW): Likewise.
44124
1cf463cd
L
441252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44126
44127 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44128 is 32-byte aligned.
44129
60cc4a18
AS
441302012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44131
44132 [BZ #11837]
44133 * iconvdata/gb18030.c: Update tables.
44134 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44135 characters specially.
44136 (BODY for TO_LOOP): Add encoding of missing ranges.
44137
febb44a4
TS
441382012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44139
44140 [BZ #13673]
44141 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44142 * sysdeps/mach/hurd/dup3.c: Likewise.
44143 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44144 * sysdeps/powerpc/memmove.c:: Likewise.
44145
0a10fb9e
L
441462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44147
44148 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44149 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44150
df8a552f
L
441512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44152
44153 * elf/elf.h (R_X86_64_RELATIVE64): New.
44154 (R_X86_64_NUM): Updated.
44155 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44156 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44157 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44158 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44159 tst-quad1pie tst-quad2pie
44160 (modules-names): Add tst-quadmod1 tst-quadmod2.
44161 ($(objpfx)tst-quad1): New dependency.
44162 ($(objpfx)tst-quad2): Likewise.
44163 ($(objpfx)tst-quad1pie): Likewise.
44164 ($(objpfx)tst-quad2pie): Likewise.
44165 * sysdeps/x86_64/tst-quad1.c: New file.
44166 * sysdeps/x86_64/tst-quad1pie.c: New file.
44167 * sysdeps/x86_64/tst-quad2.c: Likewise.
44168 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44169 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44170 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44171 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44172 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44173
f34d6f84
ST
441742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44175
f42d41d1
ST
44176 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44177 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44178 * streams/stropts.h (t_scalar_t): Define type.
44179
3c3571fc
ST
44180 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44181 (_PATH_PRESERVE): Set to "/var/lib".
44182 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44183
61f06bd3
ST
44184 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44185 instead of int.
44186
918d4d71
ST
44187 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44188 if __dir_mkfile succeeded.
44189
f34d6f84
ST
44190 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44191 checking for _hurd_dtablesize. Unlock it right after having
44192 finished _hurd_dtable allocation.
44193
10589b4a
TS
441942012-05-10 Thomas Schwinge <thomas@schwinge.name>
44195
674cdbc7
TS
44196 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44197 * sysdeps/mach/hurd/configure: Regenerated.
44198 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44199 special-casing to...
44200 * sysdeps/gnu/configure.in: ... this new file.
44201 * sysdeps/unix/sysv/linux/configure: Regenerated.
44202 * sysdeps/gnu/configure: New generated file.
44203
8e41b99f
TS
44204 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44205 for Linux: use nsec instead of usec, as well as:
44206 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44207 members of type struct timespec.
44208 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44209 New macros.
44210 (struct stat64): Likewise.
44211 (_STATBUF_ST_NSEC): New macro.
44212 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44213
10589b4a
TS
44214 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44215 __strtoul_internal rather than strtoul.
44216
63643c85
PT
442172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44218
44219 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44220 and reject them.
44221
3faebe6a
ST
442222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44223
44224 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44225 which preserves existing values.
44226 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44227
c6474b07
PT
442282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44229
44230 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44231 TIMEOUT values. Return EINVAL for NFDS values either negative or
44232 greater than FD_SETSIZE.
44233
1043890b
ST
442342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44235
44236 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44237 allocated, call __vm_protect to finish enabling the existing space, and
44238 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44239 allocate the remainder.
44240
37ed8b9b
PT
442412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44242
44243 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44244 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44245
db653660
ST
442462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44247
37ed8b9b
PT
44248 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44249 sysdeps/mach/hurd/readlink.c.
b29d4053 44250
db653660
ST
44251 * posix/tst-sysconf.c (posix_options): Only use
44252 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44253 _POSIX_SYNCHRONIZED_IO when they are defined
44254 * sysdeps/mach/hurd/bits/posix_opt.h:
44255 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44256 (_XOPEN_REALTIME): Undefine macro.
44257 (_XOPEN_REALTIME_THREADS): Undefine macro.
44258 (_XOPEN_SHM): Undefine macro.
44259 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44260 macro to -1.
44261 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44262 macro to -1.
44263 (_POSIX_ASYNC_IO): Undefine macro.
44264 (_POSIX_PRIORITIZED_IO): Undefine macro.
44265 (_POSIX_SPIN_LOCKS): Define macro to -1.
44266
ee16e894
ST
44267 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44268 SA_NODEFER, SA_RESETHAND.
44269 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44270 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44271 F_DUPFD_CLOEXEC.
44272
6103ae3b
TS
442732012-05-10 Thomas Schwinge <thomas@schwinge.name>
44274
44275 * elf/Makefile (pldd-modules): Define unconditionally.
44276
80b4e5f3
TS
442772012-05-10 Thomas Schwinge <thomas@schwinge.name>
44278
44279 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44280
edadcbd6
ST
442812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44282
44283 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44284 Return ENOENT when name is empty.
44285 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44286
80694780
TS
442872012-05-10 Thomas Schwinge <thomas@schwinge.name>
44288
1792c087
TS
44289 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44290
80694780
TS
44291 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44292
6b645f0d
ST
442932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44294
80694780
TS
44295 Fix mlock in all cases except non-readable pages.
44296 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44297 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44298
6b645f0d
ST
44299 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44300 (__mkdir): When path is `/', just fail with EEXIST.
44301 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44302
e468f8a3
TS
443032012-05-10 Thomas Schwinge <thomas@schwinge.name>
44304
44305 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44306 <sys/uio.h> (for writev).
44307 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44308 and <sys/param.h> (for MIN).
44309
a4186cff
PT
443102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44311
44312 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44313 REQUESTED_TIME. Properly set the remaining time and return EINTR
44314 if interrupted.
44315
510bbf14
TS
443162012-05-10 Thomas Schwinge <thomas@schwinge.name>
44317
44318 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44319 Depend on against $(link-rpcuserlibs).
44320
5d5722e8
ST
443212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44322
a4186cff
PT
44323 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44324 (__libc_stack_end): Do not use attribute_relro.
44325 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44326 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44327 to libthread-provided value.
a4186cff
PT
44328 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44329 attribute_relro.
5d5722e8 44330
37233df9
TS
443312012-05-10 Thomas Schwinge <thomas@schwinge.name>
44332
be971a2b
TS
44333 [BZ #3748]
44334 * bits/libc-lock.h (__libc_once_get): New macro.
44335 * sysdeps/mach/bits/libc-lock.h: Likewise.
44336 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44337 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44338 instead of using implementation details.
44339
37233df9
TS
44340 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44341 * libio/freopen.c: Likewise.
44342 * libio/freopen64.c: Likewise.
44343 * misc/syslog.c: Likewise.
44344 * nscd/connections.c: Likewise.
44345 * nscd/netgroupcache.c: Likewise.
44346 * sysdeps/posix/getcwd.c: Likewise.
44347
38de94a5
RM
443482012-05-10 Roland McGrath <roland@hack.frob.com>
44349
44350 * math/w_ilogbf.c: Add #include <limits.h>.
44351
67530489
ST
443522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44353
a4186cff 44354 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44355 path instead of returning without unlocking.
44356
67530489
ST
44357 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44358 immediate-write ioctls.
44359 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44360
5aa3a74a
TS
443612012-05-10 Thomas Schwinge <thomas@schwinge.name>
44362
18bad2ae
TS
44363 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44364 __builtin_frame_address instead of making assumptions about the
44365 location of the return address relative to DATA. Force early load of
44366 the return address.
44367 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44368 __builtin_frame_address.
44369
5aa3a74a
TS
44370 dup3 for GNU Hurd.
44371 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44372 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44373 implement dup3 and do some further code clean-ups.
44374 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44375 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44376
ecd0de9a
ST
443772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44378
cd9fa985
ST
44379 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44380
a4186cff
PT
44381 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44382 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44383 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44384 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44385 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44386 d->port.lock.
802ca5a5 44387
a4186cff
PT
44388 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44389 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44390 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44391
bcf55240
TS
443922012-05-10 Thomas Schwinge <thomas@schwinge.name>
44393
6960eb42
TS
44394 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44395 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44396 definitions.
44397
eb43375f
TS
44398 accept4 for GNU Hurd.
44399 * include/sys/socket.h (__libc_accept4): New prototype.
44400 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44401 to implement __libc_accept4.
44402 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44403 __libc_accept4.
44404 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44405
bcf55240
TS
44406 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44407 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44408 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44409 signal-defines.sym.
44410
6178c55b
ST
444112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44412
a4186cff 44413 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44414
6f080c2f
TS
444152012-05-10 Thomas Schwinge <thomas@schwinge.name>
44416
44417 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44418 assertion on O_CLOEXEC flag.
44419 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44420 * hurd/intern-fd.c: Likewise.
44421 * hurd/port2fd.c: Likewise.
44422
bcfe3a54
ST
444232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44424
44425 [BZ #3906]
44426 * bits/in.h (IPV6_PKTINFO): Define new macro.
44427 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44428
89c9aa49
AZ
444292012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44430
44431 [BZ #13954]
44432 [BZ #13955]
44433 [BZ #13956]
44434 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44435 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44436 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44437 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44438 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44439 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44440 * math/libm-test.inc (logb_test) : Additional logb tests.
44441
021db4be
AJ
444422012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44443 Andreas Jaeger <aj@suse.de>
44444
44445 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44446 * configure: Regenerated.
44447 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44448 * config.make.in (link-obsolete-rpc): New substituted variable.
44449 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44450 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44451 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44452 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44453 so that libc.a contains the symbols.
44454 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44455 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44456 * sunrpc/auth_none.c: Likewise.
44457 * sunrpc/auth_unix.c: Likewise.
44458 * sunrpc/authdes_prot.c: Likewise.
44459 * sunrpc/authuxprot.c: Likewise.
44460 * sunrpc/clnt_gen.c: Likewise.
44461 * sunrpc/clnt_perr.c: Likewise.
44462 * sunrpc/clnt_raw.c: Likewise.
44463 * sunrpc/clnt_simp.c: Likewise.
44464 * sunrpc/clnt_tcp.c: Likewise.
44465 * sunrpc/clnt_udp.c: Likewise.
44466 * sunrpc/clnt_unix.c: Likewise.
44467 * sunrpc/des_crypt.c: Likewise.
44468 * sunrpc/des_soft.c: Likewise.
44469 * sunrpc/get_myaddr.c: Likewise.
44470 * sunrpc/key_call.c: Likewise.
44471 * sunrpc/key_prot.c: Likewise.
44472 * sunrpc/netname.c: Likewise.
44473 * sunrpc/pm_getmaps.c: Likewise.
44474 * sunrpc/pm_getport.c: Likewise.
44475 * sunrpc/pmap_clnt.c: Likewise.
44476 * sunrpc/pmap_prot.c: Likewise.
44477 * sunrpc/pmap_prot2.c: Likewise.
44478 * sunrpc/pmap_rmt.c: Likewise.
44479 * sunrpc/publickey.c: Likewise.
44480 * sunrpc/rpc_cmsg.c: Likewise.
44481 * sunrpc/rpc_common.c: Likewise.
44482 * sunrpc/rpc_dtable.c: Likewise.
44483 * sunrpc/rpc_prot.c: Likewise.
44484 * sunrpc/rpc_thread.c: Likewise.
44485 * sunrpc/rtime.c: Likewise.
44486 * sunrpc/svc.c: Likewise.
44487 * sunrpc/svc_auth.c: Likewise.
44488 * sunrpc/svc_raw.c: Likewise.
44489 * sunrpc/svc_run.c: Likewise.
44490 * sunrpc/svc_tcp.c: Likewise.
44491 * sunrpc/svc_udp.c: Likewise.
44492 * sunrpc/svc_unix.c: Likewise.
44493 * sunrpc/svcauth_des.c: Likewise.
44494 * sunrpc/xcrypt.c: Likewise.
44495 * sunrpc/xdr.c: Likewise.
44496 * sunrpc/xdr_array.c: Likewise.
44497 * sunrpc/xdr_float.c: Likewise.
44498 * sunrpc/xdr_intXX_t.c: Likewise.
44499 * sunrpc/xdr_mem.c: Likewise.
44500 * sunrpc/xdr_rec.c: Likewise.
44501 * sunrpc/xdr_ref.c: Likewise.
44502 * sunrpc/xdr_sizeof.c: Likewise.
44503 * sunrpc/xdr_stdio.c: Likewise.
44504
b5c086a2
RM
445052012-05-10 Roland McGrath <roland@hack.frob.com>
44506
44507 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44508 change. Update copyright years.
44509
6d74dd09
JM
445102012-05-10 Joseph Myers <joseph@codesourcery.com>
44511
44512 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44513
28e72501
MK
445142012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44515 Joseph Myers <joseph@codesourcery.com>
44516 Paul Pluzhnikov <ppluzhnikov@google.com>
44517
44518 [BZ #14012]
44519 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44520 requiring rpcgen.
44521 [cross-compiling] (extra-libs): Likewise.
44522 [cross-compiling] (extra-libs-others): Likewise.
44523 [cross-compiling] (librpcsvc-routines): Likewise.
44524 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44525 [cross-compiling] (omit-deps): Likewise.
44526 (sunrpc-CPPFLAGS): New variable.
44527 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44528 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44529 (cross-rpcgen-objs): New variable.
44530 (extra-objs): Append $(cross-rpcgen-objs).
44531 ($(cross-rpcgen-objs)): New rule.
44532 ($(objpfx)cross-rpcgen): Likewise.
44533 (rpcgen-cmd): Define to use $(built-program-file). Expand
44534 comment.
44535 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44536 ($(objpfx)x%.stmp): Likewise.
44537 * sunrpc/proto.h [IS_IN_build] (_): Define.
44538 [IS_IN_build] (_libc_intl_domainname): Likewise.
44539
c8c59454
L
445402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44541
44542 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44543 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44544 and R_X86_64_TPOFF64.
44545
6f27cd16
JM
445462012-05-10 Joseph Myers <joseph@codesourcery.com>
44547
44548 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44549 sysdeps/unix/sysv/syscalls.list.
44550 (stime): Likewise.
44551 (utime): Likewise.
44552 * sysdeps/unix/sysv/syscalls.list: Remove file.
44553
02467e1c
PE
445542012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44555
44556 [BZ #3440]
44557 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44558 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44559 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44560 (__LC_IDENTIFICATION): Make these macros useful in #if
44561 expressions, as required by C99.
44562
da392631
AS
445632012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44564
44565 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44566 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44567 after this.
44568
8115f29b
L
445692012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44570
44571 * stdlib/longlong.h: Updated from GCC.
44572
bdd74070
AJ
445732012-05-09 Andreas Jaeger <aj@suse.de>
44574
edfe0dbe
AJ
44575 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44576 default is first entry.
44577 (run_mode): Set type.
44578 (main): Remove informal message about syslog.
44579 (options): Fix typo.
44580
bcfe3a54
ST
44581 [BZ #14053]
44582 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44583 to asm.
bcfe3a54
ST
44584 (lrint): Likewise.
44585 (llrintf): Likewise.
44586 (llrint): Likewise.
44587 (rint): Likewise.
44588 (rintf): Likewise.
44589 (nearbyint): Likewise.
44590 (nearbyintf): Likewise.
bdd74070 44591
91d8d69e
AJ
445922012-05-09 Andreas Jaeger <aj@suse.de>
44593 Pedro Alves <palves@redhat.com>
44594
44595 * nscd/nscd.c (run_mode): Use enum.
44596 (main): Cleanup coding style issue.
44597
bb90b80b
AJ
445982012-05-09 Alexandre Oliva <aoliva@redhat.com>
44599 Andreas Jaeger <aj@suse.de>
44600
bcfe3a54
ST
44601 * nscd/nscd.c (go_background): Replaced with...
44602 (run_mode): ... this.
bb90b80b 44603 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44604 (options): Add -F --foreground.
44605 (main): Implement it.
44606 (parse_opt): Parse it.
bb90b80b 44607
1a4b75a1
AJ
446082012-05-09 Andreas Jaeger <aj@suse.de>
44609
44610 [BZ #14083]
44611 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44612 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44613 -Wconversion warning.
44614 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44615 Likewise.
44616
b1cc2472
JM
446172012-05-09 Joseph Myers <joseph@codesourcery.com>
44618
44619 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44620 == 0.
44621 (LC_ALL): Use macro-int-constant.
44622 (LC_COLLATE): Likewise.
44623 (LC_CTYPE): Likewise.
44624 (LC_MESSAGES): Likewise.
44625 (LC_MONETARY): Likewise.
44626 (LC_NUMERIC): Likewise.
44627 (LC_TIME): Likewise.
44628 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44629 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44630 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44631 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44632 Specify type.
44633 [C99-based standards] (float_t): Expect type.
44634 [C99-based standards] (double_t): Expect type.
44635 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44636 type.
44637 [C99-based standards] (HUGE_VALL): Likewise.
44638 [C99-based standards] (INFINITY): Likewise.
44639 [C99-based standards] (NAN): Likewise.
44640 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44641 [C99-based standards] (FP_NAN): Likewise.
44642 [C99-based standards] (FP_NORMAL): Likewise.
44643 [C99-based standards] (FP_SUBNORMAL): Likewise.
44644 [C99-based standards] (FP_ZERO): Likewise.
44645 [C99-based standards] (FP_FAST_FMA): Use
44646 optional-macro-int-constant. Specify type. Require == 1.
44647 [C99-based standards] (FP_FAST_FMAF): Likewise.
44648 [C99-based standards] (FP_FAST_FMAL): Likewise.
44649 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44650 [C99-based standards] (FP_ILOGBNAN): Likewise.
44651 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44652 Specify type.
44653 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44654 [C99-based standards] (math_errhandling): Specify type.
44655 [ISO99 || ISO11] (signgam): Do not allow.
44656 [non-C99-based standards] (copysignf): Do not allow.
44657 [non-C99-based standards] (exp2f): Likewise.
44658 [non-C99-based standards] (log2f): Likewise.
44659 [non-C99-based standards] (modff): Allow.
44660 [non-C99-based standards] (erff): Do not allow.
44661 [non-C99-based standards] (erfcf): Likewise.
44662 [non-C99-based standards] (gammaf): Likewise.
44663 [non-C99-based standards] (hypotf): Likewise.
44664 [non-C99-based standards] (j0f): Likewise.
44665 [non-C99-based standards] (j1f): Likewise.
44666 [non-C99-based standards] (jnf): Likewise.
44667 [non-C99-based standards] (lgammaf): Likewise.
44668 [non-C99-based standards] (tgammaf): Likewise.
44669 [non-C99-based standards] (y0f): Likewise.
44670 [non-C99-based standards] (y1f): Likewise.
44671 [non-C99-based standards] (ynf): Likewise.
44672 [non-C99-based standards] (isnanf): Likewise.
44673 [non-C99-based standards] (acoshf): Likewise.
44674 [non-C99-based standards] (asinhf): Likewise.
44675 [non-C99-based standards] (atanhf): Likewise.
44676 [non-C99-based standards] (cbrtf): Likewise.
44677 [non-C99-based standards] (expm1f): Likewise.
44678 [non-C99-based standards] (ilogbf): Likewise.
44679 [non-C99-based standards] (log1pf): Likewise.
44680 [non-C99-based standards] (logbf): Likewise.
44681 [non-C99-based standards] (nextafterf): Likewise.
44682 [non-C99-based standards] (remainderf): Likewise.
44683 [non-C99-based standards] (rintf): Likewise.
44684 [non-C99-based standards] (scalbf): Likewise.
44685 [non-C99-based standards] (copysignl): Likewise.
44686 [non-C99-based standards] (exp2l): Likewise.
44687 [non-C99-based standards] (log2l): Likewise.
44688 [non-C99-based standards] (modfl): Allow.
44689 [non-C99-based standards] (erfl): Do not allow.
44690 [non-C99-based standards] (erfcl): Likewise.
44691 [non-C99-based standards] (gammal): Likewise.
44692 [non-C99-based standards] (hypotl): Likewise.
44693 [non-C99-based standards] (j0l): Likewise.
44694 [non-C99-based standards] (j1l): Likewise.
44695 [non-C99-based standards] (jnl): Likewise.
44696 [non-C99-based standards] (lgammal): Likewise.
44697 [non-C99-based standards] (tgammal): Likewise.
44698 [non-C99-based standards] (y0l): Likewise.
44699 [non-C99-based standards] (y1l): Likewise.
44700 [non-C99-based standards] (ynl): Likewise.
44701 [non-C99-based standards] (isnanl): Likewise.
44702 [non-C99-based standards] (acoshl): Likewise.
44703 [non-C99-based standards] (asinhl): Likewise.
44704 [non-C99-based standards] (atanhl): Likewise.
44705 [non-C99-based standards] (cbrtl): Likewise.
44706 [non-C99-based standards] (expm1l): Likewise.
44707 [non-C99-based standards] (ilogbl): Likewise.
44708 [non-C99-based standards] (log1pl): Likewise.
44709 [non-C99-based standards] (logbl): Likewise.
44710 [non-C99-based standards] (nextafterl): Likewise.
44711 [non-C99-based standards] (remainderl): Likewise.
44712 [non-C99-based standards] (rintl): Likewise.
44713 [non-C99-based standards] (scalbl): Likewise.
44714 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44715 [non-C99-based standards] (FP_*): Do not allow.
44716 [C99-based standards] (FP_*): Change to
44717 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44718 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44719 allow.
44720 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44721 (SIG_ERR): Likewise.
44722 [X/Open-based standards] (SIG_HOLD): Likewise.
44723 (SIG_IGN): Likewise.
44724 (SIGABRT): Use macro-int-constant. Specify type. Require
44725 positive value.
44726 (SIGFPE): Likewise.
44727 (SIGILL): Likewise.
44728 (SIGINT): Likewise.
44729 (SIGSEGV): Likewise.
44730 (SIGTER): Likewise.
44731 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44732 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44733 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44734 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44735 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44736 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44737 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44738 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44739 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44740 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44741 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44742 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44743 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44744 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44745 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44746 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44747 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44748 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44749 [X/Open-based standards] (SIGTRAP): Likewise.
44750 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44751 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44752 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44753 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44754 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44755 allow.
44756
b9f1922d
IW
447572012-05-08 Ian Wienand <ianw@vmware.com>
44758
44759 [BZ #14080]
44760 * time/tzset.c (__tzset_parse_tz): Update default rules for
44761 daylight time changes in the Energy Policy Act of 2005.
44762
1db86e88
AJ
447632012-05-09 Andreas Jaeger <aj@suse.de>
44764
44765 [BZ #13983]
44766 * elf/ldconfig.c (parse_conf): Change string to make clear that
44767 ldconfig only issued a warning if ld.so.conf does not exist.
44768
dee4a4e3
DM
447692012-05-08 David S. Miller <davem@davemloft.net>
44770
ee0db190
DM
44771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44772 movxtod instead of popping the value on the stack.
44773
dee4a4e3
DM
44774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44775
6a43ec98
CD
447762012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44777
44778 * config.h.in: Add HAVE_ARM_PCS_VFP.
44779
05c2c961
RMG
447802012-05-08 Roland Mc Grath <roland@hack.frob.com>
44781
bcfe3a54
ST
44782 [BZ #13979]
44783 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44784 checking but the checks are disabled for any reason.
05c2c961 44785
4b30f61a
L
447862012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44787
44788 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44789 and ELF64_R_TYPE with ELFW(R_TYPE).
44790
eee2bc67
JM
447912012-05-08 Joseph Myers <joseph@codesourcery.com>
44792
7ea5391a
JM
44793 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44794 (ulimit): Likewise.
44795
eee2bc67
JM
44796 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44797 (settimeofday): Likewise.
44798
abb66a67
MF
447992012-05-08 Mike Frysinger <vapier@gentoo.org>
44800
44801 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44802 a struct th_u2 inside the union, and move tu_block/tu_code into
44803 a new th_u3 union of tu_block/tu_code inside of that. Move
44804 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44805 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44806 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44807 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44808 (th_stuff): Change to th_u1.tu_stuff.
44809 (th_data): Define.
44810 (th_msg): Change to th_u1.th_u2.tu_data.
44811
7f18b530
DM
448122012-05-07 David S. Miller <davem@davemloft.net>
44813
05760585
DM
44814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44815
7f18b530
DM
44816 [BZ #14074]
44817 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44818 (SETUP_PIC_REG): Use it.
44819 (SETUP_PIC_REG_LEAF): Use it.
44820
495fd99f
JM
448212012-05-07 Joseph Myers <joseph@codesourcery.com>
44822
44823 [BZ #13885]
44824 [BZ #13923]
44825 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44826 USE_AS_EXPM1L.
44827 (EXPL_FINITE): Likewise.
44828 (FLDLOG): Likewise.
44829 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44830 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44831 e_expl.S.
44832 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44833 USE_AS_EXPM1L.
44834 (EXPL_FINITE): Likewise.
44835 (FLDLOG): Likewise.
44836 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44837 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44838 e_expl.S.
44839 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44840 test of -max_value argument for long double.
44841 * sysdeps/i386/fpu/libm-test-ulps: Update.
44842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44843
6693d694
DM
448442012-05-06 David S. Miller <davem@davemloft.net>
44845
44846 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44847 quad soft-float symbols whose references which are compiler
44848 generated.
44849 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44850
6c23e11c
JM
448512012-05-06 Joseph Myers <joseph@codesourcery.com>
44852
d8b82cad
JM
44853 [BZ #13884]
44854 [BZ #13914]
44855 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44856 USE_AS_EXP10L.
44857 (EXPL_FINITE): Likewise.
44858 (FLDLOG): Likewise.
44859 (c0): Likewise.
44860 (c1): Likewise.
44861 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44862 Adjust comments for base varying.
44863 (__expl_finite): Change alias to EXPL_FINITE.
44864 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44865 e_expl.S.
44866 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44867 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44868 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44869 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44870 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44871 USE_AS_EXP10L.
44872 (EXPL_FINITE): Likewise.
44873 (FLDLOG): Likewise.
44874 (c0): Likewise.
44875 (c1): Likewise.
44876 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44877 Adjust comments for base varying.
44878 (__expl_finite): Change alias to EXPL_FINITE.
44879 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44880 tests for bugs.
44881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44882
6c23e11c
JM
44883 [BZ #14064]
44884 * math/libm-test.inc (check_float_internal): Correct ulp
44885 calculation for subnormal expected results.
44886
29ba805c
AJ
448872012-05-06 Andreas Jaeger <aj@suse.de>
44888
44889 * Makeconfig (+math-flags): New, set to -frounding-math.
44890 (+cflags): Add +math-flags so that all of glibc gets compiled with
44891 it.
44892
44893 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44894
7b17aeda
JM
448952012-05-05 Joseph Myers <joseph@codesourcery.com>
44896
5779f134
JM
44897 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44898 Disable one test.
44899
41498f4d
JM
44900 [BZ #13787]
44901 [BZ #13922]
44902 [BZ #14036]
44903 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44904 (__ieee754_expl): Allow for and saturate large arguments.
44905 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44906 (u_threshold): Likewise.
44907 (__exp): Call __ieee754_exp before checking for overflow and
44908 underflow.
44909 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44910 (u_threshold): Likewise.
44911 (__expf): Call __ieee754_expf before checking for overflow and
44912 underflow.
44913 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44914 (u_threshold): Likewise.
44915 (__expl): Call __ieee754_expl before checking for overflow and
44916 underflow.
44917 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44918 (__ieee754_expl): Allow for and saturate large arguments.
44919 * math/libm-test.inc (exp_test): Add another test. Do not allow
44920 missing overflow exception on overflow.
44921 (expm1_test): Do not allow missing overflow exception on overflow.
44922
6698b8bf
JM
44923 * sysdeps/i386/fpu/e_expl.c: Move to ...
44924 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44925 rather than using inline asm.
44926 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44927 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44928 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44929
7b17aeda
JM
44930 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44931 (nice): Likewise.
44932 (poll): Likewise.
44933 (signal): Likewise.
44934 (time): Likewise.
44935 (times): Likewise.
44936
f7c85819
JM
449372012-05-04 Joseph Myers <joseph@codesourcery.com>
44938
44939 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44940 sysdeps/unix/common/syscalls.list.
44941 (fchmod): Likewise.
44942 (fchown): Likewise.
44943 (ftruncate): Likewise.
44944 (getrusage): Likewise.
44945 (gettimeofday): Likewise.
44946 (setpgid): Likewise.
44947 (setregid): Likewise.
44948 (setreuid): Likewise.
44949 (sigaction): Likewise.
44950 (truncate): Likewise.
44951 (vhangup): Likewise.
44952 * sysdeps/unix/common/syscalls.list: Remove file.
44953 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44954 * sysdeps/unix/sysv/linux/Implies: Likewise.
44955
336270d0
L
449562012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44957
44958 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44960 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44961 Moved to ...
44962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44963 Here.
44964 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44965 to ...
44966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44967 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44968 to ...
44969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44970 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44971 to ...
44972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44973 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44974 to ...
44975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44976 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44977 to ...
44978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44979 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44980 to ...
44981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44982 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44983 to ...
44984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44985 Here.
44986 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44987 to ...
44988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44989 Here.
44990 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44991 to ...
44992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44993 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44994 Moved to ...
44995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44996 Here.
44997 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44998 to ...
44999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45000
d128e450
JM
450012012-05-04 Joseph Myers <joseph@codesourcery.com>
45002
fa8ee516
JM
45003 * sysdeps/unix/common/bits/dirent.h: Remove file.
45004 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45005
d128e450
JM
45006 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45007 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45008 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45009 * sysdeps/unix/bsd/isatty.c: Likewise.
45010 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45011 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45012 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45013
ff8faaf0 450142012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 45015
62881be4 45016 [BZ #13563]
31dc8730
AZ
45017 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45018 long double comparison inaccuracies.
45019 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45021
6fef930c
AS
450222012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45023
45024 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45025 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45026
8f203e6c
JM
450272012-05-04 Joseph Myers <joseph@codesourcery.com>
45028
45029 [BZ #14049]
45030 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45031 nonzero digits before rounding a hex value.
45032 * stdlib/tst-strtod.c (tests): Add another test.
45033
5197d9c2
AK
450342012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45035
45036 * sysdeps/s390/fpu/libm-test-ulps: Update.
45037
f0c1dedf
AJ
450382012-05-03 Andreas Jaeger <aj@suse.de>
45039
45040 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45041 does not get optimized out.
45042 (malloc_opt_barrier): New.
45043
a65ef2ae 450442012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 45045 Roland McGrath <roland@hack.frob.com>
a65ef2ae 45046
2b942cb7 45047 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 45048 intermediate file deletion.
2b942cb7 45049 (generated): Add .symlist files.
a65ef2ae 45050
54b71e02
JM
450512012-05-03 Joseph Myers <joseph@codesourcery.com>
45052
45053 [BZ #13775]
45054 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45055 Redirect under this condition.
45056 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45057 [__USE_GNU] (__dprintf_chk): Not under this condition.
45058 [__USE_GNU] (__vdprintf_chk): Likewise.
45059 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45060 under this condition.
45061 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45062 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45063 [__USE_XOPEN2K8] (vdprintf): Likewise.
45064 [__USE_GNU] (__dprintf_chk): Not under this condition.
45065 [__USE_GNU] (__vdprintf_chk): Likewise.
45066 [__USE_GNU] (dprintf): Likewise.
45067 [__USE_GNU] (vdprintf): Likewise.
45068
d3dfcc41
RM
450692012-05-03 Roland McGrath <roland@hack.frob.com>
45070
45071 * elf/Makefile (common-generated): Set this instead of generated for
45072 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45073 $(all-built-dso)-derived lists.
45074
7ac30cc5
AJ
450752012-05-03 Andreas Jaeger <aj@suse.de>
45076
0c51e550
AJ
45077 * sysdeps/i386/fpu/libm-test-ulps: Update.
45078
7ac30cc5
AJ
45079 * FAQ: Removed.
45080 * FAQ.in: Likewise.
45081 * scripts/gen-FAQ.pl: Likewise.
45082 * manual/install.texi (Installation): Point to online location of
45083 FAQ.
45084 * Makefile (files-for-dist): Remove FAQ.
45085 (FAQ): Remove.
45086
d4c2917f
AM
450872012-05-02 Allan McRae <allan@archlinux.org>
45088
45089 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45090 (LDFLAGS-reldepmod5.so): Likewise.
45091 (LDFLAGS-reldep6mod1.so): Likewise.
45092 (LDFLAGS-reldep6mod4.so): Likewise.
45093 (LDFLAGS-reldep8mod3.so): Likewise.
45094 (LDFLAGS-unload4mod1.so): Likewise.
45095 (LDFLAGS-unload4mod2.so): Likewise.
45096 (LDFLAGS-tst-initorder): Likewise.
45097 (LDFLAGS-tst-initordera2.so): Likewise.
45098 (LDFLAGS-tst-initordera3.so): Likewise.
45099 (LDFLAGS-tst-initordera4.so): Likewise.
45100 (LDFLAGS-tst-initorderb2.so): Likewise.
45101 (LDFLAGS-noload): Likewise.
45102 (LDFLAGS-next): Likewise.
45103 (LDFLAGS-order2mod1.so): Likewise.
45104 (LDFLAGS-order2mod2.so): Likewise.
45105 (LDFLAGS-tst-initorder2): Likewise.
45106 (LDFLAGS-tst-initorder2a.so): Likewise.
45107 (LDFLAGS-tst-initorder2b.so): Likewise.
45108 (LDFLAGS-tst-initorder2c.so): Likewise.
45109 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45110
d77f993f
DM
451112012-05-02 David S. Miller <davem@davemloft.net>
45112
45113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45114
171a70b4
PP
451152012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45116
45117 [BZ #14055]
45118 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45119
0be196ad
AJ
451202012-05-02 Andreas Jaeger <aj@suse.de>
45121
45122 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45123 since we manipulate rounding mode.
45124 (CPPFLAGS-test-idouble.c): Likewise.
45125 (CPPFLAGS-test-ifloat.c): Likewise.
45126 (CFLAGS-test-ldouble.c): Likewise.
45127 (CFLAGS-test-double.c): Likewise.
45128 (CFLAGS-test-float.c): Likewise.
45129 (CFLAGS-test-misc.c): Likewise.
45130 (CFLAGS-test-test-fenv.c): Likewise.
45131
4f9d04aa
AZ
451322012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45133
2b942cb7
RM
45134 [BZ #2550]
45135 [BZ #2570]
45136 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45137 comparisons to determine direction to adjust input.
4f9d04aa 45138
82a79e7d
RM
451392012-05-01 Roland McGrath <roland@hack.frob.com>
45140
f5a01ca9
RM
45141 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45142 output to the target.
45143
90fe4186
RM
45144 * scripts/localplt.awk: New file.
45145 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45146 (check-localplt-CFLAGS): Variable removed.
45147 ($(all-built-dso:=.jmprel)): New static pattern rule.
45148 (generated): Add those targets.
45149 (localplt-built-dso): New variable.
45150 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45151
45152 * elf/check-localplt.c: File removed.
45153
82397ed6
RM
45154 * scripts/check-execstack.awk: New file.
45155 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45156 (check-execstack-CFLAGS): Variable removed.
45157 ($(objpfx)check-execstack.h): Target removed.
45158 ($(objpfx)execstack-default): New target.
45159 (generated): Add that instead of check-execstack.h.
45160 ($(all-built-dso:=.phdr)): New static pattern rule.
45161 (generated): Add those targets.
45162 * elf/check-execstack.c: File removed.
45163
82a79e7d
RM
45164 * scripts/check-textrel.awk: New file.
45165 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45166 (check-textrel-CFLAGS): Variable removed.
45167 (all-built-dso): Use := to define.o
45168 ($(all-built-dso:=.dyn)): New static pattern rule.
45169 (generated): Add those targets.
45170 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45171 * config.make.in (READELF): New substituted variable.
45172 * elf/check-textrel.c: File removed.
45173
62fde54f 451742012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45175
615605c9
JM
45176 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45177 allow.
45178 * conform/data/ctype.h-data [C99-based standards] (isblank):
45179 Expect function.
45180 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45181 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45183 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45184 Specify type. Require positive value.
45185 (EILSEQ): Likewise.
45186 (ERANGE): Likewise.
45187 [ISO || POSIX] (EILSEQ): Do not expect.
45188 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45189 Specify type. Require positive value.
45190 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45191 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45192 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45193 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45194 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45195 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45196 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45197 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45198 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45199 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45200 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45201 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45202 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45203 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45204 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45205 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45206 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45207 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45208 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45209 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45210 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45211 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45212 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45213 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45214 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45215 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45216 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45217 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45218 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45219 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45220 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45221 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45222 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45223 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45224 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45225 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45226 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45227 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45228 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45229 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45230 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45231 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45232 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45233 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45234 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45235 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45236 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45237 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45238 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45239 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45240 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45241 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45242 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45243 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45244 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45245 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45246 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45247 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45248 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45249 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45250 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45251 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45252 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45253 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45254 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45255 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45256 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45257 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45258 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45259 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45260 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45261 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45262 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45263 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45264 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45265 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45266 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45267 Require >= 2.
45268 (FLT_ROUNDS): Expect as macro, not constant.
45269 (FLT_MANT_DIG): Use macro-int-constant.
45270 (DBL_MANT_DIG): Likewise.
45271 (LDBL_MANT_DIG): Likewise.
45272 (FLT_DIG): Likewise.
45273 (DBL_DIG): Likewise.
45274 (LDBL_DIG): Likewise.
45275 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45276 (DBL_MIN_EXP): Likewise.
45277 (LDBL_MIN_EXP): Likewise.
45278 (FLT_MAX_EXP): Use macro-int-constant.
45279 (DBL_MAX_EXP): Likewise.
45280 (LDBL_MAX_EXP): Likewise.
45281 (FLT_MAX_10_EXP): Likewise.
45282 (DBL_MAX_10_EXP): Likewise.
45283 (LDBL_MAX_10_EXP): Likewise.
45284 (FLT_MAX): Use macro-constant.
45285 (DBL_MAX): Likewise.
45286 (LDBL_MAX): Likewise.
45287 (FLT_EPSILON): Use macro-constant. Give upper bound.
45288 (DBL_EPSILON): Likewise.
45289 (LDBL_EPSILON): Likewise.
45290 (FLT_MIN): Likewise.
45291 (DBL_MIN): Likewise.
45292 (LDBL_MIN): Likewise.
45293 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45294 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45295 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45296 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45297 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45298 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45299 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45300 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45301 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45302 [ISO11] (FLT_TRUE_MIN): Likewise.
45303 [ISO11] (LDBL_TRUE_MIN): Likewise.
45304 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45305 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45306 (SCHAR_MIN): Use macro-int-constant. Specify type.
45307 (SCHAR_MAX): Likewise.
45308 (UCHAR_MAX): Likewise.
45309 (CHAR_MIN): Likewise.
45310 (CHAR_MAX): Likewise.
45311 (MB_LEN_MAX): Use macro-int-constant.
45312 (SHRT_MIN): Use macro-int-constant. Specify type.
45313 (SHRT_MAX): Likewise.
45314 (USHRT_MAX): Likewise.
45315 (INT_MAX): Likewise.
45316 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45317 bound negative.
45318 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45319 bound with "U".
45320 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45321 bound with "L".
45322 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45323 bound negative. Suffix upper bound with "L".
45324 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45325 bound with "UL".
45326 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45327 Specify type.
45328 [C99-based standards] (LLONG_MAX): Likewise.
45329 [C99-based standards] (ULLONG_MAX): Likewise.
45330 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45331 == 0.
45332 [ISO11] (max_align_t): Require type.
45333 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45334
c9140a62
JM
45335 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45336 from $CFLAGS, without defining away __attribute__ calls.
45337 (checknamespace): Use $CFLAGS_namespace.
45338
9af0bf29
JM
45339 * conform/conformtest.pl (@keywords): Only include C99 keywords
45340 for standards based on C99 or C11.
45341
343222a2
JM
45342 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45343 Disable tests.
45344 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45345 UNIX98]: Likewise.
45346
661f8cf0
JM
45347 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45348 usability of symbols in #if.
45349
ee74b9cb
JM
45350 * conform/conformtest.pl: If macro or constant types start
45351 "promoted:", expect the symbol to be of the following type
45352 promoted by the integer promotions.
62fde54f 45353
aafc49b3
JM
45354 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45355 in one place. Also handle "macro-constant".
45356
fefdf574
JM
45357 * conform/conformtest.pl: Only accept expected macro values with
45358 "==". Parse all "macro" lines in one place.
45359 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45360
f2d922fe
JM
45361 * conform/conformtest.pl: Handle braced types on "constant" lines
45362 instead of handling "typed-constant".
45363 * conform/data/signal.h-data: Use "constant" instead of
45364 "typed-constant".
45365
d22956c9
JM
45366 * conform/conformtest.pl: Handle "optional-" at start of lines in
45367 one place rather than duplicating several cases. Handle each
45368 format of "macro" line with initial "optional-".
45369
028e2e38
JM
45370 * conform/conformtest.pl: Only accept expected constant or
45371 optional-constant values with "==". Parse all "constant" lines in
45372 one place. Parse all "optional-constant" lines in one place.
45373 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45374 * conform/data/fmtmsg.h-data: Likewise.
45375 * conform/data/netinet/in.h-data: Likewise.
45376 * conform/data/tar.h-data: Likewise.
45377 * conform/data/limits.h-data: Use "==" form on "constant" and
45378 "optional-constant" lines.
45379
1b8f2850
JM
45380 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45381 Use -std=c99 for XOPEN2K.
45382 (@knownproblems): Remove.
45383 (newtoken): Don't check %isknown.
45384
a05a144b
JM
45385 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45386 Do not expect macro.
45387 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45388 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45389 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45390 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45391 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45392 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45393 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45394 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45395 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45396 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45397 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45398 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45399 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45400 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45401 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45402 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45403 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45404 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45405 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45406 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45407 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45408 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45409 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45410 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45411 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45412 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45413 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45414 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45415 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45416 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45417 [XPG3] (acosh): Likewise.
45418 [XPG3] (asinh): Likewise.
45419 [XPG3] (atanh): Likewise.
45420 [XPG3] (cbrt): Likewise.
45421 [XPG3] (expm1): Likewise.
45422 [XPG3] (ilogb): Likewise.
45423 [XPG3] (log1p): Likewise.
45424 [XPG3] (logb): Likewise.
45425 [XPG3] (nextafter): Likewise.
45426 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45427 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45428 [XPG3] (remainder): Likewise.
45429 [XPG3] (rint): Likewise.
45430 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45431 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45432 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45433 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45434 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45435 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45436 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45437 [UNIX98 || XOPEN2K] (scalb): Expect.
45438 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45439 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45440 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45441 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45442 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45443 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45444 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45445 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45446 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45447 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45448 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45449 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45450 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45451 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45452 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45453 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45454 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45455 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45456 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45457 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45458 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45459 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45460 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45461 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45462 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45463 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45464 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45465 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45466 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45467 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45468 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45469 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45470 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45471 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45472 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45473 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45474 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45475 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45476 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45477 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45478 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45479 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45480 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45481 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45482 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45483 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45484 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45485 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45486 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45487 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45488 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45489 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45490 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45491 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45492 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45493 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45494 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45495 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45496 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45497 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45498 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45499 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45500 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45501 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45502 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45503 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45504 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45505 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45506 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45507 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45508 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45509 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45510 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45511 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45512 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45513 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45514 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45515 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45516 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45517 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45518 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45519 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45520 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45521 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45522 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45523 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45524 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45525 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45526 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45527 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45528 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45529 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45530 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45531 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45532 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45533 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45534 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45535 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45536 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45537 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45538 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45539 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45540 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45541 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45542 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45543 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45544 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45545 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45546 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45547 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45548 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45549 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45550 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45551 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45552 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45553 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45554 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45555 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45556 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45557 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45558 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45559 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45560 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45561 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45562 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45563 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45564 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45565 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45566 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45567 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45568 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45569 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45570 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45571 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45572 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45573 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45574 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45575
73c5ebe3
JM
45576 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45577 _XOPEN_SOURCE_EXTENDED for XPG4.
45578
39c33b6c
JM
45579 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45580
62fde54f
JM
45581 * Makeconfig (localtime): Remove variable.
45582 (inst_localtime-file): Likewise.
45583
0741d64c
AS
455842012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45585
45586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45587 Update.
45588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45589 Update.
45590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45591 Update.
45592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45593 Update.
45594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45595 Update.
45596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45597 Update.
45598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45599 Update.
45600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45601 Update.
45602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45603 Update.
45604
7cb029ee
JM
456052012-05-01 Joseph Myers <joseph@codesourcery.com>
45606
45607 [BZ #2550]
45608 [BZ #2570]
45609 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45610 comparisons to determine direction to adjust input.
45611 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45612 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45613 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45614 Likewise.
45615 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45616 Likewise.
45617 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45618 Likewise.
45619 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45620 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45621 Likewise.
45622 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45623 Likewise.
45624 * math/libm-test.inc (nexttoward_test): Add more tests.
45625
412bd966
AS
456262012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45627
45628 [BZ #14040]
45629 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45630 in version GLIBC_2.1, not GLIBC_2.0.
45631 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45632 Likewise.
45633
9568c0c2
JM
456342012-04-30 Joseph Myers <joseph@codesourcery.com>
45635
adfbc8ac
JM
45636 [BZ #13942]
45637 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45638 (1 - x) * (1 + x).
45639 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45640 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45641 * math/libm-test.inc (acos_test): Add more tests.
45642 (asin_test): Likewise.
45643 * sysdeps/i386/fpu/libm-test-ulps: Update.
45644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45645
5ba3cc69
JM
45646 [BZ #14034]
45647 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45648 of square root.
45649 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45650 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45651 * math/libm-test.inc (acos_test_tonearest): New function.
45652 (acos_test_towardzero): Likewise.
45653 (acos_test_downward): Likewise.
45654 (acos_test_upward): Likewise.
45655 (asin_test_tonearest): Likewise.
45656 (asin_test_towardzero): Likewise.
45657 (asin_test_downward): Likewise.
45658 (asin_test_upward): Likewise.
45659 (main): Call the new functions.
45660 * sysdeps/i386/fpu/libm-test-ulps: Update.
45661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45662
9568c0c2
JM
45663 [BZ #13884]
45664 [BZ #13924]
45665 * math/e_exp10.c: Include <float.h>.
45666 (__ieee754_exp10): Handle underflow here rather than multiplying
45667 large negative argument by M_LN10.
45668 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45669 of __ieee754_expf.
45670 * math/e_exp10l.c: Include <float.h>.
45671 (__ieee754_exp10l): Handle underflow here rather than multiplying
45672 large negative argument by M_LN10l.
45673 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45674 spurious overflow exception on underflow.
45675
5ac3ea17
MP
456762012-04-29 Marek Polacek <polacek@redhat.com>
45677
45678 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45679 (__fortify_function): New macro.
45680 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45681 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45682 __extern_always_inline.
45683 * libio/bits/stdio2.h: Likewise.
45684 * libio/bits/stdio.h: Likewise.
45685 * string/string.h: Likewise.
45686 * string/bits/string3.h: Likewise.
45687 * include/stdio.h: Likewise.
45688 * stdlib/bits/stdlib.h: Likewise.
45689 * stdlib/stdlib.h: Likewise.
45690 * rt/bits/mqueue2.h: Likewise.
45691 * rt/mqueue.h: Likewise.
45692 * posix/bits/unistd.h: Likewise.
45693 * posix/unistd.h: Likewise.
45694 * io/bits/poll2.h: Likewise.
45695 * io/bits/fcntl2.h: Likewise.
45696 * io/fcntl.h: Likewise.
45697 * io/sys/poll.h: Likewise.
45698 * misc/bits/syslog.h: Likewise.
45699 * misc/bits/syslog-ldbl.h: Likewise.
45700 * misc/sys/syslog.h: Likewise.
45701 * socket/bits/socket2.h: Likewise.
45702 * socket/sys/socket.h: Likewise.
45703 * debug/tst-chk1.c: Likewise.
45704 * wcsmbs/bits/wchar2.h: Likewise.
45705 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45706 * wcsmbs/wchar.h: Likewise.
45707
ecf0ebfb
AJ
457082012-04-29 Andreas Jaeger <aj@suse.de>
45709
45710 * Makerules (tests): Remove enable-check-abi protection.
45711 (check-abi-warn): Remove.
45712 (check-abi-%): Remove check-abi-warn usage.
45713
45714 * configure.in: Remove check-abi configure option.
45715 * configure: Regenerated.
45716 * config.make.in (enable-check-abi): Remove.
45717
6d5c57fa
AS
457182012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45719
24c5d07e 45720 [BZ #14033]
ded5180a
AS
45721 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45722 double functions to double *_finite functions.
45723
7e0d315d
AS
45724 [BZ #13941]
45725 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45726 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45727 LDBL_MIN_EXP.
45728 * stdio-common/Makefile (tests): Add tst-sprintf3.
45729 * stdio-common/tst-sprintf3.c: New file.
45730
6d5c57fa
AS
45731 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45732 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45733
0749ff8b
JM
457342012-04-28 Joseph Myers <joseph@codesourcery.com>
45735
45736 * conform/conformtest.pl: Remove duplicate typed-constant
45737 handling.
45738
8dbd5d7b
DM
457392012-04-28 David S. Miller <davem@davemloft.net>
45740
45741 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45742 (check-abi-%): Remove AWK script prerequisite and explicit
45743 abilist directory.
45744 (check-abi): Rewrite to just diff the symlist with the abilist.
45745 (config-tls, config-abi-config): Delete, no longer used.
45746 (update-abi-%): Remove AWK script and explicit abilist directory.
45747 (update-abi): Rewrite to simply compare and conditionally copy the
45748 symlist and the sysdep abilist file. Remove update-abi-config
45749 checks.
45750 * abilist/ld.abilist: Remove.
45751 * abilist/libBrokenLocale.abilist: Remove.
45752 * abilist/libanl.abilist: Remove.
45753 * abilist/libcrypt.abilist: Remove.
45754 * abilist/libdl.abilist: Remove.
45755 * abilist/librt.abilist: Remove.
45756 * abilist/libthread_db.abilist: Remove.
45757 * abilist/libutil.abilist: Remove.
45758 * scripts/extract-abilist.awk: Remove.
45759 * scripts/merge-abilist.awk: Remove.
45760 * sysdeps/generic/libcidn.abilist: New file.
45761 * sysdeps/generic/libnss_compat.abilist: New file.
45762 * sysdeps/generic/libnss_db.abilist: New file.
45763 * sysdeps/generic/libnss_dns.abilist: New file.
45764 * sysdeps/generic/libnss_files.abilist: New file.
45765 * sysdeps/generic/libnss_hesiod.abilist: New file.
45766 * sysdeps/generic/libnss_nis.abilist: New file.
45767 * sysdeps/generic/libnss_nisplus.abilist: New file.
45768 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45769 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45770 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45771 file.
45772 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45773 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45774 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45775 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45776 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45777 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45778 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45779 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45780 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45781 file.
45782 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45783 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45784 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45785 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45786 file.
45787 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45788 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45789 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45790 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45791 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45792 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45793 file.
45794 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45795 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45796 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45797 file.
45798 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45799 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45800 New file.
45801 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45802 New file.
45803 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45804 New file.
45805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45806 New file.
45807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45808 New file.
45809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45810 New file.
45811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45812 New file.
45813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45814 New file.
45815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45816 New file.
45817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45818 New file.
45819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45820 New file.
45821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45822 New file.
45823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45824 New file.
45825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45826 file.
45827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45828 New file.
45829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45830 New file.
45831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45832 file.
45833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45834 New file.
45835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45836 New file.
45837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45838 file.
45839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45840 New file.
45841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45842 New file.
45843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45844 New file.
45845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45846 New file.
45847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45848 New file.
45849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45850 New file.
45851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45853 file.
45854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45855 New file.
45856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45857 file.
45858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45859 file.
45860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45861 file.
45862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45863 file.
45864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45865 file.
45866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45867 New file.
45868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45869 file.
45870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45871 file.
45872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45873 New file.
45874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45875 file.
45876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45878 file.
45879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45880 New file.
45881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45882 file.
45883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45884 file.
45885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45886 file.
45887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45888 file.
45889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45890 file.
45891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45892 New file.
45893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45894 file.
45895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45896 file.
45897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45898 New file.
45899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45900 file.
45901 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45902 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45903 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45904 file.
45905 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45906 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45907 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45908 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45909 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45910 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45911 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45912 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45913 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45914 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45917 file.
45918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45919 New file.
45920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45921 file.
45922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45923 file.
45924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45925 file.
45926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45927 file.
45928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45929 file.
45930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45931 New file.
45932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45933 New file.
45934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45935 file.
45936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45937 New file.
45938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45939 file.
45940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45942 file.
45943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45944 New file.
45945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45946 file.
45947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45948 file.
45949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45950 file.
45951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45952 file.
45953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45954 file.
45955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45956 New file.
45957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45958 New file.
45959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45960 file.
45961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45962 New file.
45963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45964 file.
45965
41d73a1b
JM
459662012-04-28 Joseph Myers <joseph@codesourcery.com>
45967
45968 * conform/conformtest.pl: Fix typo in handling typed-constant from
45969 allow-header.
45970
28aeeda4
JM
459712012-04-27 Joseph Myers <joseph@codesourcery.com>
45972
adae8f5e
JM
45973 * README: Cut down references to pre-2.6 Linux kernels and
45974 Linuxthreads. Update lists of configurations in libc and ports
45975 and sort alphabetically. Say "or newer" with Linux kernel version
45976 requirements.
45977
28aeeda4
JM
45978 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45979
a462cb63
RA
459802012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45981
45982 [BZ #887]
45983 * math/libm-test.inc (logb_test_downward): New test to expose
45984 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45985 rounding mode.
45986
6ad3493e
JM
459872012-04-27 Joseph Myers <joseph@codesourcery.com>
45988
45989 [BZ #14027]
45990 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45991 to be done.
45992 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45993 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45994
2ce4f015
JM
459952012-04-26 Joseph Myers <joseph@codesourcery.com>
45996
5aeb141a
JM
45997 * sysdeps/unix/i386/brk.S: Remove file.
45998 * sysdeps/unix/i386/dl-brk.S: Likewise.
45999 * sysdeps/unix/i386/pipe.S: Likewise.
46000 * sysdeps/unix/i386/sigreturn.S: Likewise.
46001 * sysdeps/unix/i386/syscall.S: Likewise.
46002 * sysdeps/unix/i386/vfork.S: Likewise.
46003 * sysdeps/unix/i386/wait.S: Likewise.
46004
7143acae
JM
46005 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46006 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46007
2ce4f015
JM
46008 * configure.in (arm*-none*): Do not allow without
46009 --enable-hacker-mode.
46010 (netbsd*): Remove case setting base_os.
46011 (386bsd*): Likewise.
46012 (freebsd*): Likewise.
46013 (bsdi*): Likewise.
46014 (osf*): Likewise.
46015 (sunos*): Likewise.
46016 (ultrix*): Likewise.
46017 (newsos*): Likewise.
46018 (dynix*): Likewise.
46019 (*bsd*): Likewise.
46020 (sysv*): Likewise.
46021 (isc*): Likewise.
46022 (esix*): Likewise.
46023 (sco*): Likewise.
46024 (minix*): Likewise.
46025 (irix4*): Likewise.
46026 (irix6*): Likewise.
46027 (solaris[2-9]*): Likewise.
46028 (none): Likewise.
46029 * configure: Regenerated.
46030
0ac229c8
AZ
460312012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46032
46033 [BZ #11521]
46034 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46035 overflow or cancellation in calculating denominator.
46036 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46037 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46038 down expression to avoid unexpected rounding in newer GCCs.
46039 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46040
33f244f4
DM
460412012-04-26 David S. Miller <davem@davemloft.net>
46042
46043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46044 long-double compat symbols.
46045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46058
cfa1f3e8
DM
460592012-04-25 David S. Miller <davem@davemloft.net>
46060
46061 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46062 HWCAP_* values only after the memory barriers have been defined.
46063 (atomic_full_barrier): Define.
46064 (atomic_read_barrier): Define.
46065 (atomic_write_barrier): Define.
46066
6e236b92
SP
460672012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46068
46069 * shlib-versions: Add libgcc_s version information.
46070 * sysdeps/generic/libgcc_s.h: Remove.
46071 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46072 libgcc_s.h.
46073 * sysdeps/gnu/unwind-resume.c: Likewise.
46074 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46075
aab39a09
DM
460762012-04-25 David S. Miller <davem@davemloft.net>
46077
46078 * sysdeps/unix/sparc/brk.S: Delete.
46079 * sysdeps/unix/sparc/dl-brk.S: Delete.
46080 * sysdeps/unix/sparc/pipe.S: Delete.
46081 * sysdeps/unix/sparc/sysdep.S: Delete.
46082 * sysdeps/unix/sparc/sysdep.h: Delete.
46083 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
46084 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46085 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46086 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46087 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
46088 (JUMPTARGET): Remove.
46089 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46090 sysdeps/unix/sparc/sysdep.h
46091 (ENTRY, END): Remove.
46092 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46093
a3cc4f48
JM
460942012-04-25 Joseph Myers <joseph@codesourcery.com>
46095
2ed8cda2
JM
46096 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46097 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46098 -DIS_IN_build.
46099
35d76d59
JM
46100 * timezone/README: Update upstream location and email address for
46101 tzcode and tzdata.
46102 * timezone/zdump.c: Update from tzcode 2012b.
46103 * timezone/zic.c: Likewise.
46104
a3cc4f48
JM
46105 * configure.in (libc_cv_as_needed): Remove test.
46106 * configure: Regenerated.
46107 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46108 conditional definition.
46109 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46110 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46111 * config.make.in (have-as-needed): Remove variable.
46112
ceab42c3
SP
461132012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46114 Paul Pluzhnikov <ppluzhnikov@google.com>
46115
46116 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46117 strings correctly.
46118
3ce2865f
CLT
461192012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46120
46121 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46122 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46123 * sysdeps/sh/strlen.S: Likewise.
46124
f37e0d68
JM
461252012-04-24 Joseph Myers <joseph@codesourcery.com>
46126
ae186e9a
JM
46127 * sysdeps/unix/fork.S: Remove file.
46128 * sysdeps/unix/i386/fork.S: Likewise.
46129 * sysdeps/unix/sparc/fork.S: Likewise.
46130
b96914af
JM
46131 * sysdeps/unix/system.c: Remove file.
46132 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46133
f37e0d68
JM
46134 * sysdeps/unix/getegid.S: Remove file.
46135 * sysdeps/unix/geteuid.S: Likewise.
46136
87ef29ca
RM
461372012-04-24 Roland McGrath <roland@hack.frob.com>
46138
83bcd236
RM
46139 * scripts/check-localplt.awk: New file.
46140 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46141 of diff.
46142 * scripts/data/localplt-generic.data: Add a comment.
46143
87ef29ca
RM
46144 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46145 NODE when __dir_mkfile failed.
46146 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46147 Reported by Ludovic Courtès <ludo@gnu.org>.
46148
e5a6e567
AJ
461492012-04-24 Andreas Jaeger <aj@suse.de>
46150
46151 * Makerules (common-clean): Also remove gen-as-const-headers
46152 files.
46153
c1820385
JM
461542012-04-24 Joseph Myers <joseph@codesourcery.com>
46155
46156 * Makerules (native-compile): Do not change working directory for
46157 build. Use $(OUTPUT_OPTION) in command.
46158 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46159
94e02fc4
AZ
461602012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46161
46162 [BZ #13886]
46163 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46164 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46165 * math/libm-test.inc (floor_test): Add more tests.
46166 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46167
3a533ca3
JM
461682012-04-24 Joseph Myers <joseph@codesourcery.com>
46169
940ab4b3
JM
46170 * sysdeps/unix/getdents.c: Remove file.
46171 * sysdeps/unix/sysv/getdents.c: Likewise.
46172 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46173
90e037bd
JM
46174 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46175 sysdeps/unix/mman/syscalls.list.
46176 (mmap): Likewise.
46177 (mprotect): Likewise.
46178 (msync): Likewise.
46179 (munmap): Likewise.
46180 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46181 * sysdeps/unix/mman/syscalls.list: Remove.
46182 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46183
3a533ca3
JM
46184 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46185 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46186 * configure: Regenerated.
46187 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46188 $(libgcc_s_suffix).
46189 * config.make.in (libgcc_s_suffix): Remove variable.
46190
1ad743de
JM
461912012-04-23 Joseph Myers <joseph@codesourcery.com>
46192
4ad451e2
JM
46193 * sysdeps/unix/sysv/gethostname.c: Move to ...
46194 * sysdeps/posix/gethostname.c: ... here.
46195
5e37ce39
JM
46196 * sysdeps/unix/execve.S: Remove file.
46197
1ad743de
JM
46198 * sysdeps/unix/_exit.S: Remove file.
46199
4e681b5b
AJ
462002012-04-23 Andreas Jaeger <aj@suse.de>
46201
46202 [BZ #13739]
46203 * manual/Makefile: Remove make dist support, there's no
46204 need for a stand-alone documentation tar ball.
46205 (TEXI2DVI): Define always, it's not in Makeconfig.
46206 (dist): Removed.
46207 (tar-it): Removed.
46208 (edition): Removed.
46209 (glibc-doc-$(edition).tar): Removed
46210 (%.Z): Removed.
46211 (%.gz): Removed.
46212 (%.uu): Removed.
46213 (ETAGS): Remove, it's in Makeconfig.
46214 (move-if-change): Remove, it's in Makeconfig.
46215
38686a03 462162012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46217
46218 [BZ #13970]
46219 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46220 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46221 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46222 (strtod_l, strtof_l, strtold_l): Remove __wur.
46223 It is not necessarily an error to ignore strtol's return value.
46224 One can reliably look at the stored endptr to decide whether
46225 the number had valid syntax.
46226
7c0616fa
AJ
462272012-04-21 Andreas Jaeger <aj@suse.de>
46228
803cb6b7 46229 [BZ #13739]
7c0616fa
AJ
46230 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46231
b0fe253f
JM
462322012-04-21 Joseph Myers <joseph@codesourcery.com>
46233
46234 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46235 * sysdeps/unix/sysv/Versions: Remove file.
46236
8280f22d
MT
462372012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46238
46239 [BZ #13927]
46240 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46241
75ce411f 462422012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46243
46244 [BZ #7064]
46245 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46246 version from __vm86.
46247
097d59fa
JM
462482012-04-20 Joseph Myers <joseph@codesourcery.com>
46249
a90f3bcb
JM
46250 * sysdeps/unix/common/lxstat.c: Remove file.
46251 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46252
edc7ea78
JM
46253 * sysdeps/unix/sysv/Makefile: Remove file.
46254
cb78c221
JM
46255 * sysdeps/unix/sysv/direct.h: Remove file.
46256
efa6a45f
JM
46257 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46258 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46259 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46260 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46261 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46262 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46263 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46264
9c9f2d0c
JM
46265 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46266
4541c83b
JM
46267 * sysdeps/unix/xmknod.c: Remove file.
46268 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46269
f5d153a0
JM
46270 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46271
aa746595
JM
46272 * sysdeps/unix/sysv/i386/time.S: Remove file.
46273
cce5905e
JM
46274 * sysdeps/unix/fxstat.c: Remove file.
46275 * sysdeps/unix/xstat.c: Likewise.
46276 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46277
37fa3841
JM
46278 * sysdeps/unix/sysv/sigaction.c: Remove file.
46279
ff1962a3
JM
46280 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46281 (sysdep_headers): Remove variable.
46282 [termio.h not in sysdep_headers] (generated): Likewise.
46283 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46284 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46285 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46286 * sysdeps/unix/sysv/tcflow.c: Likewise.
46287 * sysdeps/unix/sysv/tcflush.c: Likewise.
46288 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46289 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46290 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46291 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46292 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46293
e7740d31
JM
46294 * sysdeps/unix/siglist.c: Remove file.
46295
ee06f18b
JM
46296 * sysdeps/unix/getppid.S: Remove file.
46297
097d59fa
JM
46298 * sysdeps/unix/mkdir.c: Remove file.
46299 * sysdeps/unix/rmdir.c: Likewise.
46300
ff3d51ec
AS
463012012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46302
46303 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46304 ERR_MAX value.
46305 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46306 errlist-compat value.
46307
50f81fd7
DM
463082012-04-18 David S. Miller <davem@davemloft.net>
46309
46310 * sysdeps/generic/memcopy.h (reg_char): Delete.
46311 * debug/strcat_chk.c: Use char, not reg_char.
46312 * debug/strcpy_chk.c: Likewise.
46313 * debug/strncat_chk.c: Likewise.
46314 * debug/strncpy_chk.c: Likewise.
46315 * string/memchr.c: Likewise.
46316 * string/memrchr.c: Likewise.
46317 * string/rawmemchr.c: Likewise.
46318 * string/strcat.c: Likewise.
46319 * string/strchr.c: Likewise.
46320 * string/strchrnul.c: Likewise.
46321 * string/strcmp.c: Likewise.
46322 * string/strcpy.c: Likewise.
46323 * string/strncat.c: Likewise.
46324 * string/strncmp.c: Likewise.
46325 * string/strncpy.c: Likewise.
46326
8ff41c46
WS
463272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46328
46329 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46330 __builtin_memcopy is called when src and dest ranges are known to not
46331 overlap.
46332
6b652f46
WS
463332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46334
46335 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46336 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46337 fwd_align_merge macro call.
46338 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46339 bwd_align_merge macro call.
46340 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46341
b282631e
WS
463422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46343
46344 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46345 bwd_align_merge macros.
46346 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46347 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46348 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46349
95aa737c
DM
463502012-04-18 David S. Miller <davem@davemloft.net>
46351
46352 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46353
7a99a614
AJ
463542012-04-18 Andreas Jaeger <aj@suse.de>
46355
46356 [BZ# 6794]
46357 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46358 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46359 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46360
46361 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46362 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46363 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46364
46365 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46366 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46367 Adjust for changed ldbl-128 files.
46368
46369 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46370 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46371 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46372
e5270c23
DM
463732012-04-17 David S. Miller <davem@davemloft.net>
46374
46375 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46376
fb5e92c9
AS
463772012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46378
46379 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46380 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46381 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46382 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46383 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46384 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46385
76da7265
AZ
463862012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46387
46388 [BZ #6794]
46389 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46390 * math/libm-test.inc: Add ilogb errno and exception tests.
46391 * math/w_ilogb.c: New file: ilogb wrapper.
46392 * math/w_ilogbf.c: New file: ilogbf wrapper.
46393 * math/w_ilogbl.c: New file: ilogbl wrapper.
46394 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46395 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46396 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46397 exception being thrown with 0.0 as argument.
46398 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46399 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46400 exception being thrown with 0.0 as argument.
46401 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46402 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46403 exception being thrown with 0.0 as argument.
46404 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46405 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46406 exception being thrown with 0.0 as argument.
46407 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46408 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46409 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46410 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46411 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46412 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46413 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46414 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46415 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46416
0396e69d
PB
464172012-04-17 Petr Baudis <pasky@ucw.cz>
46418
46419 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46420 with altivec.
46421
750b5926
MP
464222012-04-16 Marek Polacek <polacek@redhat.com>
46423
46424 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46425
751728a1
MP
464262012-04-16 Marek Polacek <polacek@redhat.com>
46427
46428 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46429 operands of fdivp instruction.
46430
34a27407
L
464312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46432
46433 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46434 * elf/tst-auditmod3b.c: Likewise.
46435 * elf/tst-auditmod4b.c: Likewise.
46436 * elf/tst-auditmod5b.c: Likewise.
46437 * elf/tst-auditmod6b.c: Likewise.
46438 * elf/tst-auditmod6c.c: Likewise.
46439 * elf/tst-auditmod7b.c: Likewise.
46440 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46441 * sysdeps/x86_64/preconfigure.in: Likewise.
46442 * sysdeps/x86_64/preconfigure: Regenerated.
46443
7e73e17d
L
464442012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46445
46446 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46447 __ILP32__.
46448
c7a6ab72
AB
464492012-04-13 Antoine Balestrat <merkil33@gmail.com>
46450
46451 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46452 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46453
a9e8e0e0
CL
464542012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46455
46456 [BZ #13973]
46457 * locale/iso-639.def: Fix gl language name. Spotted by
46458 Yaron Shahrabani.
46459
ec98af7d
RM
464602012-04-12 Roland McGrath <roland@hack.frob.com>
46461
46462 [BZ #2074]
46463 * libio/libio.h (__io_write_fn): Update comment.
46464
247c3ede
PB
464652012-04-12 Petr Baudis <pasky@ucw.cz>
46466
46467 [BZ #2074]
46468 * stdio.texi (Hook Functions): The user provided writer function
46469 is not allowed to return -1.
46470
55939d6d
DM
464712012-04-11 David S. Miller <davem@davemloft.net>
46472
46473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46474
90020f5a
MF
464752012-04-11 Mike Frysinger <vapier@gentoo.org>
46476
46477 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46478 Add a leading slash to rtkaio.
46479
288f9098
JM
464802012-04-11 Jim Meyering <meyering@redhat.com>
46481
90020f5a
MF
46482 [BZ #11959]
46483 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46484 It is not necessarily an error to ignore fwrite's return
46485 value. One can reliably use ferror to test for errors after
46486 the fact.
288f9098 46487
4be2b570
L
464882012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46489
46490 * bits/types.h (__snseconds_t): New type.
46491 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46492
46493 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46494 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46495 (__SNSECONDS_T_TYPE): Likewise.
46496 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46497 (__SNSECONDS_T_TYPE): Likewise.
46498 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46499 (__SNSECONDS_T_TYPE): Likewise.
46500
288f9098 465012012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
46502
46503 [BZ #2636]
46504 * manual/time.texi (Processor Time): Return type of times is
46505 elapsed real time since an arbitrary point in the past.
46506 (CPU Time): Move CLK_TCK from here...
46507 (Processor Time): ...to here. Correct description.
46508 * manual/conf.texi (Constants for Sysconf): Correct description of
46509 _SC_CLK_TCK.
46510
d7dd4413
DM
465112012-04-10 David S. Miller <davem@davemloft.net>
46512
46513 [BZ #13967]
46514 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46515 where the is a gap between DT_REL(A) and DT_JMPREL.
46516
b46068fc
L
465172012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46518
46519 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46520 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46521 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46522
73d65cc3
SP
465232012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46524
46525 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46526 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46527 (dl_main): Handle --inhibit-cache.
46528 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46529 _dl_inhibit_cache.
46530 * elf/dl-load.c (_dl_map_object): Use it.
46531 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46532
bcc8d661
JM
465332012-04-09 Joseph Myers <joseph@codesourcery.com>
46534
8f9a2fae
JM
46535 [BZ #13872]
46536 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46537 (__ieee754_powl): Saturate large exponents rather than testing for
46538 overflow of y*log2(x).
46539 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46540 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46541 exceptions.
46542
bcc8d661
JM
46543 [BZ #11521]
46544 * math/s_ctan.c: Include <float.h>.
46545 (__ctan): Avoid internal overflow or cancellation in calculating
46546 denominator.
46547 * math/s_ctanf.c: Likewise.
46548 * math/s_ctanl.c: Likewise.
46549 * math/s_ctanh.c: Likewise.
46550 * math/s_ctanhf.c: Likewise.
46551 * math/s_ctanhl.c: Likewise.
46552 * math/libm-test.inc (ctan_test): Add more tests.
46553 (ctanh_test): Likewise.
46554 * sysdeps/i386/fpu/libm-test-ulps: Update.
46555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46556
823fbbb4
AJ
465572012-04-09 Andreas Jaeger <aj@suse.de>
46558
03879793
AJ
46559 [BZ #6894]
46560 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46561 is an optional BSD extension.
46562
823fbbb4
AJ
46563 [BZ #10254]
46564 * manual/stdio.texi (Opening Streams): Document additional fopen
46565 parameters.
46566
8de131cb
RM
465672012-04-09 Roland McGrath <roland@hack.frob.com>
46568
46569 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46570 %eax without telling the compiler.
46571
c0ed9d7d
CD
465722012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46573
46574 [BZ # 13963]
46575 * manual/install.texi: Use sourceware.org.
46576
c483f6b4
JM
465772012-04-09 Joseph Myers <joseph@codesourcery.com>
46578
d7dd9453
JM
46579 [BZ #13873]
46580 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46581 (__ieee754_pow): Generate overflow and underflow using huge*huge
46582 and tiny*tiny rather than just returning constant infinity or zero
46583 for large exponents.
46584 * math/libm-test.inc (pow_test): Require overflow exceptions for
46585 applicable cases of large exponents.
46586
c483f6b4
JM
46587 [BZ #706]
46588 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46589 (__ieee754_pow): Use iterative multiplication algorithm only for
46590 integer exponents with absolute value below 1024. Check for odd
46591 integer exponents when using algorithm for real exponents.
46592 * math/libm-test.inc (pow_test): Add more tests.
46593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46594
d2de7579
JM
465952012-04-08 Joseph Myers <joseph@codesourcery.com>
46596
46597 [BZ #13705]
46598 * math/libm-test.inc (exp_test): Do not allow overflow exception
46599 on underflow test.
46600
f77f1232
AJ
466012012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46602
46603 [BZ #13705]
46604 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46605 instead of __kernel_standard_f.
46606
3884932b
MF
466072012-04-08 Mike Frysinger <vapier@gentoo.org>
46608
46609 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46610 * sysdeps/x86_64/memset_chk.S: Likewise.
46611
54472e9c
AJ
466122012-04-08 Andreas Jaeger <aj@suse.de>
46613
6ab0fbfc
AJ
46614 [BZ #10153]
46615 * manual/startup.texi (Environment Access): Describe return value
46616 for putenv and setenv.
46617
61efba8c
AJ
46618 [BZ #6895]
46619 * manual/filesys.texi (Directory Entries): Add description for
46620 DT_LNK.
46621
95c3f29a
AJ
46622 [BZ #6890]
46623 * manual/filesys.texi (Directory Entries): Clarify that it's file
46624 system not operating system in the description of DT_UNKNOWN.
46625
54472e9c
AJ
46626 [BZ #6578]
46627 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46628
624254b1
SC
466292012-04-08 Stephen Compall <s11@member.fsf.org>
46630
46631 [BZ #6649]
46632 * manual/llio.texi (Opening and Closing Files): Add cross
46633 reference to explain mode argument.
46634
1e4920e0
MF
466352012-04-07 Mike Frysinger <vapier@gentoo.org>
46636
46637 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46638 * sysdeps/x86_64/memset_chk.S: Likewise.
46639
5ed848f3
DM
466402012-04-07 David S. Miller <davem@davemloft.net>
46641
46642 * elf/elf.h (R_SPARC_WDISP10): Define.
46643 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46644 R_SPARC_SIZE32.
46645 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46646 R_SPARC_SIZE64 and R_SPARC_H34.
46647
96154cd8
CD
466482012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46649
46650 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46651 conditions and remove no longer applicable assertion.
46652
9904dc47
L
466532012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46654
46655 * bits/byteswap.h: Include <features.h>.
46656 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46657 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46658
f8887d0a
L
466592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46660
46661 * bits/byteswap.h (__bswap_16): Removed.
46662 Include <bits/byteswap-16.h> to get __bswap_16.
46663 * sysdeps/i386/bits/byteswap.h: Likewise.
46664 * sysdeps/s390/bits/byteswap.h: Likewise.
46665 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46666 * bits/byteswap-16.h: New file.
46667 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46668 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46669 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46670 * string/Makefile (headers): Add bits/byteswap-16.h.
46671
62470f60
PP
466722012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46673
46674 [BZ #13895]
46675 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46676 extra indirection.
46677 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46678 * nss/tst-nss-static.c: New.
46679
4dad7bab
RM
466802012-04-06 Robert Millan <rmh@gnu.org>
46681
46682 [BZ #6486]
46683 * manual/llio.texi (File Position Primitive): lseek
46684 refers to WHENCE when it really means OFFSET.
46685
e9142a17
AJ
466862012-04-06 Andreas Jaeger <aj@suse.de>
46687
2c040eff
AJ
46688 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46689 strncmp declarations.
46690
e9142a17
AJ
46691 * abilist/libc.abilist: Add __poll and __ppoll.
46692
ff9f1c5f
DM
466932012-04-05 David S. Miller <davem@davemloft.net>
46694
dcd2ae90
DM
46695 * scripts/check-local-headers.sh: Accept a host triplet in the
46696 path matched by the exclude regexp.
46697
993eb054
DM
46698 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46699 definition.
46700 * sysdeps/powerpc/powerpc32/dl-machine.h
46701 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46702 * sysdeps/s390/s390-32/dl-machine.h
46703 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46704 * sysdeps/sparc/sparc32/dl-machine.h
46705 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46706 * sysdeps/sparc/sparc64/dl-machine.h
46707 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46708
ff9f1c5f
DM
46709 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46710 lazy binding.
48e2e132 46711 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46712 undefined symbol errors.
46713
48e2e132 46714 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46715 DT_NEEDED entries.
46716
e80d6f94
MM
467172012-04-05 Michael Matz <matz@suse.de>
46718
46719 [BZ #13592]
46720 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46721
349fa79f
AJ
467222012-04-05 Andreas Jaeger <aj@suse.de>
46723
46724 [BZ #13908]
46725 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46726 comment.
46727
f402708f
KK
467282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46729
46730 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46731 which ROUND is no valid rounding mode.
46732
2ecccfc9
KK
467332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46734
46735 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46736 read again.
46737 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46738
8a53f50f
KK
467392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46740
46741 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46742 an exception using FPU order intentionally.
46743
467442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46745
46746 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46747 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46748 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46749 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46750
d653abb7
SJ
467512012-04-05 Simon Josefsson <simon@josefsson.org>
46752
46753 [BZ #12340]
46754 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46755 EINVAL when BUFLEN is too smal.
46756
c3b1bf7d
TS
467572012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46758
46759 [BZ #13553]
46760 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46761 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46762
b1aa60f3
AJ
467632012-04-03 Andreas Jaeger <aj@suse.de>
46764
c3b1bf7d 46765 [BZ #13938]
67f60a26
AJ
46766 * manual/setjmp.texi (System V contexts): Fix sentence.
46767
b1aa60f3
AJ
46768 [BZ #13926]
46769 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46770 New macro for this case.
46771 [!__GNUC__] (__bswap_64): New inline function for this case.
46772 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46773 * bits/byteswap.h: Likewise.
46774 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46775 ull, guard with __GLIBC_HAVE_LONG_LONG.
46776
46777 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46778 __GLIBC_HAVE_LONG_LONG.
46779
46780 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46781 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46782
39c59c35
TMQMF
467832012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46784
46785 [BZ #13691]
46786 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46787 inptr and inend, rather than using last_ch.
46788
135ffda8
DM
467892012-04-02 David S. Miller <davem@davemloft.net>
46790
46791 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46792 * stdio-common/printf-parse.h (read_int): Change return type to
46793 'int', return -1 on INT_MAX overflow.
46794 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46795 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46796 overflows INT_MAX. Check for overflow of in-format-string precision
46797 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46798 SIZE_MAX not INT_MAX for integer overflow test.
46799 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46800 skip the construct in the format string but do not record anything.
46801 * stdio-common/bug22.c: Adjust to test both width/prevision
46802 INT_MAX overflow as well as total length INT_MAX overflow. Check
46803 explicitly for proper errno values.
46804
228c019e
TS
468052012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46806
302cadd3
TS
46807 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46808 CHAR_MAX.
46809 * string/test-strcmp.c [! WIDE]: Likewise.
46810 * time/tst-mktime2.c: Likewise for INT_MAX.
46811 * string/test-string.h: #include <sys/param.h> for MIN.
46812
228c019e
TS
46813 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46814 * sysdeps/i386/init-first.c (init): Likewise.
46815 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46816 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46817 * sysdeps/sh/init-first.c (init): Likewise.
46818
cfa633f5
UD
468192012-04-01 Ulrich Drepper <drepper@gmail.com>
46820
46821 * po/ru.po: Update from translation team.
d1635ef8 46822 * po/vi.po: Likewise.
cfa633f5 46823
6cd0a5ea
SP
468242012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46825
46826 * resolv/nss_dns/dns-host.c: Merge copyright years.
46827
4b43400f
LD
468282012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46829
46830 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46831 Optimize memcpy with prefetch if
46832 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46833 src, dst pointers have unequal 16 byte alignments.
46834
48c41d04
SP
468352012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46836
46837 [BZ #13928]
46838 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46839 from a CNAME entry and return the minimum ttl for the query.
46840 (gaih_getanswer_slice): Likewise.
46841
b8dc394d
JL
468422012-03-30 Jeff Law <law@redhat.com>
46843
46844 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46845 due to long keys.
46846 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46847 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46848
2f5a5ed0
JL
46849 * resolv/nss_dns/dns-host.c: Update copyright year.
46850
1d39e359
UD
468512012-03-30 Ulrich Drepper <drepper@gmail.com>
46852
c030f70c 46853 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46854 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46855
1d39e359
UD
46856 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46857 comments for sendmmsg.
46858
468592012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46860
46861 [BZ #13691]
46862 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46863 with only 1 character between 0x0041 and 0x01b0.
46864 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46865 * wcsmbs/tst-mbsnrtowcs.c: New file.
46866
20fde227
DM
468672012-03-29 David S. Miller <davem@davemloft.net>
46868
46869 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46870 small copies by hand.
46871
984a4237
JL
468722012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46873
46874 [BZ #13761]
57f41c40
AS
46875 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46876 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46877 group memberships.
984a4237 46878
18c9d62b
DM
468792012-03-28 David S. Miller <davem@davemloft.net>
46880
88d85d4f
DM
46881 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46882 that branches into memcpy.
46883 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46884 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46886 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46887 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46888 bits.
46889 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46890 implementation too.
46891 * sysdeps/sparc/mempcpy.S: New file.
46892
e5aa83e1
DM
46893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46894 the IFUNC routine in the libc case.
46895 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46896
88570753
DM
46897 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46898 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46899 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46900 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46901 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46902 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46903 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46904 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46905
249d7567
DM
46906 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46907 loop to 256 bytes instead of 64 bytes and fix test signedness.
46908
18c9d62b
DM
46909 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46910 * sysdeps/sparc/sparc32/Makefile: rather than here...
46911 * sysdeps/sparc/sparc64/Makefile: and here.
46912
05f3d1f6
UD
469132012-03-28 Ulrich Drepper <drepper@gmail.com>
46914
46915 * malloc/mallocbug.c: Avoid warnings about unused variables.
46916
86ae07a8
JL
469172012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46918
46919 [BZ #13760]
46920 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46921 in the right place. Discard and retry query if response is
46922 larger than input buffer size.
46923
41bf21a1
JM
469242012-03-28 Joseph Myers <joseph@codesourcery.com>
46925
d6270972
JM
46926 [BZ #369]
46927 [BZ #2678]
46928 [BZ #3866]
46929 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46930 x for large integer exponent.
46931 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46932 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46933 sign of result as needed afterwards.
46934 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46935 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46936 result for underflowing pow the same as for overflow.
46937 (__kernel_standard_l): Handle powl overflow and underflow here
46938 rather than calling __kernel_standard.
46939 * math/libm-test.inc (pow_test): Add more tests.
46940
414fca03 46941 [BZ #3868]
41bf21a1
JM
46942 [BZ #13879]
46943 [BZ #13910]
46944 [BZ #13911]
46945 [BZ #13912]
46946 [BZ #13913]
46947 [BZ #13915]
46948 [BZ #13916]
46949 [BZ #13917]
46950 [BZ #13918]
46951 [BZ #13919]
46952 [BZ #13920]
46953 [BZ #13921]
46954 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46955 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46956 (__kernel_standard_l): New function.
46957 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46958 __kernel_standard.
46959 * math/w_acosl.c (__acosl): Likewise.
46960 * math/w_asinl.c (__asinl): Likewise.
46961 * math/w_atan2l.c (__atan2l): Likewise.
46962 * math/w_atanhl.c (__atanhl): Likewise.
46963 * math/w_coshl.c (__coshl): Likewise.
46964 * math/w_exp10l.c (__exp10l): Likewise.
46965 * math/w_exp2l.c (__exp2l): Likewise.
46966 * math/w_fmodl.c (__fmodl): Likewise.
46967 * math/w_hypotl.c (__hypotl): Likewise.
46968 * math/w_j0l.c (__j0l, __y0l): Likewise.
46969 * math/w_j1l.c (__j1l, __y1l): Likewise.
46970 * math/w_jnl.c (__jnl, __ynl): Likewise.
46971 * math/w_lgammal.c (__lgammal): Likewise.
46972 * math/w_log10l.c (__log10l): Likewise.
46973 * math/w_log2l.c (__log2l): Likewise.
46974 * math/w_logl.c (__logl): Likewise.
46975 * math/w_powl.c (__powl): Likewise.
46976 * math/w_remainderl.c (__remainderl): Likewise.
46977 * math/w_scalbl.c (sysv_scalbl): Likewise.
46978 * math/w_sinhl.c (__sinhl): Likewise.
46979 * math/w_sqrtl.c (__sqrtl): Likewise.
46980 * math/w_tgammal.c (__tgammal): Likewise.
46981 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46982 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46983 * math/libm-test.inc (acos_test): Add more tests.
46984 (acosh_test): Likewise.
46985 (asin_test): Likewise.
46986 (atanh_test): Likewise.
46987 (exp_test): Likewise.
46988 (exp10_test): Likewise.
46989 (exp2_test): Likewise.
46990 (expm1_test): Likewise.
46991 (lgamma_test): Likewise.
46992 (log_test): Likewise.
46993 (log10_test): Likewise.
46994 (log1p_test): Likewise.
46995 (log2_test): Likewise.
46996 (pow_test): Do not allow some spurious overflow exceptions.
46997 (sqrt_test): Add more tests.
46998 (tgamma_test): Likewise.
46999 (y0_test): Likewise.
47000 (y1_test): Likewise.
47001 (yn_test): Likewise.
47002
dd62fda6
AB
470032012-03-27 Anton Blanchard <anton@samba.org>
47004
47005 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47006 MAP_HUGETLB.
47007 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47008 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47009 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47010
1e3cdfda
AJ
470112012-03-27 David S. Miller <davem@davemloft.net>
47012
b855ab85
DM
47013 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47014
1e3cdfda
AJ
47015 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47016 have-as-vis3 check.
47017
470182012-03-27 Andreas Jaeger <aj@suse.de>
47019
47020 * sysdeps/x86_64/elf/configure.in: Moved to ...
47021 * sysdeps/x86_64/configure.in: ... here.
47022 * sysdeps/x86_64/elf/start.S: Moved to ...
47023 * sysdeps/x86_64/start.S: ... here.
47024 * sysdeps/x86_64/elf/configure: Delete.
47025
47026 * sysdeps/x86_64/configure.in: Merge contents from
47027 sysdeps/i386/configure.in (without i686 check).
47028
47029 * sysdeps/i386/elf/Versions: Merge into ...
47030 * sysdeps/i386/Versions: ... this.
47031 * sysdeps/i386/elf/Versions: Delete file.
47032 * sysdeps/i386/elf/start.S: Moved to ...
47033 * sysdeps/i386/start.S: ...here.
47034 * sysdeps/i386/elf/configure.in: Merge into...
47035 * sysdeps/i386/configure.in: ...here.
47036 * sysdeps/i386/elf/configure.in: Delete file.
47037 * sysdeps/i386/elf/configure: Delete file.
47038
47039 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47040 * debug/backtracesyms.c: ... here.
47041 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47042 * debug/backtracesymsfd.c: ... here.
47043 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47044 * sysdeps/generic/ifunc-sel.h: ... here.
47045
47046 * sysdeps/unix/i386/start.c: Delete file.
47047 * sysdeps/unix/sparc/start.c: Delete file.
47048 * sysdeps/unix/start.c: Delete file.
47049
47050 * sysdeps/sh/elf/configure.in: Moved to ...
47051 * sysdeps/sh/configure.in: ... here.
47052 * sysdeps/sh/elf/start.S: Moved to ...
47053 * sysdeps/sh/start.S: ... here.
47054 * sysdeps/sh/elf/configure: Delete file.
47055
47056 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47057 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47058 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47059 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47060 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47061 * sysdeps/powerpc/powerpc64/start.S: here.
47062 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47063 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47064 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47065 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47066 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47067
47068 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47069 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47070 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47071 * sysdeps/powerpc/powerpc32/start.S: ... here.
47072 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47073 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47074 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47075
47076 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47077 * sysdeps/powerpc/ifunc-sel.h: ... here.
47078 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47079 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47080
47081 * sysdeps/sparc/elf/configure.in: Moved to ...
47082 * sysdeps/sparc/configure.in: ... here.
47083 * sysdeps/sparc/elf/configure: Delete file.
47084 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47085 * sysdeps/sparc/sparc32/start.S: ... here.
47086 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47087 * sysdeps/sparc/sparc64/start.S: ... here.
47088 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47089 * sysdeps/sparc/sparc32/Makefile: ... this.
47090 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47091 * sysdeps/sparc/sparc64/Makefile: ... this.
47092
47093 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47094 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47095 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47096 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47097 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47098 * sysdeps/s390/s390-32/setjmp.S: ... here.
47099 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47100 * sysdeps/s390/s390-32/configure.in: ... here.
47101 * sysdeps/s390/s390-32/elf/configure: Delete file.
47102 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47103 * sysdeps/s390/s390-32/start.S: ... here.
47104
47105 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47106 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47107 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47108 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47109 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47110 * sysdeps/s390/s390-64/setjmp.S: ... here.
47111 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47112 * sysdeps/s390/s390-64/configure.in: ... here
47113 * sysdeps/s390/s390-64/elf/configure: Delete file.
47114 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47115 * sysdeps/s390/s390-64/start.S: ... here.
47116 * sysdeps/s390/s390-64/elf/configure: Delete.
47117
47118 * configure.in: Remove support for elf directories in sysdeps.
47119
47120 * configure: Regenerated.
47121 * sysdeps/i386/configure: Regenerated.
47122 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47123 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47124 * sysdeps/s390/s390-32/configure: Regenerated.
47125 * sysdeps/s390/s390-64/configure: Regenerated.
47126 * sysdeps/sh/configure: Regenerated.
47127 * sysdeps/sparc/configure: Regenerated.
47128 * sysdeps/x86_64/configure: Regenerated.
47129
a3f61311
AS
471302012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47131
c876e002
AS
47132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47133
a3f61311
AS
47134 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47135 denormal result into account.
47136
ac4c54f0
RM
471372012-03-25 Roland McGrath <roland@hack.frob.com>
47138
47139 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47140 Reported by Allan McRae <allan@archlinux.org>.
47141
6a9b9c02
JL
471422012-03-23 Jeff Law <law@redhat.com>
47143
47144 * nss/getnssent.c (__nss_getent): Fix typo.
47145
4c42a0c1
DM
471462012-03-23 David S. Miller <davem@davemloft.net>
47147
47148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47149
1532c7ac
L
471502012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47151
47152 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47153 to pad to uint64_t for each field.
47154 (dl_tls_index): Replace unsigned long with uint64_t.
47155
3ff42526
PP
471562012-03-23 Daniel Jacobowitz <dmj@google.com>
47157 Paul Pluzhnikov <ppluzhnikov@google.com>
47158
47159 [BZ #6528]
47160 * grp/Makefile (otherlibs): Don't set it.
47161 * inet/Makefile (otherlibs): Likewise.
47162 * login/Makefile (otherlibs): Likewise.
47163 * nscd/Makefile (otherlibs): Likewise.
47164 * posix/Makefile (otherlibs): Likewise.
47165 * pwd/Makefile (otherlibs): Likewise.
47166 * rt/Makefile (otherlibs): Likewise.
47167 * sunrpc/Makefile (otherlibs): Likewise.
47168 * nss/Makefile (otherlibs): Likewise.
47169 Add libnss_files to routines and static-only-routines.
47170 ($(objpfx)getent): Remove rule.
47171 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47172 static-only-routines.
47173
7c69cd14
JM
471742012-03-22 Joseph Myers <joseph@codesourcery.com>
47175
47176 [BZ #13892]
47177 * math/s_cexp.c: Include <float.h>.
47178 (__cexp): Handle exp result overflowing not necessarily
47179 overflowing both real and imaginary parts of result.
47180 * math/s_cexpf.c: Likewise.
47181 * math/s_cexpl.c: Likewise.
47182 * math/libm-test.inc (cexp_test): Add more tests.
47183 * sysdeps/i386/fpu/libm-test-ulps: Update.
47184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47185
81b035fe
L
471862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47187
47188 * include/link.h (ELFW): New macro.
47189 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47190 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47191
1da7940c
L
471922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47193
47194 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47195 with uint64_t.
47196
b749dbb9
L
471972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47198
47199 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47200 declaration.
47201 (struct La_x32_retval): Likewise.
47202
2ff87f3f
L
472032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47204
47205 * sysdeps/x86_64/preconfigure.in: New file.
47206 * sysdeps/x86_64/preconfigure: New generated file.
47207
c0df8e69
JM
472082012-03-22 Joseph Myers <joseph@codesourcery.com>
47209
48e44791
JM
47210 [BZ #13824]
47211 * math/e_exp2l.c: Include <float.h>.
47212 (__ieee754_exp2l): Handle overflow and underflow cases
47213 separately. Only pass fractional part of argument to
47214 __ieee754_expl.
47215 * math/libm-test.inc (exp2_test): Add more tests.
47216
c0df8e69
JM
47217 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47218 negating x to take absolute value.
47219 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47220 Likewise.
47221 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47222 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47223 Likewise.
47224 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47225 computing low part if x was negated.
47226 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47227
c8e43ba7
L
472282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47229
47230 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47231 la_x32_gnu_pltexit.
47232 (pltexit): Cast int_retval to ptrdiff_t.
47233 * elf/tst-auditmod3b.c: Likewise.
47234 * elf/tst-auditmod4b.c: Likewise.
47235 * elf/tst-auditmod5b.c: Likewise.
47236 * elf/tst-auditmod6b.c: Likewise.
47237 * elf/tst-auditmod6c.c: Likewise.
47238 * elf/tst-auditmod7b.c: Likewise.
47239
47240 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47241 and x32_gnu_pltexit.
47242
47243 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47244 __ELF_NATIVE_CLASS.
47245 (La_x32_regs): New macro.
47246 (La_x32_retval): Likewise.
47247 (la_x32_gnu_pltenter): New function prototype.
47248 (la_x32_gnu_pltexit): Likewise.
47249
7998fa78
AS
472502012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47251
dcb33988
AS
47252 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47253 exponent.
47254
233fc563
AS
47255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47256
7998fa78
AS
47257 * configure.in (libc_cv_cc_nofma): Check for option to disable
47258 generation of FMA instructions.
47259 * configure: Regenerate.
47260 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47261 * sysdeps/ieee754/dbl-64/Makefile: New file.
47262 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47263 Remove brandred-fma4.
47264 (CFLAGS-brandred-fma4.c): Remove.
47265 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47266 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47267 define.
47268 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47269 define.
47270
8e95c99a
L
472712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47272
47273 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47274 LLONG_MAX != LONG_MAX.
47275 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47276 (_fitoa_word): Likewise.
47277 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47278 LLONG_MAX != LONG_MAX.
47279 * stdio-common/_itowa.h: Include <_itoa.h>.
47280 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47281 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47282 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47283 only if not defined.
47284 (_ITOA_WORD_TYPE): Likewise.
47285 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47286 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47287
6f4db457
DM
472882012-03-21 David S. Miller <davem@davemloft.net>
47289
47290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47291
7785fe5a
L
472922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47293
47294 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47295 of x86_64 when setting libc_cv_slibdir, libdir and
47296 libc_cv_localedir.
47297 * sysdeps/unix/sysv/linux/configure: Regenerated.
47298
4535cd55
JM
472992012-03-21 Joseph Myers <joseph@codesourcery.com>
47300
47301 * manual/lang.texi (Old Varargs): Remove section.
47302 (How Variadic): Update menu.
47303 (va_start): Do not mention varargs.h.
47304
17228132
TS
473052012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47306 Joseph Myers <joseph@codesourcery.com>
47307
47308 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47309 link test.
47310 * configure: Regenerated.
47311
8149f976
TS
473122012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47313
05f3d1f6
UD
47314 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47315 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47316 conformtest.pl
8149f976 47317
1a4ac776
JM
473182012-03-21 Joseph Myers <joseph@codesourcery.com>
47319
be22ce65
JM
47320 * NOTES: Remove.
47321 * Makefile (files-for-dist): Remove NOTES.
47322 (NOTES): Remove rule.
47323 * README: Don't refer to NOTES.
47324 * manual/creature.texi: Don't include macros.texi.
47325 * manual/intro.texi (creature.texi): Remove comment referring to
47326 NOTES.
47327
40b601fb
JM
47328 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47329 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47330 * configure: Regenerated.
47331 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47332 LIBC_TRY_CC_OPTION.
47333 (libc_cv_as_i686): Likewise.
47334 (libc_cv_cc_avx): Likewise.
47335 (libc_cv_cc_sse2avx): Likewise.
47336 (libc_cv_cc_fma4): Likewise.
47337 (libc_cv_cc_novzeroupper): Likewise.
47338 * sysdeps/i386/configure: Regenerated.
47339
1a4ac776
JM
47340 [BZ #13883]
47341 * sysdeps/i386/fpu/s_cexp.S: Remove.
47342 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47343 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47344 * math/libm-test.inc (cexp_test): Add more tests.
47345 * sysdeps/i386/fpu/libm-test-ulps: Update.
47346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47347
a458e7fe
AM
473482012-03-21 Allan McRae <allan@archlinux.org>
47349
47350 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47351
0cb7efc5
JM
473522012-03-21 Joseph Myers <joseph@codesourcery.com>
47353
47354 [BZ #13871]
47355 * math/w_exp2.c: Do not include <float.h>.
47356 (o_threshold, u_threshold): Remove.
47357 (__exp2): Calculate result before checking finiteness and calling
47358 __kernel_standard.
47359 * math/w_exp2f.c: Likewise.
47360 * math/w_exp2l.c: Likewise.
47361 * math/libm-test.inc (exp2_test): Require overflow exception for
47362 1e6 input.
2460d3aa
JM
47363
47364 [BZ #3866]
47365 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47366 range of signed 64-bit integers before using fistpll. Remove
47367 checks for whether integers fit in mantissa bits.
47368 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47369 the range of signed 32-bit integers before using fistpl. Remove
47370 checks for whether integers fit in mantissa bits.
47371 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47372 (__ieee754_powl): Test for y outside the range of signed 64-bit
47373 integers before using fistpll. Reduce 64-bit values to 63-bit
47374 ones as needed.
47375 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47376 divide-by-zero is raised for zero to large negative powers.
47377 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47378 (__ieee754_powl): Test for y outside the range of signed 64-bit
47379 integers before using fistpll. Reduce 64-bit values to 63-bit
47380 ones as needed.
47381 * math/libm-test.inc (pow_test): Add more tests.
47382
eb96ffb0
L
473832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47384
47385 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47386 <stdio-common/_itoa.h>.
47387 * debug/segfault.c: Likewise.
47388 * elf/dl-cache.c: Likewise.
47389 * elf/dl-minimal.c: Likewise.
47390 * elf/dl-misc.c: Likewise.
47391 * elf/dl-sysdep.c: Likewise.
47392 * elf/dl-version.c: Likewise.
47393 * elf/rtld.c: Likewise.
47394 * hurd/hurdsock.c: Likewise.
47395 * hurd/lookup-retry.c: Likewise.
47396 * malloc/malloc.c: Likewise.
47397 * malloc/mtrace.c: Likewise.
47398 * nscd/nscd_getgr_r.c: Likewise.
47399 * nscd/nscd_getpw_r.c: Likewise.
47400 * nscd/nscd_getserv_r.c: Likewise.
47401 * posix/getopt_init.c: Likewise.
47402 * posix/wordexp.c: Likewise.
47403 * stdio-common/_itoa.c: Likewise.
47404 * stdio-common/printf_fphex.c: Likewise.
47405 * stdio-common/vfprintf.c: Likewise.
47406 * string/_strerror.c: Likewise.
47407 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47408 * sysdeps/i386/i686/hp-timing.h: Likewise.
47409 * sysdeps/mach/_strerror.c: Likewise.
47410 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47411 * sysdeps/mach/hurd/sethostid.c: Likewise.
47412 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47413 * sysdeps/mach/xpg-strerror.c: Likewise.
47414 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47415 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47416 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47417 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47418 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47419 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47420 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47421 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47422 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47423 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47424 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47425 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47426 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47427 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47428 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47429 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47430 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47431 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47432 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47433 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47434 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47435
47436 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47437
47438 * stdio-common/_itoa.h: Moved to ...
47439 * sysdeps/generic/_itoa.h: Here.
47440
47441 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47442
47443 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47444 instead of "_itoa.h" and "_itowa.h".
47445 * stdio-common/vfprintf.: Likewise.
47446
d1af992d
L
474472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47448
47449 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47450 <bits/wordsize.h>.
47451 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47452 (__signbit): Likwise.
47453 (llrintf): Likwise.
47454 (llrint): Likwise.
47455
114883e0
L
474562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47457
47458 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47459 __WORDSIZE != 64.
47460
c135cc1b
JM
474612012-03-20 Joseph Myers <joseph@codesourcery.com>
47462
47463 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47464 OVERFLOW_EXCEPTION_OK.
47465 * math/libm-test.inc ("Philosophy"): Update comment about
47466 exception testing.
47467 (OVERFLOW_EXCEPTION): Define.
47468 (OVERFLOW_EXCEPTION_OK): Likewise.
47469 (INVALID_EXCEPTION_OK): Renumber.
47470 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47471 (IGNORE_ZERO_INF_SIGN): Likewise.
47472 (test_exceptions): Handle FE_OVERFLOW.
47473 (exp10_test): Expect overflow exceptions.
47474 (exp2_test): Likewise.
47475 (expm1_test): Likewise.
47476 (nextafter_test): Likewise.
47477 (pow_test): Likewise.
47478 (scalbn_test): Likewise.
47479 (scalbln_test): Likewise.
47480
95443d88
L
474812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47482
47483 * sysdeps/x86_64/bits/atomic.h
47484 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47485 64bit integer.
47486 (atomic_exchange_acq): Likewise.
47487 (__arch_exchange_and_add_body): Likewise.
47488 (__arch_add_body): Likewise.
47489 (atomic_add_negative): Likewise.
47490 (atomic_add_zero): Likewise.
47491
490df6c4
L
474922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47493
c2722551 47494 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
47495 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47496
5e52b189
L
474972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47498
47499 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47500 Check __x86_64__ instead of __WORDSIZE.
47501
a9879d4c
L
475022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47503
47504 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47505
5df98260
DM
475062012-03-19 David S. Miller <davem@davemloft.net>
47507
e1497744
DM
47508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47509
5df98260
DM
47510 * sysdeps/sparc/fpu/fenv_private.h: New file.
47511 * sysdeps/sparc/fpu/math_private.h: Use it.
47512 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47513 Remove.
57f41c40 47514 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47515 (libc_feholdexcept_setroundl): Remove.
47516 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47517 Remove.
47518 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47519 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47520
b4c35121
L
475212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47522
47523 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47524 int64_t instead of long int.
47525 (INSERT_WORDS64): Likwise.
47526
56965fd7
L
475272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47528
47529 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47530 _Unwind_GetCFA return to _Unwind_Ptr first.
47531
83d1aec8
JM
475322012-03-19 Joseph Myers <joseph@codesourcery.com>
47533
1897ad44
JM
47534 [BZ #13629]
47535 * math/s_clog.c: Include <float.h>.
47536 (__clog): Scale large or subnormal inputs.
47537 * math/s_clogf.c: Likewise.
47538 * math/s_clogl.c: Likewise.
47539 * math/s_clog10.c: Include <float.h>.
47540 (M_LOG10_2): Define.
47541 (__clog10): Scale large or subnormal inputs.
47542 * math/s_clog10f.c: Likewise.
47543 * math/s_clog10l.c: Likewise.
47544 * math/libm-test.inc (clog_test): Add more tests.
47545 (clog10_test): Likewise.
47546 * sysdeps/i386/fpu/libm-test-ulps: Update.
47547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47548
7726d6a9
JM
47549 [BZ #11451]
47550 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47551 x and y.
47552 * math/libm-test.inc (atan2_test): Add another test.
47553
83d1aec8
JM
47554 * Makerules (common-objdir-compile): Remove.
47555 * sysdeps/unix/Makefile (config-generated): Do not add
47556 $(unix-generated) to variable.
47557 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47558 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47559 Remove rule.
47560 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47561 Likewise.
47562 [generic bits/local_lim.h] (before-compile): Do not append to
47563 variable.
47564 [generic bits/local_lim.h] (common-generated): Likewise.
47565 [generic sys/param.h] (before-compile): Do not append to variable.
47566 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47567 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47568 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47569 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47570 include.
47571 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47572 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47573 [generic sys/param.h] ($(addprefix
47574 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47575 [generic sys/param.h] (common-generated): Do not append to
47576 variable.
47577 [generic sys/param.h] (sysdep_headers): Likewise.
47578 [generic bits/errno.h] (before-compile): Do not append to
47579 variable.
47580 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47581 rule.
47582 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47583 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47584 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47585 [generic bits/errno.h] (common-generated): Do not append to
47586 variable.
47587 [generic bits/ioctls.h] (before-compile): Do not append to
47588 variable.
47589 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47590 rule.
47591 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47592 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47593 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47594 rule.
47595 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47596 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47597 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47598 [generic bits/ioctls.h] (common-generated): Do not append to
47599 variable.
47600 [generic sys/syscall.h] (syscall.h): Remove variable.
47601 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47602 rule.
47603 [generic sys/syscall.h] (before-compile): Do not append to
47604 variable.
47605 [generic sys/syscall.h] (common-generated): Likewise.
47606 * sysdeps/unix/errnos-tmpl.c: Remove file.
47607 * sysdeps/unix/errnos.awk: Likewise.
47608 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47609 * sysdeps/unix/ioctls.awk: Likewise.
47610 * sysdeps/unix/mk-local_lim.c: Likewise.
47611 * sysdeps/unix/snarf-ioctls: Likewise.
47612
4851a949
RH
476132012-03-19 Richard Henderson <rth@twiddle.net>
47614
bd37f2ee
RH
47615 * sysdeps/i386/fpu/fenv_private.h: New file.
47616 * sysdeps/i386/fpu/math_private.h: Use it.
47617 (math_opt_barrier, math_force_eval): Remove.
47618 (libc_feholdexcept_setround_53bit): Remove.
47619 (libc_feupdateenv_53bit): Remove.
47620 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47621 (math_opt_barrier, math_force_eval): Remove.
47622 (libc_feholdexcept): Remove.
47623 (libc_feholdexcept_setround): Remove.
47624 (libc_fetestexcept, libc_fesetenv): Remove.
47625 (libc_feupdateenv_test): Remove.
47626 (libc_feupdateenv, libc_feholdsetround): Remove.
47627 (libc_feresetround): Remove.
47628
d0adc922
RH
47629 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47630 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47631
0fe0f1f8
RH
47632 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47633 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47634 (libc_feupdateenv_testl): New.
47635 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47636 (libc_feupdateenv_testf): New.
47637 (libc_feupdateenv): Use libc_feupdateenv_test.
47638 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47639 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47640
eb92c487
RH
47641 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47642 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47643 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47644 (libc_feresetround_noex): New.
47645 (libc_feresetround_noexf): New.
47646 (libc_feresetround_noexl): New.
47647 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47648 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47649 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47650 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47651 SET_RESTORE_ROUND.
47652 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47653 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47654 (__cos): Likewise.
47655 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47656 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47657 SET_RESTORE_ROUND_NOEX.
47658 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47659 SET_RESTORE_ROUND_NOEXF.
47660 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47661 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47662 (libc_feholdsetroundf): New.
47663 (libc_feresetround, libc_feresetroundf): New.
47664
7d2e8012
RH
47665 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47666 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47667 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47668
b4dabbb4
RH
47669 * sysdeps/generic/math_private.h: Include <fenv.h>.
47670 (default_libc_feholdexcept): New.
47671 (default_libc_feholdexcept_setround): New.
47672 (default_libc_fesetenv, default_libc_feupdateenv): New.
47673 (libc_feholdexcept): Only define if undefined.
47674 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47675 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47676 (libc_feholdexcept_setroundl): Likewise.
47677 (libc_feholdexcept_setround_53bit): Likewise.
47678 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47679 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47680 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47681 (libc_feupdateenv_53bit): Likewise.
47682 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47683 (libc_feholdexcept): Convert from macro to inline function.
47684 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47685 (libc_fesetenv, libc_feupdateenv): Likewise.
47686
4851a949
RH
47687 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47688 not previously defined.
47689 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47690 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47691 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47692 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47693 * sysdeps/ieee754/flt-32/math_private.h: New file.
47694 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47695 math_private.h below SET_FLOAT_WORD.
47696 (__isnan, __isinf_ns, __finite): Remove.
47697 (__isnanf, __isinf_nsf, __finitef): Remove.
47698
e79d442e
AS
476992012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47700
47701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47702
90b80344
DM
477032012-03-17 David S. Miller <davem@davemloft.net>
47704
47705 [BZ #6471]
47706 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47707 for 2.16.
47708
edc21804
DM
477092012-03-16 David S. Miller <davem@davemloft.net>
47710
77e927af
DM
47711 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47712 warnings.
47713
374976dd
DM
47714 [BZ #6471]
47715 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47716 properly.
47717 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47718 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47719 sysdep_routines when subdir is sysvipc.
47720 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47721 __getshmlba helper.
47722
edc21804
DM
47723 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47724
473c3ef3
L
477252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47726
47727 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47728 [__LP64__].
47729
eb0f39b6
L
477302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47731
47732 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47733 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47734 (__lround): Renamed to ...
47735 (__llround): This. Replace long int with long long int.
47736 Define lround functions as aliases of llround functions.
47737 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47738
6b6cd74b
L
477392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47740
47741 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47742 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47743 adresses to uintptr_t. Replace "long int" and "unsigned long
47744 int" with "greg_t" on va_arg.
47745
f1a77b01
L
477462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47747
47748 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47749 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47750
47751 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47752 Move e_machine check before EI_CLASS check. Handle x32
47753 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47754 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47755 SKIP_EM_IA_64 and include
47756 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47757
47758 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47759 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47760 (add_system_dir): New macro.
47761
47762 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47763 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47764
11b90b9f
JM
477652012-03-16 Joseph Myers <joseph@codesourcery.com>
47766
c36e1d23
JM
47767 [BZ #2551]
47768 [BZ #2552]
47769 [BZ #2553]
47770 [BZ #2554]
47771 [BZ #2562]
47772 [BZ #2563]
47773 [BZ #2565]
47774 [BZ #2566]
47775 [BZ #2576]
47776 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47777 (y0): Likewise.
47778 * math/w_j0f.c (j0f): Likewise.
47779 (y0f): Likewise.
47780 * math/w_j0l.c (__j0l): Likewise.
47781 (__y0l): Likewise.
47782 * math/w_j1.c (j1): Likewise.
47783 (y1): Likewise.
47784 * math/w_j1f.c (j1f): Likewise.
47785 (y1f): Likewise.
47786 * math/w_j1l.c (__j1l): Likewise.
47787 (__y1l): Likewise.
47788 * math/w_jn.c (jn): Likewise.
47789 (yn): Likewise.
47790 * math/w_jnf.c (jnf): Likewise.
47791 (ynf): Likewise.
47792 * math/w_jnl.c (__jnl): Likewise.
47793 (__ynl): Likewise.
47794 * math/libm-test.inc (j0_test): Add more tests.
47795 (j1_test): Likewise.
47796 (jn_test): Likewise. Add trailing semicolon to existing test.
47797 (y0_test): Likewise.
47798 (y1_test): Likewise.
47799 * sysdeps/i386/fpu/libm-test-ulps: Update.
47800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47801
11b90b9f
JM
47802 [BZ #13851]
47803 [BZ #13854]
47804 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47805 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47806 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47807 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47808 (__tanl): Set errno for infinite argument.
47809 * sysdeps/i386/fpu/mptan.c: Remove.
47810 * sysdeps/i386/fpu/s_tan.S: Likewise.
47811 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47812 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47813 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47814 * math/libm-test.inc (tan_test): Add more tests and enable more
47815 tests for double and long double.
47816 * sysdeps/i386/fpu/libm-test-ulps: Update.
47817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47818
6a1bd2a1
JK
478192012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47820
47821 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47822 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47823
10a803e0
RM
478242012-03-16 Roland McGrath <roland@hack.frob.com>
47825
47826 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47827 * configure.in: Use it for both main tree and add-ons.
47828 * configure: Regenerated.
47829
f196c7f7
L
478302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47831
47832 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47833
8848d99d
JM
478342012-03-16 Joseph Myers <joseph@codesourcery.com>
47835
96cbe7f4
JM
47836 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47837 in comment.
47838
8848d99d
JM
47839 [BZ #13851]
47840 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47841 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47842 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47843 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47844 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47845 infinite argument.
47846 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47847 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47848 != 0 for prec == 2.
47849 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47850 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47851 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47852 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47853 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47854 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47855 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47856 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47857 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47858 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47859 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47860 * math/libm-test.inc (cos_test): Add more tests and enable more
47861 tests for long double.
47862 (sin_test): Likewise.
47863 (sincos_test): Likewise.
47864 * sysdeps/i386/fpu/libm-test-ulps: Update.
47865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47866
dd7f4703
DM
478672012-03-16 David S. Miller <davem@davemloft.net>
47868
47869 * sysdeps/sparc/fpu/math_private.h: New file.
47870
006f1daa
DM
478712012-03-15 David S. Miller <davem@davemloft.net>
47872
c0c83bc8
DM
47873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47874 file.
e6a62e18 47875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47877 file.
e6a62e18
DM
47878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47884 sysdep routines.
47885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47886
88cb87d9
DM
47887 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47888 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47889
006f1daa 47890 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47892 sparc-ifunc.h
006f1daa 47893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47895 Likewise.
47896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47897 Likewise.
006f1daa
DM
47898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47902 Likewise.
006f1daa
DM
47903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47908 Likewise.
47909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47910 Likewise.
006f1daa
DM
47911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47917 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47918 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47929 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47930 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47931 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47932 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47933 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47935
11e0098e
AS
479362012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47937
47938 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47939 scaling.
47940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47941
e85b09d0
AJ
479422012-03-15 Andreas Jaeger <aj@suse.de>
47943
47944 [BZ #13852]
47945 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47946 ieee754/flt-32 implementation for sin, cos and sincos.
47947 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47948 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47949 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47950 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47951 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47952 ieee754/flt-32 implementation for tan.
47953
47954 * math/libm-test.inc (cos_test): Enable some large input tests for
47955 float as well
47956 (sin_test): Likewise.
47957 (sincos_test): Likewise.
47958 (tan_test): Add tests for large input.
47959
47960 * sysdeps/i386/fpu/libm-test-ulps: Update.
47961
81c64153
AJ
479622012-03-15 Andreas Jaeger <aj@suse.de>
47963
47964 [BZ #13658]
47965 * math/libm-test.inc (cos_test): Add more test cases.
47966 (sin_test): Likewise.
47967 (sincos_test): Likewise.
47968
7bbfa5c6
AJ
479692012-03-15 Andreas Jaeger <aj@suse.de>
47970
47971 [BZ #13837]
47972 * math/libm-test.inc (cos_test): Add a test case for large input
47973 value.
47974 (sin_test): Likewise.
47975 (sincos_test): Likewise.
47976
57f41c40
AS
479772012-03-15 Andreas Jaeger <aj@suse.de>
47978 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
47979
47980 [BZ #13658]
0671f479 47981 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
47982 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47983 * sysdeps/i386/fpu/branred.c: Likewise.
47984 * sysdeps/i386/fpu/dosincos.c: Likewise.
47985 * sysdeps/i386/fpu/mpa.c: Likewise.
47986 * sysdeps/i386/fpu/s_cos.S: Likewise.
47987 * sysdeps/i386/fpu/s_sin.S: Likewise.
47988 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47989 * sysdeps/i386/fpu/sincos32.c: Likewise.
47990
47991 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47992 Define.
47993 (libc_feupdateenv_53bit): Define.
47994 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47995 Define.
47996 (libc_feupdateenv_53bit): Define.
47997
47998 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47999 53 bit (without extend i386 double precision).
48000
48001 * math/libm-test.inc (sincos_test): Add tests for large input.
48002 (sin): Likewise.
48003 (cos): Likewise.
48004
48005 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48006
9cad04ea
AS
480072012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48008
48009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48010
f7062b9a
DM
480112012-03-15 David S. Miller <davem@davemloft.net>
48012
48013 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48014 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48015 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48016 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
48028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48029 file.
f7062b9a 48030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
48031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48032 file.
f7062b9a 48033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
48034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48035 file.
f7062b9a 48036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
48037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48038 file.
f7062b9a
DM
48039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48040 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48041 fmin/fmax sysdep routines.
48042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48043
7bd951ff
DM
480442012-03-14 David S. Miller <davem@davemloft.net>
48045
559398ab
DM
48046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48048 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48050 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48051 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48052 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48053 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48055 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48066 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48067 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48068 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48069 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48070 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48071 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48072 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48073 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48074 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48075 routines.
48076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48077 file.
559398ab 48078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
48079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48080 file.
559398ab 48081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
48082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48083 file.
559398ab 48084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
48085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48086 file.
559398ab 48087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
48088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48089 file.
559398ab 48090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
48091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48092 file.
48093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48094 file.
48095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48096 file.
48097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48098 file.
48099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48100 New file.
48101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48102 file.
48103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48104 file.
559398ab 48105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
48106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48107 file.
559398ab 48108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48110 file.
559398ab 48111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
48112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48113 file.
559398ab 48114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
48115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48116 VIS3 routines.
559398ab
DM
48117
48118 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48119 New file.
48120
5a1c1e32
DM
48121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48122
eae47a36
DM
48123 * sysdeps/sparc/configure.in: New file.
48124 * sysdeps/sparc/configure: Generate.
48125 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48126 * configure: Regenerate.
48127 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48128 * config.make.in (have-as-vis3): New.
48129 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48130 available use -Av9d instead of -Av9a.
48131 * sysdeps/sparc/sparc64/Makefile: Likewise.
48132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
48133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48134 New file.
48135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48136 file.
48137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48138 New file.
48139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48140 file.
eae47a36
DM
48141 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48142 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48143 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48144 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48145 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48146
c0c83bc8
DM
48147 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48148 fzeros/fnegs to load 0x80000000 into a float register instead of
48149 using the stack.
7bd951ff
DM
48150 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48151
bd951ccb
JM
481522012-03-14 Joseph Myers <joseph@codesourcery.com>
48153
48154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48155 bits/syscall.h.
48156 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48157 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48158 ($(inst_includedir)/bits/syscall.h): Remove rule.
48159 ($(objpfx)bits/syscall.d): Include instead of
48160 $(objpfx)syscall-list.d.
48161 (generated): Change syscall-list.h and syscall-list.d to
48162 bits/syscall.h and bits/syscall.d.
48163
bb4e6db2
RM
481642012-03-14 Roland McGrath <roland@hack.frob.com>
48165
48166 [BZ #13846]
48167 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48168
aa4a2ae1
JM
481692012-03-14 Joseph Myers <joseph@codesourcery.com>
48170
e456826d
JM
48171 [BZ #13841]
48172 * math/s_csqrt.c: Include <float.h>.
48173 (__csqrt): Scale large or subnormal inputs.
48174 * math/s_csqrtf.c: Likewise.
48175 * math/s_csqrtl.c: Likewise.
48176 * math/libm-test.inc (csqrt_test): Add more tests.
48177 * sysdeps/i386/fpu/libm-test-ulps: Update.
48178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48179
aa4a2ae1
JM
48180 [BZ #13840]
48181 * math/libm-test.inc (hypot_test): Add more tests.
48182
7c10fd35
DM
481832012-03-13 David S. Miller <davem@davemloft.net>
48184
48185 [BZ #13840]
48186 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48187 double-precision for the calculation instead of scaling.
48188
f453b98b
JM
481892012-03-13 Joseph Myers <joseph@codesourcery.com>
48190
48191 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48192 manipulate bits before adding and subtracting TWO52[sx].
48193 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48194 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48195 Likewise.
48196 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48197
09a3453f
DM
481982012-03-13 David S. Miller <davem@davemloft.net>
48199
8e59da90
DM
48200 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48201 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48202 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48203 rtld-global-offsets.h
48204 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48205
2a8ab7f2
DM
48206 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48207 large parameters.
48208
10f62770
DM
48209 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48210
5f0bdb18
DM
48211 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48212 'err' in the ifdef scope in which it is actually used.
48213
09a3453f
DM
48214 * nss/nss_db/db-init.c: Include string.h
48215
b4b2eb5e
DM
482162012-03-12 David S. Miller <davem@davemloft.net>
48217
98bb2f1c
DM
48218 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48219 masking out of the most significant byte of random value used.
48220 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48221 Fix coding style in previous change.
48222
b4b2eb5e
DM
48223 * sysdeps/unix/sysv/linux/kernel-features.h
48224 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48225 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48226 expression.
48227 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48228 later.
48229
6e226b09
DM
482302012-03-11 David S. Miller <davem@davemloft.net>
48231
a1bcbd40
DM
48232 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48233 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48234 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48235 for 'resultvar' otherwise things get truncated on 64-bit.
48236
cb9d6174
DM
48237 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48238 Fix masking out of the most significant byte of random value used.
48239
6e226b09
DM
48240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48241
058c132d
AS
482422012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48243
48244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48245
2d2cd515
DM
482462012-03-09 David S. Miller <davem@davemloft.net>
48247
48248 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48249 variables with appropriate CPP guards.
57f41c40
AS
48250 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48251 from the frame pointer, not the stack pointer. Correct layout
48252 comments. Fix test on resulting framesize and the management of
48253 the outregs buffer for pltexit. Preserve floating point return
48254 values across _dl_call_pltexit call.
2d2cd515
DM
48255 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48256 framesize and the management of the outregs buffer for pltexit.
48257 Preserve floating point return values across _dl_call_pltexit
48258 call.
57f41c40
AS
48259 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48260 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48261 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48262 (print_exit): Fix format string for return register value.
48263
9a07f9d0
JM
482642012-03-10 Joseph Myers <joseph@codesourcery.com>
48265
48266 * sunrpc/Makefile (others): Add rpcgen.
48267 ($(objpfx)rpcgen): Remove special build rule and dependency on
48268 libc.
48269 * sunrpc/rpcgen.c: New file.
48270
547b5e30
PE
482712012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48272
c524201a
PE
48273 [BZ #13673]
48274 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48275 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48276 * sysdeps/i386/crti.S: Likewise.
48277 * sysdeps/i386/crtn.S: Likewise.
48278 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48279 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48280 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48281 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48282 * sysdeps/sh/crti.S: Likewise.
48283 * sysdeps/sh/crtn.S: Likewise.
48284 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48285
7b6235f2
PE
48286 [BZ #13673]
48287 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48288 with URL.
48289 * locale/programs/locfile-kw.gperf: Likewise.
48290 * locale/programs/charmap-kw.h: Regenerated.
48291 * locale/programs/locfile-kw.h: Likewise.
48292
547b5e30
PE
48293 [BZ #13673]
48294 * intl/plural.y: Replace FSF snail mail address with URL.
48295 * intl/plural.c: Regenerated.
48296
5f0a5dae
RH
482972012-03-09 Richard Henderson <rth@twiddle.net>
48298
48299 * include/math_private.h: Remove file.
48300 * math/math_private.h: Move file ...
48301 * sysdeps/generic/math_private.h: ... here.
48302
b8c03620
RH
48303 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48304 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48305 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48306
4e234f5d 48307 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48308 and <math_private.h>.
48309 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48310 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48311 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48312 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48313 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48314 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48315 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48316 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48317 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48318 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48319 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48320 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48321 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48322 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48323 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48324 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48325 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48326 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48327 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48328 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48329 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48330 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48331 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48333 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48334 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48335 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48336 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48337 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48338 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48339 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48340 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48341 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48342 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48343 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48344 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48345 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48346 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48347 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48348 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48349 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48350 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48351 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48352 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48353 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48354 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48355 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48356 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48357 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48358 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48359 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48360 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48361 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48362 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48363 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48364 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48365 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48366 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48367 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48368 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48369 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48370 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48372 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48373 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48374 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48375 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48376 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48377 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48378 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48379 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48380 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48381 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48382 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48383 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48384 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48385 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48386 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48387 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48388 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48389 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48390 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48391 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48392 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48393 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48394 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48395 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48396 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48397 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48398 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48399 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48400 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48401 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48402 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48403 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48404 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48405 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48406 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48407 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48408 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48409 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48410 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48411 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48412 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48413 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48414 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48415 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48416 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48417 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48418 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48419 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48420 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48421 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48422 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48423 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48424 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48425 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48426 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48427 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48428 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48429 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48430 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48431 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48432 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48433 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48434 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48435 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48436 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48437 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48438 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48439 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48440 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48441 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48442 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48443 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48444 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48445 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48446 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48447 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48448 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48449 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48450 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48451 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48452 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48453 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48454 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48455 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48456 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48457 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48458 * sysdeps/ieee754/k_standard.c: Likewise.
48459 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48460 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48461 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48462 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48463 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48464 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48465 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48466 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48467 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48468 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48469 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48470 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48471 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48472 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48473 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48474 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48475 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48476 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48477 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48478 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48479 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48480 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48481 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48482 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48483 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48484 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48485 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48486 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48487 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48488 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48489 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48490 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48491 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48492 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48493 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48494 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48495 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48496 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48497 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48498 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48499 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48500 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48501 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48502 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48503 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48504 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48505 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48506 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48507 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48508 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48509 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48510 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48511 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48512 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48513 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48514 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48515 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48516 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48517 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48518 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48519 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48520 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48521 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48522 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48523 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48524 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48525 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48526 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48527 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48528 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48529 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48530 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48531 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48532 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48533 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48534 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48535 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48536 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48537 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48538 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48539 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48540 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48541 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48542 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48543 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48544 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48545 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48546 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48547 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48548 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48549 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48550 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48551 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48552 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48553 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48554 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48555 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48556 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48557 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48558 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48560 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48561 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48562 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48563 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48564 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48565 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48566 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48567 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48568 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48569 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48570 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48571 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48572 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48573 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48574 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48575 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48576 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48577 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48578 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48579 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48580 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48581 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48582 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48583 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48584 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48585 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48586 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48587 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48588 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48589 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48590 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48591 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48592 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48593 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48594 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48595 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48596 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48597 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48598 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48599 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48600 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48601 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48602 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48603 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48604 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48605 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48606 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48607 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48608 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48609 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48610 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48611 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48612 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48613 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48614 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48615 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48616 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48617 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48618 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48619 * sysdeps/ieee754/s_lib_version.c: Likewise.
48620 * sysdeps/ieee754/s_matherr.c: Likewise.
48621 * sysdeps/ieee754/s_signgam.c: Likewise.
48622 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48623 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48624 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48625 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48626 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48627 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48628 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48629 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48630 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48631 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48632 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48633 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48634 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48635 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48636 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48637 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48638 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48639 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48640 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48642 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48643
1991fa03
JM
486442012-03-09 Joseph Myers <joseph@codesourcery.com>
48645
48646 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48647 * sunrpc/rpc_main.c: Likewise.
48648 * sunrpc/rpc_svcout.c: Likewise.
48649
60d6f5a6
DM
486502012-03-09 David S. Miller <davem@davemloft.net>
48651
48652 * include/math_private.h: New file.
48653
4962050e
JM
486542012-03-09 Joseph Myers <joseph@codesourcery.com>
48655
02a6f887
JM
48656 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48657 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48658 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48659 from <bits/socket_type.h>.
48660 (enum __socket_type): Don't define here.
48661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48663 bits/socket_type.h.
48664
c6e013c1
JM
48665 [BZ #13566]
48666 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48667 checking __USE_GNU.
48668
4962050e
JM
48669 * Makerules ($(inst_includedir)/%.h): New rule.
48670 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48671 (install-others): Remove variable setting.
48672 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48673
38842f45
RH
486742012-03-08 Richard Henderson <rth@twiddle.net>
48675
67bb6da6
RH
48676 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48677 from macro to inline function; merge with the
48678 !__LIBC_INTERNAL_MATH_INLINES version.
48679 (__ieee754_sqrtf): Likewise.
48680
15194b4b
RH
48681 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48682 to inline function.
48683 (__rintf, __floor, __floorf): Likewise.
48684
64e21ede
RH
48685 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48686 macro to inline function.
48687 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48688
38842f45
RH
48689 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48690 not <math/math_private.h>.
48691
c64bf5fe
DM
486922012-03-08 David S. Miller <davem@davemloft.net>
48693
48694 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48695 copyright year.
48696 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48697
82d86f28
TS
486982012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48699
48700 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48701 normalization.
48702 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48703 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48704
aea5d727
UD
487052012-03-08 Ulrich Drepper <drepper@gmail.com>
48706
48707 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48708 be defined individually, they must be defined as a block. Define
48709 S for printing a string instead of hidint the different by using a
48710 macro for adding the 'l'.
48711 * stdio-common/tst-fphex-wide.c: Adjust.
48712
70bca0a3
MP
487132012-03-07 Marek Polacek <polacek@redhat.com>
48714
48715 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48716
65b81130
MP
487172012-03-08 Marek Polacek <polacek@redhat.com>
48718
48719 [BZ #13806]
48720 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48721 * stdio-common/tst-fphex.c: Define a few macros to make the
48722 test reusable. Use them.
48723 * stdio-common/tst-fphex-wide.c: New file.
48724
07037eeb
JM
487252012-03-08 Joseph Myers <joseph@codesourcery.com>
48726
a7a93d50
JM
48727 [BZ #6911]
48728 * manual/macros.texi (gnusystems): New macro.
48729 (nongnusystems): Likewise.
48730 (gnulinuxhurdsystems): Likewise.
48731 (gnuhurdsystems): Likewise..
48732 (gnulinuxsystems): Likewise.
48733 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48734 variants of the GNU system, not "GNU system".
48735 * manual/conf.texi: Likewise.
48736 * manual/errno.texi: Likewise. Update example of errno macro
48737 expansion.
48738 * manual/filesys.texi: Likewise.
48739 (getumask): Document as specific to GNU/Hurd.
48740 * manual/install.texi: Likewise. Reword some references to
48741 GNU/Linux.
48742 * manual/intro.texi: Likewise.
48743 * manual/io.texi: Likewise.
48744 (File Name Portability): Detail which constraints are inapplicable
48745 to all GNU systems and which are only inapplicable to GNU/Hurd.
48746 * manual/job.texi: Likewise.
48747 * manual/llio.texi: Likewise.
48748 (O_NOCTTY): Document as present on GNU/Linux.
48749 * manual/maint.texi: Likewise.
48750 * manual/memory.texi: Likewise.
48751 * manual/pattern.texi: Likewise.
48752 * manual/pipe.texi: Likewise.
48753 * manual/process.texi: Likewise.
48754 * manual/resource.texi: Likewise.
48755 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48756 child on GNU/Hurd.
48757 * manual/setjmp.texi: Likewise.
48758 * manual/signal.texi: Likewise.
48759 * manual/startup.texi: Likewise.
48760 * manual/stdio.texi: Likewise.
48761 * manual/terminal.texi: Likewise.
48762 (ONLCR): Document as POSIX.
48763 (OXTABS): Document availability on GNU/Linux as XTABS.
48764 (ONOEOT): Document availability separately from other bits.
48765 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48766 * manual/time.texi: Likewise.
48767 * manual/users.texi: Likewise.
48768 * INSTALL: Regenerated.
48769 * sysdeps/gnu/errlist.c: Regenerated.
48770
07037eeb
JM
48771 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48772 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48773 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48774 puts.
48775 * configure: Regenerated.
48776
d1d3431a
JM
487772012-03-07 Joseph Myers <joseph@codesourcery.com>
48778
af6a1e37
JM
48779 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48780 default includes instead of AC_HEADER_CHECK.
48781 * sysdeps/i386/configure: Regenerated.
48782
d1d3431a
JM
48783 [BZ #10716]
48784 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48785 * math/s_cacoshf.c (__cacoshf): Likewise.
48786 * math/s_cacoshl.c (__cacoshl): Likewise.
48787 * math/s_casinh.c (__casinh): Set signs of result from argument.
48788 * math/s_casinhf.c (__casinhf): Likewise.
48789 * math/s_casinhl.c (__casinhl): Likewise.
48790 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48791 (casinh_test): Add more tests.
48792 * sysdeps/i386/fpu/libm-test-ulps: Update.
48793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48794
482ff4da
UD
487952012-03-07 Ulrich Drepper <drepper@gmail.com>
48796
872fda05
UD
48797 * po/zh_TW.po: Update from translation team.
48798
a4300c7a
UD
48799 * login/Makefile (distribute): Remove variable.
48800 * catgets/Makefile: Likewise.
48801 * mach/Makefile: Likewise.
48802 * malloc/Makefile: Likewise.
48803 * misc/Makefile: Likewise.
48804 * iconv/Makefile: Likewise.
48805 * nscd/Makefile: Likewise.
48806 * hurd/Makefile: Likewise.
48807 * manual/Makefile: Likewise.
48808 * locale/Makefile: Likewise.
48809 * intl/Makefile: Likewise.
48810 * conform/Makefile: Likewise.
48811 * nss/Makefile: Likewise.
48812 * time/Makefile: Likewise.
48813 * soft-fp/Makefile: Likewise.
48814 * dirent/Makefile: Likewise.
48815 * gmon/Makefile: Likewise.
48816 * po/Makefile: Likewise.
48817 * rt/Makefile: Likewise.
48818 * socket/Makefile: Likewise.
48819 * math/Makefile: Likewise.
48820 * signal/Makefile: Likewise.
48821 * debug/Makefile: Likewise.
48822 * elf/Makefile: Likewise.
48823 * timezone/Makefile: Likewise.
48824 * stdlib/Makefile: Likewise.
48825 * iconvdata/Makefile: Likewise.
48826 * sunrpc/Makefile: Likewise.
48827 * io/Makefile: Likewise.
48828 * argp/Makefile: Likewise.
48829 * inet/Makefile: Likewise.
48830 * hesiod/Makefile: Likewise.
48831 * grp/Makefile: Likewise.
48832 * csu/Makefile: Likewise.
48833 * wctype/Makefile: Likewise.
48834 * crypt/Makefile: Likewise.
48835 * libio/Makefile: Likewise.
48836 * string/Makefile: Likewise.
48837 * nis/Makefile: Likewise.
48838 * resolv/Makefile: Likewise.
48839 * stdio-common/Makefile: Likewise.
48840 * wcsmbs/Makefile: Likewise.
48841 * dlfcn/Makefile: Likewise.
48842 * posix/Makefile: Likewise.
48843
3b7c4e74 48844 [BZ #6959]
482ff4da
UD
48845 * timezone/Makefile: Don't install timezone files, just the programs
48846 and scripts.
48847
f72ed77d
UD
488482012-03-06 Ulrich Drepper <drepper@gmail.com>
48849
a000466f
UD
48850 * nss/databases.def: Add missing gshadow entry.
48851
f72ed77d
UD
48852 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48853
a53b7a4e
MP
488542012-03-06 Marek Polacek <polacek@redhat.com>
48855
48856 [BZ #13726]
48857 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48858 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48859 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48860 * stdio-common/tst-long-dbl-fphex.c: New file.
48861
e9258400
DM
488622012-03-06 David S. Miller <davem@davemloft.net>
48863
48864 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48865 (set_obp_int): New function.
48866 (get_obp_int): New function.
48867 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48868 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48869 Avoid unused variable warnings on 'val' and use builtin_expect.
48870 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48871 __builtin_expect.
e9258400
DM
48872 (INLINE_CLONE_SYSCALL): Likewise.
48873
3bd2c723
DM
488742012-03-05 David S. Miller <davem@davemloft.net>
48875
48876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48877
bbb78d03
AS
488782012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48879
884c5db4
AS
48880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48881
bbb78d03
AS
48882 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48883 only for |x| >= 40.
48884 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48885
1c9f702a 488862012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48887
48888 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48889 Replace gettimeofday with __vdso_gettimeofday.
48890
7be16f82
RM
48891 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48892 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48893 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48894
48895 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48896 time with __vdso_time.
48897
ed58a00f
JM
488982012-03-05 Joseph Myers <joseph@codesourcery.com>
48899
48900 * manual/lang.texi (size_t): Note types to which size_t may be
48901 equivalent with the GNU C Library, but do not describe when
48902 differences between them are significant.
48903
30ee4ced
AJ
489042012-03-05 Andreas Jaeger <aj@suse.de>
48905
48906 * sysdeps/i386/fpu/libm-test-ulps: Update.
48907
b7cd39e8
JM
489082012-03-05 Joseph Myers <joseph@codesourcery.com>
48909
48910 [BZ #3976]
48911 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48912 (__ieee754_pow): Save and restore rounding mode and use
48913 round-to-nearest for main computations.
48914 * math/libm-test.inc (pow_test_tonearest): New function.
48915 (pow_test_towardzero): Likewise.
48916 (pow_test_downward): Likewise.
48917 (pow_test_upward): Likewise.
48918 (main): Call the new functions.
48919 * sysdeps/i386/fpu/libm-test-ulps: Update.
48920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48921
48922 [BZ #3976]
48923 * math/libm-test.inc (cosh_test_tonearest): New function.
48924 (cosh_test_towardzero): Likewise.
48925 (cosh_test_downward): Likewise.
48926 (cosh_test_upward): Likewise.
48927 (sinh_test_tonearest): Likewise.
48928 (sinh_test_towardzero): Likewise.
48929 (sinh_test_downward): Likewise.
48930 (sinh_test_upward): Likewise.
48931 (main): Call the new functions.
48932 * sysdeps/i386/fpu/libm-test-ulps: Update.
48933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48934
6c6a98c9
TV
489352012-03-05 Tom de Vries <tom@codesourcery.com>
48936
48937 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48938 default stack guard is set in last bytes.
48939 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48940
21bb2d2e 489412012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48942
21bb2d2e 48943 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48944
21bb2d2e
AJ
48945 [BZ #13656]
48946 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48947 possibly allocate from heap instead of stack.
48948 * stdio-common/bug-vfprintf-nargs.c: New file.
48949 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48950
c6922934
AS
489512012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48952
48953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48954
bc957d53
MP
489552012-03-03 Marek Polacek <polacek@redhat.com>
48956
48957 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48958 * math/math_private.h: Likewise.
48959 * stdlib/tst-strtod.c: Likewise.
48960 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48961 * sysdeps/x86_64/bits/atomic.h: Likewise.
48962
6358490d
DM
489632012-03-02 David S. Miller <davem@davemloft.net>
48964
48965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48969 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48970 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48971 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48972 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48973
01ae168d
RM
489742012-03-02 Roland McGrath <roland@hack.frob.com>
48975
d9a17c07
RM
48976 [BZ #13792]
48977 * manual/examples/README: New file, says the example source files
48978 can be used under GPL>=2.
48979 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48980 line containing just "*/".
48981 * manual/examples/add.c: Add copyright header (GPL>=2).
48982 * manual/examples/argp-ex1.c: Likewise.
48983 * manual/examples/argp-ex2.c: Likewise.
48984 * manual/examples/argp-ex3.c: Likewise.
48985 * manual/examples/argp-ex4.c: Likewise.
48986 * manual/examples/atexit.c: Likewise.
48987 * manual/examples/db.c: Likewise.
48988 * manual/examples/dir.c: Likewise.
48989 * manual/examples/dir2.c: Likewise.
48990 * manual/examples/execinfo.c: Likewise.
48991 * manual/examples/filecli.c: Likewise.
48992 * manual/examples/filesrv.c: Likewise.
48993 * manual/examples/fmtmsgexpl.c: Likewise.
48994 * manual/examples/genpass.c: Likewise.
48995 * manual/examples/inetcli.c: Likewise.
48996 * manual/examples/inetsrv.c: Likewise.
48997 * manual/examples/isockad.c: Likewise.
48998 * manual/examples/longopt.c: Likewise.
48999 * manual/examples/memopen.c: Likewise.
49000 * manual/examples/memstrm.c: Likewise.
49001 * manual/examples/mkfsock.c: Likewise.
49002 * manual/examples/mkisock.c: Likewise.
49003 * manual/examples/mygetpass.c: Likewise.
49004 * manual/examples/pipe.c: Likewise.
49005 * manual/examples/popen.c: Likewise.
49006 * manual/examples/rprintf.c: Likewise.
49007 * manual/examples/search.c: Likewise.
49008 * manual/examples/select.c: Likewise.
49009 * manual/examples/setjmp.c: Likewise.
49010 * manual/examples/sigh1.c: Likewise.
49011 * manual/examples/sigusr.c: Likewise.
49012 * manual/examples/stpcpy.c: Likewise.
49013 * manual/examples/strdupa.c: Likewise.
49014 * manual/examples/strftim.c: Likewise.
49015 * manual/examples/strncat.c: Likewise.
49016 * manual/examples/subopt.c: Likewise.
49017 * manual/examples/swapcontext.c: Likewise.
49018 * manual/examples/termios.c: Likewise.
49019 * manual/examples/testopt.c: Likewise.
49020 * manual/examples/testpass.c: Likewise.
49021 * manual/examples/timeval_subtract.c: Likewise.
49022
01ae168d
RM
49023 [BZ #13792]
49024 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49025 function to ...
49026 * manual/timeval_subtract.c.texi: ... here, new file.
49027
49efa33d
DM
490282012-03-02 David S. Miller <davem@davemloft.net>
49029
49030 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49031
28afd92d
JM
490322012-03-02 Joseph Myers <joseph@codesourcery.com>
49033
804360ed
JM
49034 [BZ #3976]
49035 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49036 (__sin): Save and restore rounding mode and use round-to-nearest
49037 for all computations.
49038 (__cos): Save and restore rounding mode and use round-to-nearest
49039 for all computations.
49040 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49041 <fenv.h>.
49042 (tan): Save and restore rounding mode and use round-to-nearest for
49043 all computations.
49044 * math/libm-test.inc (cos_test_tonearest): New function.
49045 (cos_test_towardzero): Likewise.
49046 (cos_test_downward): Likewise.
49047 (cos_test_upward): Likewise.
49048 (sin_test_tonearest): Likewise.
49049 (sin_test_towardzero): Likewise.
49050 (sin_test_downward): Likewise.
49051 (sin_test_upward): Likewise.
49052 (tan_test_tonearest): Likewise.
49053 (tan_test_towardzero): Likewise.
49054 (tan_test_downward): Likewise.
49055 (tan_test_upward): Likewise.
49056 (main): Call the new functions.
49057 * sysdeps/i386/fpu/libm-test-ulps: Update.
49058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49059
a6d06d7b
JM
49060 [BZ #10135]
49061 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49062 small n, then large n, before computing and testing k+n.
49063 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49064 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49065 Likewise.
49066 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49067 Likewise.
49068 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49069 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49070 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49071 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49072 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49073 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49074 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49075 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49076 * math/libm-test.inc (scalbn_test): Add more tests.
49077 (scalbln_test): Likewise.
49078
07e12bb3
JM
49079 * manual/filesys.texi (mode_t): Describe constraints on size and
49080 signedness, not exact equivalence to a particular type.
49081 (ino_t): Likewise.
49082 (ino64_t): Likewise.
49083 (dev_t): Likewise.
49084 (nlink_t): Likewise.
49085 (blkcnt_t): Likewise.
49086 (blkcnt64_t): Likewise.
49087 * manual/llio.texi (off_t): Likewise.
49088
28afd92d
JM
49089 [BZ #3976]
49090 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49091 (__ieee754_exp): Save and restore rounding mode and use
49092 round-to-nearest for all computations.
49093 * math/libm-test.inc (exp_test_tonearest): New function.
49094 (exp_test_towardzero): Likewise.
49095 (exp_test_downward): Likewise.
49096 (exp_test_upward): Likewise.
49097 (main): Call the new functions.
49098 * sysdeps/i386/fpu/libm-test-ulps: Update.
49099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49100
b1eeb65d
CD
491012012-03-01 Chris Demetriou <cgd@google.com>
49102
49103 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49104 have predictable order.
49105
53362a4b
DM
491062012-03-01 David S. Miller <davem@davemloft.net>
49107
3c969083
DM
49108 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49109
759707de
DM
49110 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49111 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49112 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49113 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49114
dfdb8ff2
DM
49115 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49116 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49117 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49119 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49120 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49121 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49122 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49123 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49124
ead89f96
DM
49125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49126
7f66bd07
DM
49127 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49128 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49129 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49130
53362a4b
DM
49131 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49132 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49133 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49134 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49135 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49136 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49137 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49138 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49139 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49140 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49141 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49142 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49143 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49144 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49145 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49146 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49147 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49148 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49149 * sysdeps/sparc/elf/configure: Regenerated.
49150
7b1902cb
JM
491512012-03-01 Joseph Myers <joseph@codesourcery.com>
49152
bec039bc
JM
49153 * configure.in (AS, LD): Require binutils 2.20 or later.
49154 * configure: Regenerated.
49155 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49156 as required minimum version.
49157 * INSTALL: Regenerated.
49158
7b1902cb
JM
49159 [BZ #2541]
49160 [BZ #4108]
49161 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49162 before squaring exponent.
49163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49164 bottom long double and 27 bits of top long double before squaring
49165 exponent.
49166 * math/libm-test.inc (erfc_test): Add more tests.
49167 * sysdeps/i386/fpu/libm-test-ulps: Update.
49168 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49170
f775c276
KT
491712012-03-01 Kai Tietz <ktietz@redhat.com>
49172
49173 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49174 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49175 containing bit-fields.
49176 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49177 * soft-fp/single.h (_FP_UNION_S): Likewise.
49178 * soft-fp/double.h (_FP_UNION_D): Likewise.
49179
5b8a4d4a
JM
491802012-02-29 Joseph Myers <joseph@codesourcery.com>
49181
0bab47b6
JM
49182 [BZ #13786]
49183 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49184 not include ../strcmp.S.
49185 [USE_AS_STRNCASECMP_L]: Likewise.
49186 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49187 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49188 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49189 (__strncasecmp_l_ia32): Define as alias to
49190 __strncasecmp_l_nonascii.
49191
0fcad3e2
JM
49192 [BZ #5794]
49193 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49194 * sysdeps/i386/fpu/libm-test-ulps: Update.
49195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49196
5b8a4d4a
JM
49197 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49199
8fdceb2e
JL
492002012-02-29 Jeff Law <law@redhat.com>
49201
49202 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49203 out of bounds read.
49204
1f393a11
MP
492052012-02-29 Marek Polacek <polacek@redhat.com>
49206
49207 [BZ #13706]
49208 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49209 * elf/Makefile: Add rules to run tst-unused-dep.out.
49210
8847f037
DM
492112012-02-28 David S. Miller <davem@davemloft.net>
49212
49213 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49214 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49215 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49216 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49217 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49218 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49219
169d7f11
JM
492202012-02-29 Joseph Myers <joseph@codesourcery.com>
49221
49222 * math/libm-test.inc (llround_test): Move one test from
49223 lround_test. Use TEST_f_L in moved test.
49224 (lround_test): Move misplaced test to llround_test. Add testcase
49225 from bug 2561.
49226
39adf059
UD
492272012-02-28 Ulrich Drepper <drepper@gmail.com>
49228
49229 * sysdeps/x86_64/fpu/e_expf.S: New file.
49230 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49231
71b5d1c5
SB
492322012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49233
49234 [BZ #13637]
49235 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49236 of remain_len that may cause incomplete multi-byte character and
49237 false match.
49238 * posix/bug-regex33.c: New file.
49239 * posix/Makefile (tests): Add bug-regex33.
49240
1f77f049
JM
492412012-02-28 Joseph Myers <joseph@codesourcery.com>
49242
49243 * manual/macros.texi: New file.
49244 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49245 * manual/libc.texinfo: Include macros.texi.
49246 * manual/creatute.texi: Likewise.
49247 * manual/install.texi: Likewise.
49248 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49249 @glibcadj{} in references to the GNU C Library.
49250 * manual/charset.texi: Likewise.
49251 * manual/conf.texi: Likewise.
49252 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49253 when not using those macros.
49254 * manual/creature.texi: Likewise.
49255 * manual/crypt.texi: Likewise.
49256 * manual/errno.texi: Likewise.
49257 * manual/filesys.texi: Likewise.
49258 * manual/header.texi: Likewise.
49259 * manual/install.texi: Likewise.
49260 * manual/intro.texi: Likewise.
49261 * manual/io.texi: Likewise.
49262 * manual/job.texi: Likewise.
49263 * manual/lang.texi: Likewise.
49264 * manual/libc.texiinfo: Likewise.
49265 * manual/llio.texi: Likewise.
49266 * manual/locale.texi: Likewise.
49267 * manual/maint.texi: Likewise.
49268 * manual/math.texi: Likewise.
49269 * manual/memory.texi: Likewise.
49270 * manual/message.texi: Likewise.
49271 * manual/nss.texi: Likewise.
49272 * manual/pattern.texi: Likewise.
49273 * manual/process.texi: Likewise.
49274 * manual/resource.texi: Likewise.
49275 * manual/search.texi: Likewise.
49276 * manual/setjmp.texi: Likewise.
49277 * manual/signal.texi: Likewise.
49278 * manual/socket.texi: Likewise.
49279 * manual/startup.texi: Likewise.
49280 * manual/stdio.texi: Likewise.
49281 * manual/string.texi: Likewise.
49282 * manual/sysinfo.texi: Likewise.
49283 * manual/syslog.texi: Likewise.
49284 * manual/terminal.texi: Likewise.
49285 * manual/time.texi: Likewise.
49286 * manual/users.texi: Likewise.
49287 * INSTALL: Regenerated.
49288 * NOTES: Regenerated.
d40c5d54 49289 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49290
450bf206
AS
492912012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49292
49293 * include/dirent.h: Include <dirstream.h> before
49294 <dirent/dirent.h>.
49295
741a235b
DM
492962012-02-28 David S. Miller <davem@davemloft.net>
49297
49298 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49299 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49300 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49301 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49302
d6b5aa58
DM
493032012-02-27 David S. Miller <davem@davemloft.net>
49304
1aff59a3
DM
49305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49307 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49308 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49309
d6b5aa58
DM
49310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49311 frame pointer instead of stack pointer relative arg slot.
49312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49313 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49314 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49315
433f48bf
CD
493162012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49317
49318 [BZ #3992]
49319 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49320
d674b76d
DM
493212012-02-27 David S. Miller <davem@davemloft.net>
49322
49323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49327 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49328 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49329 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49330 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49331
0e7727f7
JM
493322012-02-27 Joseph Myers <joseph@codesourcery.com>
49333
49334 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49335 later. Allow versions 5-9.
43be4ca2 49336 * configure: Regenerated.
0e7727f7
JM
49337 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49338 required minimum version and 4.6 as recommended version. Do not
49339 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49340 * INSTALL: Regenerated.
0e7727f7 49341
a78bc654
DM
493422012-02-27 David S. Miller <davem@davemloft.net>
49343
428d5830
DM
49344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49348 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49349 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49350 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49351 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49352
a78bc654
DM
49353 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49354 manipulate bits before adding and subtracting TWO112[sx].
49355 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49356
4579f81c
RM
493572012-02-27 Roland McGrath <roland@hack.frob.com>
49358
36c8acb4
RM
49359 [BZ #13775]
49360 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49361 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49362 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49363 being in POSIX, because they are in 1003.1-2008.
49364
84ad622b
RM
49365 * rt/tst-aio.c: Include <fcntl.h>.
49366 * rt/tst-aio7.c: Likewise.
49367 * rt/tst-aio64.c: Likewise.
49368
4579f81c
RM
49369 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49370
abd923db
JM
493712012-02-27 Joseph Myers <joseph@codesourcery.com>
49372
49373 * manual/install.texi (--with-headers): Describe headers as
49374 interface headers, not private headers.
49375 (Specific advice for GNU/Linux systems): Describe use of headers
49376 from "make headers_install", not private headers from older
49377 kernels.
43be4ca2 49378 * INSTALL: Regenerated.
abd923db
JM
49379 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49380 Change to 2.6.19.
49381 * sysdeps/unix/sysv/linux/configure: Regenerated.
49382
6664049b
JM
49383 * manual/llio.texi (fclean): Remove documentation.
49384
bb8b6697
JM
49385 * manual/Makefile (libc-texi-generated): New variable. Include
49386 version.texi.
49387 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49388 $(libc-texi-generated), not duplicated list of files.
49389 (version.texi, stamp-version): New rules.
49390 (realclean): Remove $(libc-texi-generated), not individual files
49391 from that list. Do not remove dir-add.texinfo.
49392 * manual/libc.texinfo: Comment out uses of edition numbers and
49393 references to printed manual. Remove last-updated dates.
49394 (EDITION): Comment out.
49395 (ISBN): Likewise.
49396 (VERSION, UPDATED): Remove.
49397 (version.texi): Include.
49398
12e5c3b9
AS
493992012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49400
49401 * sysdeps/posix/spawni.c: Include <signal.h>.
49402 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49403 * sysdeps/pthread/aio_fsync.c: Likewise.
49404
4efeffc1 494052012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49406
ba63ba08
UD
49407 * conform/Makefile (tests): Run only when not cross-compiling and
49408 when fast-check is not defined.
49409
d94a4670
UD
49410 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49411 * conform/data/limits.h-data: Fixes for POSIX2008.
49412 * conform/run-conformtest.sh: Run all tests.
49413 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49414 headers.
49415 * include/bits/dlfcn.h: Likewise.
49416 * include/langinfo.h: Likewise.
49417 * include/monetary.h: Likewise.
49418 * include/sys/poll.h: Likewise.
49419
49420 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49421 for __USE_GNU.
49422 * posix/spawn.h: Define __need_sigset_t.
49423 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49424 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49425 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49426 to get sigevent_t only.
49427 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49428 only for __USE_GNU.
49429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49430 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49431 process_vm_writev only for __USE_GNU.
49432 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49433
49434 * conform/Makefile: For now ignore errors from run-conformtest.
49435 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49436 POSIX to avoid namespace pollution. Don't prepend headers.
49437 * conform/data/aio.h-data: Fixes for POSIX testing.
49438 * conform/data/fcntl.h-data: Likewise.
49439 * conform/data/glob.h-data: Likewise.
49440 * conform/data/grp.h-data: Likewise.
49441 * conform/data/pthread.h-data: Likewise.
49442 * conform/data/pwd.h-data: Likewise.
49443 * conform/data/signal.h-data: Likewise.
49444 * conform/data/spawn.h-data: Likewise.
49445 * conform/data/stdio.h-data: Likewise.
49446 * conform/data/stdlib.h-data: Likewise.
49447 * conform/data/stropts.h-data: Likewise.
49448 * conform/data/sys/mman.h-data: Likewise.
49449 * conform/data/sys/stat.h-data: Likewise.
49450 * conform/data/sys/types.h-data: Likewise.
49451 * conform/data/sys/wait.h-data: Likewise.
49452 * conform/data/time.h-data: Likewise.
49453 * conform/data/unistd.h-data: Likewise.
49454 * conform/data/utime.h-data: Likewise.
49455
49456 * io/sys/stat.h: fchmod was always in POSIX.
49457 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49458 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49459 * rt/aio.h: Define __need_timespec before including <time.h>.
49460 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49461 struct. Add forward declaration of pthread_attr_t and use it in
49462 sigevent.
49463 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49464 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49465 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49466 always remove CLK_TCK definition.
49467
c20105c3
AS
494682012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49469
49470 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49471
7a270350
UD
494722012-02-25 Ulrich Drepper <drepper@gmail.com>
49473
31341567
UD
49474 * conform/run-conformtest.sh: New file.
49475 * conform/Makefile: Run run-conformtest for tests.
49476 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49477 support.
49478
49479 * conform/data/uchar.h-data: New file.
49480 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49481 * conform/data/arpa/inet.h-data: Likewise.
49482 * conform/data/assert.h-data: Likewise.
49483 * conform/data/complex.h-data: Likewise.
49484 * conform/data/cpio.h-data: Likewise.
49485 * conform/data/ctype.h-data: Likewise.
49486 * conform/data/dirent.h-data: Likewise.
49487 * conform/data/dlfcn.h-data: Likewise.
49488 * conform/data/errno.h-data: Likewise.
49489 * conform/data/fcntl.h-data: Likewise.
49490 * conform/data/float.h-data: Likewise.
49491 * conform/data/fmtmsg.h-data: Likewise.
49492 * conform/data/fnmatch.h-data: Likewise.
49493 * conform/data/ftw.h-data: Likewise.
49494 * conform/data/glob.h-data: Likewise.
49495 * conform/data/grp.h-data: Likewise.
49496 * conform/data/iconv.h-data: Likewise.
49497 * conform/data/inttypes.h-data: Likewise.
49498 * conform/data/langinfo.h-data: Likewise.
49499 * conform/data/libgen.h-data: Likewise.
49500 * conform/data/limits.h-data: Likewise.
49501 * conform/data/locale.h-data: Likewise.
49502 * conform/data/math.h-data: Likewise.
49503 * conform/data/monetary.h-data: Likewise.
49504 * conform/data/mqueue.h-data: Likewise.
49505 * conform/data/ndbm.h-data: Likewise.
49506 * conform/data/net/if.h-data: Likewise.
49507 * conform/data/netdb.h-data: Likewise.
49508 * conform/data/netinet/in.h-data: Likewise.
49509 * conform/data/nl_types.h-data: Likewise.
49510 * conform/data/poll.h-data: Likewise.
49511 * conform/data/pthread.h-data: Likewise.
49512 * conform/data/pwd.h-data: Likewise.
49513 * conform/data/regex.h-data: Likewise.
49514 * conform/data/sched.h-data: Likewise.
49515 * conform/data/search.h-data: Likewise.
49516 * conform/data/semaphore.h-data: Likewise.
49517 * conform/data/setjmp.h-data: Likewise.
49518 * conform/data/signal.h-data: Likewise.
49519 * conform/data/spawn.h-data: Likewise.
49520 * conform/data/stdarg.h-data: Likewise.
49521 * conform/data/stdio.h-data: Likewise.
49522 * conform/data/stdlib.h-data: Likewise.
49523 * conform/data/string.h-data: Likewise.
49524 * conform/data/strings.h-data: Likewise.
49525 * conform/data/stropts.h-data: Likewise.
49526 * conform/data/sys/ipc.h-data: Likewise.
49527 * conform/data/sys/mman.h-data: Likewise.
49528 * conform/data/sys/msg.h-data: Likewise.
49529 * conform/data/sys/resource.h-data: Likewise.
49530 * conform/data/sys/select.h-data: Likewise.
49531 * conform/data/sys/sem.h-data: Likewise.
49532 * conform/data/sys/shm.h-data: Likewise.
49533 * conform/data/sys/socket.h-data: Likewise.
49534 * conform/data/sys/stat.h-data: Likewise.
49535 * conform/data/sys/statvfs.h-data: Likewise.
49536 * conform/data/sys/time.h-data: Likewise.
49537 * conform/data/sys/timeb.h-data: Likewise.
49538 * conform/data/sys/times.h-data: Likewise.
49539 * conform/data/sys/types.h-data: Likewise.
49540 * conform/data/sys/uio.h-data: Likewise.
49541 * conform/data/sys/un.h-data: Likewise.
49542 * conform/data/sys/utsname.h-data: Likewise.
49543 * conform/data/sys/wait.h-data: Likewise.
49544 * conform/data/syslog.h-data: Likewise.
49545 * conform/data/tar.h-data: Likewise.
49546 * conform/data/termios.h-data: Likewise.
49547 * conform/data/utime.h-data: Likewise.
49548 * conform/data/utmpx.h-data: Likewise.
49549 * conform/data/varargs.h-data: Likewise.
49550 * conform/data/wchar.h-data: Likewise.
49551 * conform/data/wctype.h-data: Likewise.
49552 * conform/data/wordexp.h-data: Likewise.
49553
49554 * include/stropts.h: New file.
49555 * include/uchar.h: New file.
49556 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49557 * include/assert.h: Likewise.
49558 * include/ctype.h: Likewise.
49559 * include/dirent.h: Likewise.
49560 * include/dlfcn.h: Likewise.
49561 * include/fcntl.h: Likewise.
49562 * include/fnmatch.h: Likewise.
49563 * include/glob.h: Likewise.
49564 * include/grp.h: Likewise.
49565 * include/libio.h: Likewise.
49566 * include/locale.h: Likewise.
49567 * include/math.h: Likewise.
49568 * include/net/if.h: Likewise.
49569 * include/netdb.h: Likewise.
49570 * include/netinet/in.h: Likewise.
49571 * include/pthread.h: Likewise.
49572 * include/pwd.h: Likewise.
49573 * include/regex.h: Likewise.
49574 * include/sched.h: Likewise.
49575 * include/search.h: Likewise.
49576 * include/setjmp.h: Likewise.
49577 * include/signal.h: Likewise.
49578 * include/stdio.h: Likewise.
49579 * include/stdlib.h: Likewise.
49580 * include/string.h: Likewise.
49581 * include/sys/cdefs.h: Likewise.
49582 * include/sys/mman.h: Likewise.
49583 * include/sys/msg.h: Likewise.
49584 * include/sys/resource.h: Likewise.
49585 * include/sys/select.h: Likewise.
49586 * include/sys/socket.h: Likewise.
49587 * include/sys/stat.h: Likewise.
49588 * include/sys/statvfs.h: Likewise.
49589 * include/sys/time.h: Likewise.
49590 * include/sys/times.h: Likewise.
49591 * include/sys/uio.h: Likewise.
49592 * include/sys/utsname.h: Likewise.
49593 * include/sys/wait.h: Likewise.
49594 * include/termios.h: Likewise.
49595 * include/time.h: Likewise.
49596 * include/ulimit.h: Likewise.
49597 * include/unistd.h: Likewise.
49598 * include/utime.h: Likewise.
49599 * include/wchar.h: Likewise.
49600 * include/wctype.h: Likewise.
49601 * include/wordexp.h: Likewise.
49602
49603 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49604
7a270350
UD
49605 * time/time.h: TIME_UTC must be a macro.
49606 Make timespec_get available for ISO C11 only as well.
49607
7724defc
UD
496082012-02-24 Ulrich Drepper <drepper@gmail.com>
49609
49610 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49611 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49612
6b1d1d46
JM
496132012-02-24 Joseph Myers <joseph@codesourcery.com>
49614
49615 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49616
0f8bbd69
JM
496172012-02-24 Joseph Myers <joseph@codesourcery.com>
49618
49619 * manual/texinfo.tex: Update to version 2012-01-19.16.
49620
66ab80bc
JM
496212012-02-24 Joseph Myers <joseph@codesourcery.com>
49622
49623 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49624
74981cc5
RM
496252012-02-24 Roland McGrath <roland@hack.frob.com>
49626
ee968201
RM
49627 [BZ #13738]
49628 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49629 * manual/fdl-1.3.texi: New file.
49630 * manual/fdl-1.1.texi: File removed.
49631
74981cc5
RM
49632 [BZ #13738]
49633 * manual/libc.texinfo (FDL_VERSION): New @set.
49634 Use it for mention of FDL in cover text.
49635 (Documentation License): Use it in @include file name.
49636
7bb764bc
JM
496372012-02-22 Joseph Myers <joseph@codesourcery.com>
49638 Roland McGrath <roland@hack.frob.com>
49639
49640 [BZ #5461]
57f41c40
AS
49641 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49642 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49643 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49644 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49645 name.
49646 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49647
6cbeae47
JM
496482012-02-22 Joseph Myers <joseph@codesourcery.com>
49649
49650 [BZ #2547]
49651 [BZ #11365]
49652 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49653 manipulate bits before adding and subtracting TWO23[sx].
49654 * math/libm-test.inc (nearbyint_test): Add more tests.
49655
fe45ce09
JM
496562012-02-22 Joseph Myers <joseph@codesourcery.com>
49657
49658 [BZ #2548]
49659 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49660 bits before adding and subtracting TWO23[sx].
49661 * math/libm-test.inc (rint_test): Add more tests.
49662 (rint_test_tonearest): Likewise.
49663 (rint_test_towardzero): Likewise.
49664 (rint_test_downward): Likewise.
49665 (rint_test_upward: Likewise.
49666
ff3b3d82
JM
496672012-02-22 Joseph Myers <joseph@codesourcery.com>
49668
49669 [BZ #10110]
49670 * include/stdc-predef.h: New file. Extracted from features.h.
49671 * include/features.h: Include stdc-predef.h.
49672 * Makefile (headers): Add stdc-predef.h.
49673 * CONFORMANCE (Compiler limitations): Update.
49674
ef0aab35
JM
496752012-02-22 Joseph Myers <joseph@codesourcery.com>
49676
49677 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49678
58639409
DM
496792012-02-21 David S. Miller <davem@davemloft.net>
49680
49681 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49682 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49683
c0e70b25
DM
496842012-02-20 David S. Miller <davem@davemloft.net>
49685
49686 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49687 using a normal save/restore sequence, rather than allocating a
49688 dummy stack frame just to store a frame pointer and restore.
49689 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49690
fb06851d
JM
496912012-02-21 Joseph Myers <joseph@codesourcery.com>
49692
49693 * manual/install.texi: Fix stray word in line-wrapped comment.
49694
7a8b71c3
DM
496952012-02-20 David S. Miller <davem@davemloft.net>
49696
d510c123
DM
49697 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49698 both binutils and gcc support GOTDATA.
49699
0722d7c2
DM
49700 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49701 "rd %pc" in the PIC register setup sequences.
49702
3d2b3019
DM
49703 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49704 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49705 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49706 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49707 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49708 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49709 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49710 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49711 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49712 (SYSCALL_ERROR_HANDLER): Likewise.
49713 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49714 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49715 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49716 (SYSCALL_ERROR_HANDLER): Likewise.
49717
c80098a9
DM
49718 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49719 (HAVE_GCC_GOTDATA): New.
49720 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49721 relocation support in both binutils and gcc.
49722 * sysdeps/sparc/elf/configure: Regenerate.
49723
3a2545a0
DM
49724 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49725 * sysdeps/sparc/sparc32/elf/configure: Delete.
49726 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49727 * sysdeps/sparc/sparc64/elf/configure: Delete.
49728 * sysdeps/sparc/elf/configure.in: New file.
49729 * sysdeps/sparc/elf/configure: Generate.
49730
7a8b71c3
DM
49731 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49732 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49733 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49734 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49735 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49736
f1e86fca
JM
497372012-02-21 Joseph Myers <joseph@codesourcery.com>
49738
49739 * manual/install.texi: Do not mention specific glibc version
49740 numbers.
49741 * manual/libc.texinfo (VERSION, UPDATED): Update.
49742 (@copying): Use @copyright{} and range of years.
49743
0e7dfaef
JM
497442012-02-21 Joseph Myers <joseph@codesourcery.com>
49745
49746 [BZ #13695]
49747 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49748 [crti.S not in sysdirs] (generated): Do not append.
49749 [crti.S not in sysdirs] (omit-deps): Likewise.
49750 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49751 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49752 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49753 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49754 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49755 Likewise.
49756 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49757 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49758 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49759 * csu/defs.awk: Remove file.
49760 * sysdeps/generic/initfini.c: Likewise.
49761 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49762 variable.
49763 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49764 Likewise.
49765
599af3ca
JM
497662012-02-20 Joseph Myers <joseph@codesourcery.com>
49767
49768 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49769 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49770 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49771 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49772 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49773 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49774 <bits/epoll.h>.
49775 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49776 (__EPOLL_PACKED): Define to empty if not defined by
49777 <bits/epoll.h>.
49778 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49779 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49780 bits/epoll.h.
49781
0e499750
JM
497822012-02-20 Joseph Myers <joseph@codesourcery.com>
49783
49784 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49785 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49786 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49787 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49788 <bits/timerfd.h>.
49789 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49791 bits/timerfd.h.
49792
5ad91f6e
JM
497932012-02-20 Joseph Myers <joseph@codesourcery.com>
49794
49795 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49796 in C locale.
49797 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49798 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49799 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49801
06b99b02
AJ
498022012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49803
49804 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49805 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49806
7638c0fd
AS
498072012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49808
49809 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49810 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49811 defined.
49812 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49813 Likewise.
49814 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49815 entry for 2.16.
49816
92221550
AJ
498172012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49818
49819 * math/w_acos.c: Use non-signaling floating-point comparisons.
49820 * math/w_acosf.c: Likewise.
49821 * math/w_acosh.c: Likewise.
49822 * math/w_acoshf.c: Likewise.
49823 * math/w_acoshl.c: Likewise.
49824 * math/w_acosl.c: Likewise.
49825 * math/w_asin.c: Likewise.
49826 * math/w_asinf.c: Likewise.
49827 * math/w_asinl.c: Likewise.
49828 * math/w_atanh.c: Likewise.
49829 * math/w_atanhf.c: Likewise.
49830 * math/w_atanhl.c: Likewise.
49831 * math/w_exp2.c: Likewise.
49832 * math/w_exp2f.c: Likewise.
49833 * math/w_exp2l.c: Likewise.
49834 * math/w_j0.c: Likewise.
49835 * math/w_j0f.c: Likewise.
49836 * math/w_j0l.c: Likewise.
49837 * math/w_j1.c: Likewise.
49838 * math/w_j1f.c: Likewise.
49839 * math/w_j1l.c: Likewise.
49840 * math/w_jn.c: Likewise.
49841 * math/w_jnf.c: Likewise.
49842 * math/w_log.c: Likewise.
49843 * math/w_log10.c: Likewise.
49844 * math/w_log10f.c: Likewise.
49845 * math/w_log10l.c: Likewise.
49846 * math/w_log2.c: Likewise.
49847 * math/w_log2f.c: Likewise.
49848 * math/w_log2l.c: Likewise.
49849 * math/w_logf.c: Likewise.
49850 * math/w_logl.c: Likewise.
49851 * math/w_sqrt.c: Likewise.
49852 * math/w_sqrtf.c: Likewise.
49853 * math/w_sqrtl.c: Likewise.
49854 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49855 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49856 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49857 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49858 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49859
ebaf36eb
JM
498602012-02-19 Joseph Myers <joseph@codesourcery.com>
49861
49862 [BZ #9739]
49863 * manual/string.texi (strnlen): Use correct parameter name in
49864 equivalent expression.
49865
71c254a6
JM
498662012-02-19 Joseph Myers <joseph@codesourcery.com>
49867
49868 [BZ #11174]
49869 * manual/users.texi (seteuid): Consistently use neweuid for
49870 argument name.
49871
16d2c631
JM
498722012-02-19 Joseph Myers <joseph@codesourcery.com>
49873
49874 [BZ #13704]
49875 * manual/nss.texi (Services in the NSS configuration): Correct
49876 list of services in example configuration file.
49877
cd837b09
NB
498782012-02-19 Nick Bowler <nbowler@draconx.ca>
49879
49880 [BZ #11322]
49881 * manual/arith.texi: Remove statements about negative zero
49882 behaving identically to zero.
49883
02c4bbad
JM
498842012-02-18 Joseph Myers <joseph@codesourcery.com>
49885
49886 [BZ #5993]
49887 * manual/install.texi: Do not document upgrading from libc5.
49888
366842e7
JM
498892012-02-18 Joseph Myers <joseph@codesourcery.com>
49890
49891 [BZ #4596]
49892 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49893
dd54084d
DM
498942012-02-18 David S. Miller <davem@davemloft.net>
49895
49896 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49897 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49898 %o7 across the call.
49899 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49900 instead.
49901 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49902 SETUP_PIC_REG_LEAF.
49903 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49904 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49905 * sysdeps/sparc/crtn.S: Likewise.
49906
2bcc53a3
UD
499072012-02-17 Ulrich Drepper <drepper@gmail.com>
49908
49909 * aout/Makefile: Remove.
49910
09c093b5
RK
499112012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49912
49913 [BZ #13058]
49914 * manual/examples/argp-ex1.c (main): Format definition in GNU
49915 style.
49916 * manual/examples/argp-ex2.c (main): Likewise.
49917 * manual/examples/argp-ex3.c (main): Likewise.
49918 * manual/examples/argp-ex4.c (main): Likewise.
49919 * manual/examples/longopt.c (main): Use new-style prototype
49920 definition.
49921 * manual/examples/strncat.c (main): Specify return type and use
49922 (void) for arguments.
49923 * manual/examples/subopt.c (main): Use char **argv argument.
49924
2ee633a2
JM
499252012-02-17 Joseph Myers <joseph@codesourcery.com>
49926
49927 [BZ #5077]
49928 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49929 rounding modes.
49930
0520adde
FB
499312012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49932
49933 [BZ #6907]
49934 * manual/string.texi (strchr): Change when strchrnul is
49935 recommended.
49936
3f4081cd
DGM
499372012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49938
49939 [BZ #174]
49940 * manual/locale.texi (setlocale): Document LOCPATH.
49941
d1b10e78
JM
499422012-02-17 Joseph Myers <joseph@codesourcery.com>
49943
49944 [BZ #10210]
49945 * manual/process.texi (execle): Move @dots{} before last argument.
49946
79c6869c
PB
499472012-02-17 Paul Bolle <pebolle@tiscali.nl>
49948
49949 [BZ #12047]
49950 * manual/charset.texi (Generic Charset Conversion): Fix typo
49951 (LC_TYPE -> LC_CTYPE).
49952
cc6e48bc
NB
499532012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49954
49955 [BZ #5805]
49956 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49957 (scalbnf): Likewise.
49958 (scalbnl): Likewise.
49959 (scalbln): Likewise.
49960 (scalblnf): Likewise.
49961 (scalblnl): Likewise.
49962 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49963 (vwarnx): Likewise.
49964 (verr): Likewise.
49965 (verrx): Likewise.
49966 * manual/filesys.texi (telldir): Use braces around return type.
49967 * manual/llio.texi (mmap): Add space after comma.
49968 (mmap64): Likewise.
49969 * manual/math.texi (jn): Use @var{} on parameter names.
49970 (jnf): Likewise.
49971 (jnl): Likewise.
49972 (yn): Likewise.
49973 (ynf): Likewise.
49974 (ynl): Likewise.
49975 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49976 line.
49977 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49978 "...".
49979 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49980 (sched_get_priority_max): Likewise.
49981 * manual/signal.texi (sigvec): Add space after comma.
49982 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49983 names.
49984 (if_indextoname): Likewise.
49985 (if_freenameindex): Likewise.
49986 (sendto): Use ',' instead of '.' in prototype.
49987 * manual/startup.texi (syscall): Use @dots{} instead of literal
49988 "...".
49989 * manual/stdio.texi (__fpending): Separate initial words of
49990 paragraph from @deftypefun line.
49991 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49992 "...".
49993 (vsyslog): Use @var{} on parameter names.
49994 * manual/terminal.texi (stty): Use @var{} on parameter names.
49995 * manual/users.texi (getutmp): Use @var{} on parameter names.
49996 (getutmpx): Likewise.
49997
5b23062f
JM
499982012-02-17 Joseph Myers <joseph@codesourcery.com>
49999
50000 [BZ #6884]
50001 * manual/stdio.texi (fopen): Fix typos in description of
50002 ",ccs=STRING".
50003
8dee4833
AJ
500042012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50005
50006 [BZ #4026]
50007 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50008 get clock_id definition.
50009
9078ce93
TS
500102012-02-17 Thomas Schwinge <thomas@schwinge.name>
50011
50012 [BZ #4822]
50013 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50014 (madvise): Cast every argument to void on its own.
50015
3835c55f
JM
500162012-02-17 Joseph Myers <joseph@codesourcery.com>
50017
50018 [BZ #9902]
50019 * manual/startup.texi (Exit Status): Fix typo.
50020
35c47e37
JM
500212012-02-17 Joseph Myers <joseph@codesourcery.com>
50022
50023 [BZ #10140]
50024 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50025 * manual/examples/argp-ex2.c: Likewise.
50026 * manual/examples/argp-ex3.c: Likewise.
50027
e3b69ca7
RH
500282012-02-16 Richard Henderson <rth@redhat.com>
50029
50030 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50031 * sysdeps/s390/s390-32/initfini.c: Remove.
50032 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50033 * sysdeps/s390/s390-64/initfini.c: Remove.
50034
df83af67
KK
500352012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50036
50037 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50038 compiler output for sysdeps/generic/initfini.c.
50039 * sysdeps/sh/elf/initfini.c: Remove file.
50040
f63f3380
DM
500412012-02-16 David S. Miller <davem@davemloft.net>
50042
fb59b3a4
DM
50043 [BZ #11494]
50044 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50045
f63f3380
DM
50046 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50047 * sysdeps/sparc/crti.S: New file.
50048 * sysdeps/sparc/crtn.S: New file.
50049 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50050 * sysdeps/sparc/sparc64/Makefile: Likewise.
50051
df6a4a4a
MF
500522012-02-15 Mike Frysinger <vapier@gentoo.org>
50053
6dd8f3dc 50054 [BZ #3335]
df6a4a4a
MF
50055 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50056
1cac7236
RM
500572012-02-15 Roland McGrath <roland@hack.frob.com>
50058
d2c736f8
RM
50059 [BZ #4822]
50060 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50061
1cac7236
RM
50062 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50063 (write, read, close): Likewise.
50064 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50065
8e475601
JM
500662012-02-15 Joseph Myers <joseph@codesourcery.com>
50067
50068 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50069 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50070 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50071 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50072 <bits/signalfd.h>.
50073 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50075 bits/signalfd.h.
50076
ed656b40
MP
500772012-02-14 Marek Polacek <polacek@redhat.com>
50078
50079 * sysdeps/x86_64/crti.S: New file.
50080 * sysdeps/x86_64/crtn.S: New file.
50081 * sysdeps/x86_64/elf/initfini.c: Remove file.
50082
2a979d3a
JM
500832012-02-13 Joseph Myers <joseph@codesourcery.com>
50084
50085 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50086 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50087 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50088 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50089 <bits/inotify.h>.
50090 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50092 bits/inotify.h.
50093
2a418ac3
JM
500942012-02-13 Joseph Myers <joseph@codesourcery.com>
50095
50096 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50097 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50098 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50099 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50100 <bits/eventfd.h>.
50101 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50103 bits/eventfd.h.
50104
fb779be7
TS
501052012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50106
e19e83c5
RM
50107 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50108 __feraiseexcept instead of feraiseexcept.
7c35ffed 50109
fb779be7
TS
50110 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50111 nanosleep invocations.
50112 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50113 strings, and add error checking for a nanosleep invocations.
50114
59ba27a6
PE
501152012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50116
50117 Replace FSF snail mail address with URLs, as per GNU coding standards.
50118 Most of the snail mail addresses were wrong anyway, and omitting
50119 them makes the source code easier to maintain. Almost all of the
50120 changes are to license notices and to locale LC_IDENTIFICATION
50121 addresses, except for this one:
50122 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50123 not its snail mail address.
50124
57b957eb
RH
501252012-02-09 Richard Henderson <rth@twiddle.net>
50126
af850b1c
RH
50127 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50128 of kernel-features.h.
50129
57b957eb
RH
50130 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50131
6b73181a
MP
501322012-02-08 Marek Polacek <polacek@redhat.com>
50133
50134 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50135 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50136 * sysdeps/gnu/_G_config.h: Likewise.
50137 * sysdeps/generic/_G_config.h: Likewise.
50138
26ecc33a
AS
501392012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50140
6c6dbc63
AS
50141 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50142 tests.
50143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50144
e216c012
AS
50145 * sysdeps/powerpc/powerpc32/crti.S: New file.
50146 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50147 * sysdeps/powerpc/powerpc64/crti.S: New file.
50148 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50149
26ecc33a
AS
50150 * Makeconfig (have-initfini): Don't set.
50151 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50152 * configure.in (nopic_initfini): Don't substitute.
50153 * config.h.in (HAVE_INITFINI): Don't #undef.
50154 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50155 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50156
3add8e13
JM
501572012-02-08 Joseph Myers <joseph@codesourcery.com>
50158
50159 Support crti.S and crtn.S provided directly by architectures.
50160 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50161 [crti.S in sysdirs] (omit-deps): Likewise.
50162 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50163 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50164 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50165 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50166 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50167 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50168 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50169 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50170 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50171 compiler output for sysdeps/generic/initfini.c.
50172 * sysdeps/i386/elf/Makefile: Remove file.
50173 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50174
a22f12b4
MP
501752012-02-07 Marek Polacek <polacek@redhat.com>
50176
50177 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50178 * sysdeps/gnu/_G_config.h: Likewise.
50179 * sysdeps/mach/hurd/_G_config.h: Likewise.
50180
148cf100
MP
501812012-02-07 Marek Polacek <polacek@redhat.com>
50182
50183 * math/Makefile (tests): Add tst-CMPLX2.
50184 * math/tst-CMPLX2.c: New file.
50185
cfdc0dd7
AS
501862012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50187
84ba42c4
AS
50188 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50189
cfdc0dd7
AS
50190 * math/libm-test.inc (jn_test): Add missing L suffix.
50191
622c86f4
MP
501922012-02-06 Marek Polacek <polacek@redhat.com>
50193
50194 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50195 * sysdeps/i386/fpu/e_powf.S: Likewise.
50196 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50197 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50198 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50199 * sysdeps/i386/fpu/e_pow.S: Likewise.
50200 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50201 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50202 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50203 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50204 * sysdeps/i386/fpu/e_log2.S: Likewise.
50205 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50206 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50207 * sysdeps/i386/fpu/e_powl.S: Likewise.
50208 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50209 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50210 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50211 * sysdeps/i386/fpu/e_logl.S: Likewise.
50212 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50213 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50214 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50215 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50216 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50217 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50218 * sysdeps/i386/fpu/e_log.S: Likewise.
50219 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50220 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50221 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50222 * sysdeps/i386/fpu/e_logf.S: Likewise.
50223 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50224 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50225 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50226 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50227 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50228 * sysdeps/i386/fpu/e_log10.S: Likewise.
50229 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50230 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50231 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50232 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50233 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50234 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50235 * sysdeps/i386/asm-syntax.h: Likewise.
50236 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50237 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50238 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50239 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50240 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50241 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50242 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50243 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50244 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50245 * sysdeps/powerpc/sysdep.h: Likewise.
50246 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50247 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50248
d4a54ac6
JM
502492012-02-06 Joseph Myers <joseph@codesourcery.com>
50250
50251 [BZ #411]
50252 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50253
314054ea
JM
502542012-02-06 Joseph Myers <joseph@codesourcery.com>
50255
50256 * sysdeps/i386/sysdep.h: Include <features.h>.
50257 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50258 version.
50259
d8e0ca50
JM
502602012-02-05 Joseph Myers <joseph@codesourcery.com>
50261
50262 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50263 Define.
50264 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50265 LOAD_PIC_REG_STR.
50266
b1da7dd9
JM
502672012-02-03 Joseph Myers <joseph@codesourcery.com>
50268
50269 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50270 (SETUP_PIC_REG): Use GET_PC_THUNK.
50271 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50272 macro.
50273
9a1d9254
JM
502742012-02-03 Joseph Myers <joseph@codesourcery.com>
50275
50276 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50277 for non-PIC compilation.
50278 (SETUP_PIC_REG): Add .p2align directive.
50279 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50280 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50281 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50282 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50283 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50284 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50285 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50286 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50287 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50288 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50289 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50290 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50291 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50292 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50293 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50294 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50295 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50296 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50297 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50298 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50299 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50300 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50301 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50302 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50303 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50305 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50306 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50307 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50308 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50309 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50310 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50311 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50312 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50313 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50314 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50315 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50316 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50317 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50318 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50319 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50320
65dc3b75
JM
503212012-02-03 Joseph Myers <joseph@codesourcery.com>
50322
50323 * math/tst-CMPLX.c: Include <stdio.h>.
50324
d55bf177
JM
503252012-01-31 Joseph Myers <joseph@codesourcery.com>
50326
50327 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50328 float.
50329 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50330 * sysdeps/sparc/bits/mathdef.h: Likewise.
50331
69db4f8f
MP
503322012-01-31 Marek Polacek <polacek@redhat.com>
50333
50334 * libio/libio.h: Don't define _PARAMS.
50335 * locale/programs/config.h: Don't define PARAMS.
50336 * stdlib/strtol_l.c: Likewise.
50337 (__strtol_l): Remove PARAMS from the prototype.
50338
41b81892
UD
503392012-01-31 Ulrich Drepper <drepper@gmail.com>
50340
3b49edc0
UD
50341 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50342 names. Just use the correct names. Remove unnecessary wrapper
50343 functions.
50344 * malloc/arena.c: Likewise.
50345 * malloc/hooks.c: Likewise.
50346
41b81892
UD
50347 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50348 ARENA_TEST says not to. Simplify test for creation of a new arena.
50349 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50350
27a25b6e
UD
503512012-01-30 Ulrich Drepper <drepper@gmail.com>
50352
50353 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50354 into tail calls.
50355 (update_get_addr): New function.
50356 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50357 GET_ADDR_MODULE parameter.
50358
c8a89e7d
JM
503592012-01-30 Joseph Myers <joseph@codesourcery.com>
50360
50361 * crypt/cert.c: Remove __STDC__ conditionals.
50362 * crypt/crypt-entry.c: Likewise.
50363 * crypt/crypt_util.c: Likewise.
50364 * libio/filedoalloc.c: Likewise.
50365 * libio/fileops.c: Likewise.
50366 * libio/genops.c: Likewise.
50367 * libio/iofclose.c: Likewise.
50368 * libio/iofdopen.c: Likewise.
50369 * libio/iofopen.c: Likewise.
50370 * libio/iofopen64.c: Likewise.
50371 * libio/iogetdelim.c: Likewise.
50372 * libio/iopopen.c: Likewise.
50373 * libio/obprintf.c: Likewise.
50374 * libio/oldfileops.c: Likewise.
50375 * libio/oldiofclose.c: Likewise.
50376 * libio/oldiofdopen.c: Likewise.
50377 * libio/oldiofopen.c: Likewise.
50378 * libio/oldiopopen.c: Likewise.
50379 * libio/wfiledoalloc.c: Likewise.
50380 * libio/wgenops.c: Likewise.
50381 * locale/programs/xmalloc.c: Likewise.
50382 * misc/syslog.c: Likewise.
50383 * stdio-common/xbug.c: Likewise.
50384 * string/memchr.c: Likewise.
50385 * string/memcmp.c: Likewise.
50386 * string/memrchr.c: Likewise.
50387 * string/rawmemchr.c: Likewise.
50388 * sysdeps/posix/getcwd.c: Likewise.
50389 * time/strftime_l.c: Likewise.
50390
3b100462
JM
503912012-01-30 Joseph Myers <joseph@codesourcery.com>
50392
50393 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50394 * config.make.in (config-cflags-sse2avx): Define.
50395 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50396 Fix typo.
50397
607998af
CM
503982012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50399
50400 * scripts/config.guess: Update from upstream config git repository.
50401 * scripts/config.sub: Likewise.
50402
3601428f
CM
504032012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50404
3ac8b282
CM
50405 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50406 (EM_NUM): Update.
50407 (R_TILEPRO_*, R_TILEGX_*): New macros.
50408
e034841e
CM
50409 * scripts/firstversions.awk: Fix bug in version range handling.
50410
540d7568
CM
50411 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50412
3601428f
CM
50413 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50414
463de862
CM
50415 * include/sys/epoll.h: New file.
50416 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50417 libc_hidden_def.
50418
73139a76
UD
504192012-01-28 Ulrich Drepper <drepper@gmail.com>
50420
96bc5b45
UD
50421 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50422 Avoid unnecessary __WORDSIZE == 64 test.
50423 (fmaxf): Use VEX format if possible.
50424 (fmax): Likewise.
50425 (fminf): Likewise.
50426 (fmin): Likewise.
50427
56f6f6a2
UD
50428 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50429 * math/math_private.h: Remove libc_fegetround* and
50430 libc_fesetround*.
50431 * sysdeps/i386/configure.in: Check for -msse2avx.
50432 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50433 also if SSE2AVX is defined.
50434 Remove libc_fegetround* and libc_fesetround*.
50435 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50436 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50437 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50438 of HAS_YMM_USABLE.
50439 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50440 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50441 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50442 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50444
73139a76
UD
50445 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50446
d73f93a4
AZ
504472012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50448
50449 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50450 size is not set.
50451 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50452
6ee65ed6
UD
504532012-01-27 Ulrich Drepper <drepper@gmail.com>
50454
50455 [BZ #13618]
50456 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50457 relocation.
50458 * Makeconfig (libm): Define.
50459 * elf/Makefile: Add rules to build and run tst-relsort1.
50460 * elf/tst-relsort1.c: New file.
50461 * elf/tst-relsort1mod1.c: New file.
50462 * elf/tst-relsort1mod2.c: New file.
50463
8db21882
JM
504642012-01-27 Joseph Myers <joseph@codesourcery.com>
50465
50466 * math/s_ldexp.c: Remove __STDC__ conditionals.
50467 * math/s_ldexpf.c: Likewise.
50468 * math/s_ldexpl.c: Likewise.
50469 * math/s_nextafter.c: Likewise.
50470 * math/s_nexttowardf.c: Likewise.
50471 * math/s_significand.c: Likewise.
50472 * math/s_significandf.c: Likewise.
50473 * math/s_significandl.c: Likewise.
50474 * math/w_jnl.c: Likewise.
50475 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50476 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50477 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50478 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50479 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50481 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50482 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50483 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50484 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50485 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50486 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50487 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50488 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50489 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50490 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50491 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50492 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50493 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50494 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50495 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50496 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50497 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50498 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50499 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50500 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50501 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50502 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50503 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50504 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50505 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50506 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50507 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50508 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50509 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50510 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50511 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50512 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50513 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50514 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50515 * sysdeps/ieee754/k_standard.c: Likewise.
50516 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50517 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50518 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50519 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50520 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50521 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50522 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50523 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50524 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50525 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50526 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50527 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50528 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50529 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50530 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50531 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50532 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50533 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50534 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50535 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50536 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50537 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50538 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50539 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50540 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50541 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50542 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50543 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50545 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50546 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50547 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50548 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50549 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50550 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50551 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50552 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50553 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50554 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50555 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50556 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50557 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50558 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50559 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50560 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50561 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50562 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50563 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50564 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50565 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50566 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50567 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50568 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50569 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50570 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50571 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50572 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50573 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50574 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50575 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50576 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50577 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50578 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50579 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50580 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50581 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50582 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50583 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50584 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50585 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50586 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50587 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50588 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50589 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50590 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50591 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50592 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50593 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50594 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50595 * sysdeps/ieee754/s_matherr.c: Likewise.
50596 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50597 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50598 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50599 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50600
965a54a4
JM
506012012-01-26 Joseph Myers <joseph@codesourcery.com>
50602
50603 * crypt/md5.h: Remove __STDC__ conditionals.
50604 * libio/libioP.h: Likewise.
50605 * locale/programs/config.h: Likewise.
50606 * sysdeps/generic/sysdep.h: Likewise.
50607 * sysdeps/i386/asm-syntax.h: Likewise.
50608 * sysdeps/s390/asm-syntax.h: Likewise.
50609 * sysdeps/unix/sysdep.h: Likewise.
50610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50612
7071ad79
JM
506132012-01-26 Joseph Myers <joseph@codesourcery.com>
50614
50615 * libio/libio.h: Remove __STDC__ conditionals.
50616 * malloc/obstack.h: Likewise.
50617 * math/complex.h: Likewise.
50618 * math/math.h: Likewise.
50619 * sysdeps/generic/_G_config.h: Likewise.
50620 * sysdeps/gnu/_G_config.h: Likewise.
50621 * sysdeps/mach/hurd/_G_config.h: Likewise.
50622 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50623 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50624 * sysdeps/sparc/bits/mathdef.h: Likewise.
50625
afc5ed09
UD
506262012-01-26 Ulrich Drepper <drepper@gmail.com>
50627
50628 [BZ #13583]
50629 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50630 Clean up HAS_* macros.
afc5ed09 50631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50632 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50633 possible.
50634 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50635 HAS_AVX.
50636 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50637 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50638 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50639 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50640 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50641
bdb6de1d
JM
506422012-01-25 Joseph Myers <joseph@codesourcery.com>
50643
50644 * elf/tst-unique3.cc (gets): Remove declaration.
50645 * elf/tst-unique3lib.cc (gets): Likewise.
50646 * elf/tst-unique3lib2.cc (gets): Likewise.
50647 * elf/tst-unique4.cc (gets): Likewise.
50648
b15549e6
UD
506492012-01-24 Ulrich Drepper <drepper@gmail.com>
50650
50651 * include/stdio.h: Add C++ protection. Add gets declarations and
50652 definitions.
50653 * debug/tst-chk1.c: Don't declare gets here.
50654 * stdio-common/tst-gets.c: Likewise.
50655
a037381f
JM
506562012-01-24 Joseph Myers <joseph@codesourcery.com>
50657
50658 * posix/glob: Remove directory.
50659
f1d4aa75
JM
506602012-01-24 Joseph Myers <joseph@codesourcery.com>
50661
50662 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50663
81c0c964
PT
506642012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50665
50666 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50667 of the non-standard EPFNOSUPPORT.
50668
0ea698ae
ST
506692011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50670
50671 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50672 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50673 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50674
d220b117
UD
506752012-01-21 Ulrich Drepper <drepper@gmail.com>
50676
50677 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50678
3e1aa84e
UD
506792012-01-20 Ulrich Drepper <drepper@gmail.com>
50680
50681 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50682 transient errors.
50683 * nscd/grpcache.c (cache_addgr): Likewise.
50684 * nscd/hstcache.c (cache_addhst): Likewise.
50685 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50686 * nscd/pwdcache.c (cache_addpw): Likewise.
50687 * nscd/servicescache.c (cache_addserv): Likewise.
50688
400aa020
UD
506892012-01-16 Ulrich Drepper <drepper@gmail.com>
50690
d77e7869
UD
50691 * malloc/malloc.c: Various cleanups.
50692 * malloc/hooks.c: Likewise.
50693
400aa020
UD
50694 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50695 * stdlib/bug-fmtmsg1.c: New file.
50696
50697 * stdlib/fmtmsg.c (init): Add missing unlock.
50698 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50699
e0a309cf
MP
507002012-01-12 Marek Polacek <polacek@redhat.com>
50701
50702 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50703 and _GNU_SOURCE.
50704
929d11c7
WS
507052012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50706
50707 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50708 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50709 macro to ensure uniqueness of label name.
50710 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50711 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50712
41d0e869
UD
507132012-01-11 Ulrich Drepper <drepper@gmail.com>
50714
0cc5ed3b
UD
50715 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50716
41d0e869
UD
50717 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50718 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50719 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50720 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50721
a47a831a
UD
507222012-01-10 Ulrich Drepper <drepper@gmail.com>
50723
daa891c0
UD
50724 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50725
50726 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50727 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50728 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50729
e58ef0f2
UD
50730 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50731
a47a831a 50732 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50733 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50734 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50735 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50736
50737 * math/bits/math-finite.h: Add ldexp support.
50738
a0bfc9c7
MP
507392012-01-10 Marek Polacek <polacek@redhat.com>
50740
50741 * locale/programs/localedef.h (show_archive_content): Add noreturn
50742 attribute.
50743
d6e97a1d
UD
507442012-01-09 Ulrich Drepper <drepper@gmail.com>
50745
50746 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50747
d5835c26
UD
507482012-01-08 Ulrich Drepper <drepper@gmail.com>
50749
e5f484c6
UD
50750 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50751
d5835c26
UD
50752 * io/Makefile (headers): Add bits/poll2.h.
50753
d1f741e9
WS
507542011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50755
50756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50757 typo #include statement.
50758
ec09c1c4
UD
507592012-01-08 Ulrich Drepper <drepper@gmail.com>
50760
50761 * include/sys/cdefs.h: Define __attribute_alloc_size.
50762 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50763 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50764 * elf/pldd.c: Likewise.
50765 * iconv/iconv_charmap.c: Likewise.
50766 * iconv/iconvconfig.c: Likewise.
50767 * iconv/strtab.c: Likewise.
50768 * locale/programs/locale.c: Likewise.
50769 * locale/programs/localedef.h: Likewise.
50770 * locale/programs/simple-hash.c: Likewise.
50771 * nscd/nscd.h: Likewise.
50772 * nss/makedb.c: Likewise.
50773 * sysdeps/generic/ldconfig.h: Likewise.
50774 * locale/programs/localedef.c: Remove xmalloc prototype.
50775 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50776
20b38e03
PP
507772012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50778
50779 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50780 appropriate.
50781
a0da5fe1
UD
507822012-01-08 Ulrich Drepper <drepper@gmail.com>
50783
1d5a644a 50784 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50785 * math/tst-CMPLX.c: New file.
1d5a644a 50786
8784a6db
UD
50787 * math/complex.h (CMPLXL): Fix typo.
50788
d9a216c0
UD
50789 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50790 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50791 GLIBC_2.16.
50792 * debug/tst-chk1.c: Add poll and ppoll tests.
50793 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50794 * include/sys/poll.h: Add hidden proto for ppoll.
50795 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50796 * sysdeps/mach/hurd/ppoll.c: Likewise.
50797 * io/ppoll.c: Likewise.
50798 * debug/poll_chk.c: New file.
50799 * debug/ppoll_chk.c: New file.
50800 * include/bits/poll2.h: New file.
50801 * io/bits/poll2.h: New file.
50802
ac097f5c
UD
50803 [BZ #1350]
50804 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50805
2119dcfa
UD
50806 * configure.in: static is always set to yes. Remove.
50807 * config.make.in: Don't set build-static.
50808 * Makeconfig: Remove use of build-static.
50809 * dlfcn/Makefile: Likewise.
50810 * elf/Makefile: Likewise.
50811 * math/Makefile: Likewise.
50812 * misc/Makefile: Likewise.
50813 * nptl/Makefile: Likewise.
50814 * sysdeps/mach/hurd/Makefile: Likewise.
50815
121766a9
UD
50816 * configure.in: PWD_P is not used anymore.
50817 * config.make.in: Remove PWD_P entry.
50818
51a1d39c 50819 * configure.in: Remove last remnants of RANLIB.
8720d066 50820 No need to check for signed size_t anymore.
215f4bdc
UD
50821 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50822 and IA-64.
3857022a 50823 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50824 * aclocal.m4: Likewise.
50825
d3ed7225
UD
50826 * wcsmbs/mbrtoc16.c: Implement using towc function.
50827 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50828 * wcsmbs/wcsmbsload.c: Likewise.
50829 * iconv/gconv_simple.c: Likewise.
50830 * iconv/gconv_int.h: Likewise.
50831 * iconv/gconv_builtin.h: Likewise.
50832 * iconv/iconv_prog.c: Remove CHAR16 handling.
50833
50834 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50835
50836 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50837
a0da5fe1
UD
50838 * configure.in: Remove --with-elf and --enable-bounded options.
50839 Dont set base_machine for ia64. More non-ELF conditions removed.
50840 Remove testing and setting of leading underscore information.
50841 * config.make.in (build-bounded): Set to no.
50842 * config.h.in: Remove NO_UNDERSCORES entry.
50843 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50844 them.
50845 * csu/start.c: Remove !NO_UNDERSCORE code.
50846 * locale/localeinfo.h: Likewise.
50847 * sysdeps/generic/machine-gmon.h: Likewise.
50848 * sysdeps/generic/sysdep.h: Likewise.
50849 * sysdeps/i386/sysdep.h: Likewise.
50850 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50851 * sysdeps/mach/sysdep.h: Likewise.
50852 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50853 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50854 * sysdeps/sh/sysdep.h: Likewise.
50855 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50856 * sysdeps/unix/i386/sysdep.S: Likewise.
50857 * sysdeps/unix/sparc/start.c: Likewise.
50858 * sysdeps/unix/sparc/sysdep.S: Likewise.
50859 * sysdeps/unix/sparc/sysdep.h: Likewise.
50860 * sysdeps/unix/start.c: Likewise.
50861 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50862 * sysdeps/x86_64/sysdep.h: Likewise.
50863
df78418a
UD
508642012-01-07 Ulrich Drepper <drepper@gmail.com>
50865
a784e502
UD
50866 [BZ #13553]
50867 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50868 for non-gcc.
50869 * argp/argp-fmtstream.h: Use const instead __const.
50870 * argp/argp.h: Likewise.
50871 * assert/assert.h: Likewise.
50872 * bits/fenv.h: Likewise.
50873 * bits/sched.h: Likewise.
50874 * bits/sigset.h: Likewise.
50875 * bits/sigthread.h: Likewise.
50876 * catgets/nl_types.h: Likewise.
50877 * conform/data/pthread.h-data: Likewise.
50878 * crypt/crypt-private.h: Likewise.
50879 * crypt/crypt.h: Likewise.
50880 * crypt/crypt_util.c: Likewise.
50881 * ctype/ctype.h: Likewise.
50882 * debug/execinfo.h: Likewise.
50883 * debug/mbsnrtowcs_chk.c: Likewise.
50884 * debug/mbsrtowcs_chk.c: Likewise.
50885 * debug/wcsnrtombs_chk.c: Likewise.
50886 * debug/wcsrtombs_chk.c: Likewise.
50887 * debug/wcstombs_chk.c: Likewise.
50888 * dirent/dirent.h: Likewise.
50889 * dlfcn/dlfcn.h: Likewise.
50890 * elf/neededtest4.c: Likewise.
50891 * grp/grp.h: Likewise.
50892 * gshadow/gshadow.h: Likewise.
50893 * iconv/gconv.h: Likewise.
50894 * iconv/gconv_int.h: Likewise.
50895 * iconv/gconv_simple.c: Likewise.
50896 * iconv/iconv.h: Likewise.
50897 * iconv/loop.c: Likewise.
50898 * iconv/skeleton.c: Likewise.
50899 * include/aio.h: Likewise.
50900 * include/aliases.h: Likewise.
50901 * include/argz.h: Likewise.
50902 * include/arpa/inet.h: Likewise.
50903 * include/assert.h: Likewise.
50904 * include/dirent.h: Likewise.
50905 * include/dlfcn.h: Likewise.
50906 * include/execinfo.h: Likewise.
50907 * include/fcntl.h: Likewise.
50908 * include/fenv.h: Likewise.
50909 * include/glob.h: Likewise.
50910 * include/grp.h: Likewise.
50911 * include/libintl.h: Likewise.
50912 * include/mntent.h: Likewise.
50913 * include/netdb.h: Likewise.
50914 * include/pwd.h: Likewise.
50915 * include/rpc/netdb.h: Likewise.
50916 * include/sched.h: Likewise.
50917 * include/search.h: Likewise.
50918 * include/shadow.h: Likewise.
50919 * include/signal.h: Likewise.
50920 * include/stdio.h: Likewise.
50921 * include/stdlib.h: Likewise.
50922 * include/string.h: Likewise.
50923 * include/sys/socket.h: Likewise.
50924 * include/sys/stat.h: Likewise.
50925 * include/sys/statfs.h: Likewise.
50926 * include/sys/statvfs.h: Likewise.
50927 * include/sys/syslog.h: Likewise.
50928 * include/sys/time.h: Likewise.
50929 * include/sys/uio.h: Likewise.
50930 * include/time.h: Likewise.
50931 * include/unistd.h: Likewise.
50932 * include/utmp.h: Likewise.
50933 * include/wchar.h: Likewise.
50934 * include/wctype.h: Likewise.
50935 * inet/aliases.h: Likewise.
50936 * inet/arpa/inet.h: Likewise.
50937 * inet/netinet/ether.h: Likewise.
50938 * inet/netinet/in.h: Likewise.
50939 * intl/libintl.h: Likewise.
50940 * io/bits/fcntl2.h: Likewise.
50941 * io/fcntl.h: Likewise.
50942 * io/ftw.h: Likewise.
50943 * io/sys/poll.h: Likewise.
50944 * io/sys/stat.h: Likewise.
50945 * io/sys/statfs.h: Likewise.
50946 * io/sys/statvfs.h: Likewise.
50947 * io/utime.h: Likewise.
50948 * libio/bits/stdio.h: Likewise.
50949 * libio/bits/stdio2.h: Likewise.
50950 * libio/libio.h: Likewise.
50951 * libio/libioP.h: Likewise.
50952 * libio/stdio.h: Likewise.
50953 * locale/lc-ctype.c: Likewise.
50954 * locale/locale.h: Likewise.
50955 * login/utmp.h: Likewise.
50956 * malloc/arena.c: Likewise.
50957 * malloc/malloc.c: Likewise.
50958 * malloc/malloc.h: Likewise.
50959 * malloc/mcheck.c: Likewise.
50960 * malloc/mtrace.c: Likewise.
50961 * math/bits/mathcalls.h: Likewise.
50962 * math/fenv.h: Likewise.
50963 * math/math_private.h: Likewise.
50964 * misc/bits/error.h: Likewise.
50965 * misc/bits/syslog.h: Likewise.
50966 * misc/err.h: Likewise.
50967 * misc/error.h: Likewise.
50968 * misc/fstab.h: Likewise.
50969 * misc/mntent.h: Likewise.
50970 * misc/regexp.h: Likewise.
50971 * misc/search.h: Likewise.
50972 * misc/sgtty.h: Likewise.
50973 * misc/sys/mman.h: Likewise.
50974 * misc/sys/syslog.h: Likewise.
50975 * misc/sys/uio.h: Likewise.
50976 * misc/sys/xattr.h: Likewise.
50977 * misc/ttyent.h: Likewise.
50978 * nis/rpcsvc/ypclnt.h: Likewise.
50979 * nss/nss.h: Likewise.
50980 * posix/bits/unistd.h: Likewise.
50981 * posix/fnmatch.h: Likewise.
50982 * posix/glob.h: Likewise.
50983 * posix/sched.h: Likewise.
50984 * posix/spawn.h: Likewise.
50985 * posix/sys/wait.h: Likewise.
50986 * posix/unistd.h: Likewise.
50987 * posix/wordexp.h: Likewise.
50988 * pwd/pwd.h: Likewise.
50989 * resolv/netdb.h: Likewise.
50990 * resource/sys/resource.h: Likewise.
50991 * rt/aio.h: Likewise.
50992 * rt/bits/mqueue2.h: Likewise.
50993 * rt/mqueue.h: Likewise.
50994 * shadow/shadow.h: Likewise.
50995 * signal/signal.h: Likewise.
50996 * socket/send.c: Likewise.
50997 * socket/sendto.c: Likewise.
50998 * socket/sys/socket.h: Likewise.
50999 * stdio-common/printf.h: Likewise.
51000 * stdlib/bits/stdlib.h: Likewise.
51001 * stdlib/fmtmsg.h: Likewise.
51002 * stdlib/monetary.h: Likewise.
51003 * stdlib/stdlib.h: Likewise.
51004 * stdlib/ucontext.h: Likewise.
51005 * streams/stropts.h: Likewise.
51006 * string/argz.h: Likewise.
51007 * string/bits/string2.h: Likewise.
51008 * string/string.h: Likewise.
51009 * string/strings.h: Likewise.
51010 * sunrpc/rpc/auth.h: Likewise.
51011 * sunrpc/rpc/auth_des.h: Likewise.
51012 * sunrpc/rpc/clnt.h: Likewise.
51013 * sunrpc/rpc/netdb.h: Likewise.
51014 * sunrpc/rpc/pmap_clnt.h: Likewise.
51015 * sunrpc/rpc/xdr.h: Likewise.
51016 * sysdeps/generic/inttypes.h: Likewise.
51017 * sysdeps/generic/net/if.h: Likewise.
51018 * sysdeps/generic/sys/swap.h: Likewise.
51019 * sysdeps/gnu/net/if.h: Likewise.
51020 * sysdeps/gnu/utmpx.h: Likewise.
51021 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51022 * sysdeps/i386/i486/bits/string.h: Likewise.
51023 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51024 * sysdeps/s390/bits/string.h: Likewise.
51025 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51026 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51027 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51028 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51029 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51030 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51031 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51032 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51033 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51034 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51035 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51036 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51037 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51038 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51039 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51040 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51041 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51043 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51044 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51045 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51046 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51047 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51048 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51049 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51050 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51051 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51052 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51053 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51054 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51055 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51056 * sysvipc/sys/ipc.h: Likewise.
51057 * sysvipc/sys/msg.h: Likewise.
51058 * sysvipc/sys/sem.h: Likewise.
51059 * sysvipc/sys/shm.h: Likewise.
51060 * termios/termios.h: Likewise.
51061 * time/sys/time.h: Likewise.
51062 * time/time.h: Likewise.
51063 * wcsmbs/bits/wchar2.h: Likewise.
51064 * wcsmbs/uchar.h: Likewise.
51065 * wcsmbs/wchar.h: Likewise.
51066 * wctype/wctype.h: Likewise.
51067
0269750c
UD
51068 [BZ #13551]
51069 * Makeconfig: Remove all but ELF support including AIX support.
51070 * Makerules: Likewise.
51071 * config.h.in: Likewise.
51072 * config.make.in: Likewise.
51073 * configure: Likewise.
51074 * configure.in: Likewise.
51075 * csu/Makefile: Likewise.
51076 * csu/version.c: Likewise.
51077 * debug/Makefile: Likewise.
51078 * dlfcn/Makefile: Likewise.
51079 * elf/Makefile: Likewise.
51080 * extra-lib.mk: Likewise.
51081 * iconv/Makefile: Likewise.
51082 * include/libc-symbols.h: Likewise.
51083 * include/shlib-compat.h: Likewise.
51084 * resolv/Makefile: Likewise.
51085 * resolv/res_libc.c: Likewise.
51086 * rt/Makefile: Likewise.
51087 * sysdeps/i386/asm-syntax.h: Likewise.
51088 * sysdeps/i386/sysdep.h: Likewise.
51089 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51090 * sysdeps/mach/sysdep.h: Likewise.
51091 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51092 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51093 * sysdeps/s390/asm-syntax.h: Likewise.
51094 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51095 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51096 * sysdeps/sh/sysdep.h: Likewise.
51097 * sysdeps/unix/sparc/sysdep.h: Likewise.
51098 * sysdeps/wordsize-32/divdi3.c: Likewise.
51099 * sysdeps/x86_64/sysdep.h: Likewise.
51100
00bbd29b
UD
51101 * argp/Versions: Remove _argp_unlock_xxx.
51102
51103 [BZ #13559]
51104 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51105 * abilist/libBrokenLocale.abilist: Likewise.
51106 * abilist/libanl.abilist: Likewise.
51107 * abilist/libc.abilist: Likewise.
51108 * abilist/libcrypt.abilist: Likewise.
51109 * abilist/libdl.abilist: Likewise.
51110 * abilist/libm.abilist: Likewise.
51111 * abilist/libnsl.abilist: Likewise.
51112 * abilist/libpthread.abilist: Likewise.
51113 * abilist/libresolv.abilist: Likewise.
51114 * abilist/librt.abilist: Likewise.
51115 * abilist/libthread_db.abilist: Likewise.
51116 * abilist/libutil.abilist: Likewise.
51117 * abilist/libnss_db.abilist: New file.
51118
51119 * scripts/abilist.awk: Add support for indirect functions.
51120
a2693a0e
UD
51121 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51122
3f05895f
UD
51123 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51124
ecb6fb48
UD
51125 * shlib-versions: Remove entries for ports architectures.
51126
664f8cb9
UD
51127 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51128 files in ports.
51129 * elf/stackguard-macros.h: Remove support for IA-64.
51130 * elf/tst-auditmod1.c: Likewise.
51131 * sysdeps/generic/ldsodefs.h: Likewise.
51132
7ae81d88
UD
51133 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51134 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51135 configure files.
51136
bdeba135
UD
51137 [BZ #13552]
51138 * configure.in: Remove --enable-omitfp support.
51139 * FAQ.in: Adjust.
51140 * config.make.in: Likewise.
51141 * Makeconfig: Likewise.
51142 * manual/install.texi: Likewise.
51143
d75a0a62
UD
51144 In case anyone cares, the IA-64 architecture could move to ports.
51145 * sysdeps/ia64/*: Removed.
51146 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 51147 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 51148
dcc9756b
UD
51149 [BZ #13555]
51150 * configure.in: Remove entries for unsupported architectures.
51151
d3761ebc 51152 [BZ #13533]
9954432e
UD
51153 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51154 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51155 routines.
51156 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51157 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51158 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51159 fall back to using wcrtomb.
51160 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51161 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51162 renaming.
51163 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51164 * wcsmbs/tst-c16c32-1.c: New file.
51165
51166 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51167 local variable.
51168
c3a87236
UD
51169 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51170
28926a1b
UD
51171 * elf/tst-unique3.cc: Add explicit declaration of gets.
51172 * elf/tst-unique3lib.cc: Likewise.
51173 * elf/tst-unique3lib2.cc: Likewise.
51174 * elf/tst-unique4.cc: Likewise.
51175
df78418a
UD
51176 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51177
8ecd6b2a
JM
511782012-01-06 Joseph Myers <joseph@codesourcery.com>
51179
51180 [BZ #13566]
51181 * assert/assert.h (static_assert): Don't define for C++.
51182 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51183 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51184
9f115170
UD
511852012-01-03 Ulrich Drepper <drepper@gmail.com>
51186
5e0d0300
UD
51187 * iconv/loop.c (single loop): Fix assertion in storing of
51188 remaining bytes.
51189
9f115170
UD
51190 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51191
81fb02b0
UD
511922012-01-01 Ulrich Drepper <drepper@gmail.com>
51193
51194 * posix/getconf.c: Update copyright year.
51195 * nss/getent.c: Likewise.
a316c1f6 51196 * nss/makedb.c: Likewise.
81fb02b0
UD
51197 * iconv/iconvconfig.c: Likewise.
51198 * iconv/iconv_prog.c: Likewise.
51199 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51200 * elf/pldd.c: Likewise.
51201 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51202 * catgets/gencat.c: Likewise.
51203 * csu/version.c: Likewise.
51204 * elf/ldd.bash.in: Likewise.
51205 * elf/sprof.c (print_version): Likewise.
51206 * locale/programs/locale.c: Likewise.
51207 * locale/programs/localedef.c: Likewise.
a316c1f6 51208 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51209 * nscd/nscd.c (print_version): Likewise.
51210 * debug/xtrace.sh: Likewise.
51211 * malloc/memusage.sh: Likewise.
51212 * malloc/mtrace.pl: Likewise.
51213 * debug/catchsegv.sh: Likewise.
51214
2ba92745
JJ
512152011-12-30 Jakub Jelinek <jakub@redhat.com>
51216
51217 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51218 pure attribute.
51219
dadebdae
UD
512202011-12-24 Ulrich Drepper <drepper@gmail.com>
51221
d3761ebc 51222 [BZ #13533]
db6af3eb
UD
51223 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51224 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51225 transformations.
51226 * iconv/gconv_int.h: Likewise.
51227 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51228 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51229 from libc for GLIBC_2.16.
51230 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51231 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51232 * wcsmbs/uchar.h: Really define mbstate_t.
51233 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51234 * wcsmbs/c16rtomb.c: New file.
51235 * wcsmbs/mbrtoc16.c: New file.
51236 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51237 for C/POSIX locale.
51238 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51239 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51240
dadebdae
UD
51241 * wcsmbs/wchar.h: Add missing __restrict.
51242
67371b56
UD
512432011-12-23 Ulrich Drepper <drepper@gmail.com>
51244
74033a25
UD
51245 [BZ #13532]
51246 * time/Makefile (routines): Add timespec_get.
51247 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51248 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51249 timespec for ISO C11.
51250 * time/timespec_get.c: New file.
51251 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51252 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51253
380d7e87
UD
51254 [BZ #13531]
51255 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51256 * stdlib/stdlib.h: Declare aligned_alloc.
51257 * Versions.def: Add GLIBC_2.16 for libc.
51258 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51259
4e9e7a35
UD
51260 [BZ 13527]
51261 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51262 ISO C11.
51263
380d7e87 51264 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51265 code.
51266
03a71829
UD
51267 [BZ #13528]
51268 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51269
839e283e
UD
51270 [BZ #13529]
51271 * assert/assert.h (static_assert): Define.
51272
ce5294e2 51273 * version.h: Update for 2.16 development version.
90fa7312 51274
8d44e150 51275 [BZ #13526]
d7809905
UD
51276 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51277 _ISOC11_SOURCE.
51278
c0da14cd
UD
51279 * version.h (RELEASE): Bump for 2.15 release.
51280 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51281
530a3249
MP
51282 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51283 Patch by Marek Polacek <mpolacek@redhat.com>.
51284
67371b56
UD
51285 * bits/byteswap.h: Protect long long constants with __extension__.
51286 * sysdeps/i386/bits/byteswap.h: Likewise.
51287 * sysdeps/ia64/bits/byteswap.h: Likewise.
51288 * sysdeps/s390/bits/byteswap.h: Likewise.
51289 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51290
15db4de1
LD
512912011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51292
51293 [BZ #13540]
bbe315ea
LD
51294 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51295 destination buffer.
15db4de1
LD
51296 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51297
2b2596b1
MP
512982011-12-23 Marek Polacek <polacek@redhat.com>
51299
51300 * elf/dl-addr.c (determine_info): Add inline keyword.
51301 * elf/tst-auditmod4b.c (check_avx): Likewise.
51302 * elf/tst-auditmod6b.c (check_avx): Likewise.
51303 * elf/tst-auditmod6c.c (check_avx): Likewise.
51304 * elf/tst-auditmod7b.c (check_avx): Likewise.
51305
70c6c246
UD
513062011-12-23 Ulrich Drepper <drepper@gmail.com>
51307
51308 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51309 !__SSE_MATH__.
51310
c044cf14
LD
513112011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51312
15db4de1 51313 [BZ #13540]
c044cf14
LD
51314 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51315 processing for last bytes.
51316
6b13d9d9
BH
513172011-08-06 Bruno Haible <bruno@clisp.org>
51318
d455f537
BH
51319 [BZ #13061]
51320 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51321 U+0385, not to U+1FEE.
51322
6b13d9d9
BH
51323 [BZ #13062]
51324 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51325 entry for U+00A5 U+0301.
51326
db910efd
UD
513272011-12-22 Ulrich Drepper <drepper@gmail.com>
51328
27deeafc
UD
51329 [BZ #13166]
51330 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51331 buffer for the output is too small.
51332
aed9d171
UD
51333 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51334 optimization.
51335
db910efd
UD
51336 [BZ #13185]
51337 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51338 SSE flags if possible.
51339
2bd779ae
LD
513402011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51341
e7f9dac3 51342 [BZ #13540]
2bd779ae
LD
51343 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51344 processing for last bytes.
51345
154bfc16
JM
513462011-12-22 Joseph Myers <joseph@codesourcery.com>
51347
51348 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51349 (syscall-list-default-options, syscall-list-default-condition)
51350 (syscall-list-includes): Define.
51351 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51352 list of ABIs and options and #if conditions for each ABI. Do not
51353 handle common syscalls between ABIs specially.
51354 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51355 Remove.
51356 (syscall-list-variants, syscall-list-32bit-options)
51357 (syscall-list-32bit-condition, syscall-list-64bit-options)
51358 (syscall-list-64bit-condition): Define.
51359 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51360 (syscall-list-variants, syscall-list-32bit-options)
51361 (syscall-list-32bit-condition, syscall-list-64bit-options)
51362 (syscall-list-64bit-condition): Define.
51363 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51364 Remove.
51365 (syscall-list-variants, syscall-list-32bit-options)
51366 (syscall-list-32bit-condition, syscall-list-64bit-options)
51367 (syscall-list-64bit-condition): Define.
51368 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51369 Remove.
51370 (syscall-list-variants, syscall-list-32bit-options)
51371 (syscall-list-32bit-condition, syscall-list-64bit-options)
51372 (syscall-list-64bit-condition): Define.
51373
21eaf3a5
UD
513742011-12-22 Ulrich Drepper <drepper@gmail.com>
51375
16c6f992
UD
51376 * locale/iso-639.def: Add brx entry.
51377
41043168
UD
51378 [BZ #13328]
51379 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51380 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51381
21eaf3a5
UD
51382 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51383 __feraiseexcept_renamed.
51384
e3a851a2
UD
513852011-12-21 Ulrich Drepper <drepper@gmail.com>
51386
4920765e
UD
51387 [BZ #13538]
51388 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51389 EPOLLET with unsigned values.
51390 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51391 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51392
e3a851a2
UD
51393 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51394 to large cancellation.
51395 * math/s_cacoshf.c: Likewise.
51396 * math/s_cacoshl.c: Likewise.
51397
b27e24b8
RK
513982011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51399
51400 [BZ #13305]
aebefeee 51401 [BZ #12786]
b27e24b8
RK
51402 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51403 * math/s_cacoshf.c: Likewise.
51404 * math/s_cacoshl.c: Likewise.
51405
ee190f67
UD
514062011-12-21 Ulrich Drepper <drepper@gmail.com>
51407
51408 [BZ #13439]
51409 * iconv/gconv.h: Define __GCONV_SWAP.
51410 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51411 * iconvdata/utf-16.c: Likewise.
51412 * iconvdata/utf-32.c: Likewise.
51413
707f25df
AS
514142011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51415
51416 [BZ #13524]
51417 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51418 numerator after shifting it by one limb.
51419
d2daaa1e
RÁE
514202011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51421
51422 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51423 under [__USE_EXTERN_INLINES].
51424
a4647e72
UD
514252011-12-17 Ulrich Drepper <drepper@gmail.com>
51426
51427 [BZ #13446]
51428 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51429
f0b264f1
AZ
514302011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51431
51432 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51433 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51434 optimized code.
51435 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51436 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51437 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51438 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51439 for strncasecmp/strncasecmp_l compilation.
51440 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51441 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51442
8ef4f244
MP
514432011-12-08 Marek Polacek <mpolacek@redhat.com>
51444
51445 [BZ #13484]
51446 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51447 of __asm__.
51448
97ac2654
UD
514492011-12-17 Ulrich Drepper <drepper@gmail.com>
51450
51451 [BZ #13506]
51452 * time/tzfile.c (__tzfile_read): Check values from file header.
51453
91d2a845
WS
514542011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51455
51456 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51457 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51458 * powerpc/powerpc32/dl-start.S: Likewise.
51459 * powerpc/powerpc32/elf/start.S: Likewise.
51460 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51461 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51462 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51463 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51464 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51465 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51466 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51467 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51468 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51469 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51470 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51471 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51472 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51473 * powerpc/powerpc32/memset.S: Likewise.
51474 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51475 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51476 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51477 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51478 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51479 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51480 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51481 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51482 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51483 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51484 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51485 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51486 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51487
a1267ba1
AZ
514882011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51489
51490 * math/libm-test.inc: Added more nearbyint tests.
51491 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51492 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51493 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51494 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51495
ad8ac1bd
RL
514962011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51497
51498 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51499 FD_CLOEXEC.
51500
1d3e4b61
UD
515012011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51502
51503 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51504 Add wcscpy-ssse3 wcscpy-c.
51505 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51506 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51507 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51508 * sysdeps/x86_64/wcschr.S: New file.
51509 * sysdeps/x86_64/wcsrchr.S: New file.
51510 * string/test-strcmp.c: Remove checking of wcscmp function for
51511 wrong alignments.
51512 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51513 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51514 wcsrchr-sse2 wcsrchr-c.
51515 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51516 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51517 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51518 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51519 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51520 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51521 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51522 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51523 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51524 * wcsmbc/wcschr.c (WCSCHR): New macro.
51525
5b330a2d
UD
515262011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51527
51528 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51529 * wcsmbs/test-wcsrchr.c: New file.
51530 * string/test-strrchr.c: Add wcsrchr support.
51531 (WIDE): New macro.
51532 * wcsmbs/test-wcscpy.c: New file.
51533 * string/test-strcpy.c: Add wcscpy support.
51534 (WIDE): New macro.
26428b7c 51535
f039c043
UD
515362011-12-10 Ulrich Drepper <drepper@gmail.com>
51537
51538 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51539 the inner loop.
51540
850fb039
AS
515412011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51542
51543 [BZ #13472]
51544 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51545
4efbd5cb
UD
515462011-12-04 Ulrich Drepper <drepper@gmail.com>
51547
52ff5dd0 51548 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51549 Minor optimizations.
52ff5dd0 51550
4efbd5cb
UD
51551 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51552 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51553 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51554
8a426e12
UD
515552011-12-03 Ulrich Drepper <drepper@gmail.com>
51556
aff2453d
UD
51557 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51558 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51559 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51560 for gcc to avoid warnings.
51561 * inet/Makefile (tests): Add tst-checks.
51562 * inet/tst-checks.c: New file.
51563
51564 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51565 warning.
51566
51567 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51568 __wmemcmp_sse2.
51569
51570 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51571 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51572
8a426e12
UD
51573 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51574
9bea3473
UD
515752011-12-02 Ulrich Drepper <drepper@gmail.com>
51576
3a965496
UD
51577 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51578 problem.
51579
9bea3473
UD
51580 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51581
f101631b
UD
515822011-11-29 Joseph Myers <joseph@codesourcery.com>
51583
51584 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51585 conditional on GCC version.
51586 (__arch_compare_and_exchange_val_8_acq)
51587 (__arch_compare_and_exchange_val_16_acq)
51588 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51589 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51590 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51591
a98275aa
UD
515922011-12-02 Joseph Myers <joseph@codesourcery.com>
51593
51594 * sysdeps/sh/backtrace.c: New file.
51595
d4cc29a2
AS
515962011-12-02 Andreas Schwab <schwab@redhat.com>
51597
51598 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51599 parenthesis.
51600
6257af2d
AS
516012011-12-01 Andreas Schwab <schwab@redhat.com>
51602
51603 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51604 falling back to utime.
51605
b5f44c1a
AS
516062011-11-30 Andreas Schwab <schwab@redhat.com>
51607
51608 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51609 expectations for float.
51610
f3a6cc0a
AS
516112011-11-29 Andreas Schwab <schwab@redhat.com>
51612
51613 * locale/weight.h (findidx): Add parameter len.
51614 * locale/weightwc.h (findidx): Likewise.
51615 * posix/fnmatch_loop.c (FCT): Adjust caller.
51616 * posix/regcomp.c (build_equiv_class): Likewise.
51617 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51618 * posix/regexec.c (check_node_accept_bytes): Likewise.
51619 * string/strcoll_l.c (STRCOLL): Likewise.
51620 * string/strxfrm_l.c (STRXFRM): Likewise.
51621
9d65ea3a
UD
516222011-11-17 Ulrich Drepper <drepper@gmail.com>
51623
51624 * Makefile.in: Remove CVSOPT handling.
51625 * configure.in: Remove use of AC_REVISION.
51626 * iconvdata/Makefile (distribute): No need to filter out CVS.
51627 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51628 handling.
51629
5583a086
AS
516302011-11-16 Andreas Schwab <schwab@redhat.com>
51631
51632 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51633 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51634 [USE_AS_STRNCASECMP_L]: Likewise.
51635 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51636 NO_TLS_DIRECT_SEG_REFS.
51637 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51638 Fix argument offsets for non-PIC.
51639 [USE_AS_STRNCASECMP_L]: Likewise.
51640 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51641 NO_TLS_DIRECT_SEG_REFS.
51642
d62a8200
UD
516432011-11-15 Ulrich Drepper <drepper@gmail.com>
51644
9d65ea3a 51645 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51646 O_CLOEXEC.
51647 * locale/loadlocale.c (_nl_load_locale): Likewise.
51648
09f93bd3
AS
516492011-11-15 Andreas Schwab <schwab@redhat.com>
51650
446514f9
AS
51651 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51652 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51653 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51654 (SYSCALL_GETTIME): Set errno on error.
51655
09f93bd3
AS
51656 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51657 count references to noai6ai_cached.
51658
312be3f9
UD
516592011-11-15 Ulrich Drepper <drepper@gmail.com>
51660
51661 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51662
51663 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51664 FD_CLOEXEC for /proc/self/maps.
51665
51666 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51667 FD_CLOEXEC for /proc/meminfo.
51668
51669 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51670 gai.conf.
51671
51672 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51673 FD_CLOEXEC for given file.
51674
51675 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51676
51677 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51678 FD_CLOEXEC for /etc/hosts.
51679 (_gethtent): Likewise.
51680
51681 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51682
51683 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51684 cancellation and set FD_CLOEXEC for /etc/netgroup.
51685
51686 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51687 reading /etc/publickey.
51688
51689 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51690 allow cancellation when reading /etc/group.
51691
51692 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51693 cancellation.
51694 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51695
51696 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51697 when using data file.
51698
51699 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51700
51701 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51702 (write_nis_obj): Use "c" and "e" in fopen.
51703
51704 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51705
51706 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51707
51708 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51709
51710 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51711
51712 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51713 locale.alias.
51714
51715 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51716
51717 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51718
51719 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51720
51721 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51722 file parsing and set FD_CLOEXEC.
51723
82af0fa8
UD
517242011-11-14 Ulrich Drepper <drepper@gmail.com>
51725
51726 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51727
a5fb313c
AS
517282011-11-14 Andreas Schwab <schwab@redhat.com>
51729
51730 * malloc/arena.c (arena_get2): Don't call reused_arena when
51731 _int_new_arena failed.
51732
6abf3465
UD
517332011-11-14 Ulrich Drepper <drepper@gmail.com>
51734
51735 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51736 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51737 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51738 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51739 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51740 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51741 to compile strcasecmp and strncasecmp.
51742 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51743 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51744
51745 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51746
76e3966e
UD
517472011-11-13 Ulrich Drepper <drepper@gmail.com>
51748
51749 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51750 locale-defines.sym to gen-as-const-headers.
51751 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51752 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51753 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51754 to compile strcasecmp and strncasecmp.
51755 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51756 strcasecmp_l and strncasecmp_l.
51757 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51758 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51759 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51760 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51761 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51762 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51763 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51764 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51765 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51766 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51767 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51768
ab26144e
UD
517692011-11-12 Ulrich Drepper <drepper@gmail.com>
51770
7edb22ef
UD
51771 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51772 result of SYSDEP_GETTIME_CPU to retval.
51773 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51774 parameter list to macro. Remove trailing semicolon. Adjust users.
51775
9694fc44
UD
51776 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51777 variable.
51778
8ad89ef8
UD
51779 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51780 mantissa words.
51781 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51782
0c822ef9
UD
51783 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51784 from unused variable.
51785
874e0564
UD
51786 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51787 DWARF definitions.
51788 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51789 for assembling.
51790
3a2edc79
UD
51791 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51792 over namespaces.
51793
f3c2577f
UD
51794 * sunrpc/rpc_prot.c (rejected): Fix case value.
51795
294ce126
UD
51796 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51797 unsigned long long int to avoid warnings in shift.
51798
5e2b63c6
UD
51799 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51800 of use of trans.
51801 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51802 variable tmp.
51803
e7f4b08e
UD
51804 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51805 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51806 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51807
ab26144e
UD
51808 * nis/nis_table.c (nis_list): Use variable of correct type for
51809 result of __follow_path call.
51810
8a6d5255
AZ
518112011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51812
51813 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51814 of math functions ceil, trunc, floor, round, and sqrt, when
51815 avaliable on the platform.
51816 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51817 name clash.
51818 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51819 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51820 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51821
aaddc98c
MP
518222011-10-30 Marek Polacek <mpolacek@redhat.com>
51823
51824 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51825 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51826
95b7042b
RM
518272011-11-11 Roland McGrath <roland@hack.frob.com>
51828
51829 * include/unistd.h: Fix __readlink return type.
51830 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51831
57769839
UD
518322011-11-11 Ulrich Drepper <drepper@gmail.com>
51833
51834 * stdlib/ucontext.h: Undo last change for makecontext.
51835
edc5984d
AS
518362011-11-11 Andreas Schwab <schwab@redhat.com>
51837
98591e58
AS
51838 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51839
edc5984d
AS
51840 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51841 * setjmp/setjmp.h: Mark functions as non-leaf.
51842 * setjmp/bits/setjmp2.h: Likewise.
51843 * stdlib/ucontext.h: Likewise.
51844
77cdc054
AS
518452011-11-10 Andreas Schwab <schwab@redhat.com>
51846
51847 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51848 (reused_arena): Don't check arena limit.
51849 (arena_get2): Atomically check arena limit.
51850
fe72eebd
UD
518512011-11-08 Ulrich Drepper <drepper@gmail.com>
51852
5f078c32
UD
51853 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51854 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51855
fe72eebd
UD
51856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51857 instructions.
51858
ae1bc2fa
AS
518592011-11-07 Andreas Schwab <schwab@redhat.com>
51860
7583a88d
AS
51861 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51862 handler when locking.
51863
ae1bc2fa
AS
51864 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51865 Fix size of allocated buffer.
51866
10fb0bfa
AS
518672011-11-04 Andreas Schwab <schwab@redhat.com>
51868
998832a4
AS
51869 [BZ #10103]
51870 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51871 declarations for long double functions.
51872 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51873
10fb0bfa
AS
51874 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51875
3d7ba52b
AS
518762011-11-03 Andreas Schwab <schwab@redhat.com>
51877
a9ae54a1
AS
51878 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51879 installed.
51880
3d7ba52b
AS
51881 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51882 is disabled.
51883
bc8db248
ST
518842011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51885
51886 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51887
45b96dd6
AS
518882011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51889
647776f6
AS
51890 * include/alloca.h (stackinfo_alloca_round): Define.
51891 (extend_alloca): Use it.
51892 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51893 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51894 here.
51895
d91a8b93
AS
51896 * scripts/check-local-headers.sh: Ignore libaudit.h.
51897
45b96dd6
AS
51898 * nscd/Makefile (extra-objs): Make recursively expanded.
51899
432d41ce
UD
519002011-11-01 Ulrich Drepper <drepper@gmail.com>
51901
34372fc6
UD
51902 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51903 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51904
fadb59f8
UD
51905 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51906 * posix/tst-rfc3484-2.c: Likewise.
51907 * posix/tst-rfc3484-3.c: Likewise.
51908
78239589
UD
51909 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51910 process_vm_writev.
51911 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51912 process_vm_writev.
51913 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51914 process_vm_writev from libc using GLIBC_2.15 version.
51915
432d41ce
UD
51916 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51917
02f9c6cf
PP
519182011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51919
51920 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51921 stack usage.
51922
3a2c0242
UD
519232011-10-31 Ulrich Drepper <drepper@gmail.com>
51924
f4ec4833
UD
51925 [BZ #13367]
51926 * nss/getent.c (initgroups_keys): Show error message in case no group
51927 names are given.
51928
3a2c0242
UD
51929 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51930 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51931 __bump_nl_timestamp.
51932 * nscd/connections (nscd_init): When host database is served open
51933 netlink socket and request notification about configuration changes.
51934 (main_loop_poll): Track netlink file descriptor and bump timestamp
51935 in case data becomes available.
51936 (main_loop_epoll): Likewise.
51937 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51938 (database_pers_head): Add extra_data fileds.
51939 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51940 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51941 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51942 Adjust caller.
51943 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51944 in6ai data, call __free_in6ai.
51945 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51946 Add -DHAVE_NETLINK.
51947 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51948 interface information. Reuse previous data if netlink timestamp
51949 is not changed.
51950 (__bump_nl_timestamp): New function.
51951 (__free_in6ai): New function.
51952
636064eb
UD
519532011-10-30 Ulrich Drepper <drepper@gmail.com>
51954
51955 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51956 close_not_cancel_no_status here.
51957 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51958
9beb2334
UD
519592011-10-29 Ulrich Drepper <drepper@gmail.com>
51960
6ef76f3b
UD
51961 [BZ #13276]
51962 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51963 return value.
51964
0ffc4f3e 51965 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
51966 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51967 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51968
cb95113e
UD
519692011-07-03 Andreas Jaeger <aj@suse.de>
51970
51971 [BZ #10709]
51972 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51973 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51974 * math/libm-test.inc (sin_test): Add test case.
51975
a1b560ff
UD
519762011-10-29 Ulrich Drepper <drepper@gmail.com>
51977
c9aaface
UD
51978 [BZ #13337]
51979 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51980 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51981
d272e7f1
UD
51982 * elf/chroot_canon.c (chroot_canon): Cleanups.
51983
1bc33071
UD
51984 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51985
1760874d
TJ
51986 [BZ #13335]
51987 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51988 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51989
51d91b18
UD
51990 * string/test-strchr.c: Make usable for strchrnul testing.
51991 * string/test-strchrnul.c: New file.
51992 * string/Makefile (strop-tests): Add strchrnul.
51993
a1b560ff 51994 * po/it.po: Update from translation team.
b611fb81 51995 * po/es.po: Likewise.
a1b560ff 51996
a5b81e1f
UD
519972011-10-28 Ulrich Drepper <drepper@gmail.com>
51998
fd52bc6d
UD
51999 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52000 the three constants needed as parameters. Drop the others.
52001 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52002 __m128i_strloadu_tolower.
52e4b9eb
UD
52003 Create and initialize variable zero and use it in all the places
52004 where _mm_setzero_si128 was used.
fd52bc6d 52005
a5b81e1f
UD
52006 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52007 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52008 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52009 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52010 anymore.
52011 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52012 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52013 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52014 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52015 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52016 __mpranred, __mptan.
52017 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52018 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52019 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52020 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52021 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52022 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52023 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52024 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52025 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52026
b4343346
AS
520272011-10-28 Andreas Schwab <schwab@redhat.com>
52028
0c92d8a8
AS
52029 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52030 redefine if SHARED.
52031 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52032
b4343346
AS
52033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52034 wide char related routines to wcsmbs subdir.
52035
3871f58f
AS
520362011-10-27 Andreas Schwab <schwab@redhat.com>
52037
52038 [BZ #13344]
52039 * misc/sys/cdefs.h (__THROWNL): Define.
52040 * posix/unistd.h: Use __THREADNL instead of __THREAD
52041 for memory synchronization functions.
52042
94d44d9f
RM
520432011-10-26 Roland McGrath <roland@hack.frob.com>
52044
21b64b15 52045 [BZ #13349]
94d44d9f
RM
52046 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52047 doesn't exist.
52048 * manual/stdio.texi (Obstack Streams): Node removed.
52049
f6ce9294
AS
520502011-10-26 Andreas Schwab <schwab@redhat.com>
52051
80479147
AS
52052 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52053 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52054 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52055
f6ce9294
AS
52056 * math/math_private.h (math_force_eval): Allow non-addressable
52057 arguments.
52058 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52059
618280a1
UD
520602011-10-25 Ulrich Drepper <drepper@gmail.com>
52061
e0016b11
UD
52062 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52063 file is not needed.
52064
52065 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52066 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52067 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52068 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52069 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52070 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52071 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52072 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52073 Add AVX variants.
52074 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52075 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52076 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52077 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52078 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52079 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52080 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52081 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52082 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52083 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52084 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52085 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52086 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52087 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52088 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52089 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52090 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52091 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52092 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52093
52094 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52095 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52096
618280a1
UD
52097 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52098 place. Use VEX encoding when compiling for AVX.
52099
37822576
AS
521002011-10-25 Andreas Schwab <schwab@redhat.com>
52101
1f1e1947
AS
52102 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52103 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52104
37822576
AS
52105 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52106
31ea014d
UD
521072011-10-25 Ulrich Drepper <drepper@gmail.com>
52108
d7826aa1 52109 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 52110 useless if() expression.
d7826aa1
UD
52111 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52112 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52113 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52114 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52115 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52116 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52117 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52118 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52119 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52120 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52121 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52122 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52123 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52124 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52125 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52126 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52127 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52128 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52129 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52130
31ea014d
UD
52131 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52132
16437fec
AS
521332011-10-25 Andreas Schwab <schwab@redhat.com>
52134
52135 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52136 condition.
52137 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52138
31d3cc00
UD
521392011-10-25 Ulrich Drepper <drepper@gmail.com>
52140
52141 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52142 .text section. Avoid duplicate constants.
52143 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52144 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52145 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52147 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52148 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52150 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52151 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52152 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52153 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52154 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52155 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52156 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52157 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52158 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52159 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52160 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52161 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52162 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52163 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52164 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52165 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52166 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52167 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52168 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52169 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52170 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52171 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52172 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52173 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52174 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52175 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52176 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52177 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52178 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52179 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52180 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52181 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52182 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52183 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52184 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52185 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52186 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52187 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52188
58985aa9
UD
521892011-10-24 Ulrich Drepper <drepper@gmail.com>
52190
202c9deb
UD
52191 * sysdeps/x86_64/dla.h: Move to ...
52192 * sysdeps/x86_64/fpu/dla.h: ...here.
52193 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52194 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52195
af968f62
UD
52196 * config.make.in: Add have-mfma4 entry.
52197 * configure.in: Substitute libc_cv_cc_fma4.
52198 * math/Makefile (dbl-only-routines): Add sincostab.
52199 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52200 Use __sincostab not sincos.
52201 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52202 name is a macro.
52203 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52206 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52207 using __copysign.
52208 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52209 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52210 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52211 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52212 and __inv.
52213 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52214 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52215 __copysign.
52216 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52217 define aliases when function name is a macro.
52218 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52219 sysdeps/ieee754/dbl-64/sincos.tbl.
52220 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52221 fma4-enabled routines.
52222 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52223 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52224 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52225 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52226 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52227 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52228 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52229 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52230 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52231 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52232 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52233 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52234 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52235 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52236 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52237 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52238 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52239 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52240 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52241 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52242 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52243 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52244 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52245 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52246 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52247 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52248 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52249 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52250 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52251 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52252
58985aa9
UD
52253 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52254 rename.
52255 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52257 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52258 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52259 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52260 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52261 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52262 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52263
a201fbcf
AS
522642011-10-24 Andreas Schwab <schwab@redhat.com>
52265
52266 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52267
fc2ee42a
LD
522682011-10-23 Ulrich Drepper <drepper@gmail.com>
52269
bb3129bd
UD
52270 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52271
0275fff8
UD
52272 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52273 prediction.
52274 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52275
2fa2ae85
UD
52276 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52277 Remove unused variable magic_bits.
52278 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52279
fc2ee42a
LD
52280 * string/strnlen.c: Define and use STRNLEN macro.
52281 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52282 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52283 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52284 * wcsmbs/wcslen.c: Define and use WCSLEN.
52285 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52286 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52287 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52288 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52289 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52290 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52291 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52292
ce7dd29f
LD
522932011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52294
52295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52296 strnlen-sse2-no-bsf.
52297 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52298 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52299 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52300 Add strnlen support.
52301 (USE_AS_STRNLEN): New macro.
52302 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52303 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52304 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52305 * sysdeps/x86_64/wcslen.S: New file.
52306
979c70a3
MZ
523072011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52308
52309 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52310 XMM-moves are used for copying on small sizes.
52311
2d09f82f
LD
523122011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52313
52314 * wcsmbs/Makefile (strop-tests): Add wcschr.
52315 * wcsmbs/test-wcschr.c: New file.
52316 * string/test-strchr.c: Update.
52317 Add wcschr support.
52318 (WIDE): New macro.
52319
619fccca
LD
523202011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52321
2d09f82f 52322 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52323 * wcsmbs/test-wcslen.c: New file.
52324 * string/test-strlen.c: Update.
52325 Add wcslen support.
52326 (WIDE): New macro.
52327
09f699ea
UD
523282011-10-23 Ulrich Drepper <drepper@gmail.com>
52329
52330 * po/it.po: Update from translation team.
52331
95584d3b
LD
523322011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52333
52334 * sysdeps/x86_64/wcscmp.S: Update.
52335 Fix wrong comparison semantics.
52336 wcscmp shall use signed comparison not unsigned.
52337 Don't use substraction to avoid overflow bug.
52338 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52339 * wcsmbc/wcscmp.c: Likewise.
52340 * string/test-strcmp.c: Likewise.
52341 Add new tests to check cases with negative values.
52342
c8b3296b
UD
523432011-10-23 Ulrich Drepper <drepper@gmail.com>
52344
52345 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52346 * sysdeps/x86_64/dla.h: ...here. New file.
52347 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52348 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52350 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52351 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52352 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52354 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52355 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52356
246ad57a
AS
523572011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52358
52359 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52360 __ynl_finite aliases.
52361
a1a87169
UD
523622011-10-22 Ulrich Drepper <drepper@gmail.com>
52363
0d355eb7
UD
52364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52365
a1a87169
UD
52366 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52367 define DLA_FMA.
52368 [DLA_FMA] (EMULV): Use DLA_FMA.
52369 [DLA_FMA] (MUL12): Use EMULV.
52370 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52371 that are not needed.
52372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52373 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52374 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52375 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52376 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52377 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52378 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52379
ee2aafe0
AS
523802011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52381
52382 * math/s_nan.c: Undef __nan.
52383 * math/s_nanf.c: Undef __nanf.
52384 * math/s_nanl.c: Undef __nanl.
52385 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52386 "math_private.h".
52387
bc62c2fb
UD
523882011-10-22 Ulrich Drepper <drepper@gmail.com>
52389
77425c63
UD
52390 * math/s_catan.c: Add branch predictions.
52391 * math/s_catanf.c: Likewise.
52392 * math/s_catanh.c: Likewise.
52393 * math/s_catanhf.c: Likewise.
52394 * math/s_catanhl.c: Likewise.
52395 * math/s_catanl.c: Likewise.
52396 * math/s_cexp.c: Likewise.
52397 * math/s_cexpf.c: Likewise.
52398 * math/s_cexpl.c: Likewise.
52399 * math/s_clog.c: Likewise.
52400 * math/s_clog10.c: Likewise.
52401 * math/s_clog10f.c: Likewise.
52402 * math/s_clog10l.c: Likewise.
52403 * math/s_clogf.c: Likewise.
52404 * math/s_clogl.c: Likewise.
52405 * math/s_csqrt.c: Likewise.
52406 * math/s_csqrtf.c: Likewise.
52407 * math/s_csqrtl.c: Likewise.
52408 * math/s_ctanf.c: Likewise.
52409 * math/s_ctanh.c: Likewise.
52410 * math/s_ctanhf.c: Likewise.
52411 * math/s_ctanhl.c: Likewise.
52412 * math/s_ctanl.c: Likewise.
52413
bc62c2fb
UD
52414 * math/math_private.h: Define __nan, __nanf, __nanl.
52415 * math/s_cacosh.c: Include <math_private.h>.
52416 * math/s_cacoshl.c: Likewise.
52417 * math/s_casinh.c: Likewise.
52418 * math/s_casinhf.c: Likewise.
52419 * math/s_casinhl.c: Likewise.
52420 * math/s_ccos.c: Rely entire on ccosh.
52421 * math/s_ccosf.c: Rely entire on ccoshf.
52422 * math/s_ccosl.c: Rely entirely on ccoshl.
52423 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52424 Remove tests for FE_INVALID.
52425 * math/s_ccoshf.c: Likewise.
52426 * math/s_ccoshl.c: Likewise.
52427 * math/s_csin.c: Likewise.
52428 * math/s_csinf.c: Likewise.
52429 * math/s_csinh.c Likewise.
52430 * math/s_csinhf.c: Likewise.
52431 * math/s_csinhl.c: Likewise.
52432 * math/s_csinl.c: Likewise.
52433 * math/s_ctan.c: Likewise.
52434 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52435 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52436 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52437
8ec250a4
UD
524382011-10-21 Ulrich Drepper <drepper@gmail.com>
52439
c196fed8
UD
52440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52441 compilation problems.
52442
8ec250a4
UD
52443 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52444 __builtin_expect.
52445
8d4f46c6
UD
524462011-10-20 Ulrich Drepper <drepper@gmail.com>
52447
ed72b654
UD
52448 * sysdeps/i386/configure.in: Test for -mfma4 option.
52449 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52450 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52451 COMMON_CPUID_INDEX_80000001.
52452 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52453 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52454 use it if FMA3 is not supported.
52455 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52456
8d4f46c6
UD
52457 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52458 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52459
d45c60c2
AS
524602011-10-20 Andreas Schwab <schwab@redhat.com>
52461
52462 [BZ #12892]
52463 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52464 it would create a cycle with a link time dependency.
52465
d9a4d2ab
UD
524662011-10-19 Ulrich Drepper <drepper@gmail.com>
52467
855d1560
UD
52468 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52469 instruction.
52470 * string/Makefile (strop-tests): Add rawmemchr.
52471 * string/test-rawmemchr.c: New file.
52472
d9a4d2ab
UD
52473 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52474 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52475 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52476 when compiling str{,n}casecmp and when AVX is available. Hook up
52477 new optimized code in initializers.
52478
8f3b1ffe
AS
524792011-10-19 Andreas Schwab <schwab@redhat.com>
52480
52481 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52482 __feraiseexcept instead of feraiseexcept.
52483
d38f1dba
UD
524842011-10-18 Ulrich Drepper <drepper@gmail.com>
52485
d9a8d0ab
UD
52486 * math/math_private.h: Define defaults for libc_fetestexcept and
52487 libc_feupdateenv.
52488 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52489 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52490 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52491 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52492 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52493 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52494 libc_fetestexcept and libc_feupdateenv.
52495
4855e3dd
UD
52496 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52497 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52498 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52499 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52500 libc_feholdexcept_setround.
52501
581d30e3
UD
52502 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52503 Add s_nearbyint-c and s_nearbyintf-c.
52504 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52505 nearbyintf inlines.
52506 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52507 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52508 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52509 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52510
d38f1dba
UD
52511 * math/math_private.h: Define defaults for libc_fegetround,
52512 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52513 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52514 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52515 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52516 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52517 standard functions.
52518 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52519 Remove comments and hacks for old compiler versions.
52520 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52521 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52522 libc_feholdexceptl.
52523
caa6c9d8
AS
525242011-10-18 Andreas Schwab <schwab@redhat.com>
52525
52526 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52527 (__feraiseexcept_renamed): Add __NTH.
52528 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52529 namespace violations.
52530
97c066e6
UD
525312011-10-17 Ulrich Drepper <drepper@gmail.com>
52532
99ce7b04
UD
52533 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52534
1004d182
UD
52535 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52536
228a984d
UD
52537 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52538 recently added interfaces.
52539 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52540
c8553a6a
UD
52541 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52542 about macro parameter expansion.
52543
ed22dcf6
UD
52544 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52545 __NO_MATH_INLINES is defined. Cleanups.
52546
52547 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52548 and __floorf is target has SSE4.1.
52549 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52550 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52551 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52552 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52553
b171c137
UD
52554 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52555 name.
52556 (floorf): Likewise.
52557
97c066e6
UD
52558 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52559
629f62ef
AS
525602011-10-17 Andreas Schwab <schwab@redhat.com>
52561
49a43d80
AS
52562 * misc/sys/cdefs.h: Fix last change.
52563
629f62ef
AS
52564 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52565 database lookup.
52566
e453f6cd
UD
525672011-10-16 Ulrich Drepper <drepper@gmail.com>
52568
aa78043a
UD
52569 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52570
ad0f5cad
UD
52571 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52572 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52573 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52574 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52575 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52576 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52577 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52578 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52579 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52580 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52581 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52582 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52583 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52584 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52585 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52586 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52587 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52588 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52589 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52590 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52591 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52592 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52593
52594 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52595 ceil, ceilf, floor, floorf.
52596
52597 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52598 Perform IRELATIVE relocations last.
52599
e453f6cd
UD
52600 * elf/do-rel.h: Add another parameter nrelative, replacing the
52601 local variable with the same name. Change name of the function
52602 to end in Rel or Rela (uppercase).
52603 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52604 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52605 elf_dynamic_do_##reloc function.
52606
fd5bdc09
UD
526072011-10-15 Ulrich Drepper <drepper@gmail.com>
52608
79b195b5
UD
52609 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52610 is sufficient, at least on modern CPUs.
52611
d4a28569
UD
52612 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52613
b61099b5
UD
52614 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52615 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52616
bcf01e6d
UD
52617 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52618 __expl_finite.
52619 * math/bits/math-finite.h: Add entries for exp.
52620 * math/e_expl.c: Add __*_finite alias.
52621 * sysdeps/i386/fpu/e_exp.S: Likewise.
52622 * sysdeps/i386/fpu/e_expf.S: Likewise.
52623 * sysdeps/i386/fpu/e_expl.c: Likewise.
52624 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52625 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52626 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52627 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52628 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52629 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52630 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52631
ba1a0d59
UD
52632 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52633 is sufficient, at least on modern CPUs.
52634
fd5bdc09
UD
52635 * ctype/ctype-info.c (__ctype_init): Define.
52636 * include/ctype.h (__ctype_init): Declare.
52637 (__ctype_b_loc): The variable is always initialized.
52638 (__ctype_toupper_loc): Likewise.
52639 (__ctype_tolower_loc): Likewise.
52640 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52641 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52642
7872cfb0
AS
526432011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52644
b468825a
AS
52645 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52646
7872cfb0
AS
52647 * configure.in: Also look in $cxxmachine/include for C++ system
52648 headers.
52649
be13f7bf
LD
526502011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52651
52652 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52653 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52654 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52655 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52656 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52657 (USE_AS_WMEMCMP): New macro.
52658 Fixing indents.
52659 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52660 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52661 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52662 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52663 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52664 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52665 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52666 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52667 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52668 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52669 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52670 (USE_AS_WMEMCMP): New macro.
52671 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52672 * sysdeps/string/test-memcmp.c: Update.
52673 Fix simple_wmemcmp.
52674 Add new tests.
52675 * wcsmbs/wmemcmp.c: Update.
52676 (WMEMCMP): New macro.
52677 Fix overflow bug.
52678
556a2007
AJ
526792011-10-12 Andreas Jaeger <aj@suse.de>
52680
52681 [BZ #13268]
52682 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52683
538faaa7
UD
526842011-10-15 Ulrich Drepper <drepper@gmail.com>
52685
ab6737ff
UD
52686 * libio/iofwide.c (do_length): Avoid warning.
52687
538faaa7
UD
52688 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52689
396a21b1
UD
526902011-10-14 Ulrich Drepper <drepper@gmail.com>
52691
cdf2901f
UD
52692 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52693
38ad40ce
UD
52694 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52695 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52696 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52697 * sysdeps/i386/i686/fpu/e_log.S: New file.
52698 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52699 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52700
396a21b1
UD
52701 * ctype/ctype.h: Add support for inlined isXXX functions when
52702 compiling C++ code.
52703
6b1f68c9
AS
527042011-10-14 Andreas Schwab <schwab@redhat.com>
52705
349290c0
AS
52706 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52707
6b1f68c9
AS
52708 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52709
f2282d42
RM
527102011-10-13 Roland McGrath <roland@hack.frob.com>
52711
52712 [BZ #13291]
52713 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52714
5298ffa8
AS
527152011-10-13 Andreas Schwab <schwab@redhat.com>
52716
714fad23
AS
52717 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52718 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52719 feraiseexcept.
52720
81dcc7fb
AS
52721 * sysdeps/x86_64/memrchr.S: Check for zero size.
52722
5298ffa8
AS
52723 * string/stratcliff.c: Add memrchr tests.
52724
951fbcec
LD
527252011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52726
52727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52728 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52729 rawmemchr-sse2 rawmemchr-sse2-bsf.
52730 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52731 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52732 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52733 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52734 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52735 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52736 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52737 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52738 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52739 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52740 * string/memrchr.c (MEMRCHR): New macro.
52741
0ac5ae23
UD
527422011-10-12 Ulrich Drepper <drepper@gmail.com>
52743
52744 Add integration with gcc's -ffinite-math-only and optimize wrapper
52745 functions in libm.
52746 * Versions.def: Define GLIBC_2.15 version for libm.
52747 * math/Makefile (headers): Add bits/math-finite.h.
52748 * math/bits/math-finite.h: New file.
52749 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52750 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52751 * math/e_acoshl.c: Add __*_finite alias.
52752 * math/e_acosl.c: Likewise.
52753 * math/e_asinl.c: Likewise.
52754 * math/e_atan2l.c: Likewise.
52755 * math/e_atanhl.c: Likewise.
52756 * math/e_coshl.c: Likewise.
52757 * math/e_exp10.c: Likewise.
52758 * math/e_exp10f.c: Likewise.
52759 * math/e_exp10l.c: Likewise.
52760 * math/e_exp2l.c: Likewise.
52761 * math/e_fmodl.c: Likewise.
52762 * math/e_gammal_r.c: Likewise.
52763 * math/e_hypotl.c: Likewise.
52764 * math/e_j0l.c: Likewise.
52765 * math/e_j1l.c: Likewise.
52766 * math/e_jnl.c: Likewise.
52767 * math/e_lgammal_r.c: Likewise.
52768 * math/e_log10l.c: Likewise.
52769 * math/e_log2l.c: Likewise.
52770 * math/e_logl.c: Likewise.
52771 * math/e_powl.c: Likewise.
52772 * math/e_sinhl.c: Likewise.
52773 * math/e_sqrtl.c: Likewise.
52774 * math/e_scalb.c: Completely rewritten and optimized.
52775 * math/e_scalbf.c: Likewise.
52776 * math/e_scalbl.c: Likewise.
52777 * math/w_acos.c: Likewise.
52778 * math/w_acosf.c: Likewise.
52779 * math/w_acosl.c: Likewise.
52780 * math/w_acosh.c: Likewise.
52781 * math/w_acoshf.c: Likewise.
52782 * math/w_acoshl.c: Likewise.
52783 * math/w_asin.c: Likewise.
52784 * math/w_asinf.c: Likewise.
52785 * math/w_asinl.c: Likewise.
52786 * math/w_atan2.c: Likewise.
52787 * math/w_atan2f.c: Likewise.
52788 * math/w_atan2l.c: Likewise.
52789 * math/w_atanh.c: Likewise.
52790 * math/w_atanhf.c: Likewise.
52791 * math/w_atanhl.c: Likewise.
52792 * math/w_exp10.c: Likewise.
52793 * math/w_exp10f.c: Likewise.
52794 * math/w_exp10l.c: Likewise.
52795 * math/w_fmod.c: Likewise.
52796 * math/w_fmodf.c: Likewise.
52797 * math/w_fmodl.c: Likewise.
52798 * math/w_j0.c: Likewise.
52799 * math/w_j0f.c: Likewise.
52800 * math/w_j0l.c: Likewise.
52801 * math/w_j1.c: Likewise.
52802 * math/w_j1f.c: Likewise.
52803 * math/w_j1l.c: Likewise.
52804 * math/w_jn.c: Likewise.
52805 * math/w_jnf.c: Likewise.
52806 * math/w_log.c: Likewise.
52807 * math/w_logf.c: Likewise.
52808 * math/w_logl.c: Likewise.
52809 * math/w_log10.c: Likewise.
52810 * math/w_log10f.c: Likewise.
52811 * math/w_log10l.c: Likewise.
52812 * math/w_log2.c: Likewise.
52813 * math/w_log2f.c: Likewise.
52814 * math/w_log2l.c: Likewise.
52815 * math/w_pow.c: Likewise.
52816 * math/w_powf.c: Likewise.
52817 * math/w_powl.c: Likewise.
52818 * math/w_remainder.c: Likewise.
52819 * math/w_remainderf.c: Likewise.
52820 * math/w_remainderl.c: Likewise.
52821 * math/w_scalb.c: Likewise.
52822 * math/w_scalbf.c: Likewise.
52823 * math/w_scalbl.c: Likewise.
52824 * math/w_sqrt.c: Likewise.
52825 * math/w_sqrtf.c: Likewise.
52826 * math/w_sqrtl.c: Likewise.
52827 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52828 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52829 used.
52830 * math/math_private.h: Declare __kernel_standard_f.
52831 * math/w_cosh.c: Remove cruft and optimize a bit.
52832 * math/w_coshf.c: Likewise.
52833 * math/w_coshl.c: Likewise.
52834 * math/w_exp2.c: Likewise.
52835 * math/w_exp2f.c: Likewise.
52836 * math/w_exp2l.c: Likewise.
52837 * math/w_hypot.c: Likewise.
52838 * math/w_hypotf.c: Likewise.
52839 * math/w_hypotl.c: Likewise.
52840 * math/w_lgamma.c: Likewise.
52841 * math/w_lgamma_r.c: Likewise.
52842 * math/w_lgammaf.c: Likewise.
52843 * math/w_lgammaf_r.c: Likewise.
52844 * math/w_lgammal.c: Likewise.
52845 * math/w_lgammal_r.c: Likewise.
52846 * math/w_sinh.c: Likewise.
52847 * math/w_sinhf.c: Likewise.
52848 * math/w_sinhl.c: Likewise.
52849 * math/w_tgamma.c: Likewise.
52850 * math/w_tgammaf.c: Likewise.
52851 * math/w_tgammal.c: Likewise.
52852 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52853 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52854 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52855 Minor optimizations. Pretty printing. Remove cruft.
52856 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52857 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52858 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52859 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52860 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52861 * sysdeps/i386/fpu/e_asin.S: Likewise.
52862 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52863 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52864 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52865 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52866 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52867 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52868 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52869 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52870 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52871 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52872 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52873 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52874 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52875 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52876 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52877 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52878 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52879 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52880 * sysdeps/i386/fpu/e_log.S: Likewise.
52881 * sysdeps/i386/fpu/e_log10.S: Likewise.
52882 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52883 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52884 * sysdeps/i386/fpu/e_log2.S: Likewise.
52885 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52886 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52887 * sysdeps/i386/fpu/e_logf.S: Likewise.
52888 * sysdeps/i386/fpu/e_logl.S: Likewise.
52889 * sysdeps/i386/fpu/e_pow.S: Likewise.
52890 * sysdeps/i386/fpu/e_powf.S: Likewise.
52891 * sysdeps/i386/fpu/e_powl.S: Likewise.
52892 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52893 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52894 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52895 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52896 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52897 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52898 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52899 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52900 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52901 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52902 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52903 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52904 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52905 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52906 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52907 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52908 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52909 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52910 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52911 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52912 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52913 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52914 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52915 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52917 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52918 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52919 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52920 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52921 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52922 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52923 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52924 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52925 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52926 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52927 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52928 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52929 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52930 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52931 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52932 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52933 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52934 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52935 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52936 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52937 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52938 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52939 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52940 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52941 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52942 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52943 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52944 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52945 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52946 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52947 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52948 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52949 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52950 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52951 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52952 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52953 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52954 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52955 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52956 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52957 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52958 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52959 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52960 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52961 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52962 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52963 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52964 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52965 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52966 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52967 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52968 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52969 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52970 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52971 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52972 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52973 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52974 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52975 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52976 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52977 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52978 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52979 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52980 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52981 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52982 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52983 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52984 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52985 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52986 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52987 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52988 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52989 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52990 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52991 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52992 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52993 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52994 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52995 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52996 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52997 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52998 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52999 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53000 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53001 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53002 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53003 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53004 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53005 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53006 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53007 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53008 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53009 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53010 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53011 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53012 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53013 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53014 (__isnanf): Likewise.
53015 (__isinf_ns): Likewise.
53016 (__isinf_nsf): Likewise.
53017 (__finite): Likewise.
53018 (__finitef): Likewise.
53019 (__ieee754_sqrt): Define as macro.
53020 (__ieee754_sqrtf): Define as macro.
53021 (__ieee754_sqrtl): Define as macro.
53022 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53023 inlined copy.
53024 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53025 __FINITE_MATH_ONLY__ consistent.
53026 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53027
12cc2fcd
AS
530282011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53029
a843a204
AS
53030 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53031 of rawmemchr.
53032
12cc2fcd
AS
53033 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53034
c853acd5
UD
530352011-10-09 Ulrich Drepper <drepper@gmail.com>
53036
53037 * po/ja.po: Update from translation team.
53038
c658d255
RM
530392011-10-08 Roland McGrath <roland@hack.frob.com>
53040
110946e4
RM
53041 * locale/programs/locarchive.c (prepare_address_space): New function.
53042 (create_archive, enlarge_archive, open_archive): Use it.
53043
50604220
RM
53044 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53045 inside [SHARED], where it is used.
53046
c658d255
RM
53047 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53048
53049 * nss/getent.c (netgroup_keys): Remove unused variable.
53050 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53051
6a621eb7
UD
530522011-10-08 Ulrich Drepper <drepper@gmail.com>
53053
7edb55ce
UD
53054 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53055 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53056 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53057 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53058 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53059 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53060 * math/Makefile (libm-calls): Add s_isinf_ns.
53061 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53062 * math/multc3.c: Likewise.
53063 * math/s_casin.c: Likewise.
53064 * math/s_casinf.c: Likewise.
53065 * math/s_casinl.c: Likewise.
53066 * math/s_ccos.c: Likewise.
53067 * math/s_ccosf.c: Likewise.
53068 * math/s_ccosl.c: Likewise.
53069 * math/s_ctan.c: Likewise.
53070 * math/s_ctanf.c: Likewise.
53071 * math/s_ctanh.c: Likewise.
53072 * math/s_ctanhf.c: Likewise.
53073 * math/s_ctanhl.c: Likewise.
53074 * math/s_ctanl.c: Likewise.
53075 * math/w_fmod.c: Likewise.
53076 * math/w_fmodf.c: Likewise.
53077 * math/w_fmodl.c: Likewise.
53078 * math/w_remainder.c: Likewise.
53079 * math/w_remainderf.c: Likewise.
53080 * math/w_remainderl.c: Likewise.
53081 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53082 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53083 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53085 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53086 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53087 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53088 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53089
187da0ae
UD
53090 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53091 of the number.
53092 * stdio-common/printf_fphex.c: Likewise.
53093 * stdio-common/printf_size.c: Likewise.
53094
9277c064
UD
53095 * math/e_exp10.c: Include math_private.h using <...> not "...".
53096 * math/e_exp10f.c: Likewise.
53097 * math/e_exp10l.c: Likewise.
53098 * math/e_exp2l.c: Likewise.
53099 * math/e_j0l.c: Likewise.
53100 * math/e_j1l.c: Likewise.
53101 * math/e_jnl.c: Likewise.
53102 * math/e_lgammal_r.c: Likewise.
53103 * math/e_rem_pio2l.c: Likewise.
53104 * math/e_scalb.c: Likewise.
53105 * math/e_scalbf.c: Likewise.
53106 * math/e_scalbl.c: Likewise.
53107 * math/k_cosl.c: Likewise.
53108 * math/k_sinl.c: Likewise.
53109 * math/k_tanl.c: Likewise.
53110 * math/s_cacoshf.c: Likewise.
53111 * math/s_catan.c: Likewise.
53112 * math/s_catanf.c: Likewise.
53113 * math/s_catanh.c: Likewise.
53114 * math/s_catanhf.c: Likewise.
53115 * math/s_catanhl.c: Likewise.
53116 * math/s_catanl.c: Likewise.
53117 * math/s_ccosh.c: Likewise.
53118 * math/s_ccoshf.c: Likewise.
53119 * math/s_ccoshl.c: Likewise.
53120 * math/s_cexp.c: Likewise.
53121 * math/s_cexpf.c: Likewise.
53122 * math/s_cexpl.c: Likewise.
53123 * math/s_clog.c: Likewise.
53124 * math/s_clog10.c: Likewise.
53125 * math/s_clog10f.c: Likewise.
53126 * math/s_clog10l.c: Likewise.
53127 * math/s_clogf.c: Likewise.
53128 * math/s_clogl.c: Likewise.
53129 * math/s_csin.c: Likewise.
53130 * math/s_csinf.c: Likewise.
53131 * math/s_csinh.c: Likewise.
53132 * math/s_csinhf.c: Likewise.
53133 * math/s_csinhl.c: Likewise.
53134 * math/s_csinl.c: Likewise.
53135 * math/s_csqrt.c: Likewise.
53136 * math/s_csqrtf.c: Likewise.
53137 * math/s_csqrtl.c: Likewise.
53138 * math/s_ctan.c: Likewise.
53139 * math/s_ctanf.c: Likewise.
53140 * math/s_ctanh.c: Likewise.
53141 * math/s_ctanhf.c: Likewise.
53142 * math/s_ctanhl.c: Likewise.
53143 * math/s_ctanl.c: Likewise.
53144 * math/s_ldexp.c: Likewise.
53145 * math/s_ldexpf.c: Likewise.
53146 * math/s_ldexpl.c: Likewise.
53147 * math/s_significand.c: Likewise.
53148 * math/s_significandf.c: Likewise.
53149 * math/s_significandl.c: Likewise.
53150 * math/w_acos.c: Likewise.
53151 * math/w_acosf.c: Likewise.
53152 * math/w_acosh.c: Likewise.
53153 * math/w_acoshf.c: Likewise.
53154 * math/w_acoshl.c: Likewise.
53155 * math/w_acosl.c: Likewise.
53156 * math/w_asin.c: Likewise.
53157 * math/w_asinf.c: Likewise.
53158 * math/w_asinl.c: Likewise.
53159 * math/w_atan2.c: Likewise.
53160 * math/w_atan2f.c: Likewise.
53161 * math/w_atan2l.c: Likewise.
53162 * math/w_atanh.c: Likewise.
53163 * math/w_atanhf.c: Likewise.
53164 * math/w_atanhl.c: Likewise.
53165 * math/w_cosh.c: Likewise.
53166 * math/w_coshf.c: Likewise.
53167 * math/w_coshl.c: Likewise.
53168 * math/w_dremf.c: Likewise.
53169 * math/w_exp10.c: Likewise.
53170 * math/w_exp10f.c: Likewise.
53171 * math/w_exp10l.c: Likewise.
53172 * math/w_exp2.c: Likewise.
53173 * math/w_exp2f.c: Likewise.
53174 * math/w_fmod.c: Likewise.
53175 * math/w_fmodf.c: Likewise.
53176 * math/w_fmodl.c: Likewise.
53177 * math/w_hypot.c: Likewise.
53178 * math/w_hypotf.c: Likewise.
53179 * math/w_hypotl.c: Likewise.
53180 * math/w_j0.c: Likewise.
53181 * math/w_j0f.c: Likewise.
53182 * math/w_j0l.c: Likewise.
53183 * math/w_j1.c: Likewise.
53184 * math/w_j1f.c: Likewise.
53185 * math/w_j1l.c: Likewise.
53186 * math/w_jn.c: Likewise.
53187 * math/w_jnf.c: Likewise.
53188 * math/w_jnl.c: Likewise.
53189 * math/w_lgamma.c: Likewise.
53190 * math/w_lgamma_r.c: Likewise.
53191 * math/w_lgammaf.c: Likewise.
53192 * math/w_lgammaf_r.c: Likewise.
53193 * math/w_lgammal.c: Likewise.
53194 * math/w_lgammal_r.c: Likewise.
53195 * math/w_log.c: Likewise.
53196 * math/w_log10.c: Likewise.
53197 * math/w_log10f.c: Likewise.
53198 * math/w_log10l.c: Likewise.
53199 * math/w_log2.c: Likewise.
53200 * math/w_log2f.c: Likewise.
53201 * math/w_log2l.c: Likewise.
53202 * math/w_logf.c: Likewise.
53203 * math/w_logl.c: Likewise.
53204 * math/w_pow.c: Likewise.
53205 * math/w_powf.c: Likewise.
53206 * math/w_powl.c: Likewise.
53207 * math/w_remainder.c: Likewise.
53208 * math/w_remainderf.c: Likewise.
53209 * math/w_remainderl.c: Likewise.
53210 * math/w_scalb.c: Likewise.
53211 * math/w_scalbf.c: Likewise.
53212 * math/w_scalbl.c: Likewise.
53213 * math/w_sinh.c: Likewise.
53214 * math/w_sinhf.c: Likewise.
53215 * math/w_sinhl.c: Likewise.
53216 * math/w_sqrt.c: Likewise.
53217 * math/w_sqrtf.c: Likewise.
53218 * math/w_sqrtl.c: Likewise.
53219 * math/w_tgamma.c: Likewise.
53220 * math/w_tgammaf.c: Likewise.
53221 * math/w_tgammal.c: Likewise.
53222
6a621eb7
UD
53223 * po/ja.po: Update from translation team.
53224
bf582445
AJ
532252011-09-29 Andreas Jaeger <aj@suse.de>
53226
f9efbf3a
AJ
53227 [BZ #13179]
53228 * sunrpc/netname.c (netname2host): Fix logic.
53229
bf582445
AJ
53230 [BZ #6779]
53231 [BZ #6783]
53232 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53233 correctly.
53234 * math/w_remainder.c (__remainder): Likewise.
53235 * math/w_remainderf.c (__remainderf): Likewise.
53236 * math/libm-test.inc (remainder_test): Add test cases.
53237
48693bea
AK
532382011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53239
53240 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53241 sdiv_qrnnd.
53242
42622229
LD
532432011-10-07 Ulrich Drepper <drepper@gmail.com>
53244
53245 * string/test-memcmp.c: Avoid unncessary #defines.
53246 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53247
093ecf92
LD
532482011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53249
53250 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53251 Use new sse2 version for core i3 - i7 as it's faster
53252 than sse42 version.
53253 (bit_Prefer_PMINUB_for_stringop): New.
53254 * sysdeps/x86_64/rawmemchr.S: Update.
53255 Replace with faster SSE2 version.
53256 * sysdeps/x86_64/memrchr.S: New file.
53257 * sysdeps/x86_64/memchr.S: Update.
53258 Replace with faster SSE2 version.
53259
fde56e5c
MP
532602011-09-12 Marek Polacek <mpolacek@redhat.com>
53261
53262 * elf/dl-load.c (lose): Add cast to avoid warning.
53263
21fd49a9
UD
532642011-10-07 Ulrich Drepper <drepper@gmail.com>
53265
5a06e643
UD
53266 * po/ca.po: Update from translation team.
53267
684ae515
UD
53268 * inet/getnetgrent_r.c: Hook up nscd.
53269 * nscd/Makefile (routines): Add nscd_netgroup.
53270 (nscd-modules): Add netgroupcache.
53271 (CFLAGS-netgroupcache.c): Define.
53272 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53273 (cache_search): Add const to second parameter.
53274 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53275 INNETGR.
53276 (dbs): Add netgrdb entry.
53277 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53278 (verify_persistent_db): Handle netgrdb.
53279 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53280 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53281 GETFDNETGR.
53282 (netgroup_response_header): Define.
53283 (innetgroup_response_header): Define.
53284 (datahead): Add netgroup_response_header and innetgroup_response_header
53285 elements.
53286 * nscd/nscd.conf: Add entries for netgroup cache.
53287 * nscd/nscd.h (dbtype): Add netgrdb.
53288 (_PATH_NSCD_NETGROUP_DB): Define.
53289 (netgroup_iov_disabled): Declare.
53290 (xmalloc, xcalloc, xrealloc): Move declarations here.
53291 (cache_search): Adjust prototype.
53292 Add netgroup-related prototypes.
53293 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53294 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53295 (__nscd_innetgr): Declare.
53296 * nscd/selinux.c (perms): Use access_vector_t as element type and
53297 add netgroup-related initializers.
53298 * nscd/netgroupcache.c: New file.
53299 * nscd/nscd_netgroup.c: New file.
53300 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53301 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53302 For four parameters use innetgr.
53303 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53304 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53305 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53306 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53307
21fd49a9
UD
53308 * nscd/connections.c (register_traced_file): Don't register file
53309 for disabled databases.
53310
054c0457
UD
533112011-10-06 Ulrich Drepper <drepper@gmail.com>
53312
32b63198
UD
53313 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53314
054c0457
UD
53315 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53316 from tree and freeing node.
53317
64031225
JO
533182011-09-25 Jiri Olsa <jolsa@redhat.com>
53319
53320 * nss/nsswitch.c (__nss_database_lookup): Handle
53321 nss_parse_service_list out of memory case.
53322
0490345c
JO
533232011-09-15 Jiri Olsa <jolsa@redhat.com>
53324
53325 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53326 out of memory case.
53327
3a62d00d
AS
533282011-10-04 Andreas Schwab <schwab@redhat.com>
53329
53330 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53331 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53332 pass it down.
53333 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53334 elf_machine_rela, elf_machine_lazy_rel.
53335 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53336 (ELF_DYNAMIC_DO_REL): Likewise.
53337 (ELF_DYNAMIC_DO_RELA): Likewise.
53338 (ELF_DYNAMIC_RELOCATE): Likewise.
53339 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53340 to ELF_DYNAMIC_DO_REL.
53341 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53342 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53343 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53344 elf_machine_rela.
53345 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53346 skip_ifunc, don't call ifunc function if non-zero.
53347 (elf_machine_rela): Likewise.
53348 (elf_machine_lazy_rel): Likewise.
53349 (elf_machine_lazy_rela): Likewise.
53350 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53351 (elf_machine_lazy_rel): Likewise.
53352 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53353 Likewise.
53354 (elf_machine_lazy_rel): Likewise.
53355 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53356 Likewise.
53357 (elf_machine_lazy_rel): Likewise.
53358 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53359 (elf_machine_lazy_rel): Likewise.
53360 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53361 (elf_machine_lazy_rel): Likewise.
53362 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53363 (elf_machine_lazy_rel): Likewise.
53364 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53365 (elf_machine_lazy_rel): Likewise.
53366 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53367 (elf_machine_lazy_rel): Likewise.
53368 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53369 (elf_machine_lazy_rel): Likewise.
53370
68577918
UD
533712011-09-28 Ulrich Drepper <drepper@gmail.com>
53372
53373 * nss/nss_files/files-init.c (_nss_files_init): Use static
53374 initialization for all the *_traced_file variables.
53375
68822d74
AS
533762011-09-28 Andreas Schwab <schwab@redhat.com>
53377
53378 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53379
2056100b
RM
533802011-09-27 Roland McGrath <roland@hack.frob.com>
53381
53382 [BZ #13226]
53383 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53384
32c76b63
AS
533852011-09-27 Andreas Schwab <schwab@redhat.com>
53386
53387 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53388 Reread the line before reparsing it.
53389
bf972c9d
AS
533902011-09-26 Andreas Schwab <schwab@redhat.com>
53391
53392 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53393
e057a1b5
JM
533942011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53395 Maxim Kuvyrkov <maxim@codesourcery.com>
53396 Joseph Myers <joseph@codesourcery.com>
53397
53398 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53399 if needed for __stack_chk_guard.
53400
bc7e1c36
RM
534012011-09-19 Roland McGrath <roland@hack.frob.com>
53402
ecb1482f
RM
53403 * sysdeps/posix/spawni.c (script_execute): Always define it.
53404 It will be optimized away if unused.
53405 (maybe_script_execute): New function.
53406 (__spawni): Call it.
53407
bc7e1c36
RM
53408 * Makerules: Don't include tls.make.
53409 (config-tls): Always set to thread.
53410 * tls.make.c: File removed.
53411
1c3b002b
MF
534122011-09-19 Mike Frysinger <vapier@gentoo.org>
53413
53414 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53415 * config.make.in (CPPFLAGS-config): New substituted variable.
53416
2840865d
UD
534172011-09-15 Ulrich Drepper <drepper@gmail.com>
53418
88738eb6
UD
53419 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53420
cbf645a6 53421 [BZ #13192]
2840865d
UD
53422 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53423 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53424
b402e91a
RM
534252011-09-15 Roland McGrath <roland@hack.frob.com>
53426
53427 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53428 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53429 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53430 (CALL_FAIL): Likewise.
53431 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53432 (CALL_FAIL): Macro removed.
53433 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53434
4c1a1f71
UD
534352011-09-15 Ulrich Drepper <drepper@gmail.com>
53436
53437 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53438 for __FINITE_MATH_ONLY__ == 1.
53439
edc121be
AS
534402011-09-15 Andreas Schwab <schwab@redhat.com>
53441
53442 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53443 __ieee754_sqrt instead of sqrt.
53444 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53445 __ieee754_sqrtf instead of sqrtf.
53446 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53447 __floorf instead of floorf.
53448 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53449 __floorf, __truncf instead of floorf, truncf.
53450
cd205654
UD
534512011-09-14 Ulrich Drepper <drepper@gmail.com>
53452
ee4d0315
UD
53453 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53454
cd205654
UD
53455 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53456 __extern_always_inline.
53457 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53458 32-bit.
53459
48b67d71
AS
534602011-09-14 Andreas Schwab <schwab@redhat.com>
53461
53462 * elf/rtld.c (dl_main): Also relocate in dependency order when
53463 doing symbol dependency testing.
53464
1ae12c75
AS
534652011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53466
53467 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53468 Always define `refsym'.
53469
995a80df
AS
534702011-09-13 Andreas Schwab <schwab@redhat.com>
53471
e529793b
AS
53472 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53473 (__FD_ELT): Renamed from __FDELT.
53474 * misc/bits/select2.h (__FD_ELT): Likewise.
53475 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53476 __FD_MASK instead of __FDELT, __FDMASK.
53477 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53478 Likewise.
53479 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53480 Likewise.
53481
52d4fef8
AS
53482 * elf/Makefile (gen-ldd): Fix pattern.
53483
995a80df
AS
53484 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53485 (init_tls): Likewise.
53486
8682f8b0
UD
534872011-09-12 Ulrich Drepper <drepper@gmail.com>
53488
53489 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53490
de82006d
AS
534912011-09-12 Andreas Schwab <schwab@redhat.com>
53492
a7c8e6a1
AS
53493 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53494 `struct cmsghdr *' instead of `void *'.
53495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53496 Likewise.
53497
0f31fe77
AS
534982011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53499
53500 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53501 if non-absolute.
53502 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53503 ldd_rewrite_script.
0f31fe77 53504
32b4c839
UD
535052011-09-11 Ulrich Drepper <drepper@gmail.com>
53506
83cd1420
UD
53507 * configure.in: Remove --with-tls option.
53508 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53509 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53510 out in case it is missing.
53511 * sysdeps/ia64/elf/configure.in: Likewise.
53512 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53513 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53514 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53515 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53516 * sysdeps/sh/elf/configure.in: Likewise.
53517 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53518 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53519 * sysdeps/x86_64/elf/configure.in: Likewise.
53520 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53521 * sysdeps/mach/hurd/tls.h: Likewise.
53522
633f745d
UD
53523 [BZ #13067]
53524 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53525
f318beb8
UD
53526 [BZ #13090]
53527 * configure.in: Fix use of AC_INIT.
53528
32b4c839
UD
53529 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53530
3ce1f295
UD
535312011-09-10 Ulrich Drepper <drepper@gmail.com>
53532
bb016596
UD
53533 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53534 __set_errno.
8e58439c
UD
53535 * malloc/hooks.c: Likewise.
53536
aebae053 53537 [BZ #11929]
02d46fc4
UD
53538 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53539 variables statically.
53540 (narenas): Initialize.
53541 (list_lock): Initialize.
bb016596
UD
53542 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53543 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53544 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53545 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53546 Add initializers to main_arena and mp_.
53547 (malloc_state): Remove pagesize member. Change all users to use
53548 GLRO(dl_pagesize).
53549
53550 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53551 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53552 is always initialized.
53553
22a89187
UD
53554 * malloc/malloc.c: Removed unused configurations and dead code.
53555 * malloc/arena.c: Likewise.
53556 * malloc/hooks.c: Likewise.
02d46fc4 53557 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53558
d063d164
UD
53559 * include/tls.h: Removed. USE___THREAD must always be defined.
53560 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53561 * elf/dl-libc.c: Likewise.
53562 * elf/dl-tsd.c: Likewise.
53563 * include/errno.h: Likewise.
53564 * include/netdb.h: Likewise.
53565 * include/resolv.h: Likewise.
53566 * inet/herrno-loc.c: Likewise.
53567 * inet/herrno.c: Likewise.
53568 * malloc/arena.c: Likewise.
53569 * malloc/hooks.c: Likewise.
53570 * malloc/malloc.c: Likewise.
53571 * resolv/res-state.c: Likewise.
53572 * resolv/res_libc.c: Likewise.
53573 * sysdeps/i386/dl-machine.h: Likewise.
53574 * sysdeps/ia64/dl-machine.h: Likewise.
53575 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53576 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53577 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53578 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53579 * sysdeps/sh/dl-machine.h: Likewise.
53580 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53581 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53582 * sysdeps/unix/i386/sysdep.S: Likewise.
53583 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53584 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53585 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53586 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53587 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53588 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53589 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53590 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53591 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53593 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53594 * sysdeps/x86_64/dl-machine.h: Likewise.
53595 * tls.make.c: Likewise.
53596
3ce1f295
UD
53597 * configure.in: Remove --with-__thread option. Make tests for
53598 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53599 tls_model attribute fail if no support is available. Remove
53600 USE_IN_LIBIO.
53601 * Makeconfig: Adjust for dropped configure option. All features are
53602 now mandatory.
53603 * Makerules: Likewise.
53604 * Versions.def: Likewise.
53605 * argp/argp-fmtstream.c: Likewise.
53606 * argp/argp-fmtstream.h: Likewise.
53607 * argp/argp-help.c: Likewise.
53608 * assert/assert.c: Likewise.
53609 * config.h.in: Likewise.
53610 * config.make.in: Likewise.
53611 * configure: Likewise.
53612 * configure.in: Likewise.
53613 * csu/Versions: Likewise.
53614 * csu/init.c: Likewise.
53615 * elf/tst-audit2.c: Likewise.
53616 * elf/tst-tls10.c: Likewise.
53617 * elf/tst-tls10.h: Likewise.
53618 * elf/tst-tls11.c: Likewise.
53619 * elf/tst-tls12.c: Likewise.
53620 * elf/tst-tls14.c: Likewise.
53621 * elf/tst-tlsmod11.c: Likewise.
53622 * elf/tst-tlsmod12.c: Likewise.
53623 * elf/tst-tlsmod13.c: Likewise.
53624 * elf/tst-tlsmod13a.c: Likewise.
53625 * elf/tst-tlsmod14a.c: Likewise.
53626 * elf/tst-tlsmod15b.c: Likewise.
53627 * elf/tst-tlsmod16a.c: Likewise.
53628 * elf/tst-tlsmod16b.c: Likewise.
53629 * elf/tst-tlsmod7.c: Likewise.
53630 * elf/tst-tlsmod8.c: Likewise.
53631 * elf/tst-tlsmod9.c: Likewise.
53632 * gmon/gmon.c: Likewise.
53633 * grp/fgetgrent_r.c: Likewise.
53634 * grp/putgrent.c: Likewise.
53635 * hurd/fopenport.c: Likewise.
53636 * include/libc-symbols.h: Likewise.
53637 * include/tls.h: Likewise.
53638 * intl/gettextP.h: Likewise.
53639 * intl/loadinfo.h: Likewise.
53640 * locale/global-locale.c: Likewise.
53641 * locale/localeinfo.h: Likewise.
53642 * mach/devstream.c: Likewise.
53643 * malloc/arena.c: Likewise.
53644 * malloc/set-freeres.c: Likewise.
53645 * misc/err.c: Likewise.
53646 * misc/getttyent.c: Likewise.
53647 * misc/mntent_r.c: Likewise.
53648 * posix/getopt.c: Likewise.
53649 * posix/wordexp.c: Likewise.
53650 * pwd/fgetpwent_r.c: Likewise.
53651 * resolv/Versions: Likewise.
53652 * resolv/res_hconf.c: Likewise.
53653 * shadow/fgetspent_r.c: Likewise.
53654 * shadow/putspent.c: Likewise.
53655 * stdio-common/printf_fphex.c: Likewise.
53656 * stdio-common/tmpfile.c: Likewise.
53657 * stdlib/abort.c: Likewise.
53658 * stdlib/fmtmsg.c: Likewise.
53659 * sunrpc/auth_unix.c: Likewise.
53660 * sunrpc/clnt_perr.c: Likewise.
53661 * sunrpc/clnt_tcp.c: Likewise.
53662 * sunrpc/clnt_udp.c: Likewise.
53663 * sunrpc/clnt_unix.c: Likewise.
53664 * sunrpc/openchild.c: Likewise.
53665 * sunrpc/svc_simple.c: Likewise.
53666 * sunrpc/svc_tcp.c: Likewise.
53667 * sunrpc/svc_udp.c: Likewise.
53668 * sunrpc/svc_unix.c: Likewise.
53669 * sunrpc/xdr.c: Likewise.
53670 * sunrpc/xdr_array.c: Likewise.
53671 * sunrpc/xdr_rec.c: Likewise.
53672 * sunrpc/xdr_ref.c: Likewise.
53673 * sunrpc/xdr_stdio.c: Likewise.
53674
1248c1c4
PB
536752011-09-09 Ulrich Drepper <drepper@gmail.com>
53676
53677 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53678
536792011-07-03 Andreas Jaeger <aj@suse.de>
53680
53681 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53682 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53683 regenerate with gen-libm-tests.pl.
53684
536852010-05-12 Petr Baudis <pasky@suse.cz>
53686
53687 [BZ #11589]
53688 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53689 around j0() zero points by switching to j1().
53690 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53691 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53692 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53693 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53694
f22e1074
UD
536952011-09-09 Ulrich Drepper <drepper@gmail.com>
53696
f19009c1
UD
53697 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53698 instead of 0.
53699 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53700 instead of 0.
f19009c1
UD
53701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53702 Patch in part by Pavel Roskin <proski@gnu.org>.
53703
3f8cc204
UD
53704 [BZ #13138]
53705 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53706 realloc.
53707 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53708 Free memory block if necessary.
53709
f22e1074
UD
53710 [BZ #12847]
53711 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53712 be NULL. Don't lock in this case.
53713
0a2349f9
RM
537142011-09-09 Roland McGrath <roland@hack.frob.com>
53715
53716 * elf/elf.h (ELFOSABI_GNU): New macro.
53717 (ELFOSABI_LINUX): Define to that.
53718
f3cdd467
DZ
537192011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53720
53721 * string/strncat.c (strncat): Undef the symbol in case it has been
53722 defined in bits/string.h.
53723
74718d13
UD
537242011-09-09 Ulrich Drepper <drepper@gmail.com>
53725
633e9e0f
UD
53726 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53727
0a2349f9 53728 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53729 link map.
53730
f9924780
AJ
537312011-08-17 Andreas Jaeger <aj@suse.de>
53732
53733 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53734
7f5517aa
PP
537352011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53736 Ian Lance Taylor <iant@google.com>
53737
53738 * math/libm-test.inc (lround_test): New testcase.
53739 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53740
762011fe
UD
537412011-09-08 Ulrich Drepper <drepper@gmail.com>
53742
92963737
UD
53743 * Makefile: Remove support for automatic cvs check-ins.
53744 * Makerules: Likewise.
53745 * config.make.in: Likewise.
53746 * configure.in: Likewise.
53747 * intl/Makefile: Likewise.
53748 * locale/Makefile: Likewise.
53749 * po/Makefile: Likewise.
53750 * posix/Makefile: Likewise.
53751 * sysdeps/gnu/Makefile: Likewise.
53752 * sysdeps/mach/hurd/Makefile: Likewise.
53753 * sysdeps/sparc/sparc32/Makefile: Likewise.
53754
b0727fd8
JS
53755 [BZ #13118]
53756 * posix/Makefile (bug-regex32-ENV): Define.
53757 Patch by John Stanley <jpsinthemix@verizon.net>.
53758
a0f33f99
UD
53759 * misc/Makefile (headers): Add bits/select2.h.
53760 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53761 * misc/bits/select2.h: New file.
53762 * include/bits/select2.h: New file.
53763 * debug/Makefile (routines): Add fdelt_chk.
53764 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53765 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53766 FD_ISSET.
53767 * debug/fdelt_chk.c: New file.
53768
762011fe
UD
53769 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53770 * wcsmbs/test-wmemcmp.c: Likewise.
53771 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53772 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53773
537742011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53775
53776 * string/Makefile (strop-tests): Add memcmp.
53777 * string/test-wmemcmp.c: New file.
53778 * string/test-memcmp.c: Add wmemcmp support.
53779
7f513ec8
RM
537802011-09-08 Roland McGrath <roland@hack.frob.com>
53781
0442afb4
RM
53782 [BZ #13153]
53783 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53784 2011-07-19 change.
53785
7f513ec8
RM
53786 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53787 garbage value in a __mach_port_mod_refs call in the cases of the
53788 task-self and thread-self ports.
53789
a12b2239
ST
537902011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53791
53792 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53793
610f9ab4
AS
537942011-09-08 Andreas Schwab <schwab@redhat.com>
53795
7f513ec8 53796 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53797
48882a1a
LD
537982011-09-07 Ulrich Drepper <drepper@gmail.com>
53799
b49865be
UD
53800 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53801
fdc86bc9
UD
53802 * elf/dl-libc.c (dlerror_run): Pass back error code from
53803 dl_catch_error.
53804
c966526a
UD
53805 [BZ #13123]
53806 * elf/dl-load.c (lose): Free l_origin if it is valid.
53807
48882a1a
LD
53808 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53809 names.
53810 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53811 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53812 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53813 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53814 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53815 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53816
77a2a8b4
AZ
538172011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53818
53819 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53820 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53821 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53822 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53823 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53824 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53825 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53826 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53827 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53828 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53829
24f579d8
AM
538302011-08-15 Alan Modra <amodra@gmail.com>
53831
53832 [BZ #13092]
53833 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53834 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53835 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53836 ppc_mcount to static-only-routines.
53837 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53838 __mcount_internal.
53839 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53840 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53841
3d4837df
UD
538422011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53843
53844 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53845 for finite and infinity parameters.
53846
22700377
WS
538472011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53848
53849 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53850 and add nop instructions for throughput optimization.
53851 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53852
5025581e
WS
538532011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53854
53855 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53856 aligned copy for power7 with vector-scalar instructions.
53857 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53858
08a300c9
L
538592011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53860
53861 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53862 AVX check.
53863
59178ef9
AS
538642011-09-07 Andreas Schwab <schwab@redhat.com>
53865
53866 [BZ #13144]
53867 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53868 last change.
53869
e38ba7ab
UD
538702011-09-07 Ulrich Drepper <drepper@gmail.com>
53871
53872 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53873 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53874 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53875 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53876 clock_gettime.
53877
d53a73ac
UD
538782011-09-06 Ulrich Drepper <drepper@gmail.com>
53879
fc8bffcc
UD
53880 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53881 Forgot to demangle the pointer.
53882
ceaa0c5d
UD
53883 * sysdeps/i386/sysdep.h: Define atom_text_section.
53884 * sysdeps/x86_64/sysdep.h: Likewise.
53885 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53886 section with atom_text_section.
53887 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53888 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53889 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53890 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53891 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53892
a77d3c17
UD
53893 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53894 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53895 already be defined. Change to take two parameters and don't assign
53896 result to variable. Adjust all users.
53897 Define INTERNAL_GETTIME if not already defined.
53898 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53899 call.
53900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53901 HAVE_CLOCK_GETTIME_VSYSCALL.
53902 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53903
d53a73ac
UD
53904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53905 gettimeofday vsyscall, just use time.
53906
a8f84144
AS
539072011-09-06 Andreas Schwab <schwab@redhat.com>
53908
53909 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53910 <errno.h>.
53911
ef606249
UD
539122011-09-06 Ulrich Drepper <drepper@gmail.com>
53913
53914 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53915 syscall on x86-64.
53916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53917 syscall.
53918 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53919 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53920 syscall if possible.
53921
6585cb60
UD
539222011-09-05 Ulrich Drepper <drepper@gmail.com>
53923
53924 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53925 e_ident. Don't pass to find_mapsXX.
53926 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53927
a5f524e4
LD
539282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53929
53930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53931 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53932 * sysdeps/x86_64/multiarch/strchr.S: Update.
53933 Check bit_slow_BSF bit.
53934 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53935 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53936 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53937
554881ef
UD
539382011-09-05 Ulrich Drepper <drepper@gmail.com>
53939
d96de963
UD
53940 [BZ #13134]
53941 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53942 before glibc 2.15.
53943 (tryshell): Define.
53944 (__spawni): Change last parameter to be flag. Test
53945 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53946 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53947 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53948 * posix/spawni.c: Likewise.
53949 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53950 * posix/spawnp.c: Likewise. Change normal version to use
53951 SPAWN_XFLAGS_USE_PATH.
53952 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53953 SPAWN_XFLAGS_TRY_SHELL.
53954
d48e5868
UD
53955 [BZ #13150]
53956 * posix/glob.h: Remove gcc 1.x support.
53957
554881ef
UD
53958 [BZ #13068]
53959 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53960
693fb948
LD
539612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53962
53963 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53964 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53965 strrchr-sse2-bsf
53966 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53967 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53968 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53969 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53970 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53971 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53972
1b48c537
UD
539732011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53974
49d42c37
UD
53975 * sysdeps/x86_64/wcscmp.S: New file.
53976
1b48c537
UD
53977 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53978 wcscmp-c wcscmp-sse2
53979 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53980 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53981 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53982 * wcsmbs/wcscmp.c: Allow renaming.
53983
15c95c5d
DM
539842011-09-05 David S. Miller <davem@davemloft.net>
53985
53986 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53987 stack slot, rather than the struct return pointer slot.
53988 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53989 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53991 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53992
2f0ad8f3
UD
539932011-09-05 Ulrich Drepper <drepper@gmail.com>
53994
d88ae418
UD
53995 * po/ja.po: Update from translation team.
53996
2f0ad8f3
UD
53997 [BZ #13144]
53998 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53999 kernel in 64-bit binaries.
54000
5f4318d1
DM
540012011-09-01 David S. Miller <davem@davemloft.net>
54002
54003 * elf/elf.h (HWCAP_SPARC_*): Move to..
54004 * sysdeps/sparc/sysdep.h: this new file and add new values.
54005 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54006 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54007 _DL_HWCAP_COUNT to 24.
54008 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54009 entries.
54010 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54011 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54012 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54013 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54014 instead of magic constants.
54015 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54016
3ba57516
DM
540172011-08-31 David S. Miller <davem@davemloft.net>
54018
54019 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54020 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54021 Reimplement to do errno handling inline.
54022 (SYSCALL_ERROR_HANDLER): New macro.
54023 (__SYSCALL_STRING): Do not do errno handling in asm.
54024 (__CLONE_SYSCALL_STRING): Delete.
54025 (__INTERNAL_SYSCALL_STRING): Delete.
54026 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54027 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54028 (PSEUDO): Reimplement to do errno handling inline.
54029 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54030 (SYSCALL_ERROR_HANDLER): New macro.
54031 (__SYSCALL_STRING): Do not do errno handling in asm.
54032 (__CLONE_SYSCALL_STRING): Delete.
54033 (__INTERNAL_SYSCALL_STRING): Delete.
54034 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54035 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54036 i386.
54037 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54038 (inline_syscall*): Add 'err' argument.
54039 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54040 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54041 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54042 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54043
54044 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54045 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54046
2bc17433
AS
540472011-08-30 Andreas Schwab <schwab@redhat.com>
54048
54049 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54050
fbeb5f4d
JO
540512011-08-29 Jiri Olsa <jolsa@redhat.com>
54052
54053 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54054 directive.
54055
ad69cc26
DM
540562011-08-24 David S. Miller <davem@davemloft.net>
54057
54058 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54059
39dd69df
AS
540602011-08-24 Andreas Schwab <schwab@redhat.com>
54061
54062 * elf/Makefile: Add rules to build and run unload8 test.
54063 * elf/unload8.c: New file.
54064 * elf/unload8mod1.c: New file.
54065 * elf/unload8mod1x.c: New file.
54066 * elf/unload8mod2.c: New file.
54067 * elf/unload8mod3.c: New file.
54068
54069 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54070 it wasn't used.
54071
2c0b250a
DM
540722011-08-23 David S. Miller <davem@davemloft.net>
54073
54074 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54075 subtract stack bias.
54076 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54077 %sp not %fp in calculations.
54078 (_JMPBUF_UNWINDS_ADJ): Likewise.
54079
22044b48
DM
54080 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54081 (aio_suspend): Call it to force an exception region around the
54082 AIO_MISC_WAIT() invocation.
54083
2cae4995
AS
540842011-08-23 Andreas Schwab <schwab@redhat.com>
54085
54086 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54087 backslash.
54088
873a772e
AJ
540892011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54090
54091 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54092 protection macro.
54093 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54094 and <dl-machine.h>.
54095 (Elf64_FuncDesc): Remove.
54096
25ad0df1
DM
540972011-08-22 David S. Miller <davem@davemloft.net>
54098
54099 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54100 sigaltstack check, add missing cfi directives.
54101 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54102 missing cfi directives, and sigaltstack handling.
54103
e888bcbe
AS
541042011-08-16 Andreas Schwab <schwab@redhat.com>
54105
54106 [BZ #11724]
54107 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54108 object is seen twice.
54109 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54110
54111 * elf/Makefile (distribute): Add tst-initorder2.c.
54112 (tests): Add tst-initorder2.
54113 (modules-names): Add tst-initorder2a tst-initorder2b
54114 tst-initorder2c tst-initorder2d. Add rules to build them.
54115 ($(objpfx)tst-initorder2.out): New rule.
54116 * elf/tst-initorder2.c: New file.
54117 * elf/tst-initorder2.exp: New file.
54118
87162f46
AS
541192011-08-22 Andreas Schwab <schwab@redhat.com>
54120
70538b7f
AS
54121 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54122
f55ffe58
AS
54123 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54124 dependencies back to end of function.
54125
87162f46
AS
54126 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54127 $(elfobjdir)/ld.so.
54128
91b392a4
UD
541292011-08-21 Ulrich Drepper <drepper@gmail.com>
54130
54131 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54132 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54133 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54134 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54135 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54136 of __vdso_gettimeofday.
54137 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54138 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54139 attribute_hidden.
54140 (_libc_vdso_platform_setup): Remove initialization of
54141 __vdso_gettimeofday and __vdso_time.
54142
5c43483f
UD
541432011-08-20 Ulrich Drepper <drepper@gmail.com>
54144
775a77e7
UD
54145 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54146 and fgetc_unlocked.
54147 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54148 getc_unlocked.
89f447ed 54149
49c74ba9
UD
54150 * elf/dl-open.c (add_to_global): Report additions to the global scope
54151 for LD_DEBUG=scopes.
54152 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 54153 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 54154
5c43483f
UD
54155 [BZ #13114]
54156 * stdio-common/Makefile (tests): Add bug24.
54157 * stdio-common/bug24.c: New file.
54158
a101b025
AJ
541592011-08-19 Andreas Jaeger <aj@suse.de>
54160
54161 [BZ #13114]
54162 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54163 non-existant file when using close-on-exec mode.
54164
c88f1766
UD
541652011-08-20 Ulrich Drepper <drepper@gmail.com>
54166
0276a718
UD
54167 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54168 the very first instruction.
54169
c88f1766
UD
54170 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54171 the CFI state in the end.
54172 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54173 inclusion of dl-trampoline.h.
54174 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54175
51ccffa0
AS
541762011-08-19 Andreas Schwab <schwab@redhat.com>
54177
94d7165f
AS
54178 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54179 expectations for long double.
54180
51ccffa0
AS
54181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54182 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54183
fd708658 541842011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54185
54186 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54187 artificual limit depends upon the system page size.
54188
44f0a71e
UD
541892011-08-17 Ulrich Drepper <drepper@gmail.com>
54190
54191 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54192 * resolv/Makefile: Define CFLAGS-libresolv.
54193
8de79a24
AS
541942011-08-17 Andreas Schwab <schwab@redhat.com>
54195
54196 * nss/makedb.c (compute_tables): Make variables used in nested
54197 function static.
54198
27724598
UD
541992011-08-17 Ulrich Drepper <drepper@gmail.com>
54200
c5305d88
UD
54201 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54202 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54203 if buffer was too small.
54204
27724598
UD
54205 * elf/pldd.c (main): Attach to all threads in the process.
54206 Rewrite /proc handling to use *at functions.
54207
076fe015
UD
542082011-08-16 Ulrich Drepper <drepper@gmail.com>
54209
174baab3
UD
54210 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54211 specifies first scope to show.
54212 (dl_open_worker): Update callers. Move printing scope of new
54213 object to before the relocation.
44f0a71e 54214 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54215 * sysdeps/generic/ldsodefs.h: Update declaration.
54216
076fe015
UD
54217 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54218 string for the scope number.
54219
a60df2c3
UD
542202011-08-14 Ulrich Drepper <drepper@gmail.com>
54221
54222 * nscd/servicescache.c (cache_addserv): Make sure written is always
54223 initialized.
54224
5e4287d1
RM
542252011-08-14 Roland McGrath <roland@hack.frob.com>
54226
85ae0589
RM
54227 * sysdeps/i386/i486/bits/atomic.h
54228 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54229 statement expression, so as to suppress "set but not used" warning.
54230 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54231
69f63097
RM
54232 * string/strncat.c (STRNCAT): Use prototype definition.
54233
675456ef
RM
54234 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54235 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54236 -Iprograms here.
54237 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54238 (localedef-modules): Add localedef.
54239 (locale-modules): Add locale.
54240
5e4287d1
RM
54241 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54242 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54243 to avoid a warning.
54244
9c96ff23
DM
542452011-08-14 David S. Miller <davem@davemloft.net>
54246
54247 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54248 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54249
f9ddf089
UD
542502011-08-13 Ulrich Drepper <drepper@gmail.com>
54251
44f0a71e 54252 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54253 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54254 * elf/rtld.c (dl_main): Set l_name of vDSO.
54255 Call _dl_show_scope when DL_DEBUG_SCOPES.
54256 (process_dl_debug): Recognize scopes flag and also set it for all.
54257 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54258 Declare _dl_show_scope.
54259
1dc27704
UD
54260 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54261 (do_dlopen): Pass caller_dlopen to dl_open.
54262 (__libc_dlopen_mode): Initialize caller_dlopen.
54263
f9ddf089
UD
54264 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54265 of libc. Make tolower call locale-independent. Optimize a bit by
54266 using isdigit instead of isalnum.
54267 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54268
9ac533d3
UD
542692011-08-12 Ulrich Drepper <drepper@gmail.com>
54270
54271 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54272 was a dependency or dynamically loaded.
54273
89edf2e9
UD
542742011-08-11 Ulrich Drepper <drepper@gmail.com>
54275
8e999d29
UD
54276 * intl/l10nflist.c: Allow architecture-specific pop function.
54277 * sysdeps/x86_64/l10nflist.c: New file.
54278
89edf2e9
UD
54279 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54280 classification.
54281
14d96785
AS
542822011-08-10 Andreas Schwab <schwab@redhat.com>
54283
54284 * include/dirent.h: Add libc_hidden_proto for scandirat and
54285 scandirat64. Don't declare __scandirat64.
54286 * dirent/scandirat.c: Add libc_hidden_def.
54287 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54288 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54289
6761ac04
DM
542902011-08-10 David S. Miller <davem@davemloft.net>
54291
54292 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54293 enum.
54294 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54295 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54296 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54297
c55fbd1e
UD
542982011-08-09 Ulrich Drepper <drepper@gmail.com>
54299
54300 * Versions.def [libc]: Add GLIBC_2.15.
54301 * dirent/Makefile (routines): Add scandirat and scandirat64.
54302 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54303 GLIBC_2.15.
54304 * dirent/dirent.h: Declare scandirat and scandirat64.
54305 * dirent/scandirat.c: New file.
54306 * dirent/scandirat64.c: New file.
54307 * sysdeps/wordsize-64/scandirat.c: New file.
54308 * sysdeps/wordsize-64/scandirat64.c: New file.
54309 * dirent/opendir.c: Define opendirat.
54310 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54311 using scandirat.
54312 * dirent/scandir64.c: Adjust for scandir.c change.
54313 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54314 __scandirat64, and __scandir_cancel_handler.
54315 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54316 additional parameter and use openat instead of open (outside of ld.so).
54317 Add new __opendir as wrapper around __opendirat.
54318 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54319 here without requiring old scandirat implementation.
54320
879165f2
UD
543212011-08-08 Ulrich Drepper <drepper@gmail.com>
54322
54323 * dirent/scandir.c (cancel_handler): Renamed to
54324 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54325 defined. Adjust users.
54326 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54327 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54328
cb7e923b
UD
543292011-08-04 Ulrich Drepper <drepper@gmail.com>
54330
16292edd
UD
54331 * string/test-string.h (IMPL): Use __STRING to expand name and then
54332 stringify it.
54333
cb7e923b
UD
54334 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54335 of cleanups.
54336
cff82933
LD
543372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54338
54339 * string/Makefile: Update.
54340 (strop-tests): Append strncat.
54341 * string/test-wcscmp.c: New file.
54342 New comprehensive test for wcscmp.
54343 * string/test-strcmp.c: Update.
54344 (WIDE): New define.
54345
9be9bfcc
AS
543462011-07-22 Andreas Schwab <schwab@redhat.com>
54347
54348 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54349 line.
54350
2e96f1c7
AS
543512011-07-26 Andreas Schwab <schwab@redhat.com>
54352
54353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54354 encoding to ACE if AI_IDN.
54355
85188888
JJ
543562011-08-01 Jakub Jelinek <jakub@redhat.com>
54357
54358 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54359 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54360
5fa16e9b
LD
543612011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54362
54363 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54364 Fix overflow bug in strncat.
54365 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54366
54367 * string/test-strncat.c: Update.
54368 Add new tests for checking overflow bugs.
54369
543702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54371
54372 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54373 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54374 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54375 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54376 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54377 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54378 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54379 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54380 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54381
54382 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54383 (USE_AS_STRCAT): Define.
54384 Add strcat and strncat support.
54385 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54386
8c1a459f
AS
543872011-07-25 Andreas Schwab <schwab@redhat.com>
54388
54389 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54390 __n bigger than INT_MAX+1.
54391 (__strncmp_g): Likewise.
54392
bba33c28
UD
543932011-07-23 Ulrich Drepper <drepper@gmail.com>
54394
798be72d
UD
54395 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54396 * libio/stido.h: Likewise.
54397
8accd4dc
UD
54398 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54399 (AF_NFC): Define.
54400 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54401 (AF_NFC): Define.
54402
cbff0d96
UD
54403 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54404 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54405 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54406 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54407 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54408
9191c04a
UD
54409 [BZ #13021]
54410 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54411 installed.
54412
bba33c28
UD
54413 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54414 typo.
54415 (_dl_x86_64_save_sse): Likewise.
54416
90f139dd
UD
544172011-07-22 Ulrich Drepper <drepper@gmail.com>
54418
1aae088a
UD
54419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54420 OSXSAVE.
54421 (_dl_x86_64_save_sse): Likewise.
54422
8e2045f5
UD
54423 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54424
90f139dd
UD
54425 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54426
1d002f25
AS
544272011-07-21 Andreas Schwab <schwab@redhat.com>
54428
54429 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54430 change.
54431 (_dl_x86_64_save_sse): Use correct AVX check.
54432
21137f89
UD
544332011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54434
54435 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54436 bug in strncpy/strncat.
54437 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54438
a65c0b7a
UD
544392011-07-21 Ulrich Drepper <drepper@gmail.com>
54440
54441 * string/tester.c (test_strcat): Add tests for different alignments
54442 of source and destination.
54443 (test_strncat): Likewise.
54444
6986b98a
UD
544452011-07-20 Ulrich Drepper <drepper@gmail.com>
54446
90bb2039
UD
54447 [BZ #12852]
54448 * posix/glob.c (glob): Check passed in values before using them in
54449 expressions to avoid some overflows.
54450 (glob_in_dir): Likewise.
54451
5644ef54
UD
54452 [BZ #13007]
54453 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54454 check for AVX enablement so that we don't crash with old kernels and
54455 new hardware.
54456 * elf/tst-audit4.c: Add same checks here.
54457 * elf/tst-audit6.c: Likewise.
54458
54459 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54460
bfc9dc9b
AS
544612011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54462
54463 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54464
702e64bb
UD
544652011-07-20 Ulrich Drepper <drepper@gmail.com>
54466
54467 * po/cs.po: Update from translation team.
54468 * po/bg.po: Likewise.
54469
295e904f
MP
544702011-07-12 Marek Polacek <mpolacek@redhat.com>
54471
54472 * misc/sys/cdefs.h: Add support for const attribute.
54473 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54474 to gnu_dev_{major,minor,makedev} functions.
54475
3ff94596
MP
544762011-07-20 Marek Polacek <mpolacek@redhat.com>
54477
54478 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54479
28b59fca
AS
544802011-07-20 Andreas Schwab <schwab@redhat.com>
54481
54482 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54483 strlen results.
54484
19df733e
AK
544852011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54486
54487 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54488 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54489 register in order to avoid conflicts with the soft frame pointer
54490 being held in r11 when necessary.
54491 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54492 (INTERNAL_VSYSCALL_NCS): Likewise.
54493
c8835729
MP
544942011-07-14 Marek Polacek <mpolacek@redhat.com>
54495
54496 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54497 * elf/dl-fini.c (_dl_fini): Adjust caller.
54498 * elf/dl-close.c (_dl_close_worker): Likewise.
54499 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54500
b902330c
MP
545012011-07-15 Marek Polacek <mpolacek@redhat.com>
54502
8991e135
MP
54503 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54504 "aux_cache->nlibs < 0".
54505
b902330c
MP
54506 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54507 in the reload-count case.
54508
99710781
LD
545092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54510
54511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54512 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54513 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54514 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54515 * sysdeps/x86_64/multiarch/strcat.S: New file.
54516 * sysdeps/x86_64/multiarch/strncat.S: New file.
54517 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54518 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54519 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54520 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54521 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54522 (USE_AS_STRCAT): Define.
54523 Add strcat and strncat support.
54524 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54525 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54526 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54527 * string/strncat.c: Update.
54528 (USE_AS_STRNCAT): Define.
54529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54530 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54531 and i7.
54532 * sysdeps/x86_64/multiarch/init-arch.h
54533 (bit_Prefer_PMINUB_for_stringop): New.
54534 (index_Prefer_PMINUB_for_stringop): Likewise.
54535 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54536 bit_Prefer_PMINUB_for_stringop.
54537
7dc6bd90
UD
545382011-07-19 Ulrich Drepper <drepper@gmail.com>
54539
54540 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54541 buffer64.
54542 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54543 of casting of buffer.
54544 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54545 buffer32 and buffer64.
54546 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54547 writes instead of casting of buffer.
54548 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54549 buffer32.
54550 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54551 casting of buffer.
54552
e0e72284
AS
545532011-07-19 Andreas Schwab <schwab@redhat.com>
54554
54555 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54556
feb1eb0b
UD
545572011-07-19 Ulrich Drepper <drepper@gmail.com>
54558
54559 * nscd/nscd.c (termination_handler): Don't do anything for a database
54560 if it has not yet been initialized.
54561
298711ff
UD
545622011-07-18 Ulrich Drepper <drepper@gmail.com>
54563
54564 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54565
545662011-07-15 Marek Polacek <mpolacek@redhat.com>
54567
54568 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54569
f9d68389
UD
545702011-07-18 Ulrich Drepper <drepper@gmail.com>
54571
54572 * po/nl.po: Update from translation team.
54573 * po/sv.po: Likewise.
54574
db290cf5
RM
545752011-07-16 Roland McGrath <roland@hack.frob.com>
54576
54577 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54578 now disallowed by GCC.
5c550700 54579
fd5e21c7
RM
54580 * configure.in (use-default-link): Default to yes if a test -shared
54581 link meets our qualifications.
54582 * configure: Regenerated.
54583
5c550700
RM
54584 * config.make.in (output-format): New variable.
54585 * configure.in: Check for ld --print-output-format support.
54586 * configure: Regenerated.
54587 * Makerules ($(common-objpfx)format.lds)
54588 [$(output-format) != unknown]: Just use $(output-format),
54589 instead of the linker-script munging.
54590
9fa2c032
RM
545912011-07-14 Roland McGrath <roland@hack.frob.com>
54592
a6928d51
RM
54593 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54594 of $(common-objpfx)shlib.lds.
54595 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54596
661607b3
RM
54597 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54598 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54599
9fa2c032
RM
54600 * configure.in (-z relro check): Adjust test code to add a large
54601 writable data section after it.
54602 * configure: Regenerated.
54603
defe9061
RM
546042011-07-11 Roland McGrath <roland@hack.frob.com>
54605
54606 * configure.in (-z relro check): Fix test code to make the variable
54607 truly const.
54608 * configure: Regenerated.
54609
319b9ad4
UD
546102011-07-11 Ulrich Drepper <drepper@gmail.com>
54611
54612 * nscd/nscd.h (struct traced_file): Define.
54613 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54614 elements. Add traced_files.
54615 (inotify_fd): Declare.
54616 (register_traced_file): Declare.
54617 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54618 (inotify_fd): Export.
54619 (resolv_conf_descr): Remove.
54620 (nscd_init): Move inotify descriptor creation to main.
54621 Don't register files for notification here.
54622 (register_traced_file): New function.
54623 (invalidate_cache): Don't use reset_res to determine whether to call
54624 res_init, go through the list of registered files.
54625 (main_loop_poll): The inotify descriptors are now stored in the
54626 structures for the traced files.
54627 (main_loop_epoll): Likewise
54628 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54629 to __nss_disable_nscd.
54630 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54631 for a database anymore. Check the records for all the registered
54632 files instead.
54633 * nss/Makefile (libnss_files-routines): Add files-init.
54634 (libnss_db-routines): Add db-init.
54635 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54636 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54637 * nss/nss_db/db-init.c: New file.
54638 * nss/nss_files/files-init.c: New file.
54639 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54640 __nss_lookup_function.
54641 (__nss_lookup_function): Call nss_load_library.
54642 (nss_load_all_libraries): New function.
54643 (__nss_disable_nscd): Take parameter with callback function for files
54644 to register. Set is_nscd. Load all the DSOs for the NSS modules
54645 used for the cached services.
54646 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54647 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54648 options for features to all the files in nscd.
54649
54650 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54651
23bee3e8
RM
546522011-07-10 Roland McGrath <roland@hack.frob.com>
54653
54654 * csu/elf-init.c (__libc_csu_init): Comment typo.
54655
46a5b7f0
UD
546562011-07-09 Ulrich Drepper <drepper@gmail.com>
54657
54658 * po/pl.po: Update from translation team.
54659 * po/ja.po: Likewise.
54660 * po/ru.po: Likewise.
54661 * po/ko.po: Likewise.
54662 * po/fr.po: Likewise.
54663
d30cf5bb
RM
546642011-07-09 Roland McGrath <roland@hack.frob.com>
54665
113ddea4
RM
54666 * configure.in (.ctors/.dtors header and trailer check):
54667 Use an empirical test on a built program.
54668 * configure: Regenerated.
54669
574920b4
RM
54670 * configure.in (-z relro check): Use an empirical test on a built DSO.
54671 Detect, but do not require, on ia64.
54672 * configure: Regenerated.
54673
d30cf5bb
RM
54674 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54675 Update tests that use readelf to use $READELF instead.
54676 * configure: Regenerated.
54677
8538fdb3
UD
546782011-07-08 Ulrich Drepper <drepper@gmail.com>
54679
54680 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54681 if the result is not used.
54682
04d08991
AJ
546832011-07-05 Andreas Jaeger <aj@suse.de>
54684
54685 [BZ#9696]
54686 * stdlib/tst-strtod.c: Add testcase.
54687
de283087
AD
546882011-07-07 Ulrich Drepper <drepper@gmail.com>
54689
4e5f31c8 54690 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54691 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54692 The latter has a higher limit. Take additional parameter to pass to
54693 the new function.
54694 (__pathconf): Pass file to __statfs_link_max.
54695 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54696 __statfs_link_max.
54697 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54698 __statfs_link_max.
54699
de283087
AD
54700 [BZ #12868]
54701 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54702 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54703 Handle Lustre.
54704 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54705 (__statfs_filesize_max): Likewise.
54706 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54707
c75fa153
AJ
547082011-07-05 Andreas Jaeger <aj@suse.de>
54709
54710 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54711
1a544854
UD
547122011-07-06 Marek Polacek <mpolacek@redhat.com>
54713
54714 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54715 `status' variable.
54716 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54717 Likewise.
54718
6f0eec67
UD
547192011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54720
54721 * Makefile (strop-tests): Add strncat.
54722 * string/test-strncat.c: New file.
54723
aae30307
UD
547242011-06-30 Marek Polacek <mpolacek@redhat.com>
54725
54726 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54727
c0cfb5eb
UD
547282011-06-21 Andreas Jaeger <aj@suse.de>
54729
54730 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54731 Copy rule from iconvdata/Makefile.
54732
01636b21
UD
547332011-07-06 Ulrich Drepper <drepper@gmail.com>
54734
54735 [BZ #12922]
54736 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54737 but no long options are defined, just return 'W'.
54738
9895c8bc
UD
547392011-06-22 Marek Polacek <mpolacek@redhat.com>
54740
54741 [BZ #9696]
54742 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54743
5d4cf042
UD
547442011-07-06 Ulrich Drepper <drepper@gmail.com>
54745
54746 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54747 netgroups to read.
960e5535 54748 (innetgr): Likewise.
5d4cf042 54749
751eb97e
RM
547502011-07-05 Roland McGrath <roland@hack.frob.com>
54751
54752 * config.make.in (install_root): Default to $(DESTDIR).
54753
f15f1e45
UD
547542011-07-05 Ulrich Drepper <drepper@gmail.com>
54755
54756 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54757
4e34ac6a
RM
547582011-07-02 Roland McGrath <roland@hack.frob.com>
54759
5e9b6af4
RM
54760 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54761
84f9ea0f
RM
54762 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54763 containing directory rather than embedding absolute directory names.
54764
ea5ee9f7
RM
54765 * scripts/check-local-headers.sh: Rewritten using awk.
54766 Match by word, not by line. Print error messages for matches.
54767 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54768
1b74661a
RM
54769 * Makerules [shlib-lds-flags empty]:
54770 ($(common-objpfx)libc_pic.opts): New target.
54771 ($(common-objpfx)libc_pic.os.clean): New target.
54772 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54773
54774 * config.make.in (OBJCOPY): New variable.
54775 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54776 * configure: Regenerated.
54777
f781ef40
RM
54778 * config.make.in (use-default-link): New variable.
54779 * configure.in (use_default_link): Grok --with-default-link to set it.
54780 * configure: Regenerated.
54781 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54782 (shlib-lds, shlib-lds-flags): Define to empty.
54783
2d4fa81e
RM
54784 * Makerules (shlib-lds): New variable.
54785 (shlib-lds-flags): New variable.
54786 (build-shlib, build-moduile, build-module-asneeded): Use it.
54787 ($(common-objpfx)libc.so): Use $(shlib-lds).
54788 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54789 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54790
31fffa6b
RM
54791 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54792 DT_FLAGS/DT_FLAGS_1 with zero flags.
54793
4e34ac6a
RM
54794 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54795 linker script munging.
54796
fcfc776b
UD
547972011-07-02 Ulrich Drepper <drepper@gmail.com>
54798
54799 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54800 as 128-bit value.
54801 * crypt/sha512.c (sha512_process_block): Perform total addition using
54802 128-bit if possible.
54803 (__sha512_finish_ctx): Likewise.
54804 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54805 as 64-bit value.
54806 * crypt/sha256.c (SWAP64): Define.
54807 (sha256_process_block): Perform total addition using 64-bit if
54808 possible.
54809 (__sha256_finish_ctx): Likewise.
54810
99231d9a
UD
548112011-07-01 Ulrich Drepper <drepper@gmail.com>
54812
54813 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54814 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54815 * nscd/hstcache.c (cache_addhst): Likewise.
54816 * nscd/grpcache.c (cache_addgr): Likewise.
54817 * nscd/aicache.c (addhstaiX): Likewise
54818 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54819
445b4a53
TK
548202011-07-01 Thorsten Kukuk <kukuk@suse.de>
54821
54822 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54823 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54824 * nscd/hstcache.c (cache_addhst): Likewise.
54825 * nscd/grpcache.c (cache_addgr): Likewise.
54826 * nscd/aicache.c (addhstaiX): Likewise
54827
6d4d8e8e
AS
548282011-07-01 Andreas Schwab <schwab@redhat.com>
54829
54830 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54831 domain only when needed.
54832
89f654c5
AS
548332011-06-30 Andreas Schwab <schwab@redhat.com>
54834
54835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54836 is always restored.
54837
cf3b23ff
UD
548382011-06-29 Ulrich Drepper <drepper@gmail.com>
54839
54840 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54841 are re-adding the entry.
54842 * nscd/servicescache.c (cache_addserv): Likewise.
54843
751626f9
AJ
548442011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54845
54846 * sysdeps/generic/dl-irel.h: fix protection against multiple
54847 inclusions.
54848 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54849
9113ea1f
UD
548502011-06-28 Ulrich Drepper <drepper@gmail.com>
54851
5c0b8d90
UD
54852 [BZ #12935]
54853 * malloc/memusage.sh: Fix quoting in message.
54854 * debug/xtrace.sh: Likewise.
54855
9113ea1f
UD
54856 * configure.in: Remove support for --experimental-malloc option, make
54857 it the default.
54858 * config.make.in: Likewise.
54859 * malloc/Makefile: Likewise.
54860
a4172181
AS
548612011-06-27 Andreas Schwab <schwab@redhat.com>
54862
54863 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54864 two-byte characters.
54865
78a7eee7
RM
548662011-06-27 Roland McGrath <roland@hack.frob.com>
54867
62bede13
RM
54868 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54869 AC_CACHE_CHECK invocation.
54870 * configure: Regenerated.
54871
78a7eee7
RM
54872 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54873
5ce33a62
UD
548742011-06-27 Ulrich Drepper <drepper@gmail.com>
54875
034807a9
UD
54876 [BZ #12350]
54877 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54878 bit from old_res_options.
54879
4902da17
UD
54880 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54881
5ce33a62
UD
54882 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54883 value type for setfct.
54884
c2344f56
L
548852011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54886
54887 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54888 __gettimeofday instead of gettimeofday.
54889
68468076
UD
548902011-06-26 Ulrich Drepper <drepper@gmail.com>
54891
54892 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54893
acb0d739
L
548942011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54895
54896 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54897
54898 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54899 info.
54900
8912479f
L
549012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54902
54903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54904 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54905 strcpy-sse2-unaligned strncpy-sse2-unaligned
54906 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54907 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54908 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54909 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54910 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54911 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54912 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54913 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54914 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54915 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54916 (STRCPY): Support SSE2 and SSSE3 versions.
54917
d5495a11
UD
549182011-06-24 Ulrich Drepper <drepper@gmail.com>
54919
54920 [BZ #12874]
54921 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54922 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54923 kernels which artificially limit size of requests.
54924
0b1cbaae
L
549252011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54926
54927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54928 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54929 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54930 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54931 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54932 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54933 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54934 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54935 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54936 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54937 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54938 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54939 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54940 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54941 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54943 Enable unaligned load optimization for Intel Core i3, i5 and i7
54944 processors.
54945 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54946 Define.
54947 (index_Fast_Unaligned_Load): Define.
54948 (HAS_FAST_UNALIGNED_LOAD): Define.
54949
07f494a0
MP
549502011-06-23 Marek Polacek <mpolacek@redhat.com>
54951
54952 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54953
fa3fc0fe
UD
549542011-06-22 Ulrich Drepper <drepper@gmail.com>
54955
54956 [BZ #12907]
54957 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54958 until it is clear that the information is realy needed.
54959 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54960
e12df166
AS
549612011-06-22 Andreas Schwab <schwab@redhat.com>
54962
54963 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54964
852eb34d
UD
549652011-06-22 Ulrich Drepper <drepper@gmail.com>
54966
84e2a551
UD
54967 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54968 /sys/devices/system/cpu/online if it is usable.
54969
852eb34d
UD
54970 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54971 reading the information from the /proc filesystem to once a second.
54972
6e502e19
UD
549732011-06-21 Andreas Jaeger <aj@suse.de>
54974
54975 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54976 NULL after inclusion of kernel headers.
54977
75d39ff2
UD
549782011-06-21 Ulrich Drepper <drepper@gmail.com>
54979
51f9aa6a
UD
54980 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54981 calls to internal_setent.
54982
c0244a9d
UD
54983 [BZ #12885]
54984 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54985 addresses using gethostbyname4_r ignore IPv4 addresses.
54986
c5e3c2ae
UD
54987 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54988 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54989
75d39ff2
UD
54990 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54991
42675c6f
DM
549922011-06-20 David S. Miller <davem@davemloft.net>
54993
54994 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54995 inclusions.
54996 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54997
54998 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54999 (elf_irel): Use it.
55000 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55001 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55002 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55003 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55004 * sysdeps/x86_64/dl-irel.h: Likewise.
55005
55006 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55007 * elf/dl-sym.c: Likewise.
55008
57912a71
UD
550092011-06-15 Ulrich Drepper <drepper@gmail.com>
55010
55011 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55012 need to dereference resplen2.
55013
ee22793d
AS
550142011-06-14 Andreas Schwab <schwab@redhat.com>
55015
55016 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55017
a9e836b0
UD
550182011-06-15 Ulrich Drepper <drepper@gmail.com>
55019
77fb9117
UD
55020 * Makeconfig: Define vardbdir and inst_vardbdir.
55021 * nss/Makefile: Add rules to install db-Makefile.
55022
40c1b22c
UD
55023 * nss/nss_db/db-XXX.c: Cleanup.
55024
9f2da732
UD
55025 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55026 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55027 GLIBC_PRIVATE.
55028 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55029 * nss/makedb.c: Implement -g option to specify that value strings
55030 are generated and should not be added to table iterated over for
55031 get*ent calls.
55032 * nss/nss_db/db-initgroups.c: New file.
55033
82e9a1f7
UD
55034 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55035 interface.
55036
c41af17e
UD
55037 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55038 (internal_getgrouplist): Adjust to name change.
55039 Update use_initgroups_entry if this is not the first call.
55040 * nss/databases.def: Add initgroups entry.
55041
a9e836b0
UD
55042 * nss/makedb.c (compute_tables): Check result of multiple hash table
55043 sizes to minimize maximum chain length.
55044
2666d441
UD
550452011-06-14 Ulrich Drepper <drepper@gmail.com>
55046
55047 * Versions.def: Add entry for libnss_db.
55048 * shlib-versions: Likewise.
55049 * nss/Makefile: Add rules to build libnss_db.
55050 * nss/Versions: Add libnss_db information. Organize libnss_files
55051 entries better.
55052 * nss/db-Makefile: Add gshadow support. Change rules for the new
55053 makedb progra. Some minor improvements to generate smaller files.
55054 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55055 here from...
55056 * nss/makedb.c: ...here.
55057 Improve database format to be smaller and require less memory at
55058 runtime.
55059 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55060 db anymore.
55061 * nss/nss_db/db-netgrp.c: Likewise.
55062 * nss/nss_db/db-open.c: Likewise.
55063 * nss/nss_files/flies-XXX.x: Adjust comments.
55064 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55065 * nss/nss_files/files-grp.c: Likewise.
55066 * nss/nss_files/files-hosts.c: Likewise.
55067 * nss/nss_files/files-network.c: Likewise.
55068 * nss/nss_files/files-proto.c: Likewise.
55069 * nss/nss_files/files-pwd.c: Likewise.
55070 * nss/nss_files/files-rpc.c: Likewise.
55071 * nss/nss_files/files-service.c: Likewise.
55072 * nss/nss_files/files-sgrp.c: Likewise.
55073 * nss/nss_files/files-spwd.c: Likewise.
55074 * nss/nss_db/db-alias.c: Removed.
55075 * nss/nss_db/dummy-db.h: Removed.
55076
9ee76b5a
UD
550772011-06-02 Ulrich Drepper <drepper@gmail.com>
55078
55079 * nss/makedb.c: Rewritten to not use database library.
55080 * nss/Makefile: Update to build new makedb program.
55081
c71ca1f8
AJ
550822011-06-14 Andreas Jaeger <aj@suse.de>
55083
55084 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55085 memset declaration.
55086
3154bfb8
UD
550872011-06-10 Andreas Schwab <schwab@redhat.com>
55088
55089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55090 tmpbuf.
55091
b350afab
RM
550922011-06-10 Roland McGrath <roland@hack.frob.com>
55093
decd4e50
RM
55094 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55095 * elf/Makefile ($(objpfx)ld.so): Likewise.
55096
5615eaf2
RM
55097 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55098 Don't list ld.so twice in dependencies.
55099
55100 * posix/bug-regex31.c: Include <stdlib.h>.
55101
55102 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55103
55104 * nis/nss_compat/compat-spwd.c
55105 (getspent_next_nss_netgr): Remove unused variable.
55106 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55107
55108 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55109 nonmembers" output to use the right array.
55110
55111 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55112
55113 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55114
55115 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55116 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55117 * catgets/gencat.c (read_input_file): Likewise.
55118 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55119
55120 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55121 variable definition inside #if's controlling its use.
55122
55123 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55124
55125 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55126
55127 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55128
55129 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55130 unreachable code.
55131
55132 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55133
b68e08db
RM
55134 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55135 * configure: Regenerated.
55136
b350afab
RM
55137 * Makerules: Revert last change.
55138 * elf/Makefile: Likewise.
55139
28368601
RM
551402011-06-09 Roland McGrath <roland@hack.frob.com>
55141
55142 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55143 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55144 (reloc-link): Likewise.
55145
11988f8f
UD
551462011-06-09 Ulrich Drepper <drepper@gmail.com>
55147
55148 * elf/Makefile: Add rules to build pldd.
55149 * elf/pldd.c: New file.
55150 * elf/pldd-xx.c: New file.
55151
e80fab37
UD
551522011-06-07 Ulrich Drepper <drepper@gmail.com>
55153
55154 * version.h: Update for 2.15 development version.
55155
9b849836
DM
551562011-06-07 David S. Miller <davem@davemloft.net>
55157
55158 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55159 ifuncs.
55160 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55161 elf_machine_lazy_rel): Likewise.
55162 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55163 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55164 elf_machine_lazy_rel): Likewise.
55165 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55166 dl_hwcap via passed in argument.
55167 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55168 Likewise.
55169
5a31b283
AK
551702011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55171
55172 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55173
069e52f8
RM
551742011-06-06 Roland McGrath <roland@hack.frob.com>
55175
55176 [BZ #12849]
55177 * manual/fdl-1.1.texi: New file, verbatim from:
55178 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55179 * manual/lgpl-2.1.texi: New file, verbatim from:
55180 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55181 * manual/Makefile (licenses): New variable, list those new file names.
55182 (texis): Use it.
55183 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55184
55185 * manual/fdl.texi: File removed.
55186 * manual/lesser.texi: File removed.
55187 * manual/libc.texinfo (Copying, Documentation License):
55188 Use new @include file names, put @appendix directive before @include.
55189
f16846a5
JJ
551902011-06-04 Jakub Jelinek <jakub@redhat.com>
55191
55192 [BZ #12841]
55193 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55194 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55195 (mq_open): Add __NTH.
55196
3d29045b
L
551972011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55198
55199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55200 Assume Intel Core i3/i5/i7 processor if AVX is available.
55201
8c297311
UD
552022011-05-31 Ulrich Drepper <drepper@gmail.com>
55203
55204 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55205 typo.
55206
c8fc0c91
UD
552072011-05-31 Andreas Schwab <schwab@redhat.com>
55208
55209 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55210 memory. Use alloca_account. Fix memory leak when retrying.
55211
5b27a807
UD
552122011-05-31 Ulrich Drepper <drepper@gmail.com>
55213
356f8bc6
UD
55214 * version.h (RELEASE): Bump for 2.14 release.
55215 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55216
5b27a807
UD
55217 * config.make.in (RANLIB): Remove entry.
55218
01f16ab0
UD
552192011-05-30 Ulrich Drepper <drepper@gmail.com>
55220
41fce8bd
UD
55221 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55222 (libc.pot): Work around missing support for .ksh extension in xgettext.
55223
4769ae77
UD
55224 [BZ #12684]
55225 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55226 if both request failed.
55227 (send_dg): In case of server errors clear resplen or *resplen2.
55228
6b1e7d19
UD
55229 [BZ #12454]
55230 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55231 when there are multiple maps.
55232 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55233 (_dl_fini): Remove test here.
55234
01f16ab0
UD
55235 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55236
b1ebd700
UD
552372011-05-29 Ulrich Drepper <drepper@gmail.com>
55238
7ae22829
UD
55239 [BZ #12350]
55240 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55241 bit from old_res_options.
55242 (gaih_inet): Likewise.
55243
553149f6 55244 [BZ #11099]
18a84741 55245 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55246 as signed.
55247
652ffab1
UD
55248 * resolv/res_init.c (res_setoptions): Make the code more compact.
55249
16985fd0
UD
55250 [BZ #11558]
55251 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55252 set RES_USEVC.
55253
0464f746
UD
55254 [BZ #11634]
55255 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55256
7d17596c
UD
55257 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55258
cf6bbbd7
UD
55259 [BZ #11781]
55260 * malloc/malloc.h: Declare malloc hook variables as volatile.
55261
13f1ab36
UD
55262 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55263 in last patch.
55264
b1ebd700
UD
55265 [BZ #11799]
55266 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55267 raise in the comment.
80e2212d
UD
55268 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55269 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55270 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55271
ce67228d
UD
552722011-05-28 Ulrich Drepper <drepper@gmail.com>
55273
8887a920
UD
55274 [BZ #12811]
55275 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55276 grow the buffers more if it already has to be sufficient.
55277 (build_wcs_upper_buffer): Likewise.
55278 * posix/regexec.c (check_matching): Likewise.
55279 (clean_state_log_if_needed): Likewise.
55280 (extend_buffers): Don't enlarge buffers beyond size of the input
55281 buffer.
55282 Patches mostly by Emil Wojak <emil@wojak.eu>.
55283 * posix/bug-regex32.c: New file.
55284 * posix/Makefile (tests): Add bug-regex32.
55285
4f031072
UD
55286 * locale/findlocale.c (_nl_find_locale): Return right away if
55287 _nl_explode_name failed.
55288 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55289
d0478f0c
UD
55290 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55291
de81b246
UD
55292 * debug/xtrace.sh: Unify messages.
55293 * malloc/memusage.sh: Likewise.
55294
c738465a
UD
55295 [BZ #12813]
55296 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55297 time symbol from vDSO. Substitute with vsyscall if not available.
55298 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55299 __vdso_time.
55300
f1f929d7
UD
55301 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55302 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55303 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55304 Add sendmmsg and internal_sendmmsg.
55305 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55306 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55307 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55308
ce67228d
UD
55309 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55310 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55311 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55312
e57420c6
UD
553132011-05-27 Ulrich Drepper <drepper@gmail.com>
55314
a8509ca5
UD
55315 [BZ #12813]
55316 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55317 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55318 available.
55319 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55320 __vdso_getcpu.
55321
e57420c6
UD
55322 [BZ #12814]
55323 * iconvdata/Makefile (tests): Add bug-iconv9.
55324 * iconvdata/bug-iconv9.c: New file.
55325
4d07db15
AS
553262011-05-27 Andreas Schwab <schwab@redhat.com>
55327
55328 [BZ #12814]
55329 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55330
ea486f69
JJ
553312011-05-25 Jakub Jelinek <jakub@redhat.com>
55332
55333 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55334 (struct user_regs_struct): Change intcs field back to cs.
55335
6f038433
UD
553362011-05-25 Ulrich Drepper <drepper@gmail.com>
55337
55338 * po/ja.po: Update from translation team.
55339
67f86a25
UD
553402011-05-23 Ulrich Drepper <drepper@gmail.com>
55341
55342 [BZ #12795]
55343 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55344 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55345
def7fbd6
AS
553462011-05-20 Andreas Schwab <schwab@redhat.com>
55347
55348 * stdlib/longlong.h: Update from GCC.
55349
f50ef8f1
AS
553502011-05-23 Andreas Schwab <schwab@redhat.com>
55351
55352 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55353 parameter name.
55354 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55355 Add parameter name.
55356 (__sysconf): Pass it down.
55357
de7ce8f1
UD
553582011-05-22 Ulrich Drepper <drepper@gmail.com>
55359
f2962a71
UD
55360 [BZ #12671]
55361 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55362 some situations.
55363 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55364 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55365 add in in __libc_use_alloca calls. Adjust callers.
55366 (glob): Use malloc in some situations.
55367
de7ce8f1
UD
55368 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55369 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55370 pltexit.
55371
aec84f53
UD
553722011-05-21 Ulrich Drepper <drepper@gmail.com>
55373
05bb4a68
UD
55374 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55375 and CLOCK_BOOTTIME_ALARM.
55376
7ea72f99
UD
55377 [BZ #12782]
55378 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55379 is returned.
55380
7e4afad5
UD
55381 * string/_strerror.c (__strerror_r): Print negative errors as signed
55382 numbers.
55383
8e211fec
UD
55384 [BZ #12777]
55385 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55386 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55387 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55388
f7d82dc9
UD
55389 * configure.in: Fix typo in redirection and correct removal of test
55390 files in two cases.
55391
cc9e536d
UD
55392 [BZ #12788]
55393 * locale/setlocale.c (new_composite_name): Fix test to check for
55394 identical name of all categories.
55395
aec84f53
UD
55396 [BZ #12792]
55397 * libio/filedoalloc.c (local_isatty): New function.
55398 (_IO_file_doallocate): Use local_isatty.
55399 * stdio-common/perror.c (perror): In case a new stream is used
55400 forward the stream error.
55401 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55402 error flag.
55403
78e64fdc
RT
554042011-05-20 Ulrich Drepper <drepper@gmail.com>
55405
34a9094f
UD
55406 [BZ #11869]
55407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55408 alloca.
55409 * include/alloca.h (extend_alloca_account): Define.
55410
78e64fdc
RT
55411 [BZ #11857]
55412 * posix/regex.h: Fix comments with documentation of user-accessible
55413 fields after compilation and describe correct free'ing of pattern
55414 after re_compile_pattern.
55415 Patch by Reuben Thomas <rrt@sc3d.org>.
55416
457bddfc
RA
554172011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55418
55419 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55420 and -mno-altivec to prevent the compiler from using Altivec and/or
55421 VSX instructions when the corresponding registers are not available.
55422
a4527b51
AS
554232011-05-19 Andreas Schwab <schwab@redhat.com>
55424
55425 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55426
ed690b2f
UD
554272011-05-19 Ulrich Drepper <drepper@gmail.com>
55428
55429 * libio/freopen.c (freopen): Use __dup2, not dup2.
55430 * libio/freopen64.c (freopen64): Likewise.
55431
8db73634
L
554322011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55433
55434 [BZ #12775]
55435 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55436 * math/Makefile (tests): Add test-powl.
55437 (CFLAGS-test-powl.c): Define.
55438 * math/test-powl.c: New file.
55439
0a197a9d
L
554402011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55441
55442 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55443
ee30c380
UD
554442011-05-17 Ulrich Drepper <drepper@gmail.com>
55445
55446 [BZ #11837]
55447 * iconvdata/gb18030.c: Update to GB18020-2005.
55448
6ce75379
UD
554492011-05-16 Ulrich Drepper <drepper@gmail.com>
55450
a4b89fd8
AR
55451 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55452 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55453 Patch by Aharon Robbins <arnold@skeeve.com>.
55454
ea389b12
UD
55455 [BZ #11892]
55456 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55457 on the stack.
55458
68a3f91f
UD
55459 [BZ #11895]
55460 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55461 through underflows.
55462
15cc7dd1
UD
55463 [BZ #12766]
55464 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55465 point to strings before performing equality test for error_one_per_line
55466 mode.
55467
f3799213
UD
55468 [BZ #11697]
55469 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55470
d79a9c94
UD
55471 [BZ #11820]
55472 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55473 (struct user_fpregs_struct): Avoid __uint*_t types.
55474
56e5eb46
UD
55475 [BZ #6420]
55476 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55477 symbol info. Use it instead of calling _dl_addr locally.
55478 (lock_and_info): New function.
55479 (tr_freehook): Call lock_and_info and pass symbol info as additional
55480 parameter to tr_where.
55481 (tr_mallochook): Likewise.
55482 (tr_reallochook): Likewise.
55483 (tr_memalignhook): Likewise.
55484
6ce75379
UD
55485 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55486 used and couldn't be at all thread-safe.
55487
f8a3b5bf
UD
554882011-05-15 Ulrich Drepper <drepper@gmail.com>
55489
94b7cc37
UD
55490 * libio/freopen.c (freopen): Don't close old file descriptor
55491 before the new one is opened. Instead dup the new file descriptor
55492 to the old one after the new stream is created.
55493 * libio/freopen64.c (freopen64): Likewise.
55494 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55495 * libio/fileops.c (_IO_new_file_close_it): Handle new
55496 _IO_FLAGS2_NOCLOSE flag.
55497 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55498 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55499 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55500 _IO_FLAGS2_NOCLOSE flag.
55501 * include/unistd.h: Add hidden_proto for dup3.
55502 Define __have_dup3.
55503 * io/dup3.c: Define hidden symbol.
55504 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55505
bd25564e
UD
55506 [BZ #7101]
55507 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55508 when an incomplete long option is used.
55509 * posix/tst-getopt_long1.c: New file.
55510 * posix/Makefile (tests): Add tst-getopt_long1.
55511
c84cfef4
UD
55512 [BZ #10138]
55513 * scripts/config.guess: Update from autoconf-2.68.
55514 * scripts/config.sub: Likewise.
55515
3b85df27
UD
55516 [BZ #10157]
55517 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55518 tests into ...
55519 (has_cpuclock): ...this. New function.
55520 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55521 macro here based on has_cpuclock code.
55522
15a856b1
UD
55523 [BZ #10149]
55524 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55525 First byte (not low byte) is now always NUL.
55526 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55527
05f399e6
UD
55528 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55529 Use non-cancelable interfaces.
55530
10a52685 55531 [BZ #9809]
94ecc67d
UD
55532 * locale/iso-639.def: Add entry for Sorani.
55533
f8a3b5bf
UD
55534 [BZ #11901]
55535 * include/stdlib.h: Move include protection to the right place.
55536 Define abort_msg_s. Declare __abort_msg with it.
55537 * stdlib/abort.c (__abort_msg): Adjust type.
55538 * assert/assert.c (__assert_fail_base): New function. Majority
55539 of code from __assert_fail. Allocate memory for __abort_msg with
55540 mmap.
55541 (__assert_fail): Now call __assert_fail_base.
55542 * assert/assert-perr.c: Remove bulk of implementation. Use
55543 __assert_fail_base.
55544 * include/assert.hL Declare __assert_fail_base.
55545 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55546 mmap.
55547 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55548
1af4e298
UD
555492011-05-14 Ulrich Drepper <drepper@gmail.com>
55550
f8a3b5bf 55551 [BZ #11952]
d26dfc60
MG
55552 [BZ #12453]
55553 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55554 until all modules are registered in the DTV.
55555 * elf/Makefile: Add rules to build and run tst-tls19.
55556 * elf/tst-tls19.c: New file.
55557 * elf/tst-tls19mod1.c: New file.
55558 * elf/tst-tls19mod2.c: New file.
55559 * elf/tst-tls19mod3.c: New file.
55560 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55561
2fc54d6f
UD
55562 [BZ #12083]
55563 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55564 correctly.
55565
98d76b46
UD
55566 [BZ #12601]
55567 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55568 two-byte sequence errors.
55569 * iconvdata/Makefile (tests): Add bug-iconv8.
55570 * iconvdata/bug-iconv8.c: New file.
55571
da3c19ef
UD
55572 [BZ #12626]
55573 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55574 buf2 definition.
55575
ca408c15
UD
55576 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55577
d6f67f7d
UD
55578 [BZ #12432]
55579 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55580 (dummy_getcfa): New function.
55581 (init): Get _Unwind_GetCFA address, use dummy if not found.
55582 (backtrace_helper): In recursion check, also check whether CFA changes.
55583 (__backtrace): Completely initialize arg.
55584
1af4e298 55585 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55586 storing incomplete byte sequence in state object. Avoid testing for
55587 guaranteed too small input if we know there is enough data available.
1af4e298 55588
da62f81b
AS
555892011-05-11 Andreas Schwab <schwab@redhat.com>
55590
55591 * Makeconfig (+link-pie): Indent.
55592 * Rules (binaries-pie): Define if $(have-fpie) and
55593 $(build-shared).
55594 (binaries-shared): Also filter out $(binaries-pie).
55595 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55596 * nscd/Makefile (others-pie): Add nscd.
55597 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55598 ($(objpfx)nscd): Remove command override.
55599 * login/Makefile (others-pie): Add pt_chown.
55600 ($(objpfx)pt_chown): Remove command override.
55601 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55602 remove command overrides.
55603
fcabc0f8
UD
556042011-05-13 Ulrich Drepper <drepper@gmail.com>
55605
20030ae6
UD
55606 * libio/tst_putwc.c: Fix error messages.
55607
fcabc0f8
UD
55608 [BZ #12724]
55609 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55610 currently writing and seek to current position when not.
55611 * libio/Makefile (tests): Add bug-fclose1.
55612 * libio/bug-fclose1.c: New file.
55613
320a5dc0
PB
556142011-05-12 Ulrich Drepper <drepper@gmail.com>
55615
55616 [BZ #12511]
55617 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55618 don't set DF_1_NODELETE here.
55619 (do_lookup_x): When entering new entry test for copy relocation
55620 and if necessary set DF_1_NODELETE flag.
55621 * elf/tst-unique4.cc: New file.
55622 * elf/tst-unique4.h: New file.
55623 * elf/tst-unique4lib.cc: New file.
55624 * elf/Makefile: Add rules to build and run tst-unique4.
55625 Patch by Piotr Bury <pbury@goahead.com>.
55626
22836f52
UD
556272011-05-11 Ulrich Drepper <drepper@gmail.com>
55628
f574184a
UD
55629 [BZ #12052]
55630 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55631
e1fb097f
UD
55632 [BZ #12625]
55633 * misc/mntent_r.c (addmntent): Flush the stream after the output
55634
22836f52
UD
55635 [BZ #12393]
55636 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55637 (is_trusted_path_normalize): Skip initial colon. Append slash
55638 to empty buffer. Duplicate is_trusted_path code but allow
55639 constructed patch to be prefix.
55640 (is_dst): Allow $ORIGIN followed by /.
55641 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55642 Correct testing of result of is_trusted_path_normalize
55643 (decompose_rpath): Fix warning.
55644
7b3b0b2a
UD
556452011-05-10 Ulrich Drepper <drepper@gmail.com>
55646
55647 [BZ #11257]
55648 * grp/initgroups.c (internal_getgrouplist): When we found the service
55649 list through the initgroups entry in nsswitch.conf do not always
55650 continue on a successful lookup. Don't always use the
eac80ce2 55651 __nss_group_database value if it is set.
7b3b0b2a
UD
55652 * nss/nsswitch.conf (initgroups): Change action for successful db
55653 lookup to continue for compatibility.
55654
2a81eaa5
UD
556552011-05-09 Ulrich Drepper <drepper@gmail.com>
55656
be97a69e
UD
55657 [BZ #11532]
55658 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55659 and CP774 modules.
55660 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55661 and CP774 modules.
55662 * iconvdata/tst-tables.sh: Likewise.
55663 * iconvdata/cp770.c: New file.
55664 * iconvdata/cp771.c: New file.
55665 * iconvdata/cp772.c: New file.
55666 * iconvdata/cp773.c: New file.
55667 * iconvdata/cp774.c: New file.
55668 * iconvdata/testdata/CP770: New file.
55669 * iconvdata/testdata/CP770..UTF8: New file.
55670 * iconvdata/testdata/CP771: New file.
55671 * iconvdata/testdata/CP771..UTF8: New file.
55672 * iconvdata/testdata/CP772: New file.
55673 * iconvdata/testdata/CP772..UTF8: New file.
55674 * iconvdata/testdata/CP773: New file.
55675 * iconvdata/testdata/CP773..UTF8: New file.
55676 * iconvdata/testdata/CP774: New file.
55677 * iconvdata/testdata/CP774..UTF8: New file.
55678
55679 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55680 END CHARMAP line.
55681 * iconvdata/gen-8bit-gap.sh: Likewise.
55682 * iconvdata/gen-8bit.sh: Likewise.
55683
c1e9e399
UD
55684 * locale/iso-639.def: Add ary entry.
55685
24c55fb3 55686 [BZ #11258]
96b4b1b0
UD
55687 * locale/C-translit.h.in: Add U20A1 transliteration.
55688
bdc2f971
KB
55689 [BZ #12178]
55690 * locale/iso-639.def: Add wae entry.
55691 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55692
2952b117
UD
55693 [BZ #12545]
55694 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55695 for n.
55696
2a81eaa5
UD
55697 [BZ #12711]
55698 * locale/C-translit.h.in: Add entry for U20B9.
55699 Patch by pravin.d.s@gmail.com.
55700
28377d1b
UD
557012011-05-08 Ulrich Drepper <drepper@gmail.com>
55702
7fb90fb8
UD
55703 [BZ #12713]
55704 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55705 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55706 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55707 in rtld. Use *stat64.
7fb90fb8 55708 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55709 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55710 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55711 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55712 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55713 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55714 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55715 __fstatat64 macros.
7fb90fb8
UD
55716 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55717 * dirent/rewinddir.c: Add libc_hidden_def.
55718 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 55719 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 55720
28377d1b
UD
55721 * include/dirent.h (__alloc_dir): Add flags parameter.
55722 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55723 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55724 __alloc_dir.
55725 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55726 from fdopendir if O_CLOEXEC is already set.
55727
66bdbaa4
AM
557282011-03-15 Alan Modra <amodra@gmail.com>
55729
55730 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55731 l_tls_firstbyte_offset non-zero. Save padding offset in
55732 l_tls_firstbyte_offset for later use.
55733 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55734 freeing static tls block.
55735
95721191
JN
557362011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55737
55738 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55739 where #ifdef was intended. The intent is to prevent ARG_MAX from
55740 being defined by the kernel headers.
55741
f87dfb1f
UD
557422011-05-07 Ulrich Drepper <drepper@gmail.com>
55743
55744 [BZ #12734]
55745 * resolv/resolv.h: Define RES_NOTLDQUERY.
55746 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55747 no-tld-query and set RES_NOTLDQUERY.
55748 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55749 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55750 modern BIND to search name as TLD unless forbidden.
55751
47c3cd7a
UD
557522011-05-07 Petr Baudis <pasky@suse.cz>
55753 Ulrich Drepper <drepper@gmail.com>
55754
55755 [BZ #12393]
55756 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55757 (is_trusted_path): ...to here.
c1e9ea35 55758 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55759 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55760 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55761
8a35c912
PP
557622011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55763
55764 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55765 __BEGIN/__END_DECLS.
55766
acd41f47
UD
557672011-05-06 Ulrich Drepper <drepper@gmail.com>
55768
55769 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55770 NSS_STATUS_NOTFOUND if no record was found.
55771
597df647
AS
557722011-05-05 Andreas Schwab <schwab@redhat.com>
55773
55774 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55775 (headers-not-in-tirpc): Remove rpc/netdb.h
55776 * resolv/netdb.h: Revert last change.
55777
b9af1301
PP
557782011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55779
55780 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55781 circular dependency between libgcc.a and libc.a.
55782
4e34d5f5
AS
557832011-05-05 Andreas Schwab <schwab@redhat.com>
55784
55785 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55786 * nis/Makefile: Don't install rpcsvc/*.
55787 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55788 instead of <rpc/types.h>.
55789 (MAXHOSTNAMELEN): Define.
55790
00ee369c
AS
557912011-05-03 Andreas Schwab <schwab@redhat.com>
55792
55793 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55794
0b592a30
MB
557952011-04-28 Maciej Babinski <mbabinski@google.com>
55796
55797 [BZ #12714]
55798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55799 gethostbyname4_r when IPv6 results are possible.
55800
6e04cbbe
UD
558012011-05-02 Ulrich Drepper <drepper@gmail.com>
55802
55803 [BZ #12723]
55804 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55805 _PC_PIPE_BUF handling.
55806
e4ecafe0
BH
558072011-04-30 Bruno Haible <bruno@clisp.org>
55808
55809 [BZ #12717]
55810 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55811 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55812 to 'int'.
55813 * inet/getnameinfo.c (getnameinfo): Likewise.
55814
125ee683
UD
558152011-04-29 Ulrich Drepper <drepper@gmail.com>
55816
55817 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55818 to groups setting in database lookup.
55819 * nss/nsswitch.conf: Add initgroups entry.
55820
b722481a
EB
558212011-04-22 Ulrich Drepper <drepper@gmail.com>
55822
55823 [BZ #12685]
55824 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55825 mode string.
55826 Patch by Eric Blake <eblake@redhat.com>.
55827
4df46dbd
L
558282011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55829
55830 * sunrpc/Makefile (need-export-routines): Add svc_run.
55831 (routines): Remove svc_run.
55832 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55833 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55834 * sunrpc/svc_run.c (svc_run): Likewise.
55835 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55836
e84142d2
UD
558372011-04-21 Ulrich Drepper <drepper@gmail.com>
55838
55839 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55840 problem in reallocation in last patch.
55841
877175d8
UD
558422011-04-20 Ulrich Drepper <drepper@gmail.com>
55843
55844 * sunrpc/Makefile: Move inclusion of Rules.
55845
ab8eed78
UD
558462011-04-19 Ulrich Drepper <drepper@gmail.com>
55847
55848 * nss/nss_files/files-initgroups.c: New file.
55849 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55850 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55851 _nss_files_initgroups_dyn.
55852
e3d8f584
RS
558532011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55854
55855 * elf/elf.h (R_ARM_IRELATIVE): Define.
55856
af190f45
UD
558572011-04-19 Ulrich Drepper <drepper@gmail.com>
55858
55859 * po/ru.po: Update from translation team.
55860
53cf59ef
UD
558612011-04-17 Ulrich Drepper <drepper@gmail.com>
55862
55863 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55864 dependencies.
55865
4c559bcd
MF
558662011-02-06 Mike Frysinger <vapier@gentoo.org>
55867
55868 [BZ #12653]
55869 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55870 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55871 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55872 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55873 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55874
4420675c
AS
558752011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55876
55877 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55878 differing bytes.
55879 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55880 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55881 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55882
75ea32ab
UD
558832011-04-17 Ulrich Drepper <drepper@gmail.com>
55884
55885 [BZ #12420]
55886 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55887 storing it.
55888 * stdlib/bug-getcontext.c: New file.
55889 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55890
27390476
AK
558912011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55892
55893 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55894 instructions into .machine "z9-109".
55895 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55896 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55897
10442705
AK
558982011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55899
55900 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55901 between environment variables and auxiliary vector.
55902
7b57bfe5
UD
559032011-04-16 Ulrich Drepper <drepper@gmail.com>
55904
55905 * Makefile: Add rules to build linkobj/libc.so.
55906 * include/libc-symbols.h: Define libc_hidden_nolink.
55907 * include/rpc/auth.h: Mark functions which are to be hidden.
55908 * include/rpc/auth_des.h: Likewise.
55909 * include/rpc/auth_unix.h: Likewise.
55910 * include/rpc/clnt.h: Likewise.
55911 * include/rpc/des_crypt.h: Likewise.
55912 * include/rpc/key_prot.h: Likewise.
55913 * include/rpc/pmap_clnt.h: Likewise.
55914 * include/rpc/pmap_prot.h: Likewise.
55915 * include/rpc/pmap_rmt.h: Likewise.
55916 * include/rpc/rpc_msg.h: Likewise.
55917 * include/rpc/svc.h: Likewise.
55918 * include/rpc/svc_auth.h: Likewise.
55919 * include/rpc/xdr.h: Likewise.
55920 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55921 * nss/Makefile: Likewise.
55922 * sunrpc/Makefile: Don't install headers. Build library with normal
55923 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55924 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55925 for the compat linking library. Remove use of INTDEF/INTUSE.
55926 * sunrpc/auth_none.c: Likewise.
55927 * sunrpc/auth_unix.c: Likewise.
55928 * sunrpc/authdes_prot.c: Likewise.
55929 * sunrpc/authuxprot.c: Likewise.
55930 * sunrpc/clnt_gen.c: Likewise.
55931 * sunrpc/clnt_perr.c: Likewise.
55932 * sunrpc/clnt_raw.c: Likewise.
55933 * sunrpc/clnt_simp.c: Likewise.
55934 * sunrpc/clnt_tcp.c: Likewise.
55935 * sunrpc/clnt_udp.c: Likewise.
55936 * sunrpc/clnt_unix.c: Likewise.
55937 * sunrpc/des_crypt.c: Likewise.
55938 * sunrpc/des_soft.c: Likewise.
55939 * sunrpc/get_myaddr.c: Likewise.
55940 * sunrpc/key_call.c: Likewise.
55941 * sunrpc/key_prot.c: Likewise.
55942 * sunrpc/netname.c: Likewise.
55943 * sunrpc/pm_getmaps.c: Likewise.
55944 * sunrpc/pm_getport.c: Likewise.
55945 * sunrpc/pmap_clnt.c: Likewise.
55946 * sunrpc/pmap_prot.c: Likewise.
55947 * sunrpc/pmap_prot2.c: Likewise.
55948 * sunrpc/pmap_rmt.c: Likewise.
55949 * sunrpc/publickey.c: Likewise.
55950 * sunrpc/rpc_cmsg.c: Likewise.
55951 * sunrpc/rpc_common.c: Likewise.
55952 * sunrpc/rpc_dtable.c: Likewise.
55953 * sunrpc/rpc_prot.c: Likewise.
55954 * sunrpc/rpc_thread.c: Likewise.
55955 * sunrpc/rtime.c: Likewise.
55956 * sunrpc/svc.c: Likewise.
55957 * sunrpc/svc_auth.c: Likewise.
55958 * sunrpc/svc_authux.c: Likewise.
55959 * sunrpc/svc_raw.c: Likewise.
55960 * sunrpc/svc_run.c: Likewise.
55961 * sunrpc/svc_simple.c: Likewise.
55962 * sunrpc/svc_tcp.c: Likewise.
55963 * sunrpc/svc_udp.c: Likewise.
55964 * sunrpc/svc_unix.c: Likewise.
55965 * sunrpc/svcauth_des.c: Likewise.
55966 * sunrpc/xcrypt.c: Likewise.
55967 * sunrpc/xdr.c: Likewise.
55968 * sunrpc/xdr_array.c: Likewise.
55969 * sunrpc/xdr_float.c: Likewise.
55970 * sunrpc/xdr_intXX_t.c: Likewise.
55971 * sunrpc/xdr_mem.c: Likewise.
55972 * sunrpc/xdr_rec.c: Likewise.
55973 * sunrpc/xdr_ref.c: Likewise.
55974 * sunrpc/xdr_sizeof.c: Likewise.
55975 * sunrpc/xdr_stdio.c: Likewise.
55976
e6c61494
UD
559772011-04-10 Ulrich Drepper <drepper@gmail.com>
55978
55979 [BZ #12650]
55980 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55981 * sysdeps/ia64/dl-tls.h: Likewise.
55982 * sysdeps/powerpc/dl-tls.h: Likewise.
55983 * sysdeps/s390/dl-tls.h: Likewise.
55984 * sysdeps/sh/dl-tls.h: Likewise.
55985 * sysdeps/sparc/dl-tls.h: Likewise.
55986 * sysdeps/x86_64/dl-tls.h: Likewise.
55987 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55988
34fe483e
AS
559892011-03-14 Andreas Schwab <schwab@redhat.com>
55990
55991 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55992 rpath element also skip the following colon.
55993 (expand_dynamic_string_token): Add is_path parameter and pass
55994 down to DL_DST_REQUIRED and _dl_dst_substitute.
55995 (decompose_rpath): Call expand_dynamic_string_token with
55996 non-zero is_path. Ignore empty rpaths.
55997 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55998 with zero is_path.
55999
f12a32e6
AS
560002011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56001
56002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56003 Make cancelable.
56004
38a7d692
UD
560052011-04-09 Ulrich Drepper <drepper@gmail.com>
56006
56007 [BZ #12655]
56008 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56009 Patch by Filipe David Manana <fdmanana@apache.org>.
56010
e451d22b
AS
560112011-04-07 Andreas Schwab <schwab@redhat.com>
56012
56013 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56014 Maintain aligned stack.
56015 (CHECK_RSP): Remove unused macro.
56016
dedc7c7b
UD
560172011-04-03 Ulrich Drepper <drepper@gmail.com>
56018
56019 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56020 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56021
94521213
UD
560222011-04-02 Ulrich Drepper <drepper@gmail.com>
56023
56024 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56025
8cb700c0 56026 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 56027
0354e355
L
560282011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56029
56030 [BZ #12518]
56031 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56032 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56033 * sysdeps/x86_64/memmove.c: New file.
56034 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56035 (memcpy): Renamed to ...
56036 (__new_memcpy): This.
56037 (memcpy): Provide GLIBC_2_14 memcpy.
56038 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56039 (memcpy): Provide GLIBC_2_2_5 memcpy.
56040
8593482f
UD
560412011-04-01 Ulrich Drepper <drepper@gmail.com>
56042
56043 [BZ #12631]
56044 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56045
81a5726b
AS
560462011-03-30 Andreas Schwab <schwab@redhat.com>
56047
56048 * misc/syncfs.c: New file.
56049 * misc/Makefile (routines): Add syncfs.
56050 * posix/unistd.h: Declare syncfs.
56051 * sysdeps/unix/syscalls.list: Add syncfs.
56052
00e5419f
AS
560532011-04-01 Andreas Schwab <schwab@redhat.com>
56054
56055 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56056 open_by_handle_at.
56057 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56058 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56059 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56060 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56062 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56063 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56064
748876bf
UD
560652011-04-01 Ulrich Drepper <drepper@gmail.com>
56066
658e451d
UD
56067 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56068 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56069 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56070 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56071 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56073 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56074
748876bf
UD
56075 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56076 sync_file_range.c with -fexceptions.
56077 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56078 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56079 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56080 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56081 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56082 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56083 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
56084 sync_file_range as cancellation point
56085 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56086 now a wrapper around __call_sync_file_range with cancellation handling.
56087 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56088 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56089 function name to __call_sync_file_range.
56090 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56091 Add call_sync_file_range.
748876bf 56092
6e63d5e1
AS
560932011-04-01 Andreas Schwab <schwab@redhat.com>
56094
56095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 56096 bits/timex.h.
6e63d5e1 56097
46998f74
UD
560982011-04-01 Ulrich Drepper <drepper@gmail.com>
56099
4c1423ed
UD
56100 * iconv/iconv.h: Fix typo in comment.
56101 * io/fcntl.h: Likewise.
56102 * libio/stdio.h: Likewise.
56103 * posix/spawn.h: Likewise.
56104 * posix/unistd.h: Likewise.
56105 * stdlib/stdlib.h: Likewise.
56106 * time/time.h: Likewise.
56107 * wcsmbs/wchar.h: Likewise.
56108
158648c0
UD
56109 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56110 open_by_handle): Add.
56111 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56112 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56113 Augment a few comments.
56114 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56115 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56116 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56118 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56119 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56120 open_by_handle.
56121
46998f74
UD
56122 * io/fcntl.h (AT_EMPTY_PATH): Define.
56123
83fe108b
UD
561242011-03-30 Ulrich Drepper <drepper@gmail.com>
56125
56126 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56127 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56128 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56129 to...
56130 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
56131 * Versions.def: Add GLIBC_2.14.
56132 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56133 Export.
83fe108b 56134
bb242059
UD
561352011-03-22 Ulrich Drepper <drepper@gmail.com>
56136
56137 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56138 round counter.
56139 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56140
c97a1282
L
561412011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56142
56143 [BZ #12597]
56144 * string/test-strncmp.c (do_page_test): New function.
56145 (check2): Likewise.
56146 (test_main): Call check2.
56147 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56148
2a115601
UD
561492011-03-20 Ulrich Drepper <drepper@gmail.com>
56150
56151 [BZ #12587]
56152 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56153 Handle cache information in CPU leaf 4.
56154 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56155
8126d904
UD
561562011-03-18 Ulrich Drepper <drepper@gmail.com>
56157
042c49c6 56158 [BZ #12583]
8126d904
UD
56159 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56160 character representation.
56161 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56162
ccfe366e
RA
561632011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56164
56165 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56166 END(__isnan) to END(__isnanf) to match function entry point/label
56167 EALIGN(__isnanf,...).
56168
c6e13027
JJ
561692011-03-10 Jakub Jelinek <jakub@redhat.com>
56170
56171 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56172
33f85a3f
UD
561732011-03-10 Ulrich Drepper <drepper@gmail.com>
56174
028478fa
UD
56175 [BZ #12510]
56176 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56177 copy from the symbol referenced in the relocation to initialize the
56178 used variable.
56179 Patch by Piotr Bury <pbury@goahead.com>.
56180 * elf/Makefile: Add rules to build and tst-unique3.
56181 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56182 * elf/tst-unique3.cc: New file.
56183 * elf/tst-unique3.h: New file.
56184 * elf/tst-unique3lib.cc: New file.
56185 * elf/tst-unique3lib2.cc: New file.
56186
33f85a3f
UD
56187 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56188
03592fc7
MF
561892011-03-10 Mike Frysinger <vapier@gentoo.org>
56190
56191 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56192 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56193 to _start.
03592fc7 56194
6a5ee102
UD
561952011-03-06 Ulrich Drepper <drepper@gmail.com>
56196
56197 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56198 to-be-loaded object along a path to loader is ld.so.
56199
7e4ba49c
HJ
562002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56201 Ulrich Drepper <drepper@gmail.com>
56202
56203 * sysdeps/x86_64/memset.S: After aligning destination, code
56204 branches to different locations depending on the value of
56205 misalignment, when multiarch is enabled. Fix this.
56206
562072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56208
56209 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56210 Set _x86_64_preferred_memory_instruction for AMD processsors.
56211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56212 Set bit_Prefer_SSE_for_memop for AMD processors.
56213
13a804de
UD
562142011-03-04 Ulrich Drepper <drepper@gmail.com>
56215
56216 * libio/fmemopen.c (fmemopen): Optimize a bit.
56217
9d25c392
AS
562182011-03-03 Andreas Schwab <schwab@redhat.com>
56219
56220 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56221
a5543c6a
RM
562222011-03-03 Roland McGrath <roland@redhat.com>
56223
56224 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56225
012d35f7
DM
562262011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56227
7e4ba49c 56228 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56229 __bzero_ultra1 instead of __memset_ultra1.
56230
4bff6e01
AS
562312011-02-23 Andreas Schwab <schwab@redhat.com>
56232 Ulrich Drepper <drepper@gmail.com>
56233
56234 [BZ #12509]
56235 * include/link.h (struct link_map): Add l_orig_initfini.
56236 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56237 returning unsuccessfully.
56238 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56239 close of a file loaded at startup, restore the original l_initfini
56240 list.
56241 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56242 list, store the pointer.
56243 * elf/Makefile ($(objpfx)noload-mem): New rule.
56244 (noload-ENV): Define.
56245 (tests): Add $(objpfx)noload-mem.
56246 * elf/noload.c: Include <memcheck.h>.
56247 (main): Call mtrace. Close all opened handles.
56248
f2092faf
AS
562492011-02-17 Andreas Schwab <schwab@redhat.com>
56250
56251 [BZ #12454]
56252 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56253 dependencies are missing.
56254
6c8a2e88
ST
562552011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56256
f2092faf 56257 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56258 Hurd needs munmap.
56259 * sysdeps/mach/hurd/ifreq.h: New file.
56260
84a42118
PB
562612011-01-27 Petr Baudis <pasky@suse.cz>
56262 Ulrich Drepper <drepper@gmail.com>
56263
071f805e 56264 [BZ 12445]#
84a42118
PB
56265 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56266 to extend_alloca().
56267 * stdio-common/bug23.c: New file.
56268 * stdio-common/Makefile (tests): Add bug23.
56269
e23fe25b
AS
562702010-09-28 Andreas Schwab <schwab@redhat.com>
56271 Ulrich Drepper <drepper@gmail.com>
56272
56273 [BZ #12489]
56274 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56275 before performing relro protection. At old place add assertion
56276 to make sure nothing changed.
56277
d3f02e10
NS
562782011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56279 Glauber de Oliveira Costa <glommer@gmail.com>
56280
56281 * elf/elf.h: Add new ARM TLS relocs.
56282
d55fd7a5
RA
562832011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56284
56285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56286 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56287 cast from r3.
56288 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56289 'tests' variable.
56290 * sysdeps/wordsize-64/tst-writev.c: New file.
56291
2206397e
RA
562922011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56293
56294 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56295 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56296 insns in _dl_start to prevent a TOC reference before relocs are
56297 resolved.
56298
e9433893
UD
562992011-02-15 Ulrich Drepper <drepper@gmail.com>
56300
56301 [BZ #12469]
56302 * Makeconfig: Remove RANLIB definition.
56303 * Makerules: Don't use RANLIB.
56304 * aclocal.m4: Remove ranlib test.
56305 * configure.in: No need to check for ranlib.
56306 * elf/rtld-Rules: Don't use RANLIB.
56307
f75286c6
ST
563082011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56309
8e31c82d
ST
56310 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56311 protection macro.
56312 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56313 inclusion protection macro.
56314
f75286c6
ST
56315 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56316 SIGRTMIN and SIGRTMAX and print information in that case only when
56317 SIGRTMIN is defined.
56318
c1d0e639
JJ
563192011-02-11 Jakub Jelinek <jakub@redhat.com>
56320
56321 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56322 arginfo fn returning -1.
56323
56324 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56325 and thousands string is zero terminated.
56326
edf9294e
AS
563272011-02-03 Andreas Schwab <schwab@redhat.com>
56328
56329 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56330 sysdeps/unix/sysv/linux/bits/socket.h.
56331
2b7e92df
ST
563322011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56333
edf9294e
AS
56334 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56335 (__CPU_COUNT): Remove old macros.
56336 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56337 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56338 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56339 (__sched_cpualloc, __sched_cpufree): Add declarations.
56340
a4c7ea7b
UD
563412011-02-05 Ulrich Drepper <drepper@gmail.com>
56342
56343 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56344 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56345 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56346 (readdhstai): Return value of addhstaiX call.
56347 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56348 (addgrbyX): Return value returned by cache_addgr.
56349 (readdgrbyname): Return value returned by addgrbyX.
56350 (readdgrbygid): Likewise.
56351 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56352 (addpwbyX): Return value returned by cache_addpw.
56353 (readdpwbyname): Return value returned by addhstbyX.
56354 (readdpwbyuid): Likewise.
56355 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56356 (addservbyX): Return value returned by cache_addserv.
56357 (readdservbyname): Return value returned by addservbyX:
56358 (readdservbyport): Likewise.
56359 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56360 (addhstbyX): Return value returned by cache_addhst.
56361 (readdhstbyname): Return value returned by addhstbyX.
56362 (readdhstbyaddr): Likewise.
56363 (readdhstbynamev6): Likewise.
56364 (readdhstbyaddrv6): Likewise.
56365 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56366 (readdinitgroups): Return value returned by addinitgroupsX.
56367 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56368 (prune_cache): Keep track of timeout value of re-added entries.
56369 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56370 * nscd/nscd.h: Adjust prototypes of readd* functions.
56371
a0bf67cc
RM
563722011-02-04 Roland McGrath <roland@redhat.com>
56373
56374 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56375 (nis_stats): Likewise.
56376 * nis/nis_modify.c (nis_modify): Likewise.
56377 * nis/nis_remove.c (nis_remove): Likewise.
56378 * nis/nis_add.c (nis_add): Likewise.
56379
56380 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56381
56382 * posix/fnmatch_loop.c: Add some consts.
56383
56384 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56385
435b95eb
L
563862011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56387
56388 [BZ #12460]
56389 * config.make.in (config-cflags-novzeroupper): Define.
56390 * configure.in: Substitute libc_cv_cc_novzeroupper.
56391 * elf/Makefile (AVX-CFLAGS): Define.
56392 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56393 (CFLAGS-tst-auditmod4a.c): Likewise.
56394 (CFLAGS-tst-auditmod4b.c): Likewise.
56395 (CFLAGS-tst-auditmod6b.c): Likewise.
56396 (CFLAGS-tst-auditmod6c.c): Likewise.
56397 (CFLAGS-tst-auditmod7b.c): Likewise.
56398 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56399
8517b15e
UD
564002011-02-02 Ulrich Drepper <drepper@gmail.com>
56401
56402 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56403 function to the callback.
56404 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56405
10a656fe
AS
564062011-02-02 Andreas Schwab <schwab@redhat.com>
56407
56408 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56409 of errno.
56410
968dad0a
UD
564112011-01-19 Ulrich Drepper <drepper@gmail.com>
56412
9f94d2ea 56413 [BZ #11724]
968dad0a
UD
56414 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56415 of constructors.
56416 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56417 of destructors.
56418 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56419
56420 [BZ #11724]
56421 * elf/Makefile: Add rules to build and run new test.
56422 * elf/tst-initorder.c: New file.
56423 * elf/tst-initorder.exp: New file.
56424 * elf/tst-initordera1.c: New file.
56425 * elf/tst-initordera2.c: New file.
56426 * elf/tst-initordera3.c: New file.
56427 * elf/tst-initordera4.c: New file.
56428 * elf/tst-initorderb1.c: New file.
56429 * elf/tst-initorderb2.c: New file.
56430 * elf/tst-order-a1.c: New file.
56431 * elf/tst-order-a2.c: New file.
56432 * elf/tst-order-a3.c: New file.
56433 * elf/tst-order-a4.c: New file.
56434 * elf/tst-order-b1.c: New file.
56435 * elf/tst-order-b2.c: New file.
56436 * elf/tst-order-main.c: New file.
56437 New test case by George Gensure <werkt0@gmail.com>.
56438
86e92359
UD
564392010-10-01 Andreas Schwab <schwab@redhat.com>
56440
56441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56442 decoding ACE if AI_CANONIDN.
56443
5d5732b0
UD
564442011-01-18 Ulrich Drepper <drepper@gmail.com>
56445
56446 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56447
a77e8cbc
UD
564482011-01-17 Ulrich Drepper <drepper@gmail.com>
56449
6392473f
UD
56450 * version.h (RELEASE): Bump for 2.13 release.
56451 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56452
620a0529
UD
56453 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56454
18ba70a5
UD
56455 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56456 MADV_NOHUGEPAGE.
32465c3e
UD
56457 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56458 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56459 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56460 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56461 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56462 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56463
c0dafcf1
UD
56464 * posix/getconf.c: Update copyright year.
56465 * catgets/gencat.c: Likewise.
56466 * csu/version.c: Likewise.
56467 * debug/catchsegv.sh: Likewise.
56468 * debug/xtrace.sh: Likewise.
56469 * elf/ldconfig.c: Likewise.
56470 * elf/ldd.bash.in: Likewise.
56471 * elf/sprof.c (print_version): Likewise.
56472 * iconv/iconv_prog.c: Likewise.
56473 * iconv/iconvconfig.c: Likewise.
56474 * locale/programs/locale.c: Likewise.
56475 * locale/programs/localedef.c: Likewise.
56476 * malloc/memusage.sh: Likewise.
56477 * malloc/mtrace.pl: Likewise.
56478 * nscd/nscd.c (print_version): Likewise.
56479 * nss/getent.c: Likewise.
56480
a77e8cbc
UD
56481 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56482 PF_CAIF, and PF_ALG.
56483 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56484
77e8bddf
AS
564852011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56486
1f20b93a
AS
56487 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56488 (modules-names): Use them.
56489 (ifunc-test-modules, ifunc-pie-tests): Define.
56490 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56491 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56492 (test-extras): Likewise.
56493 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56494 $(compile-command.c).
56495 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56496 (all-built-dso): Define.
56497 (check-textrel.out, check-execstack.out): Depend on it.
56498
77e8bddf
AS
56499 * configure.in: Don't override --enable-multi-arch.
56500
bc425b33
UD
565012011-01-15 Ulrich Drepper <drepper@gmail.com>
56502
56503 [BZ #6812]
56504 * nscd/hstcache.c (tryagain): Define.
56505 (cache_addhst): Return tryagain not notfound for temporary errors.
56506 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56507 failed.
56508
794c3ad3
UD
565092011-01-14 Ulrich Drepper <drepper@gmail.com>
56510
70181fdd
UD
56511 [BZ #10563]
56512 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56513 to make the syscall.
56514 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56515
794c3ad3
UD
56516 [BZ #12378]
56517 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56518 and fall back to matching as normal character if the string ends before
56519 the matching ']' is found. This is what POSIX requires.
56520 * posix/testfnm.c: Adjust test result.
56521 * posix/globtest.sh: Adjust test result. Add new test.
56522 * posix/tst-fnmatch.input: Likewise.
56523 * posix/tst-fnmatch2.c: Add new test.
56524
68dc9497
AS
565252010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56526
56527 * elf/Makefile (check-execstack): Revert last change. Depend on
56528 check-execstack.h.
56529 (check-execstack.h): New target.
56530 (generated): Add check-execstack.h.
56531 * elf/check-execstack.c: Include "check-execstack.h".
56532 (main): Revert last change.
56533 (handle_file): Return zero if GNU_STACK is absent and
56534 DEFAULT_STACK_PERMS doesn't include PF_X.
56535
451f001b
UD
565362011-01-13 Ulrich Drepper <drepper@gmail.com>
56537
cfa28e56
UD
56538 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56539 in child fails because the descriptor is already closed.
8cf8ce17
UD
56540 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56541 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56542 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56543
1086d70d
UD
56544 [BZ #12397]
56545 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56546 syscall.
56547
451f001b
UD
56548 [BZ #10484]
56549 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56550 temporary buffer used to handle multi lookups locally.
a85b5cb4 56551 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56552
08769175
UD
565532011-01-12 Ulrich Drepper <drepper@gmail.com>
56554
56555 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56556 loader is ld.so.
56557
5e49c52e
UD
565582011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56559
56560 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56561 alignment for SSE2.
56562
60522a5f
UD
565632011-01-12 Ulrich Drepper <drepper@gmail.com>
56564
56565 [BZ #12394]
56566 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56567 characters. When rounding increased number of integer digits recompute
56568 number of groups.
56569 * stdio-common/tst-grouping.c: New file.
56570 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56571
f257bbd7
UD
565722011-01-09 Ulrich Drepper <drepper@gmail.com>
56573
56574 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56575 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56576
56577 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56578 void.
56579 * bits/select.h: Likewise.
56580
fa9c15cb
UD
565812011-01-08 Ulrich Drepper <drepper@gmail.com>
56582
56583 * po/ja.po: Update from translation team.
56584
16c2895f
DM
565852011-01-04 David S. Miller <davem@sunset.davemloft.net>
56586
56587 [BZ #11155]
56588 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56589 implementation just like for lxstat, fxstatat, et al.
56590
2543fef2
JM
565912010-12-27 Jim Meyering <meyering@redhat.com>
56592
56593 [BZ #12348]
56594 * posix/regexec.c (build_trtable): Return failure indication upon
56595 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56596
98727dbe
UD
565972010-12-25 Ulrich Drepper <drepper@gmail.com>
56598
5bd6dc5c
UD
56599 [BZ #12201]
56600 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56601 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56602 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56603 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56604
97983464
UD
56605 [BZ #12207]
56606 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56607
98727dbe
UD
56608 [BZ #12204]
56609 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56610 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56611
4a531bb0
L
566122010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56613
56614 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56615 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56616 script has SORT_BY_INIT_PRIORITY.
56617 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56618 NO_CTORS_DTORS_SECTIONS is defined.
56619 * elf/soinit.c: Likewise.
56620 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56621 NO_CTORS_DTORS_SECTIONS is defined.
56622 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56623 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56624 * sysdeps/sh/init-first.c: Likewise.
56625 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56626
07eb4b71
UD
566272010-12-24 Ulrich Drepper <drepper@gmail.com>
56628
56629 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56630 always use the slow path.
56631
30950a5f
RA
566322010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56633
56634 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56635 similar rule which adds the sysdep directories to the header search in
56636 order to pick up the correct platform stackinfo.h.
56637 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56638 perform test if it is, otherwise return successfully without testing.
56639 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56640 DEFAULT_STACK_PERMS define in stackinfo.h.
56641 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56642 defined in stackinfo.h.
56643 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56644 DEFAULT_STACK_PERMS defined in stackinfo.h.
56645 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56646 * sysdeps/ia64/stackinfo.h: Likewise.
56647 * sysdeps/s390/stackinfo.h: Likewise.
56648 * sysdeps/sh/stackinfo.h: Likewise.
56649 * sysdeps/sparc/stackinfo.h: Likewise.
56650 * sysdeps/x86_64/stackinfo.h: Likewise.
56651 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56652 PF_X for powerpc64. Retain PF_X for powerpc32.
56653
db753e2c
UD
566542010-12-19 Ulrich Drepper <drepper@gmail.com>
56655
14b697f7
UD
56656 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56657 accurately.
db753e2c
UD
56658 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56659 GETDENTS_64BIT_ALIGNED.
56660
28300719
UD
566612010-12-14 Ulrich Drepper <dreper@gmail.com>
56662
14b697f7 56663 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56664
4f197237
AS
566652010-12-10 Andreas Schwab <schwab@redhat.com>
56666
dbb0472f
AS
56667 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56668 _GNU_SOURCE.
56669
4f197237
AS
56670 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56671 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56672 Remove __restrict.
56673 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56674 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56675
fb88ac72
UD
566762010-12-09 Ulrich Drepper <drepper@gmail.com>
56677
56678 [BZ #11655]
56679 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56680 are initialized.
56681
42acbb92
JJ
566822010-12-09 Jakub Jelinek <jakub@redhat.com>
56683
56684 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56685
c038d98d
UD
566862010-12-03 Ulrich Drepper <drepper@gmail.com>
56687
56688 * po/it.po: Update from translation team.
56689
3a4a2499
L
566902010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56691
56692 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56693 unused codes.
56694
1e24cf6e
UD
566952010-11-30 Ulrich Drepper <drepper@gmail.com>
56696
56697 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56698
a7690819
AS
566992010-11-24 Andreas Schwab <schwab@redhat.com>
56700
56701 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56702 specially.
56703 (gaih_getanswer_slice): Likewise.
56704
3bf8d1b1
JJ
567052010-10-20 Jakub Jelinek <jakub@redhat.com>
56706
56707 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56708
6db52fbb
PB
567092010-05-31 Petr Baudis <pasky@suse.cz>
56710
56711 [BZ #11149]
56712 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56713 silently even in the chroot mode.
56714
eaca7569
UD
567152010-11-22 Ulrich Drepper <drepper@gmail.com>
56716
56717 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56718 last patch a bit. Pretty printing
56719
3056dcdb
UD
567202010-05-31 Petr Baudis <pasky@suse.cz>
56721
56722 [BZ #10085]
56723 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56724 initialization of skip_initgroups_dyn.
56725
cf7c9078
UD
567262010-11-19 Ulrich Drepper <drepper@gmail.com>
56727
56728 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56729 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56730
a1fb5e3e
UD
567312010-11-16 Ulrich Drepper <drepper@gmail.com>
56732
56733 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56734
3540d66b
AS
567352010-11-11 Andreas Schwab <schwab@redhat.com>
56736
56737 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56738 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56739 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56740 ($(objpfx)tst-fnmatch-mem): New rule.
56741 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56742 * posix/tst-fnmatch.c (main): Call mtrace.
56743
13b69574
L
567442010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56745
56746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56747 Support Intel processor model 6 and model 0x2c.
56748
da93d214
LM
567492010-11-10 Luis Machado <luisgpm@br.ibm.com>
56750
56751 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56752 signed comparison.
56753
8ca52c6e
L
567542010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56755
56756 [BZ #12205]
56757 * string/test-strncasecmp.c (check_result): New function.
56758 (do_one_test): Use it.
56759 (check1): New function.
56760 (test_main): Use it.
56761 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56762 Support strcasecmp and strncasecmp.
56763
69da074d
UD
567642010-11-08 Ulrich Drepper <drepper@gmail.com>
56765
56766 [BZ #12194]
56767 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56768 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56769
ff02d528
L
567702010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56771
56772 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56773 IFUNC support.
56774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56775 memset-x86-64.
56776 * sysdeps/x86_64/multiarch/bzero.S: New file.
56777 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56778 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56779 * sysdeps/x86_64/multiarch/memset.S: New file.
56780 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56782 Set bit_Prefer_SSE_for_memop for Intel processors.
56783 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56784 Define.
56785 (index_Prefer_SSE_for_memop): Define.
56786 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56787
344d0b54
LM
567882010-11-04 Luis Machado <luisgpm@br.ibm.com>
56789
56790 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56791 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56792
c0dde15b
UD
567932010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56794
56795 [BZ #12191]
56796 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56797 (__x86_64_raw_data_cache_size_half): Likewise.
56798 (__x86_64_raw_shared_cache_size): Likewise.
56799 (__x86_64_raw_shared_cache_size_half): Likewise.
56800
56801 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56802 (__x86_64_raw_data_cache_size_half): Likewise.
56803 (__x86_64_raw_shared_cache_size): Likewise.
56804 (__x86_64_raw_shared_cache_size_half): Likewise.
56805 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56806 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56807 and __x86_64_raw_shared_cache_size_half. Round
56808 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56809 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56810 to multiple of 256 bytes.
56811
0e516e0e
MS
568122010-11-03 Ulrich Drepper <drepper@gmail.com>
56813
56814 [BZ #12167]
56815 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56816 of inacessible symlinks. Verify result of symlink before returning it.
56817 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56818 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56819
0e012e87
ER
568202010-10-28 Erich Ritz <erichritz@gmail.com>
56821
56822 * math/math.h (isinf): Fix typo in comment.
56823
de0ff7bc
UD
568242010-11-01 Ulrich Drepper <drepper@gmail.com>
56825
56826 * po/da.po: Update from translation team.
56827
fa41c84d
UD
568282010-10-26 Ulrich Drepper <drepper@gmail.com>
56829
56830 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56831 is added to the list.
56832
f0967738
AK
568332010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56834 Ulrich Drepper <drepper@gmail.com>
56835
56836 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56837 the global list here. Move code to...
56838 (_dl_add_to_namespace_list): ...here. New function.
56839 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56840 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56841 * elf/dl-load.c (lose): Don't remove the element from the list.
56842 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56843 (_dl_map_object): Likewise.
56844
568452010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56846
56847 [BZ #12159]
56848 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56849 into all bytes of SSE register.
56850 Patch by Richard Li <richardpku@gmail.com>.
56851
f0967738 568522010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56853
56854 [BZ #12140]
56855 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56856 perturbing.
56857
d0b9e94f
MB
568582010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56859
56860 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56861 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56862 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56863 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56865 submachine.
56866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56867
8e9f92e9
AS
568682010-10-22 Andreas Schwab <schwab@redhat.com>
56869
56870 * include/dlfcn.h (__RTLD_SECURE): Define.
56871 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56872 mode & __RTLD_SECURE instead.
56873 (open_path): Rename preloaded parameter to secure.
56874 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56875 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56876 * elf/dl-deps.c (openaux): Likewise.
56877 * elf/rtld.c (struct map_args): Remove is_preloaded.
56878 (map_doit): Don't use it.
56879 (dl_main): Likewise.
56880 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56881 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56882
bc96fbda
AS
568832010-09-09 Andreas Schwab <schwab@redhat.com>
56884
56885 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56886 (sysd-rules-targets): Remove duplicates.
56887 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56888 rtld-%.$o dependency.
56889
22cd1c9b
AS
568902010-10-18 Andreas Schwab <schwab@redhat.com>
56891
56892 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56893 _dl_map_object do it.
56894
18edac48
UD
568952010-10-19 Ulrich Drepper <drepper@gmail.com>
56896
56897 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56898 fast fma builtins, define the macros in the C99 standard.
56899 (FP_FAST_FMAF): Likewise.
56900 (FP_FAST_FMAL): Likewise.
56901 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56902
56903 * bits/mathdef.h: Update copyright year.
56904 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56905
d2050124
MM
569062010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56907
56908 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56909 builtins, define the macros in the C99 standard.
56910 (FP_FAST_FMAF): Likewise.
56911 (FP_FAST_FMAL): Likewise.
56912 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56913 multiply/add.
56914 (FP_FAST_FMAF): Likewise.
56915
475facd1
JJ
569162010-10-15 Jakub Jelinek <jakub@redhat.com>
56917
56918 [BZ #3268]
56919 * math/libm-test.inc (fma_test): Some new testcases.
56920 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56921 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56922 y and infinite z. Do multiplication by C already in long double.
56923 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56925 y and infinite z. Do bitwise or of inexact bit into u.d.
56926 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56927 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56928 * sysdeps/i386/fpu/s_fma.S: Removed.
56929 * sysdeps/i386/fpu/s_fmal.S: Removed.
56930
7c08a05c
JJ
569312010-10-16 Jakub Jelinek <jakub@redhat.com>
56932
56933 [BZ #3268]
56934 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56936 computation is not scheduled after fetestexcept. Fix value
56937 of minimum denormal long double.
56938
f3f7372d
JJ
569392010-10-14 Jakub Jelinek <jakub@redhat.com>
56940
56941 [BZ #3268]
56942 * math/libm-test.inc (fma_test): Add some more tests.
56943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56944 correctly.
56945
14d43591
AS
569462010-10-15 Andreas Schwab <schwab@redhat.com>
56947
56948 * scripts/data/localplt-s390-linux-gnu.data: New file.
56949 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56950
5e908464
JJ
569512010-10-13 Jakub Jelinek <jakub@redhat.com>
56952
56953 [BZ #3268]
56954 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56955 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56956 instead of dbl-64.
56957 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56958 inlines.
56959 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56961 if one of x and y is very large and the other is subnormal.
56962 * sysdeps/s390/fpu/s_fmaf.c: New file.
56963 * sysdeps/s390/fpu/s_fma.c: New file.
56964 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56965 * sysdeps/powerpc/fpu/s_fma.S: New file.
56966 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56967 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56968 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56969
569702010-10-12 Jakub Jelinek <jakub@redhat.com>
56971
56972 [BZ #3268]
56973 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56974 fma tests.
56975 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56976 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56977 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56978 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56979 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56980 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56981 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56982
b833d51f
UD
569832010-10-12 Ulrich Drepper <drepper@redhat.com>
56984
56985 [BZ #12078]
56986 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56987 * posix/bug-regex31.input: Add test case.
56988
1751705d
UD
569892010-10-11 Ulrich Drepper <drepper@gmail.com>
56990
e9b9cbf5
UD
56991 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56992 * posix/bug-regex31.input: New file.
56993
56994 [BZ #12078]
56995 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56996 (parse_sub_exp): Fix last change, use postorder.
56997
ef06edbe
UD
56998 * posix/bug-regex31.c: New file.
56999 * posix/Makefile: Add rules to build and run bug-regex31.
57000
a129c80d
UD
57001 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57002
57003 [BZ #12078]
57004 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57005
b76b818e
UD
57006 [BZ #12108]
57007 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57008 to have entries in sys_siglist.
57009
1751705d
UD
57010 [BZ #12093]
57011 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57012 be NULL.
57013
9ff8d36f
JJ
570142010-10-07 Jakub Jelinek <jakub@redhat.com>
57015
57016 [BZ #3268]
57017 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57018 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57019 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57020 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57021 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57022 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57023 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57024 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57025 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57026 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57027 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57028 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57029 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57030 * math/ftestexcept.c (fetestexcept): Likewise.
57031 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57032 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57033 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57034 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57035 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57036 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57037 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57038
af325969
UD
570392010-10-11 Ulrich Drepper <drepper@gmail.com>
57040
c579b202 57041 [BZ #12107]
af325969
UD
57042 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57043 newline.
57044
67a67b95
UD
570452010-10-06 Ulrich Drepper <drepper@gmail.com>
57046
57047 * string/bug-strstr1.c: New file.
57048 * string/Makefile: Add rules to build and run bug-strstr1.
57049
5fb308bc
EB
570502010-10-05 Eric Blake <eblake@redhat.com>
57051
57052 [BZ #12092]
57053 * string/str-two-way.h (two_way_long_needle): Always clear memory
57054 when skipping input due to the shift table.
57055
45db99c7
UD
570562010-10-03 Ulrich Drepper <drepper@gmail.com>
57057
3b111893
UD
57058 [BZ #12005]
57059 * malloc/mcheck.c: Handle large requests.
57060
45db99c7
UD
57061 [BZ #12077]
57062 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57063 for strncmp and strncasecmp.
57064 * string/stratcliff.c: Add tests for strcmp and strncmp.
57065 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57066
cf7a1eb8
NI
570672010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57068
57069 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57070 __set_fpscr.
57071
6484ba5e
AJ
570722010-09-30 Andreas Jaeger <aj@suse.de>
57073
57074 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57075 (CGROUP_SUPER_MAGIC): Define.
57076 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57077 Handle btrfs and cgroup file systems.
57078 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57079 Likewise.
57080
91c42559
LM
570812010-09-27 Luis Machado <luisgpm@br.ibm.com>
57082
57083 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57084 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57085
87a97932
AK
570862010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57087
57088 [BZ #12067]
57089 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57090 trying to locate the ELF header.
57091
c21cc9bc
AS
570922010-09-27 Andreas Schwab <schwab@redhat.com>
57093
57094 [BZ #11611]
57095 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57096 Mask out sign-bit copies when constructing f_fsid.
57097
315970f6
PB
570982010-09-24 Petr Baudis <pasky@suse.cz>
57099
57100 * debug/stack_chk_fail_local.c: Add missing licence exception.
57101 * debug/warning-nop.c: Likewise.
57102
1ac7a2c7
JM
571032010-09-15 Joseph Myers <joseph@codesourcery.com>
57104
57105 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57106 implementing getdents64 using getdents syscall, set d_type if
57107 __ASSUME_GETDENTS32_D_TYPE.
57108
56801c50
AS
571092010-09-16 Andreas Schwab <schwab@redhat.com>
57110
57111 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57112 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57113
dda51327
UD
571142010-09-21 Ulrich Drepper <drepper@redhat.com>
57115
57116 [BZ #12037]
57117 * posix/unistd.h: Undo change of feature selection for ftruncate from
57118 2010-01-11.
57119
8ffcee4a
UD
571202010-09-20 Ulrich Drepper <drepper@redhat.com>
57121
a545ecd9 57122 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
57123 detection.
57124
e24f0a8b
AS
571252010-09-20 Andreas Schwab <schwab@redhat.com>
57126
57127 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57128 fanotify_mark.
57129 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57130
7291c56f
AS
571312010-09-14 Andreas Schwab <schwab@redhat.com>
57132
57133 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57134 variables after CHECK_SP call.
57135 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57136
bc5fb037
AS
571372010-09-13 Andreas Schwab <schwab@redhat.com>
57138 Ulrich Drepper <drepper@redhat.com>
57139
57140 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57141 re-relocationg ld.so.
57142 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57143 _dl_init_paths call.
57144 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57145 here anymore.
57146
e66e7419
UD
571472010-09-14 Ulrich Drepper <drepper@redhat.com>
57148
57149 * resolv/res_init.c (__res_vinit): Count the default server we added.
57150
c044aa75
CLT
571512010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57152 Ulrich Drepper <drepper@redhat.com>
57153
57154 [BZ #11968]
57155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57156 (____longjmp_chk): Use %ebx for saving value across system call.
57157 Add unwind info.
57158
32cf4069
AS
571592010-09-06 Andreas Schwab <schwab@redhat.com>
57160
57161 * manual/Makefile: Don't mix pattern rules with normal rules.
57162
817328ee
AS
571632010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57164
57165 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57166 operation.
57167 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57168 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57169 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57170 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57171 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57172 Likewise.
57173
29fddf61
UD
571742010-09-04 Ulrich Drepper <drepper@redhat.com>
57175
57176 [BZ #11979]
57177 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57178 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57179
0959ffc9
UD
571802010-09-02 Ulrich Drepper <drepper@redhat.com>
57181
57182 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57183 * sysdeps/x86_64/addmul_1.S: Likewise.
57184 * sysdeps/x86_64/lshift.S: Likewise.
57185 * sysdeps/x86_64/mul_1.S: Likewise.
57186 * sysdeps/x86_64/rshift.S: Likewise.
57187 * sysdeps/x86_64/sub_n.S: Likewise.
57188 * sysdeps/x86_64/submul_1.S: Likewise.
57189
ece29840
ST
571902010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57191
0959ffc9
UD
57192 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57193 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57194 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57195 * bits/sched.h [__need_schedparam]
ece29840 57196 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57197 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57198 (__defined_schedparam): Define to 1.
ece29840
ST
57199 (__sched_param): New structure, identical to sched_param.
57200 (__need_schedparam): Undefine.
57201
e53a31fe
MF
572022010-08-31 Mike Frysinger <vapier@gentoo.org>
57203
fdc0c10d
MF
57204 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57205 (epoll_create1): Declare.
57206
e53a31fe
MF
57207 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57208
a726d796
AS
572092010-08-31 Andreas Schwab <schwab@redhat.com>
57210
57211 [BZ #7066]
57212 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57213 shifting retval into place.
57214
2f3e3dc7
UD
572152010-09-01 Ulrich Drepper <drepper@redhat.com>
57216
f2933da9
UD
57217 * nis/rpcsvc/nis.h: Update copyright notice.
57218 * nis/rpcsvc/nis.x: Likewise.
57219 * nis/rpcsvc/nis_callback.h: Likewise.
57220 * nis/rpcsvc/nis_callback.x: Likewise.
57221 * nis/rpcsvc/nis_object.x: Likewise.
57222 * nis/rpcsvc/nis_tags.h: Likewise.
57223 * nis/rpcsvc/yp.h: Likewise.
57224 * nis/rpcsvc/yp.x: Likewise.
57225 * nis/rpcsvc/ypupd.h: Likewise.
57226 * nis/yp_xdr.c: Likewise.
57227 * nis/ypupdate_xdr.c: Likewise.
57228
2f3e3dc7
UD
57229 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57230 mainly the body of pmap_getport. Add parameters to specify timeouts.
57231 (pmap_getport): Use __libc_rpc_getport.
57232 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57233 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57234 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57235
f3dcc2f9
AS
572362010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57237
57238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57239 fanotify_mark.
57240
6d34eb5b
RM
572412010-08-27 Roland McGrath <roland@redhat.com>
57242
57243 * sysdeps/i386/i686/multiarch/Makefile
57244 (CFLAGS-varshift.c): New variable.
57245
9ea3de11
UD
572462010-08-27 Ulrich Drepper <drepper@redhat.com>
57247
c96d23fc
UD
57248 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57249 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57250
9ea3de11
UD
57251 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57252
57253 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57254
623aac7f
L
572552010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57256
57257 * sysdeps/x86_64/strlen.S: Unroll the loop.
57258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57259 strlen-sse2 strlen-sse2-bsf.
57260 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57261 __strlen_no_bsf if bit_Slow_BSF is set.
57262 (__strlen_sse42): Removed.
57263 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57264 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57265
8b2b7715
RM
572662010-08-25 Roland McGrath <roland@redhat.com>
57267
57268 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57269 * sysdeps/x86_64/multiarch/varshift.c: New file.
57270 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57271 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57272 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57273 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57274
e73015f2
L
572752010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57276
57277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57278 strlen-sse2 strlen-sse2-bsf.
57279 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57280 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57281 (__strlen_sse2): Removed.
57282 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57283 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57285 bit_Slow_BSF for Atom.
57286 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57287 (index_Slow_BSF): Define.
57288 (HAS_SLOW_BSF): Define.
57289
df24a73e
UD
572902010-08-25 Ulrich Drepper <drepper@redhat.com>
57291
57292 [BZ #10851]
57293 * resolv/res_init.c (__res_vinit): When no server address at all
57294 is given default to loopback.
57295
f2ac4868
RM
572962010-08-24 Roland McGrath <roland@redhat.com>
57297
09055553
RM
57298 * configure.in: Remove config-name.h generation.
57299 * configure: Regenerated.
57300 * config-name.in: File removed.
57301 * scripts/config-uname.sh: New file.
57302 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57303 ($(objdir)config-name.h): New target.
57304
f2ac4868
RM
57305 * sunrpc/rpc_parse.h: Avoid nested comment.
57306
73f27d5e
RH
573072010-08-24 Richard Henderson <rth@redhat.com>
57308 Ulrich Drepper <drepper@redhat.com>
57309 H.J. Lu <hongjiu.lu@intel.com>
57310
57311 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57313 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57314 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57315 _mm_alignr_epi8 with _mm_loadu_si128.
57316 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57317 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57318 (__m128i_shift_right): Removed.
57319 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57320 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57321 * sysdeps/x86_64/multiarch/varshift.h: New file.
57322 * sysdeps/x86_64/multiarch/varshift.S: New file.
57323
84b9230c
MF
573242010-08-21 Mike Frysinger <vapier@gentoo.org>
57325
57326 * configure.in: Move assembler checks to before sysdep dir checking.
57327
9bbd0ddc
PB
573282010-08-20 Petr Baudis <pasky@suse.cz>
57329
57330 * LICENSES: Sync the sunrpc license.
57331
9da4bb31
UD
573322010-08-19 Ulrich Drepper <drepper@redhat.com>
57333
a7ab6ec8
UD
57334 * sunrpc/auth_des.c: Update copyright notice once again.
57335 * sunrpc/auth_none.c: Likewise.
57336 * sunrpc/auth_unix.c: Likewise.
57337 * sunrpc/authdes_prot.c: Likewise.
57338 * sunrpc/authuxprot.c: Likewise.
57339 * sunrpc/bindrsvprt.c: Likewise.
57340 * sunrpc/clnt_gen.c: Likewise.
57341 * sunrpc/clnt_perr.c: Likewise.
57342 * sunrpc/clnt_raw.c: Likewise.
57343 * sunrpc/clnt_simp.c: Likewise.
57344 * sunrpc/clnt_tcp.c: Likewise.
57345 * sunrpc/clnt_udp.c: Likewise.
57346 * sunrpc/clnt_unix.c: Likewise.
57347 * sunrpc/des_crypt.c: Likewise.
57348 * sunrpc/des_soft.c: Likewise.
57349 * sunrpc/get_myaddr.c: Likewise.
57350 * sunrpc/getrpcport.c: Likewise.
57351 * sunrpc/key_call.c: Likewise.
57352 * sunrpc/key_prot.c: Likewise.
57353 * sunrpc/openchild.c: Likewise.
57354 * sunrpc/pm_getmaps.c: Likewise.
57355 * sunrpc/pm_getport.c: Likewise.
57356 * sunrpc/pmap_clnt.c: Likewise.
57357 * sunrpc/pmap_prot.c: Likewise.
57358 * sunrpc/pmap_prot2.c: Likewise.
57359 * sunrpc/pmap_rmt.c: Likewise.
57360 * sunrpc/rpc/auth.h: Likewise.
57361 * sunrpc/rpc/auth_unix.h: Likewise.
57362 * sunrpc/rpc/clnt.h: Likewise.
57363 * sunrpc/rpc/des_crypt.h: Likewise.
57364 * sunrpc/rpc/key_prot.h: Likewise.
57365 * sunrpc/rpc/netdb.h: Likewise.
57366 * sunrpc/rpc/pmap_clnt.h: Likewise.
57367 * sunrpc/rpc/pmap_prot.h: Likewise.
57368 * sunrpc/rpc/pmap_rmt.h: Likewise.
57369 * sunrpc/rpc/rpc.h: Likewise.
57370 * sunrpc/rpc/rpc_des.h: Likewise.
57371 * sunrpc/rpc/rpc_msg.h: Likewise.
57372 * sunrpc/rpc/svc.h: Likewise.
57373 * sunrpc/rpc/svc_auth.h: Likewise.
57374 * sunrpc/rpc/types.h: Likewise.
57375 * sunrpc/rpc/xdr.h: Likewise.
57376 * sunrpc/rpc_clntout.c: Likewise.
57377 * sunrpc/rpc_cmsg.c: Likewise.
57378 * sunrpc/rpc_common.c: Likewise.
57379 * sunrpc/rpc_cout.c: Likewise.
57380 * sunrpc/rpc_dtable.c: Likewise.
57381 * sunrpc/rpc_hout.c: Likewise.
57382 * sunrpc/rpc_main.c: Likewise.
57383 * sunrpc/rpc_parse.c: Likewise.
57384 * sunrpc/rpc_parse.h: Likewise.
57385 * sunrpc/rpc_prot.c: Likewise.
57386 * sunrpc/rpc_sample.c: Likewise.
57387 * sunrpc/rpc_scan.c: Likewise.
57388 * sunrpc/rpc_scan.h: Likewise.
57389 * sunrpc/rpc_svcout.c: Likewise.
57390 * sunrpc/rpc_tblout.c: Likewise.
57391 * sunrpc/rpc_util.c: Likewise.
57392 * sunrpc/rpc_util.h: Likewise.
57393 * sunrpc/rpcinfo.c: Likewise.
57394 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57395 * sunrpc/rpcsvc/key_prot.x: Likewise.
57396 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57397 * sunrpc/rpcsvc/mount.x: Likewise.
57398 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57399 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57400 * sunrpc/rpcsvc/rex.x: Likewise.
57401 * sunrpc/rpcsvc/rstat.x: Likewise.
57402 * sunrpc/rpcsvc/rusers.x: Likewise.
57403 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57404 * sunrpc/rpcsvc/spray.x: Likewise.
57405 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57406 * sunrpc/rtime.c: Likewise.
57407 * sunrpc/svc.c: Likewise.
57408 * sunrpc/svc_auth.c: Likewise.
57409 * sunrpc/svc_authux.c: Likewise.
57410 * sunrpc/svc_raw.c: Likewise.
57411 * sunrpc/svc_run.c: Likewise.
57412 * sunrpc/svc_simple.c: Likewise.
57413 * sunrpc/svc_tcp.c: Likewise.
57414 * sunrpc/svc_udp.c: Likewise.
57415 * sunrpc/svc_unix.c: Likewise.
57416 * sunrpc/svcauth_des.c: Likewise.
57417 * sunrpc/xcrypt.c: Likewise.
57418 * sunrpc/xdr.c: Likewise.
57419 * sunrpc/xdr_array.c: Likewise.
57420 * sunrpc/xdr_float.c: Likewise.
57421 * sunrpc/xdr_mem.c: Likewise.
57422 * sunrpc/xdr_rec.c: Likewise.
57423 * sunrpc/xdr_ref.c: Likewise.
57424 * sunrpc/xdr_sizeof.c: Likewise.
57425 * sunrpc/xdr_stdio.c: Likewise.
57426
9da4bb31
UD
57427 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57428 handling.
57429
bdaa77bc
AS
574302010-08-19 Andreas Schwab <schwab@redhat.com>
57431
57432 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57433
fe2f79db
LM
574342010-08-19 Luis Machado <luisgpm@br.ibm.com>
57435
57436 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57437 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57438 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57439 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57440 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57441 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57442 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57443 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57444 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57445 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57446 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57447 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57448 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57449 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57450
b9b42ee0
AB
574512010-07-26 Anton Blanchard <anton@samba.org>
57452
57453 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57454 * malloc/arena.c (heap_trim): Likewise.
57455
1c06ba31
UD
574562010-08-16 Ulrich Drepper <drepper@redhat.com>
57457
57458 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57459 here. Not...
57460 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57461 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57462
f8392f40
L
574632010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57464
57465 * sysdeps/i386/elf/Makefile: New file.
57466
3162f12e
AS
574672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57468
57469 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57470 from fanotify_init.
57471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57472 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57473
28c90b2c
UD
574742010-08-15 Ulrich Drepper <drepper@redhat.com>
57475
57476 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57477 of strncasecmp_l.
1feccb6c 57478 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57479
ca6bb004
UD
574802010-08-14 Ulrich Drepper <drepper@redhat.com>
57481
e9f82e0d
UD
57482 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57483 strncase_l-nonascii.
57484 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57485 Add strncase_l-ssse3.
57486 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57487 * sysdeps/x86_64/strcmp.S: Likewise.
57488 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57489 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57490 * sysdeps/x86_64/strncase.S: New file.
57491 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57492 * sysdeps/x86_64/strncase_l.S: New file.
57493 * string/Makefile (strop-tests): Add strncasecmp.
57494 * string/test-strncasecmp.c: New file.
57495
57496 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57497 warning.
57498
ca6bb004
UD
57499 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57500 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57501
052fa7b3
AS
575022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57503
57504 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57505
962dba78
UD
575062010-08-12 Ulrich Drepper <drepper@redhat.com>
57507
57508 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57509 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57510 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57511
bebff237
AM
575122010-05-01 Alan Modra <amodra@gmail.com>
57513
57514 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57515 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57516 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57517 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57518 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57519 tidying. Don't tail-call __sigjmp_save for static lib.
57520 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57521 save location.
57522 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57523 (CALL_MCOUNT): Add eh info, and nop after bl.
57524 (TAIL_CALL_SYSCALL_ERROR): New macro.
57525 (PSEUDO_RET): Use it.
57526 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57527 Correct save location of integer regs and cr.
57528 (_dl_profile_resolve): Correct cr save location. Delete nops
57529 after bl when SHARED. Reduce cfi size a little by better
57530 placement of cfi directives.
57531 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57532 make a stack frame. Instead use parm save area as a temp.
57533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57534 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57536 Don't make a stack frame for parent, use parm save area.
57537 Increase child stack frame to 112 bytes. Don't save unused reg,
57538 and adjust reg usage. Set up cfi on error recovery and
57539 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57541 (__makecontext): Add dummy nop after jump to exit.
57542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57543 Use correct parm save area and cr save, reduce stack frame.
57544 Correct cfi for possible PSEUDO_RET frame setup.
57545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57546 Branch to local label emitted by PSEUDO_RET rather than
57547 __syscall_error.
57548
02637374
AS
575492010-08-12 Andreas Schwab <schwab@redhat.com>
57550
57551 [BZ #11904]
57552 * locale/programs/locale.c (print_assignment): New function.
57553 (show_locale_vars): Use it.
57554
c3e2f19b
UD
575552010-08-11 Ulrich Drepper <drepper@redhat.com>
57556
3cdaa6ad
UD
57557 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57558 field.
57559 (struct statfs64): Likewise.
57560 (_STATFS_F_FLAGS): Define.
57561 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57562 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57563 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57564 (ST_VALID): Define locally.
57565 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57566 __statvfs_getflags, use the provided value.
57567 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57568 __ASSUME_STATFS_F_FLAGS.
57569
754f7da3
UD
57570 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57571
10b3bedc
UD
57572 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57573 Add sys/fanotify.h.
57574 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57575 fanotify_mask for GLIBC_2.13.
57576 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57577 fanotify_init and fanotify_mark.
57578 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57579 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57580
c08fb0d7
UD
57581 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57582 Add prlimit.
57583 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57584 prlimit64 for GLIBC_2.13.
57585 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57586 prlimit64.
57587 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57588 syscall.
57589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57590 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57591 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57592 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57593 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57594 add prlimit alias.
57595 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57596
15bac72b
UD
57597 [BZ #11903]
57598 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57599 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57600
c3e2f19b
UD
57601 * nss/Makefile: Add rules to build and run tst-nss-test1.
57602 * shlib-versions: Add entry for libnss_test1.
57603 * nss/nss_test1.c: New file.
57604 * nss/tst-nss-test1.c: New file.
57605
57606 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57607 (__nss_configure_lookup): Set appropriate entry in
57608 __nss_configure_lookup to true.
57609 * nss/nsswitch.h: Define enum with indeces of databases in
57610 databases and __nss_database_custom arrays. Declare
57611 __nss_database_custom.
57612 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57613 to avoid using nscd when custom rules are installed.
57614 * nss/getXXbyYY_r.c: Likewise.
57615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57616
57617 * nss/nss_files/files-parse.c: Whitespace fixes.
57618
f15ce4d8
UD
576192010-08-09 Ulrich Drepper <drepper@redhat.com>
57620
57621 [BZ #11883]
57622 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57623 * posix/fnmatch_loop.c: Likewise.
57624
d22e4cc9
AK
576252010-07-17 Andi Kleen <ak@linux.intel.com>
57626
57627 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57628 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57629 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57630 * Versions.def [GLIBC_2.13]: Add.
57631
805bc17d
UD
576322010-08-06 Ulrich Drepper <drepper@redhat.com>
57633
57634 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57635 Also fail if tpwd after pwuid call is NULL.
57636
5a42321d
ST
576372010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57638
57639 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57640 when converting to ms.
57641
fd3ebeda
ST
576422010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57643
57644 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57645 EOPNOTSUPP errors with ENOTTY.
57646 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57647 EOPNOTSUPP errors with ENOTTY.
57648
73507d3a
UD
576492010-07-31 Ulrich Drepper <drepper@redhat.com>
57650
57651 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57652 Add strcasecmp_l-ssse3.
57653 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57654 strcasecmp.
57655 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57656 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57657 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57658
fe36dd02
UD
576592010-07-30 Ulrich Drepper <drepper@redhat.com>
57660
66f6765a
UD
57661 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57662
42e08a54
UD
57663 * string/Makefile (strop-tests): Add strcasecmp.
57664 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57665 strcasecmp_l-nonascii.
57666 (gen-as-const-headers): Add locale-defines.sym.
57667 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57668 * sysdeps/x86_64/strcasecmp.S: New file.
57669 * sysdeps/x86_64/strcasecmp_l.S: New file.
57670 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57671 * sysdeps/x86_64/locale-defines.sym: New file.
57672 * string/test-strcasecmp.c: New file.
57673
fe36dd02
UD
57674 * string/test-strcasestr.c: Test both ends of the range of characters.
57675 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57676
48cbc0d6
RM
576772010-07-29 Roland McGrath <roland@redhat.com>
57678
76e6d6bc 57679 [BZ #11856]
48cbc0d6
RM
57680 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57681
880113d9
UD
576822010-07-27 Ulrich Drepper <drepper@redhat.com>
57683
57684 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57685 for ld.so.
57686
deb9cabb
AS
576872010-07-27 Andreas Schwab <schwab@redhat.com>
57688
57689 * manual/memory.texi (Malloc Tunable Parameters): Document
57690 M_PERTURB.
57691
1c7570ff
RM
576922010-07-26 Roland McGrath <roland@redhat.com>
57693
57694 [BZ #11840]
57695 * configure.in (-fgnu89-inline check): Set and substitute
57696 gnu89_inline, not libc_cv_gnu89_inline.
57697 * configure: Regenerated.
57698 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57699
24fb0f88
UD
577002010-07-26 Ulrich Drepper <drepper@redhat.com>
57701
57702 * string/test-strnlen.c: New file.
57703 * string/Makefile (strop-tests): Add strnlen.
57704 * string/tester.c (test_strnlen): Add a few more test cases.
57705 * string/tst-strlen.c: Better error reporting.
57706
57707 * sysdeps/x86_64/strnlen.S: New file.
57708
8e96b93a
UD
577092010-07-24 Ulrich Drepper <drepper@redhat.com>
57710
57711 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57712 lower-latency instructions.
57713
dbc676d4
UD
577142010-07-23 Ulrich Drepper <drepper@redhat.com>
57715
57716 * string/test-strcasestr.c: New file.
57717 * string/test-strstr.c: New file.
57718 * string/Makefile (strop-tests): Add strstr and strcasestr.
57719 * string/str-two-way.h: Don't undefine MAX.
57720 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57721
f6a31e0e
AS
577222010-07-21 Andreas Schwab <schwab@redhat.com>
57723
57724 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57725 strcasestr-nonascii.
57726 (CFLAGS-strcasestr-nonascii.c): Define.
57727 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57728 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57729 Remove unused attribute.
57730
5dbc3b6c
RM
577312010-07-20 Roland McGrath <roland@redhat.com>
57732
57733 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57734 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57735 ld.so.cache was broken. With it, there is no way to disable dsocaps
57736 like LD_HWCAP_MASK can disable hwcaps.
57737
23d101d8
EPM
577382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57739
57740 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57741
cc9f2e47
UD
577422010-07-16 Ulrich Drepper <drepper@redhat.com>
57743
57744 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57745 call in strcasestr.
57746 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57747 __strcasestr_sse42_nonascii.
57748 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57749 strcasestr-nonascii.c.
57750 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57751
77c1b069
LM
577522010-06-15 Luis Machado <luisgpm@br.ibm.com>
57753
57754 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57755 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57756 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57757 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57758
440566c3
UD
577592010-07-09 Ulrich Drepper <drepper@redhat.com>
57760
57761 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57762 fcntl.
57763
5be9d05d
AS
577642010-07-06 Andreas Schwab <schwab@redhat.com>
57765
c30b7ee2 57766 [BZ #11577]
5be9d05d
AS
57767 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57768 dl_signal_cerror.
57769
8a492a67
UD
577702010-07-06 Ulrich Drepper <drepper@redhat.com>
57771
57772 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57773 _PC_PIPE_BUF using F_GETPIPE_SZ.
57774
713df3d5
RM
577752010-07-05 Roland McGrath <roland@redhat.com>
57776
57777 * manual/arith.texi (Rounding Functions): Fix rint description
57778 implicit in round description.
57779
702e8f14
UD
577802010-07-02 Ulrich Drepper <drepper@redhat.com>
57781
57782 * elf/Makefile: Fix linking for a few tests to make recent linker
57783 happy.
57784
52ed8be9
AS
577852010-06-30 Andreas Schwab <schwab@redhat.com>
57786
57787 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57788 $(common-objpfx)libc_nonshared.a.
57789
f47c9a11
LM
577902010-06-21 Luis Machado <luisgpm@br.ibm.com>
57791
57792 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57793 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57794 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57795 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57796 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57797 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57798 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57799 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57814 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57815 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57816 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57817 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57818 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57819 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57820 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57821 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57822 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57823 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57824 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57825 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57840
6fb8cbcb
L
578412010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57842
57843 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57844 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57845 * string/memmove.c (memmove): Renamed to ...
57846 (MEMMOVE): ...this. Default to memmove.
57847 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57848 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57849 (END_CHK): Define.
57850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57851 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57852 mempcpy-ssse3-back memmove-ssse3-back.
57853 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57854 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57855 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57856 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57857 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57858 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57859 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57860 * sysdeps/x86_64/multiarch/memmove.c: New file.
57861 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57862 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57863 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57864 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57865 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57866 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57867 Define.
57868 (index_Fast_Copy_Backward): Define.
57869 (HAS_ARCH_FEATURE): Define.
57870 (HAS_FAST_REP_STRING): Define.
57871 (HAS_FAST_COPY_BACKWARD): Define.
57872
4e733bac 578732010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57874
57875 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57876 Restore proper fallback handling.
57877
63c4ed22
UD
578782010-06-19 Ulrich Drepper <drepper@redhat.com>
57879
ac2b484c
UD
57880 [BZ #11701]
57881 * posix/group_member.c (__group_member): Correct checking loop.
57882
63c4ed22
UD
57883 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57884 OOM in getpwuid_r correctly. Return error number when the caller
57885 should return, otherwise -1.
57886 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57887 call returning > 0 value.
57888 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57889
765ade4b
AS
578902010-06-07 Andreas Schwab <schwab@redhat.com>
57891
57892 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57893 libc_nonshared.a from targets in modules-names.
57894
80da2e09
KS
578952010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57896
57897 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57898 requires it.
57899
158db122
LM
579002010-06-10 Luis Machado <luisgpm@br.ibm.com>
57901
57902 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57903 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57904 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57905 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57906
caa78cf8
AS
579072010-06-02 Andreas Schwab <schwab@redhat.com>
57908
57909 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57910
b2ef2c01
UD
579112010-06-14 Ulrich Drepper <drepper@redhat.com>
57912
57913 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57914 and F_GETPIPE_SZ.
57915 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57916 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57919 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57920 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57921
fbd643b6
RM
579222010-06-14 Roland McGrath <roland@redhat.com>
57923
57924 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57925
f32f2869
JJ
579262010-06-07 Jakub Jelinek <jakub@redhat.com>
57927
57928 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57929 __REDIRECT followed by __THROW.
57930 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57931 * posix/getopt.h (getopt): Likewise.
57932
2a50c078
EPM
579332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57934
57935 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57936 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57937 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57938 in AT_FLAGS.
57939 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57940 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57941
eb5ad2eb
LM
579422010-05-28 Luis Machado <luisgpm@br.ibm.com>
57943
57944 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57945
3c88fe1e
L
579462010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57947
57948 [BZ #11640]
57949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57950 Properly check family and model.
57951
d2f73151
TY
579522010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57953
57954 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57955
ebd2e13d
LM
579562010-05-24 Luis Machado <luisgpm@br.ibm.com>
57957
57958 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57959
b32b8b45
UD
579602010-05-21 Ulrich Drepper <drepper@redhat.com>
57961
57962 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57963 symbol reference.
57964
9acbe24d
AS
579652010-05-19 Andreas Schwab <schwab@redhat.com>
57966
57967 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57968 symbol reference.
57969
f0ccf6ea
AS
579702010-05-21 Andreas Schwab <schwab@redhat.com>
57971
3d04ff3a
AS
57972 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57973 and internal_recvmmsg.
57974 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57975 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57976 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57977 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57978
f0ccf6ea
AS
57979 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57980 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57981 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57982
5b08ac57
AS
579832010-05-20 Andreas Schwab <schwab@redhat.com>
57984
57985 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57986
4828935d
LM
579872010-05-17 Luis Machado <luisgpm@br.ibm.com>
57988
57989 POWER7 optimizations.
57990 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57991 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57992
373d545e
UD
579932010-05-19 Ulrich Drepper <drepper@redhat.com>
57994
57995 * version.h: Update for 2.13 development version.
57996
21a2b1ae
AS
579972010-05-12 Andrew Stubbs <ams@codesourcery.com>
57998
57999 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58000 exceptions. Return 0.
58001
3f7dcb2b
RM
580022010-05-07 Roland McGrath <roland@redhat.com>
58003
58004 * elf/ldconfig.c (main): Add a const.
58005
5f24d53a 580062010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 58007
a160f8d8
UD
58008 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58009 (args_options): Add no-idn option.
58010 (ahosts_keys_int): Add idn_flags to ai_flags.
58011 (parse_option): Handle 'i' option to clear idn_flags.
58012
5f24d53a
UD
58013 * malloc/malloc.c (_int_free): Possible race in the most recently
58014 added check. Only act on the data if no current modification
58015 happened.
265bb1ce
UD
58016
58017See ChangeLog.17 for earlier changes.